mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-29 18:47:31 +09:00
Update aom to v1.0.0
Update aom to commit id d14c5bb4f336ef1842046089849dee4a301fbbf0.
This commit is contained in:
parent
bb61121b44
commit
48f6d2e034
1087 changed files with 154333 additions and 265310 deletions
|
|
@ -309,7 +309,7 @@ AOMDecoder::IsSupportedCodec(const nsAString& aCodecType)
|
||||||
// for a specific aom commit hash so sites can check
|
// for a specific aom commit hash so sites can check
|
||||||
// compatibility.
|
// compatibility.
|
||||||
auto version = NS_ConvertASCIItoUTF16("av1.experimental.");
|
auto version = NS_ConvertASCIItoUTF16("av1.experimental.");
|
||||||
version.AppendLiteral("e87fb2378f01103d5d6e477a4ef6892dc714e614");
|
version.AppendLiteral("d14c5bb4f336ef1842046089849dee4a301fbbf0");
|
||||||
return aCodecType.EqualsLiteral("av1") ||
|
return aCodecType.EqualsLiteral("av1") ||
|
||||||
aCodecType.Equals(version);
|
aCodecType.Equals(version);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -10,4 +10,4 @@ The upstream aom git repository is:
|
||||||
|
|
||||||
https://aomedia.googlesource.com/aom
|
https://aomedia.googlesource.com/aom
|
||||||
|
|
||||||
The git commit ID used was e87fb2378f01103d5d6e477a4ef6892dc714e614.
|
The git commit ID used was d14c5bb4f336ef1842046089849dee4a301fbbf0.
|
||||||
|
|
|
||||||
|
|
@ -1,180 +0,0 @@
|
||||||
@ This file was created from a .asm file
|
|
||||||
@ using the ads2gas.pl script.
|
|
||||||
.equ DO1STROUNDING, 0
|
|
||||||
.equ ARCH_ARM , 0
|
|
||||||
.equ ARCH_MIPS , 0
|
|
||||||
.equ ARCH_X86 , 0
|
|
||||||
.equ ARCH_X86_64 , 0
|
|
||||||
.equ HAVE_NEON , 0
|
|
||||||
.equ HAVE_NEON_ASM , 0
|
|
||||||
.equ HAVE_MIPS32 , 0
|
|
||||||
.equ HAVE_DSPR2 , 0
|
|
||||||
.equ HAVE_MSA , 0
|
|
||||||
.equ HAVE_MIPS64 , 0
|
|
||||||
.equ HAVE_MMX , 0
|
|
||||||
.equ HAVE_SSE , 0
|
|
||||||
.equ HAVE_SSE2 , 0
|
|
||||||
.equ HAVE_SSE3 , 0
|
|
||||||
.equ HAVE_SSSE3 , 0
|
|
||||||
.equ HAVE_SSE4_1 , 0
|
|
||||||
.equ HAVE_AVX , 0
|
|
||||||
.equ HAVE_AVX2 , 0
|
|
||||||
.equ HAVE_AOM_PORTS , 1
|
|
||||||
.equ HAVE_FEXCEPT , 1
|
|
||||||
.equ HAVE_PTHREAD_H , 1
|
|
||||||
.equ HAVE_WXWIDGETS , 0
|
|
||||||
.equ CONFIG_DEPENDENCY_TRACKING , 1
|
|
||||||
.equ CONFIG_EXTERNAL_BUILD , 1
|
|
||||||
.equ CONFIG_INSTALL_DOCS , 1
|
|
||||||
.equ CONFIG_INSTALL_BINS , 1
|
|
||||||
.equ CONFIG_INSTALL_LIBS , 1
|
|
||||||
.equ CONFIG_INSTALL_SRCS , 0
|
|
||||||
.equ CONFIG_DEBUG , 0
|
|
||||||
.equ CONFIG_GPROF , 0
|
|
||||||
.equ CONFIG_GCOV , 0
|
|
||||||
.equ CONFIG_RVCT , 0
|
|
||||||
.equ CONFIG_GCC , 1
|
|
||||||
.equ CONFIG_MSVS , 0
|
|
||||||
.equ CONFIG_PIC , 1
|
|
||||||
.equ CONFIG_BIG_ENDIAN , 0
|
|
||||||
.equ CONFIG_CODEC_SRCS , 0
|
|
||||||
.equ CONFIG_DEBUG_LIBS , 0
|
|
||||||
.equ CONFIG_RUNTIME_CPU_DETECT , 0
|
|
||||||
.equ CONFIG_POSTPROC , 0
|
|
||||||
.equ CONFIG_MULTITHREAD , 1
|
|
||||||
.equ CONFIG_INTERNAL_STATS , 0
|
|
||||||
.equ CONFIG_AV1_ENCODER , 1
|
|
||||||
.equ CONFIG_AV1_DECODER , 1
|
|
||||||
.equ CONFIG_AV1 , 1
|
|
||||||
.equ CONFIG_STATIC_MSVCRT , 0
|
|
||||||
.equ CONFIG_SPATIAL_RESAMPLING , 1
|
|
||||||
.equ CONFIG_REALTIME_ONLY , 0
|
|
||||||
.equ CONFIG_SHARED , 0
|
|
||||||
.equ CONFIG_STATIC , 1
|
|
||||||
.equ CONFIG_SMALL , 0
|
|
||||||
.equ CONFIG_POSTPROC_VISUALIZER , 0
|
|
||||||
.equ CONFIG_OS_SUPPORT , 1
|
|
||||||
.equ CONFIG_UNIT_TESTS , 0
|
|
||||||
.equ CONFIG_WEBM_IO , 1
|
|
||||||
.equ CONFIG_LIBYUV , 1
|
|
||||||
.equ CONFIG_ACCOUNTING , 0
|
|
||||||
.equ CONFIG_INSPECTION , 0
|
|
||||||
.equ CONFIG_DECODE_PERF_TESTS , 0
|
|
||||||
.equ CONFIG_ENCODE_PERF_TESTS , 0
|
|
||||||
.equ CONFIG_BITSTREAM_DEBUG , 0
|
|
||||||
.equ CONFIG_SYMBOLRATE , 0
|
|
||||||
.equ CONFIG_COEFFICIENT_RANGE_CHECKING , 0
|
|
||||||
.equ CONFIG_LOWBITDEPTH , 1
|
|
||||||
.equ CONFIG_HIGHBITDEPTH , 1
|
|
||||||
.equ CONFIG_EXPERIMENTAL , 0
|
|
||||||
.equ CONFIG_SIZE_LIMIT , 1
|
|
||||||
.equ CONFIG_FP_MB_STATS , 0
|
|
||||||
.equ CONFIG_CDEF , 1
|
|
||||||
.equ CONFIG_CDEF_SINGLEPASS , 1
|
|
||||||
.equ CONFIG_VAR_TX , 1
|
|
||||||
.equ CONFIG_RECT_TX , 1
|
|
||||||
.equ CONFIG_RECT_TX_EXT , 0
|
|
||||||
.equ CONFIG_TPL_MV , 0
|
|
||||||
.equ CONFIG_DUAL_FILTER , 1
|
|
||||||
.equ CONFIG_CONVOLVE_ROUND , 1
|
|
||||||
.equ CONFIG_COMPOUND_ROUND , 0
|
|
||||||
.equ CONFIG_EXT_TX , 1
|
|
||||||
.equ CONFIG_TX64X64 , 0
|
|
||||||
.equ CONFIG_EXT_INTRA , 1
|
|
||||||
.equ CONFIG_INTRA_INTERP , 0
|
|
||||||
.equ CONFIG_FILTER_INTRA , 0
|
|
||||||
.equ CONFIG_INTRA_EDGE , 1
|
|
||||||
.equ CONFIG_INTRABC , 0
|
|
||||||
.equ CONFIG_INTERINTRA , 1
|
|
||||||
.equ CONFIG_WEDGE , 1
|
|
||||||
.equ CONFIG_COMPOUND_SEGMENT , 1
|
|
||||||
.equ CONFIG_EXT_REFS , 1
|
|
||||||
.equ CONFIG_GLOBAL_MOTION , 1
|
|
||||||
.equ CONFIG_NEW_QUANT , 0
|
|
||||||
.equ CONFIG_SUPERTX , 0
|
|
||||||
.equ CONFIG_ANS , 0
|
|
||||||
.equ CONFIG_LOOP_RESTORATION , 1
|
|
||||||
.equ CONFIG_STRIPED_LOOP_RESTORATION , 0
|
|
||||||
.equ CONFIG_EXT_PARTITION , 0
|
|
||||||
.equ CONFIG_EXT_PARTITION_TYPES , 0
|
|
||||||
.equ CONFIG_EXT_PARTITION_TYPES_AB , 0
|
|
||||||
.equ CONFIG_UNPOISON_PARTITION_CTX , 0
|
|
||||||
.equ CONFIG_EXT_TILE , 0
|
|
||||||
.equ CONFIG_MOTION_VAR , 1
|
|
||||||
.equ CONFIG_NCOBMC , 0
|
|
||||||
.equ CONFIG_WARPED_MOTION , 1
|
|
||||||
.equ CONFIG_Q_ADAPT_PROBS , 0
|
|
||||||
.equ CONFIG_INTER_STATS_ONLY , 0
|
|
||||||
.equ CONFIG_PALETTE_DELTA_ENCODING , 0
|
|
||||||
.equ CONFIG_RAWBITS , 0
|
|
||||||
.equ CONFIG_KF_CTX , 0
|
|
||||||
.equ CONFIG_PVQ , 0
|
|
||||||
.equ CONFIG_CFL , 0
|
|
||||||
.equ CONFIG_XIPHRC , 0
|
|
||||||
.equ CONFIG_DCT_ONLY , 0
|
|
||||||
.equ CONFIG_DAALA_TX , 0
|
|
||||||
.equ CONFIG_DAALA_DCT4 , 0
|
|
||||||
.equ CONFIG_DAALA_DCT8 , 0
|
|
||||||
.equ CONFIG_DAALA_DCT16 , 0
|
|
||||||
.equ CONFIG_DAALA_DCT32 , 0
|
|
||||||
.equ CONFIG_DAALA_DCT64 , 0
|
|
||||||
.equ CONFIG_CB4X4 , 1
|
|
||||||
.equ CONFIG_CHROMA_2X2 , 0
|
|
||||||
.equ CONFIG_CHROMA_SUB8X8 , 1
|
|
||||||
.equ CONFIG_FRAME_SIZE , 0
|
|
||||||
.equ CONFIG_EXT_DELTA_Q , 1
|
|
||||||
.equ CONFIG_ADAPT_SCAN , 0
|
|
||||||
.equ CONFIG_PARALLEL_DEBLOCKING , 1
|
|
||||||
.equ CONFIG_DEBLOCK_13TAP , 0
|
|
||||||
.equ CONFIG_LOOPFILTERING_ACROSS_TILES , 1
|
|
||||||
.equ CONFIG_TEMPMV_SIGNALING , 1
|
|
||||||
.equ CONFIG_RD_DEBUG , 0
|
|
||||||
.equ CONFIG_REFERENCE_BUFFER , 1
|
|
||||||
.equ CONFIG_COEF_INTERLEAVE , 0
|
|
||||||
.equ CONFIG_ENTROPY_STATS , 0
|
|
||||||
.equ CONFIG_MASKED_TX , 0
|
|
||||||
.equ CONFIG_DEPENDENT_HORZTILES , 0
|
|
||||||
.equ CONFIG_DIST_8X8 , 1
|
|
||||||
.equ CONFIG_PALETTE_THROUGHPUT , 1
|
|
||||||
.equ CONFIG_REF_ADAPT , 0
|
|
||||||
.equ CONFIG_LV_MAP , 0
|
|
||||||
.equ CONFIG_CTX1D , 0
|
|
||||||
.equ CONFIG_TXK_SEL , 0
|
|
||||||
.equ CONFIG_MV_COMPRESS , 1
|
|
||||||
.equ CONFIG_SEGMENT_ZEROMV , 0
|
|
||||||
.equ CONFIG_FRAME_SUPERRES , 0
|
|
||||||
.equ CONFIG_NEW_MULTISYMBOL , 0
|
|
||||||
.equ CONFIG_COMPOUND_SINGLEREF , 0
|
|
||||||
.equ CONFIG_AOM_QM , 1
|
|
||||||
.equ CONFIG_ONE_SIDED_COMPOUND , 1
|
|
||||||
.equ CONFIG_EXT_COMP_REFS , 1
|
|
||||||
.equ CONFIG_SMOOTH_HV , 1
|
|
||||||
.equ CONFIG_VAR_REFS , 0
|
|
||||||
.equ CONFIG_LGT , 0
|
|
||||||
.equ CONFIG_LGT_FROM_PRED , 0
|
|
||||||
.equ CONFIG_SBL_SYMBOL , 0
|
|
||||||
.equ CONFIG_NCOBMC_ADAPT_WEIGHT , 0
|
|
||||||
.equ CONFIG_BGSPRITE , 0
|
|
||||||
.equ CONFIG_VAR_TX_NO_TX_MODE , 0
|
|
||||||
.equ CONFIG_MRC_TX , 0
|
|
||||||
.equ CONFIG_LPF_DIRECT , 0
|
|
||||||
.equ CONFIG_LOOPFILTER_LEVEL , 0
|
|
||||||
.equ CONFIG_NO_FRAME_CONTEXT_SIGNALING , 0
|
|
||||||
.equ CONFIG_TXMG , 1
|
|
||||||
.equ CONFIG_MAX_TILE , 0
|
|
||||||
.equ CONFIG_HASH_ME , 0
|
|
||||||
.equ CONFIG_COLORSPACE_HEADERS , 0
|
|
||||||
.equ CONFIG_MFMV , 0
|
|
||||||
.equ CONFIG_FRAME_MARKER , 0
|
|
||||||
.equ CONFIG_JNT_COMP , 0
|
|
||||||
.equ CONFIG_FRAME_SIGN_BIAS , 0
|
|
||||||
.equ CONFIG_EXT_SKIP , 0
|
|
||||||
.equ CONFIG_OBU , 0
|
|
||||||
.equ CONFIG_AMVR , 0
|
|
||||||
.equ CONFIG_LPF_SB , 0
|
|
||||||
.equ CONFIG_OPT_REF_MV , 0
|
|
||||||
.equ CONFIG_TMV , 0
|
|
||||||
.equ CONFIG_RESTRICT_COMPRESSED_HDR , 0
|
|
||||||
.equ CONFIG_HORZONLY_FRAME_SUPERRES , 0
|
|
||||||
.equ CONFIG_ANALYZER , 0
|
|
||||||
.section .note.GNU-stack,"",%progbits
|
|
||||||
|
|
@ -1,11 +0,0 @@
|
||||||
/* Copyright (c) 2016, Alliance for Open Media. All rights reserved. */
|
|
||||||
/* */
|
|
||||||
/* This source code is subject to the terms of the BSD 2 Clause License and */
|
|
||||||
/* the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License */
|
|
||||||
/* was not distributed with this source code in the LICENSE file, you can */
|
|
||||||
/* obtain it at www.aomedia.org/license/software. If the Alliance for Open */
|
|
||||||
/* Media Patent License 1.0 was not distributed with this source code in the */
|
|
||||||
/* PATENTS file, you can obtain it at www.aomedia.org/license/patent. */
|
|
||||||
#include "aom/aom_codec.h"
|
|
||||||
static const char* const cfg = "--target=generic-gnu --enable-external-build --disable-examples --disable-docs --disable-unit-tests --size-limit=8192x4608 --enable-pic";
|
|
||||||
const char *aom_codec_build_config(void) {return cfg;}
|
|
||||||
|
|
@ -1,192 +0,0 @@
|
||||||
/* Copyright (c) 2016, Alliance for Open Media. All rights reserved. */
|
|
||||||
/* */
|
|
||||||
/* This source code is subject to the terms of the BSD 2 Clause License and */
|
|
||||||
/* the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License */
|
|
||||||
/* was not distributed with this source code in the LICENSE file, you can */
|
|
||||||
/* obtain it at www.aomedia.org/license/software. If the Alliance for Open */
|
|
||||||
/* Media Patent License 1.0 was not distributed with this source code in the */
|
|
||||||
/* PATENTS file, you can obtain it at www.aomedia.org/license/patent. */
|
|
||||||
/* This file automatically generated by configure. Do not edit! */
|
|
||||||
#ifndef AOM_CONFIG_H
|
|
||||||
#define AOM_CONFIG_H
|
|
||||||
#define RESTRICT
|
|
||||||
#define INLINE inline
|
|
||||||
#define ARCH_ARM 0
|
|
||||||
#define ARCH_MIPS 0
|
|
||||||
#define ARCH_X86 0
|
|
||||||
#define ARCH_X86_64 0
|
|
||||||
#define HAVE_NEON 0
|
|
||||||
#define HAVE_NEON_ASM 0
|
|
||||||
#define HAVE_MIPS32 0
|
|
||||||
#define HAVE_DSPR2 0
|
|
||||||
#define HAVE_MSA 0
|
|
||||||
#define HAVE_MIPS64 0
|
|
||||||
#define HAVE_MMX 0
|
|
||||||
#define HAVE_SSE 0
|
|
||||||
#define HAVE_SSE2 0
|
|
||||||
#define HAVE_SSE3 0
|
|
||||||
#define HAVE_SSSE3 0
|
|
||||||
#define HAVE_SSE4_1 0
|
|
||||||
#define HAVE_AVX 0
|
|
||||||
#define HAVE_AVX2 0
|
|
||||||
#define HAVE_AOM_PORTS 1
|
|
||||||
#define HAVE_FEXCEPT 1
|
|
||||||
#define HAVE_PTHREAD_H 1
|
|
||||||
#define HAVE_WXWIDGETS 0
|
|
||||||
#define CONFIG_DEPENDENCY_TRACKING 1
|
|
||||||
#define CONFIG_EXTERNAL_BUILD 1
|
|
||||||
#define CONFIG_INSTALL_DOCS 1
|
|
||||||
#define CONFIG_INSTALL_BINS 1
|
|
||||||
#define CONFIG_INSTALL_LIBS 1
|
|
||||||
#define CONFIG_INSTALL_SRCS 0
|
|
||||||
#define CONFIG_DEBUG 0
|
|
||||||
#define CONFIG_GPROF 0
|
|
||||||
#define CONFIG_GCOV 0
|
|
||||||
#define CONFIG_RVCT 0
|
|
||||||
#define CONFIG_GCC 1
|
|
||||||
#define CONFIG_MSVS 0
|
|
||||||
#define CONFIG_PIC 1
|
|
||||||
#define CONFIG_BIG_ENDIAN 0
|
|
||||||
#define CONFIG_CODEC_SRCS 0
|
|
||||||
#define CONFIG_DEBUG_LIBS 0
|
|
||||||
#define CONFIG_RUNTIME_CPU_DETECT 0
|
|
||||||
#define CONFIG_POSTPROC 0
|
|
||||||
#define CONFIG_MULTITHREAD 1
|
|
||||||
#define CONFIG_INTERNAL_STATS 0
|
|
||||||
#define CONFIG_AV1_ENCODER 1
|
|
||||||
#define CONFIG_AV1_DECODER 1
|
|
||||||
#define CONFIG_AV1 1
|
|
||||||
#define CONFIG_STATIC_MSVCRT 0
|
|
||||||
#define CONFIG_SPATIAL_RESAMPLING 1
|
|
||||||
#define CONFIG_REALTIME_ONLY 0
|
|
||||||
#define CONFIG_SHARED 0
|
|
||||||
#define CONFIG_STATIC 1
|
|
||||||
#define CONFIG_SMALL 0
|
|
||||||
#define CONFIG_POSTPROC_VISUALIZER 0
|
|
||||||
#define CONFIG_OS_SUPPORT 1
|
|
||||||
#define CONFIG_UNIT_TESTS 0
|
|
||||||
#define CONFIG_WEBM_IO 1
|
|
||||||
#define CONFIG_LIBYUV 1
|
|
||||||
#define CONFIG_ACCOUNTING 0
|
|
||||||
#define CONFIG_INSPECTION 0
|
|
||||||
#define CONFIG_DECODE_PERF_TESTS 0
|
|
||||||
#define CONFIG_ENCODE_PERF_TESTS 0
|
|
||||||
#define CONFIG_BITSTREAM_DEBUG 0
|
|
||||||
#define CONFIG_SYMBOLRATE 0
|
|
||||||
#define CONFIG_COEFFICIENT_RANGE_CHECKING 0
|
|
||||||
#define CONFIG_LOWBITDEPTH 1
|
|
||||||
#define CONFIG_HIGHBITDEPTH 1
|
|
||||||
#define CONFIG_EXPERIMENTAL 0
|
|
||||||
#define CONFIG_SIZE_LIMIT 1
|
|
||||||
#define CONFIG_FP_MB_STATS 0
|
|
||||||
#define CONFIG_CDEF 1
|
|
||||||
#define CONFIG_CDEF_SINGLEPASS 1
|
|
||||||
#define CONFIG_VAR_TX 1
|
|
||||||
#define CONFIG_RECT_TX 1
|
|
||||||
#define CONFIG_RECT_TX_EXT 0
|
|
||||||
#define CONFIG_TPL_MV 0
|
|
||||||
#define CONFIG_DUAL_FILTER 1
|
|
||||||
#define CONFIG_CONVOLVE_ROUND 1
|
|
||||||
#define CONFIG_COMPOUND_ROUND 0
|
|
||||||
#define CONFIG_EXT_TX 1
|
|
||||||
#define CONFIG_TX64X64 0
|
|
||||||
#define CONFIG_EXT_INTRA 1
|
|
||||||
#define CONFIG_INTRA_INTERP 0
|
|
||||||
#define CONFIG_FILTER_INTRA 0
|
|
||||||
#define CONFIG_INTRA_EDGE 1
|
|
||||||
#define CONFIG_INTRABC 0
|
|
||||||
#define CONFIG_INTERINTRA 1
|
|
||||||
#define CONFIG_WEDGE 1
|
|
||||||
#define CONFIG_COMPOUND_SEGMENT 1
|
|
||||||
#define CONFIG_EXT_REFS 1
|
|
||||||
#define CONFIG_GLOBAL_MOTION 1
|
|
||||||
#define CONFIG_NEW_QUANT 0
|
|
||||||
#define CONFIG_SUPERTX 0
|
|
||||||
#define CONFIG_ANS 0
|
|
||||||
#define CONFIG_LOOP_RESTORATION 1
|
|
||||||
#define CONFIG_STRIPED_LOOP_RESTORATION 0
|
|
||||||
#define CONFIG_EXT_PARTITION 0
|
|
||||||
#define CONFIG_EXT_PARTITION_TYPES 0
|
|
||||||
#define CONFIG_EXT_PARTITION_TYPES_AB 0
|
|
||||||
#define CONFIG_UNPOISON_PARTITION_CTX 0
|
|
||||||
#define CONFIG_EXT_TILE 0
|
|
||||||
#define CONFIG_MOTION_VAR 1
|
|
||||||
#define CONFIG_NCOBMC 0
|
|
||||||
#define CONFIG_WARPED_MOTION 1
|
|
||||||
#define CONFIG_Q_ADAPT_PROBS 0
|
|
||||||
#define CONFIG_INTER_STATS_ONLY 0
|
|
||||||
#define CONFIG_PALETTE_DELTA_ENCODING 0
|
|
||||||
#define CONFIG_RAWBITS 0
|
|
||||||
#define CONFIG_KF_CTX 0
|
|
||||||
#define CONFIG_PVQ 0
|
|
||||||
#define CONFIG_CFL 0
|
|
||||||
#define CONFIG_XIPHRC 0
|
|
||||||
#define CONFIG_DCT_ONLY 0
|
|
||||||
#define CONFIG_DAALA_TX 0
|
|
||||||
#define CONFIG_DAALA_DCT4 0
|
|
||||||
#define CONFIG_DAALA_DCT8 0
|
|
||||||
#define CONFIG_DAALA_DCT16 0
|
|
||||||
#define CONFIG_DAALA_DCT32 0
|
|
||||||
#define CONFIG_DAALA_DCT64 0
|
|
||||||
#define CONFIG_CB4X4 1
|
|
||||||
#define CONFIG_CHROMA_2X2 0
|
|
||||||
#define CONFIG_CHROMA_SUB8X8 1
|
|
||||||
#define CONFIG_FRAME_SIZE 0
|
|
||||||
#define CONFIG_EXT_DELTA_Q 1
|
|
||||||
#define CONFIG_ADAPT_SCAN 0
|
|
||||||
#define CONFIG_PARALLEL_DEBLOCKING 1
|
|
||||||
#define CONFIG_DEBLOCK_13TAP 0
|
|
||||||
#define CONFIG_LOOPFILTERING_ACROSS_TILES 1
|
|
||||||
#define CONFIG_TEMPMV_SIGNALING 1
|
|
||||||
#define CONFIG_RD_DEBUG 0
|
|
||||||
#define CONFIG_REFERENCE_BUFFER 1
|
|
||||||
#define CONFIG_COEF_INTERLEAVE 0
|
|
||||||
#define CONFIG_ENTROPY_STATS 0
|
|
||||||
#define CONFIG_MASKED_TX 0
|
|
||||||
#define CONFIG_DEPENDENT_HORZTILES 0
|
|
||||||
#define CONFIG_DIST_8X8 1
|
|
||||||
#define CONFIG_PALETTE_THROUGHPUT 1
|
|
||||||
#define CONFIG_REF_ADAPT 0
|
|
||||||
#define CONFIG_LV_MAP 0
|
|
||||||
#define CONFIG_CTX1D 0
|
|
||||||
#define CONFIG_TXK_SEL 0
|
|
||||||
#define CONFIG_MV_COMPRESS 1
|
|
||||||
#define CONFIG_SEGMENT_ZEROMV 0
|
|
||||||
#define CONFIG_FRAME_SUPERRES 0
|
|
||||||
#define CONFIG_NEW_MULTISYMBOL 0
|
|
||||||
#define CONFIG_COMPOUND_SINGLEREF 0
|
|
||||||
#define CONFIG_AOM_QM 1
|
|
||||||
#define CONFIG_ONE_SIDED_COMPOUND 1
|
|
||||||
#define CONFIG_EXT_COMP_REFS 1
|
|
||||||
#define CONFIG_SMOOTH_HV 1
|
|
||||||
#define CONFIG_VAR_REFS 0
|
|
||||||
#define CONFIG_LGT 0
|
|
||||||
#define CONFIG_LGT_FROM_PRED 0
|
|
||||||
#define CONFIG_SBL_SYMBOL 0
|
|
||||||
#define CONFIG_NCOBMC_ADAPT_WEIGHT 0
|
|
||||||
#define CONFIG_BGSPRITE 0
|
|
||||||
#define CONFIG_VAR_TX_NO_TX_MODE 0
|
|
||||||
#define CONFIG_MRC_TX 0
|
|
||||||
#define CONFIG_LPF_DIRECT 0
|
|
||||||
#define CONFIG_LOOPFILTER_LEVEL 0
|
|
||||||
#define CONFIG_NO_FRAME_CONTEXT_SIGNALING 0
|
|
||||||
#define CONFIG_TXMG 1
|
|
||||||
#define CONFIG_MAX_TILE 0
|
|
||||||
#define CONFIG_HASH_ME 0
|
|
||||||
#define CONFIG_COLORSPACE_HEADERS 0
|
|
||||||
#define CONFIG_MFMV 0
|
|
||||||
#define CONFIG_FRAME_MARKER 0
|
|
||||||
#define CONFIG_JNT_COMP 0
|
|
||||||
#define CONFIG_FRAME_SIGN_BIAS 0
|
|
||||||
#define CONFIG_EXT_SKIP 0
|
|
||||||
#define CONFIG_OBU 0
|
|
||||||
#define CONFIG_AMVR 0
|
|
||||||
#define CONFIG_LPF_SB 0
|
|
||||||
#define CONFIG_OPT_REF_MV 0
|
|
||||||
#define CONFIG_TMV 0
|
|
||||||
#define CONFIG_RESTRICT_COMPRESSED_HDR 0
|
|
||||||
#define CONFIG_HORZONLY_FRAME_SUPERRES 0
|
|
||||||
#define CONFIG_ANALYZER 0
|
|
||||||
#define DECODE_WIDTH_LIMIT 8192
|
|
||||||
#define DECODE_HEIGHT_LIMIT 4608
|
|
||||||
#endif /* AOM_CONFIG_H */
|
|
||||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,75 +0,0 @@
|
||||||
#ifndef AOM_SCALE_RTCD_H_
|
|
||||||
#define AOM_SCALE_RTCD_H_
|
|
||||||
|
|
||||||
#ifdef RTCD_C
|
|
||||||
#define RTCD_EXTERN
|
|
||||||
#else
|
|
||||||
#define RTCD_EXTERN extern
|
|
||||||
#endif
|
|
||||||
|
|
||||||
struct yv12_buffer_config;
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
void aom_extend_frame_borders_c(struct yv12_buffer_config *ybf);
|
|
||||||
#define aom_extend_frame_borders aom_extend_frame_borders_c
|
|
||||||
|
|
||||||
void aom_extend_frame_borders_y_c(struct yv12_buffer_config *ybf);
|
|
||||||
#define aom_extend_frame_borders_y aom_extend_frame_borders_y_c
|
|
||||||
|
|
||||||
void aom_extend_frame_inner_borders_c(struct yv12_buffer_config *ybf);
|
|
||||||
#define aom_extend_frame_inner_borders aom_extend_frame_inner_borders_c
|
|
||||||
|
|
||||||
void aom_horizontal_line_2_1_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
|
|
||||||
#define aom_horizontal_line_2_1_scale aom_horizontal_line_2_1_scale_c
|
|
||||||
|
|
||||||
void aom_horizontal_line_5_3_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
|
|
||||||
#define aom_horizontal_line_5_3_scale aom_horizontal_line_5_3_scale_c
|
|
||||||
|
|
||||||
void aom_horizontal_line_5_4_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
|
|
||||||
#define aom_horizontal_line_5_4_scale aom_horizontal_line_5_4_scale_c
|
|
||||||
|
|
||||||
void aom_vertical_band_2_1_scale_c(unsigned char *source, int src_pitch, unsigned char *dest, int dest_pitch, unsigned int dest_width);
|
|
||||||
#define aom_vertical_band_2_1_scale aom_vertical_band_2_1_scale_c
|
|
||||||
|
|
||||||
void aom_vertical_band_2_1_scale_i_c(unsigned char *source, int src_pitch, unsigned char *dest, int dest_pitch, unsigned int dest_width);
|
|
||||||
#define aom_vertical_band_2_1_scale_i aom_vertical_band_2_1_scale_i_c
|
|
||||||
|
|
||||||
void aom_vertical_band_5_3_scale_c(unsigned char *source, int src_pitch, unsigned char *dest, int dest_pitch, unsigned int dest_width);
|
|
||||||
#define aom_vertical_band_5_3_scale aom_vertical_band_5_3_scale_c
|
|
||||||
|
|
||||||
void aom_vertical_band_5_4_scale_c(unsigned char *source, int src_pitch, unsigned char *dest, int dest_pitch, unsigned int dest_width);
|
|
||||||
#define aom_vertical_band_5_4_scale aom_vertical_band_5_4_scale_c
|
|
||||||
|
|
||||||
void aom_yv12_copy_frame_c(const struct yv12_buffer_config *src_bc, struct yv12_buffer_config *dst_bc);
|
|
||||||
#define aom_yv12_copy_frame aom_yv12_copy_frame_c
|
|
||||||
|
|
||||||
void aom_yv12_copy_u_c(const struct yv12_buffer_config *src_bc, struct yv12_buffer_config *dst_bc);
|
|
||||||
#define aom_yv12_copy_u aom_yv12_copy_u_c
|
|
||||||
|
|
||||||
void aom_yv12_copy_v_c(const struct yv12_buffer_config *src_bc, struct yv12_buffer_config *dst_bc);
|
|
||||||
#define aom_yv12_copy_v aom_yv12_copy_v_c
|
|
||||||
|
|
||||||
void aom_yv12_copy_y_c(const struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc);
|
|
||||||
#define aom_yv12_copy_y aom_yv12_copy_y_c
|
|
||||||
|
|
||||||
void aom_yv12_extend_frame_borders_c(struct yv12_buffer_config *ybf);
|
|
||||||
#define aom_yv12_extend_frame_borders aom_yv12_extend_frame_borders_c
|
|
||||||
|
|
||||||
void aom_scale_rtcd(void);
|
|
||||||
|
|
||||||
#include "aom_config.h"
|
|
||||||
|
|
||||||
#ifdef RTCD_C
|
|
||||||
static void setup_rtcd_internal(void)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
} // extern "C"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
@ -1,398 +0,0 @@
|
||||||
#ifndef AOM_RTCD_H_
|
|
||||||
#define AOM_RTCD_H_
|
|
||||||
|
|
||||||
#ifdef RTCD_C
|
|
||||||
#define RTCD_EXTERN
|
|
||||||
#else
|
|
||||||
#define RTCD_EXTERN extern
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*
|
|
||||||
* AV1
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include "aom/aom_integer.h"
|
|
||||||
#include "aom_dsp/txfm_common.h"
|
|
||||||
#include "av1/common/common.h"
|
|
||||||
#include "av1/common/enums.h"
|
|
||||||
#include "av1/common/quant_common.h"
|
|
||||||
#include "av1/common/filter.h"
|
|
||||||
#include "av1/common/convolve.h"
|
|
||||||
#include "av1/common/av1_txfm.h"
|
|
||||||
#include "av1/common/odintrin.h"
|
|
||||||
|
|
||||||
struct macroblockd;
|
|
||||||
|
|
||||||
/* Encoder forward decls */
|
|
||||||
struct macroblock;
|
|
||||||
struct txfm_param;
|
|
||||||
struct aom_variance_vtable;
|
|
||||||
struct search_site_config;
|
|
||||||
struct mv;
|
|
||||||
union int_mv;
|
|
||||||
struct yv12_buffer_config;
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
void apply_selfguided_restoration_c(uint8_t *dat, int width, int height, int stride, int eps, int *xqd, uint8_t *dst, int dst_stride, int32_t *tmpbuf);
|
|
||||||
#define apply_selfguided_restoration apply_selfguided_restoration_c
|
|
||||||
|
|
||||||
void apply_selfguided_restoration_highbd_c(uint16_t *dat, int width, int height, int stride, int bit_depth, int eps, int *xqd, uint16_t *dst, int dst_stride, int32_t *tmpbuf);
|
|
||||||
#define apply_selfguided_restoration_highbd apply_selfguided_restoration_highbd_c
|
|
||||||
|
|
||||||
int64_t av1_block_error_c(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block_size, int64_t *ssz);
|
|
||||||
#define av1_block_error av1_block_error_c
|
|
||||||
|
|
||||||
void av1_convolve_2d_c(const uint8_t *src, int src_stride, CONV_BUF_TYPE *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
|
||||||
#define av1_convolve_2d av1_convolve_2d_c
|
|
||||||
|
|
||||||
void av1_convolve_2d_scale_c(const uint8_t *src, int src_stride, CONV_BUF_TYPE *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_qn, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params);
|
|
||||||
#define av1_convolve_2d_scale av1_convolve_2d_scale_c
|
|
||||||
|
|
||||||
void av1_convolve_horiz_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, ConvolveParams *conv_params);
|
|
||||||
#define av1_convolve_horiz av1_convolve_horiz_c
|
|
||||||
|
|
||||||
void av1_convolve_rounding_c(const int32_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, int bits);
|
|
||||||
#define av1_convolve_rounding av1_convolve_rounding_c
|
|
||||||
|
|
||||||
void av1_convolve_vert_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, ConvolveParams *conv_params);
|
|
||||||
#define av1_convolve_vert av1_convolve_vert_c
|
|
||||||
|
|
||||||
int av1_diamond_search_sad_c(struct macroblock *x, const struct search_site_config *cfg, struct mv *ref_mv, struct mv *best_mv, int search_param, int sad_per_bit, int *num00, const struct aom_variance_vtable *fn_ptr, const struct mv *center_mv);
|
|
||||||
#define av1_diamond_search_sad av1_diamond_search_sad_c
|
|
||||||
|
|
||||||
void av1_fht16x16_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
#define av1_fht16x16 av1_fht16x16_c
|
|
||||||
|
|
||||||
void av1_fht16x32_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
#define av1_fht16x32 av1_fht16x32_c
|
|
||||||
|
|
||||||
void av1_fht16x4_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
#define av1_fht16x4 av1_fht16x4_c
|
|
||||||
|
|
||||||
void av1_fht16x8_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
#define av1_fht16x8 av1_fht16x8_c
|
|
||||||
|
|
||||||
void av1_fht32x16_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
#define av1_fht32x16 av1_fht32x16_c
|
|
||||||
|
|
||||||
void av1_fht32x32_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
#define av1_fht32x32 av1_fht32x32_c
|
|
||||||
|
|
||||||
void av1_fht32x8_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
#define av1_fht32x8 av1_fht32x8_c
|
|
||||||
|
|
||||||
void av1_fht4x16_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
#define av1_fht4x16 av1_fht4x16_c
|
|
||||||
|
|
||||||
void av1_fht4x4_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
#define av1_fht4x4 av1_fht4x4_c
|
|
||||||
|
|
||||||
void av1_fht4x8_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
#define av1_fht4x8 av1_fht4x8_c
|
|
||||||
|
|
||||||
void av1_fht8x16_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
#define av1_fht8x16 av1_fht8x16_c
|
|
||||||
|
|
||||||
void av1_fht8x32_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
#define av1_fht8x32 av1_fht8x32_c
|
|
||||||
|
|
||||||
void av1_fht8x4_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
#define av1_fht8x4 av1_fht8x4_c
|
|
||||||
|
|
||||||
void av1_fht8x8_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
#define av1_fht8x8 av1_fht8x8_c
|
|
||||||
|
|
||||||
void av1_filter_intra_edge_c(uint8_t *p, int sz, int strength);
|
|
||||||
#define av1_filter_intra_edge av1_filter_intra_edge_c
|
|
||||||
|
|
||||||
void av1_filter_intra_edge_high_c(uint16_t *p, int sz, int strength);
|
|
||||||
#define av1_filter_intra_edge_high av1_filter_intra_edge_high_c
|
|
||||||
|
|
||||||
int av1_full_range_search_c(const struct macroblock *x, const struct search_site_config *cfg, struct mv *ref_mv, struct mv *best_mv, int search_param, int sad_per_bit, int *num00, const struct aom_variance_vtable *fn_ptr, const struct mv *center_mv);
|
|
||||||
#define av1_full_range_search av1_full_range_search_c
|
|
||||||
|
|
||||||
int av1_full_search_sad_c(const struct macroblock *x, const struct mv *ref_mv, int sad_per_bit, int distance, const struct aom_variance_vtable *fn_ptr, const struct mv *center_mv, struct mv *best_mv);
|
|
||||||
#define av1_full_search_sad av1_full_search_sad_c
|
|
||||||
|
|
||||||
void av1_fwd_idtx_c(const int16_t *src_diff, tran_low_t *coeff, int stride, int bsx, int bsy, TX_TYPE tx_type);
|
|
||||||
#define av1_fwd_idtx av1_fwd_idtx_c
|
|
||||||
|
|
||||||
void av1_fwd_txfm2d_16x16_c(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_fwd_txfm2d_16x16 av1_fwd_txfm2d_16x16_c
|
|
||||||
|
|
||||||
void av1_fwd_txfm2d_16x32_c(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_fwd_txfm2d_16x32 av1_fwd_txfm2d_16x32_c
|
|
||||||
|
|
||||||
void av1_fwd_txfm2d_16x8_c(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_fwd_txfm2d_16x8 av1_fwd_txfm2d_16x8_c
|
|
||||||
|
|
||||||
void av1_fwd_txfm2d_32x16_c(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_fwd_txfm2d_32x16 av1_fwd_txfm2d_32x16_c
|
|
||||||
|
|
||||||
void av1_fwd_txfm2d_32x32_c(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_fwd_txfm2d_32x32 av1_fwd_txfm2d_32x32_c
|
|
||||||
|
|
||||||
void av1_fwd_txfm2d_4x4_c(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_fwd_txfm2d_4x4 av1_fwd_txfm2d_4x4_c
|
|
||||||
|
|
||||||
void av1_fwd_txfm2d_4x8_c(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_fwd_txfm2d_4x8 av1_fwd_txfm2d_4x8_c
|
|
||||||
|
|
||||||
void av1_fwd_txfm2d_8x16_c(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_fwd_txfm2d_8x16 av1_fwd_txfm2d_8x16_c
|
|
||||||
|
|
||||||
void av1_fwd_txfm2d_8x4_c(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_fwd_txfm2d_8x4 av1_fwd_txfm2d_8x4_c
|
|
||||||
|
|
||||||
void av1_fwd_txfm2d_8x8_c(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_fwd_txfm2d_8x8 av1_fwd_txfm2d_8x8_c
|
|
||||||
|
|
||||||
void av1_fwht4x4_c(const int16_t *input, tran_low_t *output, int stride);
|
|
||||||
#define av1_fwht4x4 av1_fwht4x4_c
|
|
||||||
|
|
||||||
int64_t av1_highbd_block_error_c(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block_size, int64_t *ssz, int bd);
|
|
||||||
#define av1_highbd_block_error av1_highbd_block_error_c
|
|
||||||
|
|
||||||
void av1_highbd_convolve8_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
#define av1_highbd_convolve8 av1_highbd_convolve8_c
|
|
||||||
|
|
||||||
void av1_highbd_convolve8_avg_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
#define av1_highbd_convolve8_avg av1_highbd_convolve8_avg_c
|
|
||||||
|
|
||||||
void av1_highbd_convolve8_avg_horiz_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
#define av1_highbd_convolve8_avg_horiz av1_highbd_convolve8_avg_horiz_c
|
|
||||||
|
|
||||||
void av1_highbd_convolve8_avg_vert_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
#define av1_highbd_convolve8_avg_vert av1_highbd_convolve8_avg_vert_c
|
|
||||||
|
|
||||||
void av1_highbd_convolve8_horiz_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
#define av1_highbd_convolve8_horiz av1_highbd_convolve8_horiz_c
|
|
||||||
|
|
||||||
void av1_highbd_convolve8_vert_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
#define av1_highbd_convolve8_vert av1_highbd_convolve8_vert_c
|
|
||||||
|
|
||||||
void av1_highbd_convolve_2d_c(const uint16_t *src, int src_stride, CONV_BUF_TYPE *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
|
||||||
#define av1_highbd_convolve_2d av1_highbd_convolve_2d_c
|
|
||||||
|
|
||||||
void av1_highbd_convolve_2d_scale_c(const uint16_t *src, int src_stride, CONV_BUF_TYPE *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params, int bd);
|
|
||||||
#define av1_highbd_convolve_2d_scale av1_highbd_convolve_2d_scale_c
|
|
||||||
|
|
||||||
void av1_highbd_convolve_avg_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
#define av1_highbd_convolve_avg av1_highbd_convolve_avg_c
|
|
||||||
|
|
||||||
void av1_highbd_convolve_copy_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
#define av1_highbd_convolve_copy av1_highbd_convolve_copy_c
|
|
||||||
|
|
||||||
void av1_highbd_convolve_horiz_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, int avg, int bd);
|
|
||||||
#define av1_highbd_convolve_horiz av1_highbd_convolve_horiz_c
|
|
||||||
|
|
||||||
void av1_highbd_convolve_init_c(void);
|
|
||||||
#define av1_highbd_convolve_init av1_highbd_convolve_init_c
|
|
||||||
|
|
||||||
void av1_highbd_convolve_rounding_c(const int32_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, int bits, int bd);
|
|
||||||
#define av1_highbd_convolve_rounding av1_highbd_convolve_rounding_c
|
|
||||||
|
|
||||||
void av1_highbd_convolve_vert_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, int avg, int bd);
|
|
||||||
#define av1_highbd_convolve_vert av1_highbd_convolve_vert_c
|
|
||||||
|
|
||||||
void av1_highbd_fwht4x4_c(const int16_t *input, tran_low_t *output, int stride);
|
|
||||||
#define av1_highbd_fwht4x4 av1_highbd_fwht4x4_c
|
|
||||||
|
|
||||||
void av1_highbd_iht16x16_256_add_c(const tran_low_t *input, uint8_t *output, int pitch, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht16x16_256_add av1_highbd_iht16x16_256_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht16x32_512_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht16x32_512_add av1_highbd_iht16x32_512_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht16x4_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht16x4_64_add av1_highbd_iht16x4_64_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht16x8_128_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht16x8_128_add av1_highbd_iht16x8_128_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht32x16_512_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht32x16_512_add av1_highbd_iht32x16_512_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht32x8_256_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht32x8_256_add av1_highbd_iht32x8_256_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht4x16_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht4x16_64_add av1_highbd_iht4x16_64_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht4x4_16_add av1_highbd_iht4x4_16_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht4x8_32_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht4x8_32_add av1_highbd_iht4x8_32_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht8x16_128_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht8x16_128_add av1_highbd_iht8x16_128_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht8x32_256_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht8x32_256_add av1_highbd_iht8x32_256_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht8x4_32_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht8x4_32_add av1_highbd_iht8x4_32_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht8x8_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht8x8_64_add av1_highbd_iht8x8_64_add_c
|
|
||||||
|
|
||||||
void av1_highbd_quantize_fp_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan, int log_scale);
|
|
||||||
#define av1_highbd_quantize_fp av1_highbd_quantize_fp_c
|
|
||||||
|
|
||||||
void av1_highbd_temporal_filter_apply_c(uint8_t *frame1, unsigned int stride, uint8_t *frame2, unsigned int block_width, unsigned int block_height, int strength, int filter_weight, unsigned int *accumulator, uint16_t *count);
|
|
||||||
#define av1_highbd_temporal_filter_apply av1_highbd_temporal_filter_apply_c
|
|
||||||
|
|
||||||
void av1_highbd_warp_affine_c(const int32_t *mat, const uint16_t *ref, int width, int height, int stride, uint16_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, int bd, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
|
||||||
#define av1_highbd_warp_affine av1_highbd_warp_affine_c
|
|
||||||
|
|
||||||
void av1_highpass_filter_c(uint8_t *dgd, int width, int height, int stride, int32_t *dst, int dst_stride, int r, int eps);
|
|
||||||
#define av1_highpass_filter av1_highpass_filter_c
|
|
||||||
|
|
||||||
void av1_highpass_filter_highbd_c(uint16_t *dgd, int width, int height, int stride, int32_t *dst, int dst_stride, int r, int eps);
|
|
||||||
#define av1_highpass_filter_highbd av1_highpass_filter_highbd_c
|
|
||||||
|
|
||||||
void av1_iht16x16_256_add_c(const tran_low_t *input, uint8_t *output, int pitch, const struct txfm_param *param);
|
|
||||||
#define av1_iht16x16_256_add av1_iht16x16_256_add_c
|
|
||||||
|
|
||||||
void av1_iht16x32_512_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_iht16x32_512_add av1_iht16x32_512_add_c
|
|
||||||
|
|
||||||
void av1_iht16x4_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_iht16x4_64_add av1_iht16x4_64_add_c
|
|
||||||
|
|
||||||
void av1_iht16x8_128_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_iht16x8_128_add av1_iht16x8_128_add_c
|
|
||||||
|
|
||||||
void av1_iht32x16_512_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_iht32x16_512_add av1_iht32x16_512_add_c
|
|
||||||
|
|
||||||
void av1_iht32x32_1024_add_c(const tran_low_t *input, uint8_t *output, int pitch, const struct txfm_param *param);
|
|
||||||
#define av1_iht32x32_1024_add av1_iht32x32_1024_add_c
|
|
||||||
|
|
||||||
void av1_iht32x8_256_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_iht32x8_256_add av1_iht32x8_256_add_c
|
|
||||||
|
|
||||||
void av1_iht4x16_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_iht4x16_64_add av1_iht4x16_64_add_c
|
|
||||||
|
|
||||||
void av1_iht4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_iht4x4_16_add av1_iht4x4_16_add_c
|
|
||||||
|
|
||||||
void av1_iht4x8_32_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_iht4x8_32_add av1_iht4x8_32_add_c
|
|
||||||
|
|
||||||
void av1_iht8x16_128_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_iht8x16_128_add av1_iht8x16_128_add_c
|
|
||||||
|
|
||||||
void av1_iht8x32_256_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_iht8x32_256_add av1_iht8x32_256_add_c
|
|
||||||
|
|
||||||
void av1_iht8x4_32_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_iht8x4_32_add av1_iht8x4_32_add_c
|
|
||||||
|
|
||||||
void av1_iht8x8_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_iht8x8_64_add av1_iht8x8_64_add_c
|
|
||||||
|
|
||||||
void av1_inv_txfm2d_add_16x16_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_inv_txfm2d_add_16x16 av1_inv_txfm2d_add_16x16_c
|
|
||||||
|
|
||||||
void av1_inv_txfm2d_add_16x32_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_inv_txfm2d_add_16x32 av1_inv_txfm2d_add_16x32_c
|
|
||||||
|
|
||||||
void av1_inv_txfm2d_add_16x8_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_inv_txfm2d_add_16x8 av1_inv_txfm2d_add_16x8_c
|
|
||||||
|
|
||||||
void av1_inv_txfm2d_add_32x16_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_inv_txfm2d_add_32x16 av1_inv_txfm2d_add_32x16_c
|
|
||||||
|
|
||||||
void av1_inv_txfm2d_add_32x32_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_inv_txfm2d_add_32x32 av1_inv_txfm2d_add_32x32_c
|
|
||||||
|
|
||||||
void av1_inv_txfm2d_add_4x4_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_inv_txfm2d_add_4x4 av1_inv_txfm2d_add_4x4_c
|
|
||||||
|
|
||||||
void av1_inv_txfm2d_add_4x8_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_inv_txfm2d_add_4x8 av1_inv_txfm2d_add_4x8_c
|
|
||||||
|
|
||||||
void av1_inv_txfm2d_add_8x16_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_inv_txfm2d_add_8x16 av1_inv_txfm2d_add_8x16_c
|
|
||||||
|
|
||||||
void av1_inv_txfm2d_add_8x4_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_inv_txfm2d_add_8x4 av1_inv_txfm2d_add_8x4_c
|
|
||||||
|
|
||||||
void av1_inv_txfm2d_add_8x8_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_inv_txfm2d_add_8x8 av1_inv_txfm2d_add_8x8_c
|
|
||||||
|
|
||||||
void av1_lowbd_convolve_init_c(void);
|
|
||||||
#define av1_lowbd_convolve_init av1_lowbd_convolve_init_c
|
|
||||||
|
|
||||||
void av1_quantize_b_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan, const qm_val_t * qm_ptr, const qm_val_t * iqm_ptr, int log_scale);
|
|
||||||
#define av1_quantize_b av1_quantize_b_c
|
|
||||||
|
|
||||||
void av1_quantize_fp_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan);
|
|
||||||
#define av1_quantize_fp av1_quantize_fp_c
|
|
||||||
|
|
||||||
void av1_quantize_fp_32x32_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan);
|
|
||||||
#define av1_quantize_fp_32x32 av1_quantize_fp_32x32_c
|
|
||||||
|
|
||||||
void av1_selfguided_restoration_c(uint8_t *dgd, int width, int height, int stride, int32_t *dst, int dst_stride, int r, int eps);
|
|
||||||
#define av1_selfguided_restoration av1_selfguided_restoration_c
|
|
||||||
|
|
||||||
void av1_selfguided_restoration_highbd_c(uint16_t *dgd, int width, int height, int stride, int32_t *dst, int dst_stride, int bit_depth, int r, int eps);
|
|
||||||
#define av1_selfguided_restoration_highbd av1_selfguided_restoration_highbd_c
|
|
||||||
|
|
||||||
void av1_temporal_filter_apply_c(uint8_t *frame1, unsigned int stride, uint8_t *frame2, unsigned int block_width, unsigned int block_height, int strength, int filter_weight, unsigned int *accumulator, uint16_t *count);
|
|
||||||
#define av1_temporal_filter_apply av1_temporal_filter_apply_c
|
|
||||||
|
|
||||||
void av1_upsample_intra_edge_c(uint8_t *p, int sz);
|
|
||||||
#define av1_upsample_intra_edge av1_upsample_intra_edge_c
|
|
||||||
|
|
||||||
void av1_upsample_intra_edge_high_c(uint16_t *p, int sz, int bd);
|
|
||||||
#define av1_upsample_intra_edge_high av1_upsample_intra_edge_high_c
|
|
||||||
|
|
||||||
void av1_warp_affine_c(const int32_t *mat, const uint8_t *ref, int width, int height, int stride, uint8_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
|
||||||
#define av1_warp_affine av1_warp_affine_c
|
|
||||||
|
|
||||||
void av1_wedge_compute_delta_squares_c(int16_t *d, const int16_t *a, const int16_t *b, int N);
|
|
||||||
#define av1_wedge_compute_delta_squares av1_wedge_compute_delta_squares_c
|
|
||||||
|
|
||||||
int av1_wedge_sign_from_residuals_c(const int16_t *ds, const uint8_t *m, int N, int64_t limit);
|
|
||||||
#define av1_wedge_sign_from_residuals av1_wedge_sign_from_residuals_c
|
|
||||||
|
|
||||||
uint64_t av1_wedge_sse_from_residuals_c(const int16_t *r1, const int16_t *d, const uint8_t *m, int N);
|
|
||||||
#define av1_wedge_sse_from_residuals av1_wedge_sse_from_residuals_c
|
|
||||||
|
|
||||||
void cdef_filter_block_c(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max);
|
|
||||||
#define cdef_filter_block cdef_filter_block_c
|
|
||||||
|
|
||||||
int cdef_find_dir_c(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
|
||||||
#define cdef_find_dir cdef_find_dir_c
|
|
||||||
|
|
||||||
double compute_cross_correlation_c(unsigned char *im1, int stride1, int x1, int y1, unsigned char *im2, int stride2, int x2, int y2);
|
|
||||||
#define compute_cross_correlation compute_cross_correlation_c
|
|
||||||
|
|
||||||
void copy_rect8_16bit_to_16bit_c(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
|
||||||
#define copy_rect8_16bit_to_16bit copy_rect8_16bit_to_16bit_c
|
|
||||||
|
|
||||||
void copy_rect8_8bit_to_16bit_c(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
|
||||||
#define copy_rect8_8bit_to_16bit copy_rect8_8bit_to_16bit_c
|
|
||||||
|
|
||||||
void aom_rtcd(void);
|
|
||||||
|
|
||||||
#include "aom_config.h"
|
|
||||||
|
|
||||||
#ifdef RTCD_C
|
|
||||||
static void setup_rtcd_internal(void)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
} // extern "C"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif
|
|
||||||
69
media/libaom/config/generic/config/aom_config.asm
Normal file
69
media/libaom/config/generic/config/aom_config.asm
Normal file
|
|
@ -0,0 +1,69 @@
|
||||||
|
;
|
||||||
|
; Copyright (c) 2018, Alliance for Open Media. All rights reserved
|
||||||
|
;
|
||||||
|
; This source code is subject to the terms of the BSD 2 Clause License and
|
||||||
|
; the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
|
||||||
|
; was not distributed with this source code in the LICENSE file, you can
|
||||||
|
; obtain it at www.aomedia.org/license/software. If the Alliance for Open
|
||||||
|
; Media Patent License 1.0 was not distributed with this source code in the
|
||||||
|
; PATENTS file, you can obtain it at www.aomedia.org/license/patent.
|
||||||
|
;
|
||||||
|
|
||||||
|
ARCH_ARM equ 0
|
||||||
|
ARCH_MIPS equ 0
|
||||||
|
ARCH_PPC equ 0
|
||||||
|
ARCH_X86 equ 0
|
||||||
|
ARCH_X86_64 equ 0
|
||||||
|
CONFIG_ACCOUNTING equ 0
|
||||||
|
CONFIG_ANALYZER equ 0
|
||||||
|
CONFIG_AV1_DECODER equ 1
|
||||||
|
CONFIG_AV1_ENCODER equ 0
|
||||||
|
CONFIG_BIG_ENDIAN equ 0
|
||||||
|
CONFIG_BITSTREAM_DEBUG equ 0
|
||||||
|
CONFIG_COEFFICIENT_RANGE_CHECKING equ 0
|
||||||
|
CONFIG_COLLECT_INTER_MODE_RD_STATS equ 1
|
||||||
|
CONFIG_COLLECT_RD_STATS equ 0
|
||||||
|
CONFIG_DEBUG equ 0
|
||||||
|
CONFIG_DIST_8X8 equ 1
|
||||||
|
CONFIG_ENTROPY_STATS equ 0
|
||||||
|
CONFIG_FILEOPTIONS equ 1
|
||||||
|
CONFIG_FP_MB_STATS equ 0
|
||||||
|
CONFIG_GCC equ 1
|
||||||
|
CONFIG_GCOV equ 0
|
||||||
|
CONFIG_GPROF equ 0
|
||||||
|
CONFIG_INSPECTION equ 0
|
||||||
|
CONFIG_INTERNAL_STATS equ 0
|
||||||
|
CONFIG_INTER_STATS_ONLY equ 0
|
||||||
|
CONFIG_LIBYUV equ 0
|
||||||
|
CONFIG_LOWBITDEPTH equ 0
|
||||||
|
CONFIG_MISMATCH_DEBUG equ 0
|
||||||
|
CONFIG_MSVS equ 0
|
||||||
|
CONFIG_MULTITHREAD equ 1
|
||||||
|
CONFIG_OS_SUPPORT equ 1
|
||||||
|
CONFIG_PIC equ 0
|
||||||
|
CONFIG_RD_DEBUG equ 0
|
||||||
|
CONFIG_RUNTIME_CPU_DETECT equ 1
|
||||||
|
CONFIG_SHARED equ 0
|
||||||
|
CONFIG_SIZE_LIMIT equ 0
|
||||||
|
CONFIG_SPATIAL_RESAMPLING equ 1
|
||||||
|
CONFIG_STATIC equ 1
|
||||||
|
CONFIG_WEBM_IO equ 0
|
||||||
|
DECODE_HEIGHT_LIMIT equ 0
|
||||||
|
DECODE_WIDTH_LIMIT equ 0
|
||||||
|
HAVE_AVX equ 0
|
||||||
|
HAVE_AVX2 equ 0
|
||||||
|
HAVE_DSPR2 equ 0
|
||||||
|
HAVE_FEXCEPT equ 1
|
||||||
|
HAVE_MIPS32 equ 0
|
||||||
|
HAVE_MIPS64 equ 0
|
||||||
|
HAVE_MMX equ 0
|
||||||
|
HAVE_MSA equ 0
|
||||||
|
HAVE_NEON equ 0
|
||||||
|
HAVE_SSE equ 0
|
||||||
|
HAVE_SSE2 equ 0
|
||||||
|
HAVE_SSE3 equ 0
|
||||||
|
HAVE_SSE4_1 equ 0
|
||||||
|
HAVE_SSE4_2 equ 0
|
||||||
|
HAVE_SSSE3 equ 0
|
||||||
|
HAVE_VSX equ 0
|
||||||
|
HAVE_WXWIDGETS equ 0
|
||||||
75
media/libaom/config/generic/config/aom_config.h
Normal file
75
media/libaom/config/generic/config/aom_config.h
Normal file
|
|
@ -0,0 +1,75 @@
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2018, Alliance for Open Media. All rights reserved
|
||||||
|
*
|
||||||
|
* This source code is subject to the terms of the BSD 2 Clause License and
|
||||||
|
* the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
|
||||||
|
* was not distributed with this source code in the LICENSE file, you can
|
||||||
|
* obtain it at www.aomedia.org/license/software. If the Alliance for Open
|
||||||
|
* Media Patent License 1.0 was not distributed with this source code in the
|
||||||
|
* PATENTS file, you can obtain it at www.aomedia.org/license/patent.
|
||||||
|
*/
|
||||||
|
#ifndef AOM_CONFIG_H_
|
||||||
|
#define AOM_CONFIG_H_
|
||||||
|
|
||||||
|
#define ARCH_ARM 0
|
||||||
|
#define ARCH_MIPS 0
|
||||||
|
#define ARCH_PPC 0
|
||||||
|
#define ARCH_X86 0
|
||||||
|
#define ARCH_X86_64 0
|
||||||
|
#define CONFIG_ACCOUNTING 0
|
||||||
|
#define CONFIG_ANALYZER 0
|
||||||
|
#define CONFIG_AV1_DECODER 1
|
||||||
|
#define CONFIG_AV1_ENCODER 0
|
||||||
|
#define CONFIG_BIG_ENDIAN 0
|
||||||
|
#define CONFIG_BITSTREAM_DEBUG 0
|
||||||
|
#define CONFIG_COEFFICIENT_RANGE_CHECKING 0
|
||||||
|
#define CONFIG_COLLECT_INTER_MODE_RD_STATS 1
|
||||||
|
#define CONFIG_COLLECT_RD_STATS 0
|
||||||
|
#define CONFIG_DEBUG 0
|
||||||
|
#define CONFIG_DIST_8X8 1
|
||||||
|
#define CONFIG_ENTROPY_STATS 0
|
||||||
|
#define CONFIG_FILEOPTIONS 1
|
||||||
|
#define CONFIG_FP_MB_STATS 0
|
||||||
|
#define CONFIG_GCC 1
|
||||||
|
#define CONFIG_GCOV 0
|
||||||
|
#define CONFIG_GPROF 0
|
||||||
|
#define CONFIG_INSPECTION 0
|
||||||
|
#define CONFIG_INTERNAL_STATS 0
|
||||||
|
#define CONFIG_INTER_STATS_ONLY 0
|
||||||
|
#define CONFIG_LIBYUV 0
|
||||||
|
#define CONFIG_LOWBITDEPTH 0
|
||||||
|
#define CONFIG_MISMATCH_DEBUG 0
|
||||||
|
#define CONFIG_MSVS 0
|
||||||
|
#define CONFIG_MULTITHREAD 1
|
||||||
|
#define CONFIG_OS_SUPPORT 1
|
||||||
|
#define CONFIG_PIC 0
|
||||||
|
#define CONFIG_RD_DEBUG 0
|
||||||
|
#define CONFIG_RUNTIME_CPU_DETECT 1
|
||||||
|
#define CONFIG_SHARED 0
|
||||||
|
#define CONFIG_SIZE_LIMIT 0
|
||||||
|
#define CONFIG_SPATIAL_RESAMPLING 1
|
||||||
|
#define CONFIG_STATIC 1
|
||||||
|
#define CONFIG_WEBM_IO 0
|
||||||
|
#define DECODE_HEIGHT_LIMIT 0
|
||||||
|
#define DECODE_WIDTH_LIMIT 0
|
||||||
|
#define HAVE_AVX 0
|
||||||
|
#define HAVE_AVX2 0
|
||||||
|
#define HAVE_DSPR2 0
|
||||||
|
#define HAVE_FEXCEPT 1
|
||||||
|
#define HAVE_MIPS32 0
|
||||||
|
#define HAVE_MIPS64 0
|
||||||
|
#define HAVE_MMX 0
|
||||||
|
#define HAVE_MSA 0
|
||||||
|
#define HAVE_NEON 0
|
||||||
|
#define HAVE_SSE 0
|
||||||
|
#define HAVE_SSE2 0
|
||||||
|
#define HAVE_SSE3 0
|
||||||
|
#define HAVE_SSE4_1 0
|
||||||
|
#define HAVE_SSE4_2 0
|
||||||
|
#define HAVE_SSSE3 0
|
||||||
|
#define HAVE_VSX 0
|
||||||
|
#define HAVE_WXWIDGETS 0
|
||||||
|
#define INCLUDE_INSTALL_DIR INSTALLDIR/include
|
||||||
|
#define INLINE inline
|
||||||
|
#define LIB_INSTALL_DIR INSTALLDIR/lib
|
||||||
|
#endif /* AOM_CONFIG_H_ */
|
||||||
1380
media/libaom/config/generic/config/aom_dsp_rtcd.h
Normal file
1380
media/libaom/config/generic/config/aom_dsp_rtcd.h
Normal file
File diff suppressed because it is too large
Load diff
85
media/libaom/config/generic/config/aom_scale_rtcd.h
Normal file
85
media/libaom/config/generic/config/aom_scale_rtcd.h
Normal file
|
|
@ -0,0 +1,85 @@
|
||||||
|
// This file is generated. Do not edit.
|
||||||
|
#ifndef AOM_SCALE_RTCD_H_
|
||||||
|
#define AOM_SCALE_RTCD_H_
|
||||||
|
|
||||||
|
#ifdef RTCD_C
|
||||||
|
#define RTCD_EXTERN
|
||||||
|
#else
|
||||||
|
#define RTCD_EXTERN extern
|
||||||
|
#endif
|
||||||
|
|
||||||
|
struct yv12_buffer_config;
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
|
void aom_extend_frame_borders_c(struct yv12_buffer_config *ybf, const int num_planes);
|
||||||
|
#define aom_extend_frame_borders aom_extend_frame_borders_c
|
||||||
|
|
||||||
|
void aom_extend_frame_borders_y_c(struct yv12_buffer_config *ybf);
|
||||||
|
#define aom_extend_frame_borders_y aom_extend_frame_borders_y_c
|
||||||
|
|
||||||
|
void aom_extend_frame_inner_borders_c(struct yv12_buffer_config *ybf, const int num_planes);
|
||||||
|
#define aom_extend_frame_inner_borders aom_extend_frame_inner_borders_c
|
||||||
|
|
||||||
|
void aom_horizontal_line_2_1_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
|
||||||
|
#define aom_horizontal_line_2_1_scale aom_horizontal_line_2_1_scale_c
|
||||||
|
|
||||||
|
void aom_horizontal_line_5_3_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
|
||||||
|
#define aom_horizontal_line_5_3_scale aom_horizontal_line_5_3_scale_c
|
||||||
|
|
||||||
|
void aom_horizontal_line_5_4_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
|
||||||
|
#define aom_horizontal_line_5_4_scale aom_horizontal_line_5_4_scale_c
|
||||||
|
|
||||||
|
void aom_vertical_band_2_1_scale_c(unsigned char *source, int src_pitch, unsigned char *dest, int dest_pitch, unsigned int dest_width);
|
||||||
|
#define aom_vertical_band_2_1_scale aom_vertical_band_2_1_scale_c
|
||||||
|
|
||||||
|
void aom_vertical_band_2_1_scale_i_c(unsigned char *source, int src_pitch, unsigned char *dest, int dest_pitch, unsigned int dest_width);
|
||||||
|
#define aom_vertical_band_2_1_scale_i aom_vertical_band_2_1_scale_i_c
|
||||||
|
|
||||||
|
void aom_vertical_band_5_3_scale_c(unsigned char *source, int src_pitch, unsigned char *dest, int dest_pitch, unsigned int dest_width);
|
||||||
|
#define aom_vertical_band_5_3_scale aom_vertical_band_5_3_scale_c
|
||||||
|
|
||||||
|
void aom_vertical_band_5_4_scale_c(unsigned char *source, int src_pitch, unsigned char *dest, int dest_pitch, unsigned int dest_width);
|
||||||
|
#define aom_vertical_band_5_4_scale aom_vertical_band_5_4_scale_c
|
||||||
|
|
||||||
|
void aom_yv12_copy_frame_c(const struct yv12_buffer_config *src_bc, struct yv12_buffer_config *dst_bc, const int num_planes);
|
||||||
|
#define aom_yv12_copy_frame aom_yv12_copy_frame_c
|
||||||
|
|
||||||
|
void aom_yv12_copy_u_c(const struct yv12_buffer_config *src_bc, struct yv12_buffer_config *dst_bc);
|
||||||
|
#define aom_yv12_copy_u aom_yv12_copy_u_c
|
||||||
|
|
||||||
|
void aom_yv12_copy_v_c(const struct yv12_buffer_config *src_bc, struct yv12_buffer_config *dst_bc);
|
||||||
|
#define aom_yv12_copy_v aom_yv12_copy_v_c
|
||||||
|
|
||||||
|
void aom_yv12_copy_y_c(const struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc);
|
||||||
|
#define aom_yv12_copy_y aom_yv12_copy_y_c
|
||||||
|
|
||||||
|
void aom_yv12_extend_frame_borders_c(struct yv12_buffer_config *ybf, const int num_planes);
|
||||||
|
#define aom_yv12_extend_frame_borders aom_yv12_extend_frame_borders_c
|
||||||
|
|
||||||
|
void aom_yv12_partial_copy_u_c(const struct yv12_buffer_config *src_bc, struct yv12_buffer_config *dst_bc, int hstart, int hend, int vstart, int vend);
|
||||||
|
#define aom_yv12_partial_copy_u aom_yv12_partial_copy_u_c
|
||||||
|
|
||||||
|
void aom_yv12_partial_copy_v_c(const struct yv12_buffer_config *src_bc, struct yv12_buffer_config *dst_bc, int hstart, int hend, int vstart, int vend);
|
||||||
|
#define aom_yv12_partial_copy_v aom_yv12_partial_copy_v_c
|
||||||
|
|
||||||
|
void aom_yv12_partial_copy_y_c(const struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc, int hstart, int hend, int vstart, int vend);
|
||||||
|
#define aom_yv12_partial_copy_y aom_yv12_partial_copy_y_c
|
||||||
|
|
||||||
|
void aom_scale_rtcd(void);
|
||||||
|
|
||||||
|
#include "config/aom_config.h"
|
||||||
|
|
||||||
|
#ifdef RTCD_C
|
||||||
|
static void setup_rtcd_internal(void)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
} // extern "C"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif
|
||||||
310
media/libaom/config/generic/config/av1_rtcd.h
Normal file
310
media/libaom/config/generic/config/av1_rtcd.h
Normal file
|
|
@ -0,0 +1,310 @@
|
||||||
|
// This file is generated. Do not edit.
|
||||||
|
#ifndef AOM_RTCD_H_
|
||||||
|
#define AOM_RTCD_H_
|
||||||
|
|
||||||
|
#ifdef RTCD_C
|
||||||
|
#define RTCD_EXTERN
|
||||||
|
#else
|
||||||
|
#define RTCD_EXTERN extern
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/*
|
||||||
|
* AV1
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "aom/aom_integer.h"
|
||||||
|
#include "aom_dsp/txfm_common.h"
|
||||||
|
#include "av1/common/common.h"
|
||||||
|
#include "av1/common/enums.h"
|
||||||
|
#include "av1/common/quant_common.h"
|
||||||
|
#include "av1/common/filter.h"
|
||||||
|
#include "av1/common/convolve.h"
|
||||||
|
#include "av1/common/av1_txfm.h"
|
||||||
|
#include "av1/common/odintrin.h"
|
||||||
|
#include "av1/common/restoration.h"
|
||||||
|
|
||||||
|
struct macroblockd;
|
||||||
|
|
||||||
|
/* Encoder forward decls */
|
||||||
|
struct macroblock;
|
||||||
|
struct txfm_param;
|
||||||
|
struct aom_variance_vtable;
|
||||||
|
struct search_site_config;
|
||||||
|
struct yv12_buffer_config;
|
||||||
|
|
||||||
|
/* Function pointers return by CfL functions */
|
||||||
|
typedef void (*cfl_subsample_lbd_fn)(const uint8_t *input, int input_stride,
|
||||||
|
uint16_t *output_q3);
|
||||||
|
|
||||||
|
typedef void (*cfl_subsample_hbd_fn)(const uint16_t *input, int input_stride,
|
||||||
|
uint16_t *output_q3);
|
||||||
|
|
||||||
|
typedef void (*cfl_subtract_average_fn)(const uint16_t *src, int16_t *dst);
|
||||||
|
|
||||||
|
typedef void (*cfl_predict_lbd_fn)(const int16_t *src, uint8_t *dst,
|
||||||
|
int dst_stride, int alpha_q3);
|
||||||
|
|
||||||
|
typedef void (*cfl_predict_hbd_fn)(const int16_t *src, uint16_t *dst,
|
||||||
|
int dst_stride, int alpha_q3, int bd);
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
|
void apply_selfguided_restoration_c(const uint8_t *dat, int width, int height, int stride, int eps, const int *xqd, uint8_t *dst, int dst_stride, int32_t *tmpbuf, int bit_depth, int highbd);
|
||||||
|
#define apply_selfguided_restoration apply_selfguided_restoration_c
|
||||||
|
|
||||||
|
void av1_build_compound_diffwtd_mask_c(uint8_t *mask, DIFFWTD_MASK_TYPE mask_type, const uint8_t *src0, int src0_stride, const uint8_t *src1, int src1_stride, int h, int w);
|
||||||
|
#define av1_build_compound_diffwtd_mask av1_build_compound_diffwtd_mask_c
|
||||||
|
|
||||||
|
void av1_build_compound_diffwtd_mask_d16_c(uint8_t *mask, DIFFWTD_MASK_TYPE mask_type, const CONV_BUF_TYPE *src0, int src0_stride, const CONV_BUF_TYPE *src1, int src1_stride, int h, int w, ConvolveParams *conv_params, int bd);
|
||||||
|
#define av1_build_compound_diffwtd_mask_d16 av1_build_compound_diffwtd_mask_d16_c
|
||||||
|
|
||||||
|
void av1_build_compound_diffwtd_mask_highbd_c(uint8_t *mask, DIFFWTD_MASK_TYPE mask_type, const uint8_t *src0, int src0_stride, const uint8_t *src1, int src1_stride, int h, int w, int bd);
|
||||||
|
#define av1_build_compound_diffwtd_mask_highbd av1_build_compound_diffwtd_mask_highbd_c
|
||||||
|
|
||||||
|
void av1_convolve_2d_copy_sr_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
#define av1_convolve_2d_copy_sr av1_convolve_2d_copy_sr_c
|
||||||
|
|
||||||
|
void av1_convolve_2d_scale_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_qn, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params);
|
||||||
|
#define av1_convolve_2d_scale av1_convolve_2d_scale_c
|
||||||
|
|
||||||
|
void av1_convolve_2d_sr_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
#define av1_convolve_2d_sr av1_convolve_2d_sr_c
|
||||||
|
|
||||||
|
void av1_convolve_horiz_rs_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const int16_t *x_filters, int x0_qn, int x_step_qn);
|
||||||
|
#define av1_convolve_horiz_rs av1_convolve_horiz_rs_c
|
||||||
|
|
||||||
|
void av1_convolve_x_sr_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
#define av1_convolve_x_sr av1_convolve_x_sr_c
|
||||||
|
|
||||||
|
void av1_convolve_y_sr_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
#define av1_convolve_y_sr av1_convolve_y_sr_c
|
||||||
|
|
||||||
|
void av1_dr_prediction_z1_c(uint8_t *dst, ptrdiff_t stride, int bw, int bh, const uint8_t *above, const uint8_t *left, int upsample_above, int dx, int dy);
|
||||||
|
#define av1_dr_prediction_z1 av1_dr_prediction_z1_c
|
||||||
|
|
||||||
|
void av1_dr_prediction_z2_c(uint8_t *dst, ptrdiff_t stride, int bw, int bh, const uint8_t *above, const uint8_t *left, int upsample_above, int upsample_left, int dx, int dy);
|
||||||
|
#define av1_dr_prediction_z2 av1_dr_prediction_z2_c
|
||||||
|
|
||||||
|
void av1_dr_prediction_z3_c(uint8_t *dst, ptrdiff_t stride, int bw, int bh, const uint8_t *above, const uint8_t *left, int upsample_left, int dx, int dy);
|
||||||
|
#define av1_dr_prediction_z3 av1_dr_prediction_z3_c
|
||||||
|
|
||||||
|
void av1_filter_intra_edge_c(uint8_t *p, int sz, int strength);
|
||||||
|
#define av1_filter_intra_edge av1_filter_intra_edge_c
|
||||||
|
|
||||||
|
void av1_filter_intra_edge_high_c(uint16_t *p, int sz, int strength);
|
||||||
|
#define av1_filter_intra_edge_high av1_filter_intra_edge_high_c
|
||||||
|
|
||||||
|
void av1_filter_intra_predictor_c(uint8_t *dst, ptrdiff_t stride, TX_SIZE tx_size, const uint8_t *above, const uint8_t *left, int mode);
|
||||||
|
#define av1_filter_intra_predictor av1_filter_intra_predictor_c
|
||||||
|
|
||||||
|
void av1_highbd_convolve8_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
||||||
|
#define av1_highbd_convolve8 av1_highbd_convolve8_c
|
||||||
|
|
||||||
|
void av1_highbd_convolve8_horiz_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
||||||
|
#define av1_highbd_convolve8_horiz av1_highbd_convolve8_horiz_c
|
||||||
|
|
||||||
|
void av1_highbd_convolve8_vert_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
||||||
|
#define av1_highbd_convolve8_vert av1_highbd_convolve8_vert_c
|
||||||
|
|
||||||
|
void av1_highbd_convolve_2d_copy_sr_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
#define av1_highbd_convolve_2d_copy_sr av1_highbd_convolve_2d_copy_sr_c
|
||||||
|
|
||||||
|
void av1_highbd_convolve_2d_scale_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params, int bd);
|
||||||
|
#define av1_highbd_convolve_2d_scale av1_highbd_convolve_2d_scale_c
|
||||||
|
|
||||||
|
void av1_highbd_convolve_2d_sr_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
#define av1_highbd_convolve_2d_sr av1_highbd_convolve_2d_sr_c
|
||||||
|
|
||||||
|
void av1_highbd_convolve_avg_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
||||||
|
#define av1_highbd_convolve_avg av1_highbd_convolve_avg_c
|
||||||
|
|
||||||
|
void av1_highbd_convolve_copy_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
||||||
|
#define av1_highbd_convolve_copy av1_highbd_convolve_copy_c
|
||||||
|
|
||||||
|
void av1_highbd_convolve_horiz_rs_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, const int16_t *x_filters, int x0_qn, int x_step_qn, int bd);
|
||||||
|
#define av1_highbd_convolve_horiz_rs av1_highbd_convolve_horiz_rs_c
|
||||||
|
|
||||||
|
void av1_highbd_convolve_x_sr_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
#define av1_highbd_convolve_x_sr av1_highbd_convolve_x_sr_c
|
||||||
|
|
||||||
|
void av1_highbd_convolve_y_sr_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
#define av1_highbd_convolve_y_sr av1_highbd_convolve_y_sr_c
|
||||||
|
|
||||||
|
void av1_highbd_dr_prediction_z1_c(uint16_t *dst, ptrdiff_t stride, int bw, int bh, const uint16_t *above, const uint16_t *left, int upsample_above, int dx, int dy, int bd);
|
||||||
|
#define av1_highbd_dr_prediction_z1 av1_highbd_dr_prediction_z1_c
|
||||||
|
|
||||||
|
void av1_highbd_dr_prediction_z2_c(uint16_t *dst, ptrdiff_t stride, int bw, int bh, const uint16_t *above, const uint16_t *left, int upsample_above, int upsample_left, int dx, int dy, int bd);
|
||||||
|
#define av1_highbd_dr_prediction_z2 av1_highbd_dr_prediction_z2_c
|
||||||
|
|
||||||
|
void av1_highbd_dr_prediction_z3_c(uint16_t *dst, ptrdiff_t stride, int bw, int bh, const uint16_t *above, const uint16_t *left, int upsample_left, int dx, int dy, int bd);
|
||||||
|
#define av1_highbd_dr_prediction_z3 av1_highbd_dr_prediction_z3_c
|
||||||
|
|
||||||
|
void av1_highbd_iwht4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, int bd);
|
||||||
|
#define av1_highbd_iwht4x4_16_add av1_highbd_iwht4x4_16_add_c
|
||||||
|
|
||||||
|
void av1_highbd_iwht4x4_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, int bd);
|
||||||
|
#define av1_highbd_iwht4x4_1_add av1_highbd_iwht4x4_1_add_c
|
||||||
|
|
||||||
|
void av1_highbd_jnt_convolve_2d_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
#define av1_highbd_jnt_convolve_2d av1_highbd_jnt_convolve_2d_c
|
||||||
|
|
||||||
|
void av1_highbd_jnt_convolve_2d_copy_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
#define av1_highbd_jnt_convolve_2d_copy av1_highbd_jnt_convolve_2d_copy_c
|
||||||
|
|
||||||
|
void av1_highbd_jnt_convolve_x_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
#define av1_highbd_jnt_convolve_x av1_highbd_jnt_convolve_x_c
|
||||||
|
|
||||||
|
void av1_highbd_jnt_convolve_y_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
#define av1_highbd_jnt_convolve_y av1_highbd_jnt_convolve_y_c
|
||||||
|
|
||||||
|
void av1_highbd_warp_affine_c(const int32_t *mat, const uint16_t *ref, int width, int height, int stride, uint16_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, int bd, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
||||||
|
#define av1_highbd_warp_affine av1_highbd_warp_affine_c
|
||||||
|
|
||||||
|
void av1_highbd_wiener_convolve_add_src_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, const ConvolveParams *conv_params, int bps);
|
||||||
|
#define av1_highbd_wiener_convolve_add_src av1_highbd_wiener_convolve_add_src_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_16x16_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_16x16 av1_inv_txfm2d_add_16x16_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_16x32_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_16x32 av1_inv_txfm2d_add_16x32_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_16x4_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_16x4 av1_inv_txfm2d_add_16x4_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_16x64_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_16x64 av1_inv_txfm2d_add_16x64_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_16x8_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_16x8 av1_inv_txfm2d_add_16x8_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_32x16_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_32x16 av1_inv_txfm2d_add_32x16_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_32x32_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_32x32 av1_inv_txfm2d_add_32x32_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_32x64_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_32x64 av1_inv_txfm2d_add_32x64_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_32x8_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_32x8 av1_inv_txfm2d_add_32x8_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_4x16_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_4x16 av1_inv_txfm2d_add_4x16_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_4x4_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_4x4 av1_inv_txfm2d_add_4x4_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_4x8_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_4x8 av1_inv_txfm2d_add_4x8_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_64x16_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_64x16 av1_inv_txfm2d_add_64x16_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_64x32_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_64x32 av1_inv_txfm2d_add_64x32_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_64x64_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_64x64 av1_inv_txfm2d_add_64x64_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_8x16_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_8x16 av1_inv_txfm2d_add_8x16_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_8x32_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_8x32 av1_inv_txfm2d_add_8x32_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_8x4_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_8x4 av1_inv_txfm2d_add_8x4_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_8x8_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_8x8 av1_inv_txfm2d_add_8x8_c
|
||||||
|
|
||||||
|
void av1_inv_txfm_add_c(const tran_low_t *dqcoeff, uint8_t *dst, int stride, const TxfmParam *txfm_param);
|
||||||
|
#define av1_inv_txfm_add av1_inv_txfm_add_c
|
||||||
|
|
||||||
|
void av1_jnt_convolve_2d_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
#define av1_jnt_convolve_2d av1_jnt_convolve_2d_c
|
||||||
|
|
||||||
|
void av1_jnt_convolve_2d_copy_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
#define av1_jnt_convolve_2d_copy av1_jnt_convolve_2d_copy_c
|
||||||
|
|
||||||
|
void av1_jnt_convolve_x_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
#define av1_jnt_convolve_x av1_jnt_convolve_x_c
|
||||||
|
|
||||||
|
void av1_jnt_convolve_y_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
#define av1_jnt_convolve_y av1_jnt_convolve_y_c
|
||||||
|
|
||||||
|
void av1_selfguided_restoration_c(const uint8_t *dgd8, int width, int height,
|
||||||
|
int dgd_stride, int32_t *flt0, int32_t *flt1, int flt_stride,
|
||||||
|
int sgr_params_idx, int bit_depth, int highbd);
|
||||||
|
#define av1_selfguided_restoration av1_selfguided_restoration_c
|
||||||
|
|
||||||
|
void av1_upsample_intra_edge_c(uint8_t *p, int sz);
|
||||||
|
#define av1_upsample_intra_edge av1_upsample_intra_edge_c
|
||||||
|
|
||||||
|
void av1_upsample_intra_edge_high_c(uint16_t *p, int sz, int bd);
|
||||||
|
#define av1_upsample_intra_edge_high av1_upsample_intra_edge_high_c
|
||||||
|
|
||||||
|
void av1_warp_affine_c(const int32_t *mat, const uint8_t *ref, int width, int height, int stride, uint8_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
||||||
|
#define av1_warp_affine av1_warp_affine_c
|
||||||
|
|
||||||
|
void av1_wiener_convolve_add_src_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, const ConvolveParams *conv_params);
|
||||||
|
#define av1_wiener_convolve_add_src av1_wiener_convolve_add_src_c
|
||||||
|
|
||||||
|
void cdef_filter_block_c(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max, int coeff_shift);
|
||||||
|
#define cdef_filter_block cdef_filter_block_c
|
||||||
|
|
||||||
|
int cdef_find_dir_c(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
||||||
|
#define cdef_find_dir cdef_find_dir_c
|
||||||
|
|
||||||
|
cfl_subsample_hbd_fn cfl_get_luma_subsampling_420_hbd_c(TX_SIZE tx_size);
|
||||||
|
#define cfl_get_luma_subsampling_420_hbd cfl_get_luma_subsampling_420_hbd_c
|
||||||
|
|
||||||
|
cfl_subsample_lbd_fn cfl_get_luma_subsampling_420_lbd_c(TX_SIZE tx_size);
|
||||||
|
#define cfl_get_luma_subsampling_420_lbd cfl_get_luma_subsampling_420_lbd_c
|
||||||
|
|
||||||
|
cfl_subsample_hbd_fn cfl_get_luma_subsampling_422_hbd_c(TX_SIZE tx_size);
|
||||||
|
#define cfl_get_luma_subsampling_422_hbd cfl_get_luma_subsampling_422_hbd_c
|
||||||
|
|
||||||
|
cfl_subsample_lbd_fn cfl_get_luma_subsampling_422_lbd_c(TX_SIZE tx_size);
|
||||||
|
#define cfl_get_luma_subsampling_422_lbd cfl_get_luma_subsampling_422_lbd_c
|
||||||
|
|
||||||
|
cfl_subsample_hbd_fn cfl_get_luma_subsampling_444_hbd_c(TX_SIZE tx_size);
|
||||||
|
#define cfl_get_luma_subsampling_444_hbd cfl_get_luma_subsampling_444_hbd_c
|
||||||
|
|
||||||
|
cfl_subsample_lbd_fn cfl_get_luma_subsampling_444_lbd_c(TX_SIZE tx_size);
|
||||||
|
#define cfl_get_luma_subsampling_444_lbd cfl_get_luma_subsampling_444_lbd_c
|
||||||
|
|
||||||
|
void copy_rect8_16bit_to_16bit_c(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
||||||
|
#define copy_rect8_16bit_to_16bit copy_rect8_16bit_to_16bit_c
|
||||||
|
|
||||||
|
void copy_rect8_8bit_to_16bit_c(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
||||||
|
#define copy_rect8_8bit_to_16bit copy_rect8_8bit_to_16bit_c
|
||||||
|
|
||||||
|
cfl_predict_hbd_fn get_predict_hbd_fn_c(TX_SIZE tx_size);
|
||||||
|
#define get_predict_hbd_fn get_predict_hbd_fn_c
|
||||||
|
|
||||||
|
cfl_predict_lbd_fn get_predict_lbd_fn_c(TX_SIZE tx_size);
|
||||||
|
#define get_predict_lbd_fn get_predict_lbd_fn_c
|
||||||
|
|
||||||
|
cfl_subtract_average_fn get_subtract_average_fn_c(TX_SIZE tx_size);
|
||||||
|
#define get_subtract_average_fn get_subtract_average_fn_c
|
||||||
|
|
||||||
|
void aom_rtcd(void);
|
||||||
|
|
||||||
|
#include "config/aom_config.h"
|
||||||
|
|
||||||
|
#ifdef RTCD_C
|
||||||
|
static void setup_rtcd_internal(void)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
} // extern "C"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
@ -1,180 +0,0 @@
|
||||||
@ This file was created from a .asm file
|
|
||||||
@ using the ads2gas.pl script.
|
|
||||||
.equ DO1STROUNDING, 0
|
|
||||||
.equ ARCH_ARM , 1
|
|
||||||
.equ ARCH_MIPS , 0
|
|
||||||
.equ ARCH_X86 , 0
|
|
||||||
.equ ARCH_X86_64 , 0
|
|
||||||
.equ HAVE_NEON , 1
|
|
||||||
.equ HAVE_NEON_ASM , 1
|
|
||||||
.equ HAVE_MIPS32 , 0
|
|
||||||
.equ HAVE_DSPR2 , 0
|
|
||||||
.equ HAVE_MSA , 0
|
|
||||||
.equ HAVE_MIPS64 , 0
|
|
||||||
.equ HAVE_MMX , 0
|
|
||||||
.equ HAVE_SSE , 0
|
|
||||||
.equ HAVE_SSE2 , 0
|
|
||||||
.equ HAVE_SSE3 , 0
|
|
||||||
.equ HAVE_SSSE3 , 0
|
|
||||||
.equ HAVE_SSE4_1 , 0
|
|
||||||
.equ HAVE_AVX , 0
|
|
||||||
.equ HAVE_AVX2 , 0
|
|
||||||
.equ HAVE_AOM_PORTS , 1
|
|
||||||
.equ HAVE_FEXCEPT , 1
|
|
||||||
.equ HAVE_PTHREAD_H , 1
|
|
||||||
.equ HAVE_WXWIDGETS , 0
|
|
||||||
.equ CONFIG_DEPENDENCY_TRACKING , 1
|
|
||||||
.equ CONFIG_EXTERNAL_BUILD , 1
|
|
||||||
.equ CONFIG_INSTALL_DOCS , 1
|
|
||||||
.equ CONFIG_INSTALL_BINS , 1
|
|
||||||
.equ CONFIG_INSTALL_LIBS , 1
|
|
||||||
.equ CONFIG_INSTALL_SRCS , 0
|
|
||||||
.equ CONFIG_DEBUG , 0
|
|
||||||
.equ CONFIG_GPROF , 0
|
|
||||||
.equ CONFIG_GCOV , 0
|
|
||||||
.equ CONFIG_RVCT , 0
|
|
||||||
.equ CONFIG_GCC , 1
|
|
||||||
.equ CONFIG_MSVS , 0
|
|
||||||
.equ CONFIG_PIC , 1
|
|
||||||
.equ CONFIG_BIG_ENDIAN , 0
|
|
||||||
.equ CONFIG_CODEC_SRCS , 0
|
|
||||||
.equ CONFIG_DEBUG_LIBS , 0
|
|
||||||
.equ CONFIG_RUNTIME_CPU_DETECT , 1
|
|
||||||
.equ CONFIG_POSTPROC , 0
|
|
||||||
.equ CONFIG_MULTITHREAD , 1
|
|
||||||
.equ CONFIG_INTERNAL_STATS , 0
|
|
||||||
.equ CONFIG_AV1_ENCODER , 1
|
|
||||||
.equ CONFIG_AV1_DECODER , 1
|
|
||||||
.equ CONFIG_AV1 , 1
|
|
||||||
.equ CONFIG_STATIC_MSVCRT , 0
|
|
||||||
.equ CONFIG_SPATIAL_RESAMPLING , 1
|
|
||||||
.equ CONFIG_REALTIME_ONLY , 1
|
|
||||||
.equ CONFIG_SHARED , 0
|
|
||||||
.equ CONFIG_STATIC , 1
|
|
||||||
.equ CONFIG_SMALL , 0
|
|
||||||
.equ CONFIG_POSTPROC_VISUALIZER , 0
|
|
||||||
.equ CONFIG_OS_SUPPORT , 1
|
|
||||||
.equ CONFIG_UNIT_TESTS , 0
|
|
||||||
.equ CONFIG_WEBM_IO , 1
|
|
||||||
.equ CONFIG_LIBYUV , 1
|
|
||||||
.equ CONFIG_ACCOUNTING , 0
|
|
||||||
.equ CONFIG_INSPECTION , 0
|
|
||||||
.equ CONFIG_DECODE_PERF_TESTS , 0
|
|
||||||
.equ CONFIG_ENCODE_PERF_TESTS , 0
|
|
||||||
.equ CONFIG_BITSTREAM_DEBUG , 0
|
|
||||||
.equ CONFIG_SYMBOLRATE , 0
|
|
||||||
.equ CONFIG_COEFFICIENT_RANGE_CHECKING , 0
|
|
||||||
.equ CONFIG_LOWBITDEPTH , 1
|
|
||||||
.equ CONFIG_HIGHBITDEPTH , 1
|
|
||||||
.equ CONFIG_EXPERIMENTAL , 0
|
|
||||||
.equ CONFIG_SIZE_LIMIT , 1
|
|
||||||
.equ CONFIG_FP_MB_STATS , 0
|
|
||||||
.equ CONFIG_CDEF , 1
|
|
||||||
.equ CONFIG_CDEF_SINGLEPASS , 1
|
|
||||||
.equ CONFIG_VAR_TX , 1
|
|
||||||
.equ CONFIG_RECT_TX , 1
|
|
||||||
.equ CONFIG_RECT_TX_EXT , 0
|
|
||||||
.equ CONFIG_TPL_MV , 0
|
|
||||||
.equ CONFIG_DUAL_FILTER , 1
|
|
||||||
.equ CONFIG_CONVOLVE_ROUND , 1
|
|
||||||
.equ CONFIG_COMPOUND_ROUND , 0
|
|
||||||
.equ CONFIG_EXT_TX , 1
|
|
||||||
.equ CONFIG_TX64X64 , 0
|
|
||||||
.equ CONFIG_EXT_INTRA , 1
|
|
||||||
.equ CONFIG_INTRA_INTERP , 0
|
|
||||||
.equ CONFIG_FILTER_INTRA , 0
|
|
||||||
.equ CONFIG_INTRA_EDGE , 1
|
|
||||||
.equ CONFIG_INTRABC , 0
|
|
||||||
.equ CONFIG_INTERINTRA , 1
|
|
||||||
.equ CONFIG_WEDGE , 1
|
|
||||||
.equ CONFIG_COMPOUND_SEGMENT , 1
|
|
||||||
.equ CONFIG_EXT_REFS , 1
|
|
||||||
.equ CONFIG_GLOBAL_MOTION , 1
|
|
||||||
.equ CONFIG_NEW_QUANT , 0
|
|
||||||
.equ CONFIG_SUPERTX , 0
|
|
||||||
.equ CONFIG_ANS , 0
|
|
||||||
.equ CONFIG_LOOP_RESTORATION , 1
|
|
||||||
.equ CONFIG_STRIPED_LOOP_RESTORATION , 0
|
|
||||||
.equ CONFIG_EXT_PARTITION , 0
|
|
||||||
.equ CONFIG_EXT_PARTITION_TYPES , 0
|
|
||||||
.equ CONFIG_EXT_PARTITION_TYPES_AB , 0
|
|
||||||
.equ CONFIG_UNPOISON_PARTITION_CTX , 0
|
|
||||||
.equ CONFIG_EXT_TILE , 0
|
|
||||||
.equ CONFIG_MOTION_VAR , 1
|
|
||||||
.equ CONFIG_NCOBMC , 0
|
|
||||||
.equ CONFIG_WARPED_MOTION , 1
|
|
||||||
.equ CONFIG_Q_ADAPT_PROBS , 0
|
|
||||||
.equ CONFIG_INTER_STATS_ONLY , 0
|
|
||||||
.equ CONFIG_PALETTE_DELTA_ENCODING , 0
|
|
||||||
.equ CONFIG_RAWBITS , 0
|
|
||||||
.equ CONFIG_KF_CTX , 0
|
|
||||||
.equ CONFIG_PVQ , 0
|
|
||||||
.equ CONFIG_CFL , 0
|
|
||||||
.equ CONFIG_XIPHRC , 0
|
|
||||||
.equ CONFIG_DCT_ONLY , 0
|
|
||||||
.equ CONFIG_DAALA_TX , 0
|
|
||||||
.equ CONFIG_DAALA_DCT4 , 0
|
|
||||||
.equ CONFIG_DAALA_DCT8 , 0
|
|
||||||
.equ CONFIG_DAALA_DCT16 , 0
|
|
||||||
.equ CONFIG_DAALA_DCT32 , 0
|
|
||||||
.equ CONFIG_DAALA_DCT64 , 0
|
|
||||||
.equ CONFIG_CB4X4 , 1
|
|
||||||
.equ CONFIG_CHROMA_2X2 , 0
|
|
||||||
.equ CONFIG_CHROMA_SUB8X8 , 1
|
|
||||||
.equ CONFIG_FRAME_SIZE , 0
|
|
||||||
.equ CONFIG_EXT_DELTA_Q , 1
|
|
||||||
.equ CONFIG_ADAPT_SCAN , 0
|
|
||||||
.equ CONFIG_PARALLEL_DEBLOCKING , 1
|
|
||||||
.equ CONFIG_DEBLOCK_13TAP , 0
|
|
||||||
.equ CONFIG_LOOPFILTERING_ACROSS_TILES , 1
|
|
||||||
.equ CONFIG_TEMPMV_SIGNALING , 1
|
|
||||||
.equ CONFIG_RD_DEBUG , 0
|
|
||||||
.equ CONFIG_REFERENCE_BUFFER , 1
|
|
||||||
.equ CONFIG_COEF_INTERLEAVE , 0
|
|
||||||
.equ CONFIG_ENTROPY_STATS , 0
|
|
||||||
.equ CONFIG_MASKED_TX , 0
|
|
||||||
.equ CONFIG_DEPENDENT_HORZTILES , 0
|
|
||||||
.equ CONFIG_DIST_8X8 , 1
|
|
||||||
.equ CONFIG_PALETTE_THROUGHPUT , 1
|
|
||||||
.equ CONFIG_REF_ADAPT , 0
|
|
||||||
.equ CONFIG_LV_MAP , 0
|
|
||||||
.equ CONFIG_CTX1D , 0
|
|
||||||
.equ CONFIG_TXK_SEL , 0
|
|
||||||
.equ CONFIG_MV_COMPRESS , 1
|
|
||||||
.equ CONFIG_SEGMENT_ZEROMV , 0
|
|
||||||
.equ CONFIG_FRAME_SUPERRES , 0
|
|
||||||
.equ CONFIG_NEW_MULTISYMBOL , 0
|
|
||||||
.equ CONFIG_COMPOUND_SINGLEREF , 0
|
|
||||||
.equ CONFIG_AOM_QM , 1
|
|
||||||
.equ CONFIG_ONE_SIDED_COMPOUND , 1
|
|
||||||
.equ CONFIG_EXT_COMP_REFS , 1
|
|
||||||
.equ CONFIG_SMOOTH_HV , 1
|
|
||||||
.equ CONFIG_VAR_REFS , 0
|
|
||||||
.equ CONFIG_LGT , 0
|
|
||||||
.equ CONFIG_LGT_FROM_PRED , 0
|
|
||||||
.equ CONFIG_SBL_SYMBOL , 0
|
|
||||||
.equ CONFIG_NCOBMC_ADAPT_WEIGHT , 0
|
|
||||||
.equ CONFIG_BGSPRITE , 0
|
|
||||||
.equ CONFIG_VAR_TX_NO_TX_MODE , 0
|
|
||||||
.equ CONFIG_MRC_TX , 0
|
|
||||||
.equ CONFIG_LPF_DIRECT , 0
|
|
||||||
.equ CONFIG_LOOPFILTER_LEVEL , 0
|
|
||||||
.equ CONFIG_NO_FRAME_CONTEXT_SIGNALING , 0
|
|
||||||
.equ CONFIG_TXMG , 1
|
|
||||||
.equ CONFIG_MAX_TILE , 0
|
|
||||||
.equ CONFIG_HASH_ME , 0
|
|
||||||
.equ CONFIG_COLORSPACE_HEADERS , 0
|
|
||||||
.equ CONFIG_MFMV , 0
|
|
||||||
.equ CONFIG_FRAME_MARKER , 0
|
|
||||||
.equ CONFIG_JNT_COMP , 0
|
|
||||||
.equ CONFIG_FRAME_SIGN_BIAS , 0
|
|
||||||
.equ CONFIG_EXT_SKIP , 0
|
|
||||||
.equ CONFIG_OBU , 0
|
|
||||||
.equ CONFIG_AMVR , 0
|
|
||||||
.equ CONFIG_LPF_SB , 0
|
|
||||||
.equ CONFIG_OPT_REF_MV , 0
|
|
||||||
.equ CONFIG_TMV , 0
|
|
||||||
.equ CONFIG_RESTRICT_COMPRESSED_HDR , 0
|
|
||||||
.equ CONFIG_HORZONLY_FRAME_SUPERRES , 0
|
|
||||||
.equ CONFIG_ANALYZER , 0
|
|
||||||
.section .note.GNU-stack,"",%progbits
|
|
||||||
|
|
@ -1,11 +0,0 @@
|
||||||
/* Copyright (c) 2016, Alliance for Open Media. All rights reserved. */
|
|
||||||
/* */
|
|
||||||
/* This source code is subject to the terms of the BSD 2 Clause License and */
|
|
||||||
/* the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License */
|
|
||||||
/* was not distributed with this source code in the LICENSE file, you can */
|
|
||||||
/* obtain it at www.aomedia.org/license/software. If the Alliance for Open */
|
|
||||||
/* Media Patent License 1.0 was not distributed with this source code in the */
|
|
||||||
/* PATENTS file, you can obtain it at www.aomedia.org/license/patent. */
|
|
||||||
#include "aom/aom_codec.h"
|
|
||||||
static const char* const cfg = "--target=armv7-linux-gcc --enable-external-build --disable-examples --disable-docs --disable-unit-tests --size-limit=8192x4608 --enable-pic --enable-runtime-cpu-detect --enable-realtime-only";
|
|
||||||
const char *aom_codec_build_config(void) {return cfg;}
|
|
||||||
|
|
@ -1,192 +0,0 @@
|
||||||
/* Copyright (c) 2016, Alliance for Open Media. All rights reserved. */
|
|
||||||
/* */
|
|
||||||
/* This source code is subject to the terms of the BSD 2 Clause License and */
|
|
||||||
/* the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License */
|
|
||||||
/* was not distributed with this source code in the LICENSE file, you can */
|
|
||||||
/* obtain it at www.aomedia.org/license/software. If the Alliance for Open */
|
|
||||||
/* Media Patent License 1.0 was not distributed with this source code in the */
|
|
||||||
/* PATENTS file, you can obtain it at www.aomedia.org/license/patent. */
|
|
||||||
/* This file automatically generated by configure. Do not edit! */
|
|
||||||
#ifndef AOM_CONFIG_H
|
|
||||||
#define AOM_CONFIG_H
|
|
||||||
#define RESTRICT
|
|
||||||
#define INLINE inline
|
|
||||||
#define ARCH_ARM 1
|
|
||||||
#define ARCH_MIPS 0
|
|
||||||
#define ARCH_X86 0
|
|
||||||
#define ARCH_X86_64 0
|
|
||||||
#define HAVE_NEON 1
|
|
||||||
#define HAVE_NEON_ASM 1
|
|
||||||
#define HAVE_MIPS32 0
|
|
||||||
#define HAVE_DSPR2 0
|
|
||||||
#define HAVE_MSA 0
|
|
||||||
#define HAVE_MIPS64 0
|
|
||||||
#define HAVE_MMX 0
|
|
||||||
#define HAVE_SSE 0
|
|
||||||
#define HAVE_SSE2 0
|
|
||||||
#define HAVE_SSE3 0
|
|
||||||
#define HAVE_SSSE3 0
|
|
||||||
#define HAVE_SSE4_1 0
|
|
||||||
#define HAVE_AVX 0
|
|
||||||
#define HAVE_AVX2 0
|
|
||||||
#define HAVE_AOM_PORTS 1
|
|
||||||
#define HAVE_FEXCEPT 1
|
|
||||||
#define HAVE_PTHREAD_H 1
|
|
||||||
#define HAVE_WXWIDGETS 0
|
|
||||||
#define CONFIG_DEPENDENCY_TRACKING 1
|
|
||||||
#define CONFIG_EXTERNAL_BUILD 1
|
|
||||||
#define CONFIG_INSTALL_DOCS 1
|
|
||||||
#define CONFIG_INSTALL_BINS 1
|
|
||||||
#define CONFIG_INSTALL_LIBS 1
|
|
||||||
#define CONFIG_INSTALL_SRCS 0
|
|
||||||
#define CONFIG_DEBUG 0
|
|
||||||
#define CONFIG_GPROF 0
|
|
||||||
#define CONFIG_GCOV 0
|
|
||||||
#define CONFIG_RVCT 0
|
|
||||||
#define CONFIG_GCC 1
|
|
||||||
#define CONFIG_MSVS 0
|
|
||||||
#define CONFIG_PIC 1
|
|
||||||
#define CONFIG_BIG_ENDIAN 0
|
|
||||||
#define CONFIG_CODEC_SRCS 0
|
|
||||||
#define CONFIG_DEBUG_LIBS 0
|
|
||||||
#define CONFIG_RUNTIME_CPU_DETECT 1
|
|
||||||
#define CONFIG_POSTPROC 0
|
|
||||||
#define CONFIG_MULTITHREAD 1
|
|
||||||
#define CONFIG_INTERNAL_STATS 0
|
|
||||||
#define CONFIG_AV1_ENCODER 1
|
|
||||||
#define CONFIG_AV1_DECODER 1
|
|
||||||
#define CONFIG_AV1 1
|
|
||||||
#define CONFIG_STATIC_MSVCRT 0
|
|
||||||
#define CONFIG_SPATIAL_RESAMPLING 1
|
|
||||||
#define CONFIG_REALTIME_ONLY 1
|
|
||||||
#define CONFIG_SHARED 0
|
|
||||||
#define CONFIG_STATIC 1
|
|
||||||
#define CONFIG_SMALL 0
|
|
||||||
#define CONFIG_POSTPROC_VISUALIZER 0
|
|
||||||
#define CONFIG_OS_SUPPORT 1
|
|
||||||
#define CONFIG_UNIT_TESTS 0
|
|
||||||
#define CONFIG_WEBM_IO 1
|
|
||||||
#define CONFIG_LIBYUV 1
|
|
||||||
#define CONFIG_ACCOUNTING 0
|
|
||||||
#define CONFIG_INSPECTION 0
|
|
||||||
#define CONFIG_DECODE_PERF_TESTS 0
|
|
||||||
#define CONFIG_ENCODE_PERF_TESTS 0
|
|
||||||
#define CONFIG_BITSTREAM_DEBUG 0
|
|
||||||
#define CONFIG_SYMBOLRATE 0
|
|
||||||
#define CONFIG_COEFFICIENT_RANGE_CHECKING 0
|
|
||||||
#define CONFIG_LOWBITDEPTH 1
|
|
||||||
#define CONFIG_HIGHBITDEPTH 1
|
|
||||||
#define CONFIG_EXPERIMENTAL 0
|
|
||||||
#define CONFIG_SIZE_LIMIT 1
|
|
||||||
#define CONFIG_FP_MB_STATS 0
|
|
||||||
#define CONFIG_CDEF 1
|
|
||||||
#define CONFIG_CDEF_SINGLEPASS 1
|
|
||||||
#define CONFIG_VAR_TX 1
|
|
||||||
#define CONFIG_RECT_TX 1
|
|
||||||
#define CONFIG_RECT_TX_EXT 0
|
|
||||||
#define CONFIG_TPL_MV 0
|
|
||||||
#define CONFIG_DUAL_FILTER 1
|
|
||||||
#define CONFIG_CONVOLVE_ROUND 1
|
|
||||||
#define CONFIG_COMPOUND_ROUND 0
|
|
||||||
#define CONFIG_EXT_TX 1
|
|
||||||
#define CONFIG_TX64X64 0
|
|
||||||
#define CONFIG_EXT_INTRA 1
|
|
||||||
#define CONFIG_INTRA_INTERP 0
|
|
||||||
#define CONFIG_FILTER_INTRA 0
|
|
||||||
#define CONFIG_INTRA_EDGE 1
|
|
||||||
#define CONFIG_INTRABC 0
|
|
||||||
#define CONFIG_INTERINTRA 1
|
|
||||||
#define CONFIG_WEDGE 1
|
|
||||||
#define CONFIG_COMPOUND_SEGMENT 1
|
|
||||||
#define CONFIG_EXT_REFS 1
|
|
||||||
#define CONFIG_GLOBAL_MOTION 1
|
|
||||||
#define CONFIG_NEW_QUANT 0
|
|
||||||
#define CONFIG_SUPERTX 0
|
|
||||||
#define CONFIG_ANS 0
|
|
||||||
#define CONFIG_LOOP_RESTORATION 1
|
|
||||||
#define CONFIG_STRIPED_LOOP_RESTORATION 0
|
|
||||||
#define CONFIG_EXT_PARTITION 0
|
|
||||||
#define CONFIG_EXT_PARTITION_TYPES 0
|
|
||||||
#define CONFIG_EXT_PARTITION_TYPES_AB 0
|
|
||||||
#define CONFIG_UNPOISON_PARTITION_CTX 0
|
|
||||||
#define CONFIG_EXT_TILE 0
|
|
||||||
#define CONFIG_MOTION_VAR 1
|
|
||||||
#define CONFIG_NCOBMC 0
|
|
||||||
#define CONFIG_WARPED_MOTION 1
|
|
||||||
#define CONFIG_Q_ADAPT_PROBS 0
|
|
||||||
#define CONFIG_INTER_STATS_ONLY 0
|
|
||||||
#define CONFIG_PALETTE_DELTA_ENCODING 0
|
|
||||||
#define CONFIG_RAWBITS 0
|
|
||||||
#define CONFIG_KF_CTX 0
|
|
||||||
#define CONFIG_PVQ 0
|
|
||||||
#define CONFIG_CFL 0
|
|
||||||
#define CONFIG_XIPHRC 0
|
|
||||||
#define CONFIG_DCT_ONLY 0
|
|
||||||
#define CONFIG_DAALA_TX 0
|
|
||||||
#define CONFIG_DAALA_DCT4 0
|
|
||||||
#define CONFIG_DAALA_DCT8 0
|
|
||||||
#define CONFIG_DAALA_DCT16 0
|
|
||||||
#define CONFIG_DAALA_DCT32 0
|
|
||||||
#define CONFIG_DAALA_DCT64 0
|
|
||||||
#define CONFIG_CB4X4 1
|
|
||||||
#define CONFIG_CHROMA_2X2 0
|
|
||||||
#define CONFIG_CHROMA_SUB8X8 1
|
|
||||||
#define CONFIG_FRAME_SIZE 0
|
|
||||||
#define CONFIG_EXT_DELTA_Q 1
|
|
||||||
#define CONFIG_ADAPT_SCAN 0
|
|
||||||
#define CONFIG_PARALLEL_DEBLOCKING 1
|
|
||||||
#define CONFIG_DEBLOCK_13TAP 0
|
|
||||||
#define CONFIG_LOOPFILTERING_ACROSS_TILES 1
|
|
||||||
#define CONFIG_TEMPMV_SIGNALING 1
|
|
||||||
#define CONFIG_RD_DEBUG 0
|
|
||||||
#define CONFIG_REFERENCE_BUFFER 1
|
|
||||||
#define CONFIG_COEF_INTERLEAVE 0
|
|
||||||
#define CONFIG_ENTROPY_STATS 0
|
|
||||||
#define CONFIG_MASKED_TX 0
|
|
||||||
#define CONFIG_DEPENDENT_HORZTILES 0
|
|
||||||
#define CONFIG_DIST_8X8 1
|
|
||||||
#define CONFIG_PALETTE_THROUGHPUT 1
|
|
||||||
#define CONFIG_REF_ADAPT 0
|
|
||||||
#define CONFIG_LV_MAP 0
|
|
||||||
#define CONFIG_CTX1D 0
|
|
||||||
#define CONFIG_TXK_SEL 0
|
|
||||||
#define CONFIG_MV_COMPRESS 1
|
|
||||||
#define CONFIG_SEGMENT_ZEROMV 0
|
|
||||||
#define CONFIG_FRAME_SUPERRES 0
|
|
||||||
#define CONFIG_NEW_MULTISYMBOL 0
|
|
||||||
#define CONFIG_COMPOUND_SINGLEREF 0
|
|
||||||
#define CONFIG_AOM_QM 1
|
|
||||||
#define CONFIG_ONE_SIDED_COMPOUND 1
|
|
||||||
#define CONFIG_EXT_COMP_REFS 1
|
|
||||||
#define CONFIG_SMOOTH_HV 1
|
|
||||||
#define CONFIG_VAR_REFS 0
|
|
||||||
#define CONFIG_LGT 0
|
|
||||||
#define CONFIG_LGT_FROM_PRED 0
|
|
||||||
#define CONFIG_SBL_SYMBOL 0
|
|
||||||
#define CONFIG_NCOBMC_ADAPT_WEIGHT 0
|
|
||||||
#define CONFIG_BGSPRITE 0
|
|
||||||
#define CONFIG_VAR_TX_NO_TX_MODE 0
|
|
||||||
#define CONFIG_MRC_TX 0
|
|
||||||
#define CONFIG_LPF_DIRECT 0
|
|
||||||
#define CONFIG_LOOPFILTER_LEVEL 0
|
|
||||||
#define CONFIG_NO_FRAME_CONTEXT_SIGNALING 0
|
|
||||||
#define CONFIG_TXMG 1
|
|
||||||
#define CONFIG_MAX_TILE 0
|
|
||||||
#define CONFIG_HASH_ME 0
|
|
||||||
#define CONFIG_COLORSPACE_HEADERS 0
|
|
||||||
#define CONFIG_MFMV 0
|
|
||||||
#define CONFIG_FRAME_MARKER 0
|
|
||||||
#define CONFIG_JNT_COMP 0
|
|
||||||
#define CONFIG_FRAME_SIGN_BIAS 0
|
|
||||||
#define CONFIG_EXT_SKIP 0
|
|
||||||
#define CONFIG_OBU 0
|
|
||||||
#define CONFIG_AMVR 0
|
|
||||||
#define CONFIG_LPF_SB 0
|
|
||||||
#define CONFIG_OPT_REF_MV 0
|
|
||||||
#define CONFIG_TMV 0
|
|
||||||
#define CONFIG_RESTRICT_COMPRESSED_HDR 0
|
|
||||||
#define CONFIG_HORZONLY_FRAME_SUPERRES 0
|
|
||||||
#define CONFIG_ANALYZER 0
|
|
||||||
#define DECODE_WIDTH_LIMIT 8192
|
|
||||||
#define DECODE_HEIGHT_LIMIT 4608
|
|
||||||
#endif /* AOM_CONFIG_H */
|
|
||||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,415 +0,0 @@
|
||||||
#ifndef AOM_RTCD_H_
|
|
||||||
#define AOM_RTCD_H_
|
|
||||||
|
|
||||||
#ifdef RTCD_C
|
|
||||||
#define RTCD_EXTERN
|
|
||||||
#else
|
|
||||||
#define RTCD_EXTERN extern
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*
|
|
||||||
* AV1
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include "aom/aom_integer.h"
|
|
||||||
#include "aom_dsp/txfm_common.h"
|
|
||||||
#include "av1/common/common.h"
|
|
||||||
#include "av1/common/enums.h"
|
|
||||||
#include "av1/common/quant_common.h"
|
|
||||||
#include "av1/common/filter.h"
|
|
||||||
#include "av1/common/convolve.h"
|
|
||||||
#include "av1/common/av1_txfm.h"
|
|
||||||
#include "av1/common/odintrin.h"
|
|
||||||
|
|
||||||
struct macroblockd;
|
|
||||||
|
|
||||||
/* Encoder forward decls */
|
|
||||||
struct macroblock;
|
|
||||||
struct txfm_param;
|
|
||||||
struct aom_variance_vtable;
|
|
||||||
struct search_site_config;
|
|
||||||
struct mv;
|
|
||||||
union int_mv;
|
|
||||||
struct yv12_buffer_config;
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
void apply_selfguided_restoration_c(uint8_t *dat, int width, int height, int stride, int eps, int *xqd, uint8_t *dst, int dst_stride, int32_t *tmpbuf);
|
|
||||||
#define apply_selfguided_restoration apply_selfguided_restoration_c
|
|
||||||
|
|
||||||
void apply_selfguided_restoration_highbd_c(uint16_t *dat, int width, int height, int stride, int bit_depth, int eps, int *xqd, uint16_t *dst, int dst_stride, int32_t *tmpbuf);
|
|
||||||
#define apply_selfguided_restoration_highbd apply_selfguided_restoration_highbd_c
|
|
||||||
|
|
||||||
int64_t av1_block_error_c(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block_size, int64_t *ssz);
|
|
||||||
#define av1_block_error av1_block_error_c
|
|
||||||
|
|
||||||
void av1_convolve_2d_c(const uint8_t *src, int src_stride, CONV_BUF_TYPE *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
|
||||||
#define av1_convolve_2d av1_convolve_2d_c
|
|
||||||
|
|
||||||
void av1_convolve_2d_scale_c(const uint8_t *src, int src_stride, CONV_BUF_TYPE *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_qn, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params);
|
|
||||||
#define av1_convolve_2d_scale av1_convolve_2d_scale_c
|
|
||||||
|
|
||||||
void av1_convolve_horiz_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, ConvolveParams *conv_params);
|
|
||||||
#define av1_convolve_horiz av1_convolve_horiz_c
|
|
||||||
|
|
||||||
void av1_convolve_rounding_c(const int32_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, int bits);
|
|
||||||
#define av1_convolve_rounding av1_convolve_rounding_c
|
|
||||||
|
|
||||||
void av1_convolve_vert_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, ConvolveParams *conv_params);
|
|
||||||
#define av1_convolve_vert av1_convolve_vert_c
|
|
||||||
|
|
||||||
int av1_diamond_search_sad_c(struct macroblock *x, const struct search_site_config *cfg, struct mv *ref_mv, struct mv *best_mv, int search_param, int sad_per_bit, int *num00, const struct aom_variance_vtable *fn_ptr, const struct mv *center_mv);
|
|
||||||
#define av1_diamond_search_sad av1_diamond_search_sad_c
|
|
||||||
|
|
||||||
void av1_fht16x16_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
#define av1_fht16x16 av1_fht16x16_c
|
|
||||||
|
|
||||||
void av1_fht16x32_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
#define av1_fht16x32 av1_fht16x32_c
|
|
||||||
|
|
||||||
void av1_fht16x4_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
#define av1_fht16x4 av1_fht16x4_c
|
|
||||||
|
|
||||||
void av1_fht16x8_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
#define av1_fht16x8 av1_fht16x8_c
|
|
||||||
|
|
||||||
void av1_fht32x16_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
#define av1_fht32x16 av1_fht32x16_c
|
|
||||||
|
|
||||||
void av1_fht32x32_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
#define av1_fht32x32 av1_fht32x32_c
|
|
||||||
|
|
||||||
void av1_fht32x8_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
#define av1_fht32x8 av1_fht32x8_c
|
|
||||||
|
|
||||||
void av1_fht4x16_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
#define av1_fht4x16 av1_fht4x16_c
|
|
||||||
|
|
||||||
void av1_fht4x4_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
#define av1_fht4x4 av1_fht4x4_c
|
|
||||||
|
|
||||||
void av1_fht4x8_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
#define av1_fht4x8 av1_fht4x8_c
|
|
||||||
|
|
||||||
void av1_fht8x16_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
#define av1_fht8x16 av1_fht8x16_c
|
|
||||||
|
|
||||||
void av1_fht8x32_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
#define av1_fht8x32 av1_fht8x32_c
|
|
||||||
|
|
||||||
void av1_fht8x4_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
#define av1_fht8x4 av1_fht8x4_c
|
|
||||||
|
|
||||||
void av1_fht8x8_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
#define av1_fht8x8 av1_fht8x8_c
|
|
||||||
|
|
||||||
void av1_filter_intra_edge_c(uint8_t *p, int sz, int strength);
|
|
||||||
#define av1_filter_intra_edge av1_filter_intra_edge_c
|
|
||||||
|
|
||||||
void av1_filter_intra_edge_high_c(uint16_t *p, int sz, int strength);
|
|
||||||
#define av1_filter_intra_edge_high av1_filter_intra_edge_high_c
|
|
||||||
|
|
||||||
int av1_full_range_search_c(const struct macroblock *x, const struct search_site_config *cfg, struct mv *ref_mv, struct mv *best_mv, int search_param, int sad_per_bit, int *num00, const struct aom_variance_vtable *fn_ptr, const struct mv *center_mv);
|
|
||||||
#define av1_full_range_search av1_full_range_search_c
|
|
||||||
|
|
||||||
int av1_full_search_sad_c(const struct macroblock *x, const struct mv *ref_mv, int sad_per_bit, int distance, const struct aom_variance_vtable *fn_ptr, const struct mv *center_mv, struct mv *best_mv);
|
|
||||||
#define av1_full_search_sad av1_full_search_sad_c
|
|
||||||
|
|
||||||
void av1_fwd_idtx_c(const int16_t *src_diff, tran_low_t *coeff, int stride, int bsx, int bsy, TX_TYPE tx_type);
|
|
||||||
#define av1_fwd_idtx av1_fwd_idtx_c
|
|
||||||
|
|
||||||
void av1_fwd_txfm2d_16x16_c(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_fwd_txfm2d_16x16 av1_fwd_txfm2d_16x16_c
|
|
||||||
|
|
||||||
void av1_fwd_txfm2d_16x32_c(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_fwd_txfm2d_16x32 av1_fwd_txfm2d_16x32_c
|
|
||||||
|
|
||||||
void av1_fwd_txfm2d_16x8_c(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_fwd_txfm2d_16x8 av1_fwd_txfm2d_16x8_c
|
|
||||||
|
|
||||||
void av1_fwd_txfm2d_32x16_c(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_fwd_txfm2d_32x16 av1_fwd_txfm2d_32x16_c
|
|
||||||
|
|
||||||
void av1_fwd_txfm2d_32x32_c(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_fwd_txfm2d_32x32 av1_fwd_txfm2d_32x32_c
|
|
||||||
|
|
||||||
void av1_fwd_txfm2d_4x4_c(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_fwd_txfm2d_4x4 av1_fwd_txfm2d_4x4_c
|
|
||||||
|
|
||||||
void av1_fwd_txfm2d_4x8_c(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_fwd_txfm2d_4x8 av1_fwd_txfm2d_4x8_c
|
|
||||||
|
|
||||||
void av1_fwd_txfm2d_8x16_c(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_fwd_txfm2d_8x16 av1_fwd_txfm2d_8x16_c
|
|
||||||
|
|
||||||
void av1_fwd_txfm2d_8x4_c(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_fwd_txfm2d_8x4 av1_fwd_txfm2d_8x4_c
|
|
||||||
|
|
||||||
void av1_fwd_txfm2d_8x8_c(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_fwd_txfm2d_8x8 av1_fwd_txfm2d_8x8_c
|
|
||||||
|
|
||||||
void av1_fwht4x4_c(const int16_t *input, tran_low_t *output, int stride);
|
|
||||||
#define av1_fwht4x4 av1_fwht4x4_c
|
|
||||||
|
|
||||||
int64_t av1_highbd_block_error_c(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block_size, int64_t *ssz, int bd);
|
|
||||||
#define av1_highbd_block_error av1_highbd_block_error_c
|
|
||||||
|
|
||||||
void av1_highbd_convolve8_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
#define av1_highbd_convolve8 av1_highbd_convolve8_c
|
|
||||||
|
|
||||||
void av1_highbd_convolve8_avg_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
#define av1_highbd_convolve8_avg av1_highbd_convolve8_avg_c
|
|
||||||
|
|
||||||
void av1_highbd_convolve8_avg_horiz_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
#define av1_highbd_convolve8_avg_horiz av1_highbd_convolve8_avg_horiz_c
|
|
||||||
|
|
||||||
void av1_highbd_convolve8_avg_vert_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
#define av1_highbd_convolve8_avg_vert av1_highbd_convolve8_avg_vert_c
|
|
||||||
|
|
||||||
void av1_highbd_convolve8_horiz_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
#define av1_highbd_convolve8_horiz av1_highbd_convolve8_horiz_c
|
|
||||||
|
|
||||||
void av1_highbd_convolve8_vert_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
#define av1_highbd_convolve8_vert av1_highbd_convolve8_vert_c
|
|
||||||
|
|
||||||
void av1_highbd_convolve_2d_c(const uint16_t *src, int src_stride, CONV_BUF_TYPE *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
|
||||||
#define av1_highbd_convolve_2d av1_highbd_convolve_2d_c
|
|
||||||
|
|
||||||
void av1_highbd_convolve_2d_scale_c(const uint16_t *src, int src_stride, CONV_BUF_TYPE *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params, int bd);
|
|
||||||
#define av1_highbd_convolve_2d_scale av1_highbd_convolve_2d_scale_c
|
|
||||||
|
|
||||||
void av1_highbd_convolve_avg_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
#define av1_highbd_convolve_avg av1_highbd_convolve_avg_c
|
|
||||||
|
|
||||||
void av1_highbd_convolve_copy_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
#define av1_highbd_convolve_copy av1_highbd_convolve_copy_c
|
|
||||||
|
|
||||||
void av1_highbd_convolve_horiz_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, int avg, int bd);
|
|
||||||
#define av1_highbd_convolve_horiz av1_highbd_convolve_horiz_c
|
|
||||||
|
|
||||||
void av1_highbd_convolve_init_c(void);
|
|
||||||
#define av1_highbd_convolve_init av1_highbd_convolve_init_c
|
|
||||||
|
|
||||||
void av1_highbd_convolve_rounding_c(const int32_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, int bits, int bd);
|
|
||||||
#define av1_highbd_convolve_rounding av1_highbd_convolve_rounding_c
|
|
||||||
|
|
||||||
void av1_highbd_convolve_vert_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, int avg, int bd);
|
|
||||||
#define av1_highbd_convolve_vert av1_highbd_convolve_vert_c
|
|
||||||
|
|
||||||
void av1_highbd_fwht4x4_c(const int16_t *input, tran_low_t *output, int stride);
|
|
||||||
#define av1_highbd_fwht4x4 av1_highbd_fwht4x4_c
|
|
||||||
|
|
||||||
void av1_highbd_iht16x16_256_add_c(const tran_low_t *input, uint8_t *output, int pitch, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht16x16_256_add av1_highbd_iht16x16_256_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht16x32_512_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht16x32_512_add av1_highbd_iht16x32_512_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht16x4_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht16x4_64_add av1_highbd_iht16x4_64_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht16x8_128_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht16x8_128_add av1_highbd_iht16x8_128_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht32x16_512_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht32x16_512_add av1_highbd_iht32x16_512_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht32x8_256_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht32x8_256_add av1_highbd_iht32x8_256_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht4x16_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht4x16_64_add av1_highbd_iht4x16_64_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht4x4_16_add av1_highbd_iht4x4_16_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht4x8_32_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht4x8_32_add av1_highbd_iht4x8_32_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht8x16_128_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht8x16_128_add av1_highbd_iht8x16_128_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht8x32_256_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht8x32_256_add av1_highbd_iht8x32_256_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht8x4_32_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht8x4_32_add av1_highbd_iht8x4_32_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht8x8_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht8x8_64_add av1_highbd_iht8x8_64_add_c
|
|
||||||
|
|
||||||
void av1_highbd_quantize_fp_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan, int log_scale);
|
|
||||||
#define av1_highbd_quantize_fp av1_highbd_quantize_fp_c
|
|
||||||
|
|
||||||
void av1_highbd_temporal_filter_apply_c(uint8_t *frame1, unsigned int stride, uint8_t *frame2, unsigned int block_width, unsigned int block_height, int strength, int filter_weight, unsigned int *accumulator, uint16_t *count);
|
|
||||||
#define av1_highbd_temporal_filter_apply av1_highbd_temporal_filter_apply_c
|
|
||||||
|
|
||||||
void av1_highbd_warp_affine_c(const int32_t *mat, const uint16_t *ref, int width, int height, int stride, uint16_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, int bd, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
|
||||||
#define av1_highbd_warp_affine av1_highbd_warp_affine_c
|
|
||||||
|
|
||||||
void av1_highpass_filter_c(uint8_t *dgd, int width, int height, int stride, int32_t *dst, int dst_stride, int r, int eps);
|
|
||||||
#define av1_highpass_filter av1_highpass_filter_c
|
|
||||||
|
|
||||||
void av1_highpass_filter_highbd_c(uint16_t *dgd, int width, int height, int stride, int32_t *dst, int dst_stride, int r, int eps);
|
|
||||||
#define av1_highpass_filter_highbd av1_highpass_filter_highbd_c
|
|
||||||
|
|
||||||
void av1_iht16x16_256_add_c(const tran_low_t *input, uint8_t *output, int pitch, const struct txfm_param *param);
|
|
||||||
#define av1_iht16x16_256_add av1_iht16x16_256_add_c
|
|
||||||
|
|
||||||
void av1_iht16x32_512_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_iht16x32_512_add av1_iht16x32_512_add_c
|
|
||||||
|
|
||||||
void av1_iht16x4_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_iht16x4_64_add av1_iht16x4_64_add_c
|
|
||||||
|
|
||||||
void av1_iht16x8_128_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_iht16x8_128_add av1_iht16x8_128_add_c
|
|
||||||
|
|
||||||
void av1_iht32x16_512_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_iht32x16_512_add av1_iht32x16_512_add_c
|
|
||||||
|
|
||||||
void av1_iht32x32_1024_add_c(const tran_low_t *input, uint8_t *output, int pitch, const struct txfm_param *param);
|
|
||||||
#define av1_iht32x32_1024_add av1_iht32x32_1024_add_c
|
|
||||||
|
|
||||||
void av1_iht32x8_256_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_iht32x8_256_add av1_iht32x8_256_add_c
|
|
||||||
|
|
||||||
void av1_iht4x16_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_iht4x16_64_add av1_iht4x16_64_add_c
|
|
||||||
|
|
||||||
void av1_iht4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_iht4x4_16_add av1_iht4x4_16_add_c
|
|
||||||
|
|
||||||
void av1_iht4x8_32_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_iht4x8_32_add av1_iht4x8_32_add_c
|
|
||||||
|
|
||||||
void av1_iht8x16_128_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_iht8x16_128_add av1_iht8x16_128_add_c
|
|
||||||
|
|
||||||
void av1_iht8x32_256_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_iht8x32_256_add av1_iht8x32_256_add_c
|
|
||||||
|
|
||||||
void av1_iht8x4_32_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_iht8x4_32_add av1_iht8x4_32_add_c
|
|
||||||
|
|
||||||
void av1_iht8x8_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_iht8x8_64_add av1_iht8x8_64_add_c
|
|
||||||
|
|
||||||
void av1_inv_txfm2d_add_16x16_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_inv_txfm2d_add_16x16 av1_inv_txfm2d_add_16x16_c
|
|
||||||
|
|
||||||
void av1_inv_txfm2d_add_16x32_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_inv_txfm2d_add_16x32 av1_inv_txfm2d_add_16x32_c
|
|
||||||
|
|
||||||
void av1_inv_txfm2d_add_16x8_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_inv_txfm2d_add_16x8 av1_inv_txfm2d_add_16x8_c
|
|
||||||
|
|
||||||
void av1_inv_txfm2d_add_32x16_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_inv_txfm2d_add_32x16 av1_inv_txfm2d_add_32x16_c
|
|
||||||
|
|
||||||
void av1_inv_txfm2d_add_32x32_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_inv_txfm2d_add_32x32 av1_inv_txfm2d_add_32x32_c
|
|
||||||
|
|
||||||
void av1_inv_txfm2d_add_4x4_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_inv_txfm2d_add_4x4 av1_inv_txfm2d_add_4x4_c
|
|
||||||
|
|
||||||
void av1_inv_txfm2d_add_4x8_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_inv_txfm2d_add_4x8 av1_inv_txfm2d_add_4x8_c
|
|
||||||
|
|
||||||
void av1_inv_txfm2d_add_8x16_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_inv_txfm2d_add_8x16 av1_inv_txfm2d_add_8x16_c
|
|
||||||
|
|
||||||
void av1_inv_txfm2d_add_8x4_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_inv_txfm2d_add_8x4 av1_inv_txfm2d_add_8x4_c
|
|
||||||
|
|
||||||
void av1_inv_txfm2d_add_8x8_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_inv_txfm2d_add_8x8 av1_inv_txfm2d_add_8x8_c
|
|
||||||
|
|
||||||
void av1_lowbd_convolve_init_c(void);
|
|
||||||
#define av1_lowbd_convolve_init av1_lowbd_convolve_init_c
|
|
||||||
|
|
||||||
void av1_quantize_b_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan, const qm_val_t * qm_ptr, const qm_val_t * iqm_ptr, int log_scale);
|
|
||||||
#define av1_quantize_b av1_quantize_b_c
|
|
||||||
|
|
||||||
void av1_quantize_fp_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan);
|
|
||||||
#define av1_quantize_fp av1_quantize_fp_c
|
|
||||||
|
|
||||||
void av1_quantize_fp_32x32_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan);
|
|
||||||
#define av1_quantize_fp_32x32 av1_quantize_fp_32x32_c
|
|
||||||
|
|
||||||
void av1_selfguided_restoration_c(uint8_t *dgd, int width, int height, int stride, int32_t *dst, int dst_stride, int r, int eps);
|
|
||||||
#define av1_selfguided_restoration av1_selfguided_restoration_c
|
|
||||||
|
|
||||||
void av1_selfguided_restoration_highbd_c(uint16_t *dgd, int width, int height, int stride, int32_t *dst, int dst_stride, int bit_depth, int r, int eps);
|
|
||||||
#define av1_selfguided_restoration_highbd av1_selfguided_restoration_highbd_c
|
|
||||||
|
|
||||||
void av1_temporal_filter_apply_c(uint8_t *frame1, unsigned int stride, uint8_t *frame2, unsigned int block_width, unsigned int block_height, int strength, int filter_weight, unsigned int *accumulator, uint16_t *count);
|
|
||||||
#define av1_temporal_filter_apply av1_temporal_filter_apply_c
|
|
||||||
|
|
||||||
void av1_upsample_intra_edge_c(uint8_t *p, int sz);
|
|
||||||
#define av1_upsample_intra_edge av1_upsample_intra_edge_c
|
|
||||||
|
|
||||||
void av1_upsample_intra_edge_high_c(uint16_t *p, int sz, int bd);
|
|
||||||
#define av1_upsample_intra_edge_high av1_upsample_intra_edge_high_c
|
|
||||||
|
|
||||||
void av1_warp_affine_c(const int32_t *mat, const uint8_t *ref, int width, int height, int stride, uint8_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
|
||||||
#define av1_warp_affine av1_warp_affine_c
|
|
||||||
|
|
||||||
void av1_wedge_compute_delta_squares_c(int16_t *d, const int16_t *a, const int16_t *b, int N);
|
|
||||||
#define av1_wedge_compute_delta_squares av1_wedge_compute_delta_squares_c
|
|
||||||
|
|
||||||
int av1_wedge_sign_from_residuals_c(const int16_t *ds, const uint8_t *m, int N, int64_t limit);
|
|
||||||
#define av1_wedge_sign_from_residuals av1_wedge_sign_from_residuals_c
|
|
||||||
|
|
||||||
uint64_t av1_wedge_sse_from_residuals_c(const int16_t *r1, const int16_t *d, const uint8_t *m, int N);
|
|
||||||
#define av1_wedge_sse_from_residuals av1_wedge_sse_from_residuals_c
|
|
||||||
|
|
||||||
void cdef_filter_block_c(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max);
|
|
||||||
void cdef_filter_block_neon(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max);
|
|
||||||
RTCD_EXTERN void (*cdef_filter_block)(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max);
|
|
||||||
|
|
||||||
int cdef_find_dir_c(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
|
||||||
int cdef_find_dir_neon(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
|
||||||
RTCD_EXTERN int (*cdef_find_dir)(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
|
||||||
|
|
||||||
double compute_cross_correlation_c(unsigned char *im1, int stride1, int x1, int y1, unsigned char *im2, int stride2, int x2, int y2);
|
|
||||||
#define compute_cross_correlation compute_cross_correlation_c
|
|
||||||
|
|
||||||
void copy_rect8_16bit_to_16bit_c(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
|
||||||
void copy_rect8_16bit_to_16bit_neon(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
|
||||||
RTCD_EXTERN void (*copy_rect8_16bit_to_16bit)(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
|
||||||
|
|
||||||
void copy_rect8_8bit_to_16bit_c(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
|
||||||
void copy_rect8_8bit_to_16bit_neon(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
|
||||||
RTCD_EXTERN void (*copy_rect8_8bit_to_16bit)(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
|
||||||
|
|
||||||
void aom_rtcd(void);
|
|
||||||
|
|
||||||
#include "aom_config.h"
|
|
||||||
|
|
||||||
#ifdef RTCD_C
|
|
||||||
#include "aom_ports/arm.h"
|
|
||||||
static void setup_rtcd_internal(void)
|
|
||||||
{
|
|
||||||
int flags = arm_cpu_caps();
|
|
||||||
|
|
||||||
(void)flags;
|
|
||||||
|
|
||||||
cdef_filter_block = cdef_filter_block_c;
|
|
||||||
if (flags & HAS_NEON) cdef_filter_block = cdef_filter_block_neon;
|
|
||||||
cdef_find_dir = cdef_find_dir_c;
|
|
||||||
if (flags & HAS_NEON) cdef_find_dir = cdef_find_dir_neon;
|
|
||||||
copy_rect8_16bit_to_16bit = copy_rect8_16bit_to_16bit_c;
|
|
||||||
if (flags & HAS_NEON) copy_rect8_16bit_to_16bit = copy_rect8_16bit_to_16bit_neon;
|
|
||||||
copy_rect8_8bit_to_16bit = copy_rect8_8bit_to_16bit_c;
|
|
||||||
if (flags & HAS_NEON) copy_rect8_8bit_to_16bit = copy_rect8_8bit_to_16bit_neon;
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
} // extern "C"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif
|
|
||||||
70
media/libaom/config/linux/arm/config/aom_config.asm
Normal file
70
media/libaom/config/linux/arm/config/aom_config.asm
Normal file
|
|
@ -0,0 +1,70 @@
|
||||||
|
;
|
||||||
|
; Copyright (c) 2018, Alliance for Open Media. All rights reserved
|
||||||
|
;
|
||||||
|
; This source code is subject to the terms of the BSD 2 Clause License and
|
||||||
|
; the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
|
||||||
|
; was not distributed with this source code in the LICENSE file, you can
|
||||||
|
; obtain it at www.aomedia.org/license/software. If the Alliance for Open
|
||||||
|
; Media Patent License 1.0 was not distributed with this source code in the
|
||||||
|
; PATENTS file, you can obtain it at www.aomedia.org/license/patent.
|
||||||
|
;
|
||||||
|
|
||||||
|
.equ ARCH_ARM, 1
|
||||||
|
.equ ARCH_MIPS, 0
|
||||||
|
.equ ARCH_PPC, 0
|
||||||
|
.equ ARCH_X86, 0
|
||||||
|
.equ ARCH_X86_64, 0
|
||||||
|
.equ CONFIG_ACCOUNTING, 0
|
||||||
|
.equ CONFIG_ANALYZER, 0
|
||||||
|
.equ CONFIG_AV1_DECODER, 1
|
||||||
|
.equ CONFIG_AV1_ENCODER, 0
|
||||||
|
.equ CONFIG_BIG_ENDIAN, 0
|
||||||
|
.equ CONFIG_BITSTREAM_DEBUG, 0
|
||||||
|
.equ CONFIG_COEFFICIENT_RANGE_CHECKING, 0
|
||||||
|
.equ CONFIG_COLLECT_INTER_MODE_RD_STATS, 1
|
||||||
|
.equ CONFIG_COLLECT_RD_STATS, 0
|
||||||
|
.equ CONFIG_DEBUG, 0
|
||||||
|
.equ CONFIG_DIST_8X8, 1
|
||||||
|
.equ CONFIG_ENTROPY_STATS, 0
|
||||||
|
.equ CONFIG_FILEOPTIONS, 1
|
||||||
|
.equ CONFIG_FP_MB_STATS, 0
|
||||||
|
.equ CONFIG_GCC, 1
|
||||||
|
.equ CONFIG_GCOV, 0
|
||||||
|
.equ CONFIG_GPROF, 0
|
||||||
|
.equ CONFIG_INSPECTION, 0
|
||||||
|
.equ CONFIG_INTERNAL_STATS, 0
|
||||||
|
.equ CONFIG_INTER_STATS_ONLY, 0
|
||||||
|
.equ CONFIG_LIBYUV, 0
|
||||||
|
.equ CONFIG_LOWBITDEPTH, 0
|
||||||
|
.equ CONFIG_MISMATCH_DEBUG, 0
|
||||||
|
.equ CONFIG_MSVS, 0
|
||||||
|
.equ CONFIG_MULTITHREAD, 1
|
||||||
|
.equ CONFIG_OS_SUPPORT, 1
|
||||||
|
.equ CONFIG_PIC, 0
|
||||||
|
.equ CONFIG_RD_DEBUG, 0
|
||||||
|
.equ CONFIG_RUNTIME_CPU_DETECT, 1
|
||||||
|
.equ CONFIG_SHARED, 0
|
||||||
|
.equ CONFIG_SIZE_LIMIT, 0
|
||||||
|
.equ CONFIG_SPATIAL_RESAMPLING, 1
|
||||||
|
.equ CONFIG_STATIC, 1
|
||||||
|
.equ CONFIG_WEBM_IO, 0
|
||||||
|
.equ DECODE_HEIGHT_LIMIT, 0
|
||||||
|
.equ DECODE_WIDTH_LIMIT, 0
|
||||||
|
.equ HAVE_AVX, 0
|
||||||
|
.equ HAVE_AVX2, 0
|
||||||
|
.equ HAVE_DSPR2, 0
|
||||||
|
.equ HAVE_FEXCEPT, 1
|
||||||
|
.equ HAVE_MIPS32, 0
|
||||||
|
.equ HAVE_MIPS64, 0
|
||||||
|
.equ HAVE_MMX, 0
|
||||||
|
.equ HAVE_MSA, 0
|
||||||
|
.equ HAVE_NEON, 1
|
||||||
|
.equ HAVE_SSE, 0
|
||||||
|
.equ HAVE_SSE2, 0
|
||||||
|
.equ HAVE_SSE3, 0
|
||||||
|
.equ HAVE_SSE4_1, 0
|
||||||
|
.equ HAVE_SSE4_2, 0
|
||||||
|
.equ HAVE_SSSE3, 0
|
||||||
|
.equ HAVE_VSX, 0
|
||||||
|
.equ HAVE_WXWIDGETS, 0
|
||||||
|
.section .note.GNU-stack,"",%progbits
|
||||||
75
media/libaom/config/linux/arm/config/aom_config.h
Normal file
75
media/libaom/config/linux/arm/config/aom_config.h
Normal file
|
|
@ -0,0 +1,75 @@
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2018, Alliance for Open Media. All rights reserved
|
||||||
|
*
|
||||||
|
* This source code is subject to the terms of the BSD 2 Clause License and
|
||||||
|
* the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
|
||||||
|
* was not distributed with this source code in the LICENSE file, you can
|
||||||
|
* obtain it at www.aomedia.org/license/software. If the Alliance for Open
|
||||||
|
* Media Patent License 1.0 was not distributed with this source code in the
|
||||||
|
* PATENTS file, you can obtain it at www.aomedia.org/license/patent.
|
||||||
|
*/
|
||||||
|
#ifndef AOM_CONFIG_H_
|
||||||
|
#define AOM_CONFIG_H_
|
||||||
|
|
||||||
|
#define ARCH_ARM 1
|
||||||
|
#define ARCH_MIPS 0
|
||||||
|
#define ARCH_PPC 0
|
||||||
|
#define ARCH_X86 0
|
||||||
|
#define ARCH_X86_64 0
|
||||||
|
#define CONFIG_ACCOUNTING 0
|
||||||
|
#define CONFIG_ANALYZER 0
|
||||||
|
#define CONFIG_AV1_DECODER 1
|
||||||
|
#define CONFIG_AV1_ENCODER 0
|
||||||
|
#define CONFIG_BIG_ENDIAN 0
|
||||||
|
#define CONFIG_BITSTREAM_DEBUG 0
|
||||||
|
#define CONFIG_COEFFICIENT_RANGE_CHECKING 0
|
||||||
|
#define CONFIG_COLLECT_INTER_MODE_RD_STATS 1
|
||||||
|
#define CONFIG_COLLECT_RD_STATS 0
|
||||||
|
#define CONFIG_DEBUG 0
|
||||||
|
#define CONFIG_DIST_8X8 1
|
||||||
|
#define CONFIG_ENTROPY_STATS 0
|
||||||
|
#define CONFIG_FILEOPTIONS 1
|
||||||
|
#define CONFIG_FP_MB_STATS 0
|
||||||
|
#define CONFIG_GCC 1
|
||||||
|
#define CONFIG_GCOV 0
|
||||||
|
#define CONFIG_GPROF 0
|
||||||
|
#define CONFIG_INSPECTION 0
|
||||||
|
#define CONFIG_INTERNAL_STATS 0
|
||||||
|
#define CONFIG_INTER_STATS_ONLY 0
|
||||||
|
#define CONFIG_LIBYUV 0
|
||||||
|
#define CONFIG_LOWBITDEPTH 0
|
||||||
|
#define CONFIG_MISMATCH_DEBUG 0
|
||||||
|
#define CONFIG_MSVS 0
|
||||||
|
#define CONFIG_MULTITHREAD 1
|
||||||
|
#define CONFIG_OS_SUPPORT 1
|
||||||
|
#define CONFIG_PIC 0
|
||||||
|
#define CONFIG_RD_DEBUG 0
|
||||||
|
#define CONFIG_RUNTIME_CPU_DETECT 1
|
||||||
|
#define CONFIG_SHARED 0
|
||||||
|
#define CONFIG_SIZE_LIMIT 0
|
||||||
|
#define CONFIG_SPATIAL_RESAMPLING 1
|
||||||
|
#define CONFIG_STATIC 1
|
||||||
|
#define CONFIG_WEBM_IO 0
|
||||||
|
#define DECODE_HEIGHT_LIMIT 0
|
||||||
|
#define DECODE_WIDTH_LIMIT 0
|
||||||
|
#define HAVE_AVX 0
|
||||||
|
#define HAVE_AVX2 0
|
||||||
|
#define HAVE_DSPR2 0
|
||||||
|
#define HAVE_FEXCEPT 1
|
||||||
|
#define HAVE_MIPS32 0
|
||||||
|
#define HAVE_MIPS64 0
|
||||||
|
#define HAVE_MMX 0
|
||||||
|
#define HAVE_MSA 0
|
||||||
|
#define HAVE_NEON 1
|
||||||
|
#define HAVE_SSE 0
|
||||||
|
#define HAVE_SSE2 0
|
||||||
|
#define HAVE_SSE3 0
|
||||||
|
#define HAVE_SSE4_1 0
|
||||||
|
#define HAVE_SSE4_2 0
|
||||||
|
#define HAVE_SSSE3 0
|
||||||
|
#define HAVE_VSX 0
|
||||||
|
#define HAVE_WXWIDGETS 0
|
||||||
|
#define INCLUDE_INSTALL_DIR INSTALLDIR/include
|
||||||
|
#define INLINE inline
|
||||||
|
#define LIB_INSTALL_DIR INSTALLDIR/lib
|
||||||
|
#endif /* AOM_CONFIG_H_ */
|
||||||
1496
media/libaom/config/linux/arm/config/aom_dsp_rtcd.h
Normal file
1496
media/libaom/config/linux/arm/config/aom_dsp_rtcd.h
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -1,3 +1,4 @@
|
||||||
|
// This file is generated. Do not edit.
|
||||||
#ifndef AOM_SCALE_RTCD_H_
|
#ifndef AOM_SCALE_RTCD_H_
|
||||||
#define AOM_SCALE_RTCD_H_
|
#define AOM_SCALE_RTCD_H_
|
||||||
|
|
||||||
|
|
@ -13,13 +14,13 @@ struct yv12_buffer_config;
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void aom_extend_frame_borders_c(struct yv12_buffer_config *ybf);
|
void aom_extend_frame_borders_c(struct yv12_buffer_config *ybf, const int num_planes);
|
||||||
#define aom_extend_frame_borders aom_extend_frame_borders_c
|
#define aom_extend_frame_borders aom_extend_frame_borders_c
|
||||||
|
|
||||||
void aom_extend_frame_borders_y_c(struct yv12_buffer_config *ybf);
|
void aom_extend_frame_borders_y_c(struct yv12_buffer_config *ybf);
|
||||||
#define aom_extend_frame_borders_y aom_extend_frame_borders_y_c
|
#define aom_extend_frame_borders_y aom_extend_frame_borders_y_c
|
||||||
|
|
||||||
void aom_extend_frame_inner_borders_c(struct yv12_buffer_config *ybf);
|
void aom_extend_frame_inner_borders_c(struct yv12_buffer_config *ybf, const int num_planes);
|
||||||
#define aom_extend_frame_inner_borders aom_extend_frame_inner_borders_c
|
#define aom_extend_frame_inner_borders aom_extend_frame_inner_borders_c
|
||||||
|
|
||||||
void aom_horizontal_line_2_1_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
|
void aom_horizontal_line_2_1_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
|
||||||
|
|
@ -43,7 +44,7 @@ void aom_vertical_band_5_3_scale_c(unsigned char *source, int src_pitch, unsigne
|
||||||
void aom_vertical_band_5_4_scale_c(unsigned char *source, int src_pitch, unsigned char *dest, int dest_pitch, unsigned int dest_width);
|
void aom_vertical_band_5_4_scale_c(unsigned char *source, int src_pitch, unsigned char *dest, int dest_pitch, unsigned int dest_width);
|
||||||
#define aom_vertical_band_5_4_scale aom_vertical_band_5_4_scale_c
|
#define aom_vertical_band_5_4_scale aom_vertical_band_5_4_scale_c
|
||||||
|
|
||||||
void aom_yv12_copy_frame_c(const struct yv12_buffer_config *src_bc, struct yv12_buffer_config *dst_bc);
|
void aom_yv12_copy_frame_c(const struct yv12_buffer_config *src_bc, struct yv12_buffer_config *dst_bc, const int num_planes);
|
||||||
#define aom_yv12_copy_frame aom_yv12_copy_frame_c
|
#define aom_yv12_copy_frame aom_yv12_copy_frame_c
|
||||||
|
|
||||||
void aom_yv12_copy_u_c(const struct yv12_buffer_config *src_bc, struct yv12_buffer_config *dst_bc);
|
void aom_yv12_copy_u_c(const struct yv12_buffer_config *src_bc, struct yv12_buffer_config *dst_bc);
|
||||||
|
|
@ -55,12 +56,21 @@ void aom_yv12_copy_v_c(const struct yv12_buffer_config *src_bc, struct yv12_buff
|
||||||
void aom_yv12_copy_y_c(const struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc);
|
void aom_yv12_copy_y_c(const struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc);
|
||||||
#define aom_yv12_copy_y aom_yv12_copy_y_c
|
#define aom_yv12_copy_y aom_yv12_copy_y_c
|
||||||
|
|
||||||
void aom_yv12_extend_frame_borders_c(struct yv12_buffer_config *ybf);
|
void aom_yv12_extend_frame_borders_c(struct yv12_buffer_config *ybf, const int num_planes);
|
||||||
#define aom_yv12_extend_frame_borders aom_yv12_extend_frame_borders_c
|
#define aom_yv12_extend_frame_borders aom_yv12_extend_frame_borders_c
|
||||||
|
|
||||||
|
void aom_yv12_partial_copy_u_c(const struct yv12_buffer_config *src_bc, struct yv12_buffer_config *dst_bc, int hstart, int hend, int vstart, int vend);
|
||||||
|
#define aom_yv12_partial_copy_u aom_yv12_partial_copy_u_c
|
||||||
|
|
||||||
|
void aom_yv12_partial_copy_v_c(const struct yv12_buffer_config *src_bc, struct yv12_buffer_config *dst_bc, int hstart, int hend, int vstart, int vend);
|
||||||
|
#define aom_yv12_partial_copy_v aom_yv12_partial_copy_v_c
|
||||||
|
|
||||||
|
void aom_yv12_partial_copy_y_c(const struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc, int hstart, int hend, int vstart, int vend);
|
||||||
|
#define aom_yv12_partial_copy_y aom_yv12_partial_copy_y_c
|
||||||
|
|
||||||
void aom_scale_rtcd(void);
|
void aom_scale_rtcd(void);
|
||||||
|
|
||||||
#include "aom_config.h"
|
#include "config/aom_config.h"
|
||||||
|
|
||||||
#ifdef RTCD_C
|
#ifdef RTCD_C
|
||||||
#include "aom_ports/arm.h"
|
#include "aom_ports/arm.h"
|
||||||
384
media/libaom/config/linux/arm/config/av1_rtcd.h
Normal file
384
media/libaom/config/linux/arm/config/av1_rtcd.h
Normal file
|
|
@ -0,0 +1,384 @@
|
||||||
|
// This file is generated. Do not edit.
|
||||||
|
#ifndef AOM_RTCD_H_
|
||||||
|
#define AOM_RTCD_H_
|
||||||
|
|
||||||
|
#ifdef RTCD_C
|
||||||
|
#define RTCD_EXTERN
|
||||||
|
#else
|
||||||
|
#define RTCD_EXTERN extern
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/*
|
||||||
|
* AV1
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "aom/aom_integer.h"
|
||||||
|
#include "aom_dsp/txfm_common.h"
|
||||||
|
#include "av1/common/common.h"
|
||||||
|
#include "av1/common/enums.h"
|
||||||
|
#include "av1/common/quant_common.h"
|
||||||
|
#include "av1/common/filter.h"
|
||||||
|
#include "av1/common/convolve.h"
|
||||||
|
#include "av1/common/av1_txfm.h"
|
||||||
|
#include "av1/common/odintrin.h"
|
||||||
|
#include "av1/common/restoration.h"
|
||||||
|
|
||||||
|
struct macroblockd;
|
||||||
|
|
||||||
|
/* Encoder forward decls */
|
||||||
|
struct macroblock;
|
||||||
|
struct txfm_param;
|
||||||
|
struct aom_variance_vtable;
|
||||||
|
struct search_site_config;
|
||||||
|
struct yv12_buffer_config;
|
||||||
|
|
||||||
|
/* Function pointers return by CfL functions */
|
||||||
|
typedef void (*cfl_subsample_lbd_fn)(const uint8_t *input, int input_stride,
|
||||||
|
uint16_t *output_q3);
|
||||||
|
|
||||||
|
typedef void (*cfl_subsample_hbd_fn)(const uint16_t *input, int input_stride,
|
||||||
|
uint16_t *output_q3);
|
||||||
|
|
||||||
|
typedef void (*cfl_subtract_average_fn)(const uint16_t *src, int16_t *dst);
|
||||||
|
|
||||||
|
typedef void (*cfl_predict_lbd_fn)(const int16_t *src, uint8_t *dst,
|
||||||
|
int dst_stride, int alpha_q3);
|
||||||
|
|
||||||
|
typedef void (*cfl_predict_hbd_fn)(const int16_t *src, uint16_t *dst,
|
||||||
|
int dst_stride, int alpha_q3, int bd);
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
|
void apply_selfguided_restoration_c(const uint8_t *dat, int width, int height, int stride, int eps, const int *xqd, uint8_t *dst, int dst_stride, int32_t *tmpbuf, int bit_depth, int highbd);
|
||||||
|
#define apply_selfguided_restoration apply_selfguided_restoration_c
|
||||||
|
|
||||||
|
void av1_build_compound_diffwtd_mask_c(uint8_t *mask, DIFFWTD_MASK_TYPE mask_type, const uint8_t *src0, int src0_stride, const uint8_t *src1, int src1_stride, int h, int w);
|
||||||
|
#define av1_build_compound_diffwtd_mask av1_build_compound_diffwtd_mask_c
|
||||||
|
|
||||||
|
void av1_build_compound_diffwtd_mask_d16_c(uint8_t *mask, DIFFWTD_MASK_TYPE mask_type, const CONV_BUF_TYPE *src0, int src0_stride, const CONV_BUF_TYPE *src1, int src1_stride, int h, int w, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_build_compound_diffwtd_mask_d16_neon(uint8_t *mask, DIFFWTD_MASK_TYPE mask_type, const CONV_BUF_TYPE *src0, int src0_stride, const CONV_BUF_TYPE *src1, int src1_stride, int h, int w, ConvolveParams *conv_params, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_build_compound_diffwtd_mask_d16)(uint8_t *mask, DIFFWTD_MASK_TYPE mask_type, const CONV_BUF_TYPE *src0, int src0_stride, const CONV_BUF_TYPE *src1, int src1_stride, int h, int w, ConvolveParams *conv_params, int bd);
|
||||||
|
|
||||||
|
void av1_build_compound_diffwtd_mask_highbd_c(uint8_t *mask, DIFFWTD_MASK_TYPE mask_type, const uint8_t *src0, int src0_stride, const uint8_t *src1, int src1_stride, int h, int w, int bd);
|
||||||
|
#define av1_build_compound_diffwtd_mask_highbd av1_build_compound_diffwtd_mask_highbd_c
|
||||||
|
|
||||||
|
void av1_convolve_2d_copy_sr_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_convolve_2d_copy_sr_neon(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
RTCD_EXTERN void (*av1_convolve_2d_copy_sr)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
|
||||||
|
void av1_convolve_2d_scale_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_qn, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params);
|
||||||
|
#define av1_convolve_2d_scale av1_convolve_2d_scale_c
|
||||||
|
|
||||||
|
void av1_convolve_2d_sr_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_convolve_2d_sr_neon(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
RTCD_EXTERN void (*av1_convolve_2d_sr)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
|
||||||
|
void av1_convolve_horiz_rs_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const int16_t *x_filters, int x0_qn, int x_step_qn);
|
||||||
|
#define av1_convolve_horiz_rs av1_convolve_horiz_rs_c
|
||||||
|
|
||||||
|
void av1_convolve_x_sr_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_convolve_x_sr_neon(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
RTCD_EXTERN void (*av1_convolve_x_sr)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
|
||||||
|
void av1_convolve_y_sr_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_convolve_y_sr_neon(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
RTCD_EXTERN void (*av1_convolve_y_sr)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
|
||||||
|
void av1_dr_prediction_z1_c(uint8_t *dst, ptrdiff_t stride, int bw, int bh, const uint8_t *above, const uint8_t *left, int upsample_above, int dx, int dy);
|
||||||
|
#define av1_dr_prediction_z1 av1_dr_prediction_z1_c
|
||||||
|
|
||||||
|
void av1_dr_prediction_z2_c(uint8_t *dst, ptrdiff_t stride, int bw, int bh, const uint8_t *above, const uint8_t *left, int upsample_above, int upsample_left, int dx, int dy);
|
||||||
|
#define av1_dr_prediction_z2 av1_dr_prediction_z2_c
|
||||||
|
|
||||||
|
void av1_dr_prediction_z3_c(uint8_t *dst, ptrdiff_t stride, int bw, int bh, const uint8_t *above, const uint8_t *left, int upsample_left, int dx, int dy);
|
||||||
|
#define av1_dr_prediction_z3 av1_dr_prediction_z3_c
|
||||||
|
|
||||||
|
void av1_filter_intra_edge_c(uint8_t *p, int sz, int strength);
|
||||||
|
#define av1_filter_intra_edge av1_filter_intra_edge_c
|
||||||
|
|
||||||
|
void av1_filter_intra_edge_high_c(uint16_t *p, int sz, int strength);
|
||||||
|
#define av1_filter_intra_edge_high av1_filter_intra_edge_high_c
|
||||||
|
|
||||||
|
void av1_filter_intra_predictor_c(uint8_t *dst, ptrdiff_t stride, TX_SIZE tx_size, const uint8_t *above, const uint8_t *left, int mode);
|
||||||
|
#define av1_filter_intra_predictor av1_filter_intra_predictor_c
|
||||||
|
|
||||||
|
void av1_highbd_convolve8_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
||||||
|
#define av1_highbd_convolve8 av1_highbd_convolve8_c
|
||||||
|
|
||||||
|
void av1_highbd_convolve8_horiz_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
||||||
|
#define av1_highbd_convolve8_horiz av1_highbd_convolve8_horiz_c
|
||||||
|
|
||||||
|
void av1_highbd_convolve8_vert_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
||||||
|
#define av1_highbd_convolve8_vert av1_highbd_convolve8_vert_c
|
||||||
|
|
||||||
|
void av1_highbd_convolve_2d_copy_sr_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
#define av1_highbd_convolve_2d_copy_sr av1_highbd_convolve_2d_copy_sr_c
|
||||||
|
|
||||||
|
void av1_highbd_convolve_2d_scale_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params, int bd);
|
||||||
|
#define av1_highbd_convolve_2d_scale av1_highbd_convolve_2d_scale_c
|
||||||
|
|
||||||
|
void av1_highbd_convolve_2d_sr_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
#define av1_highbd_convolve_2d_sr av1_highbd_convolve_2d_sr_c
|
||||||
|
|
||||||
|
void av1_highbd_convolve_avg_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
||||||
|
#define av1_highbd_convolve_avg av1_highbd_convolve_avg_c
|
||||||
|
|
||||||
|
void av1_highbd_convolve_copy_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
||||||
|
#define av1_highbd_convolve_copy av1_highbd_convolve_copy_c
|
||||||
|
|
||||||
|
void av1_highbd_convolve_horiz_rs_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, const int16_t *x_filters, int x0_qn, int x_step_qn, int bd);
|
||||||
|
#define av1_highbd_convolve_horiz_rs av1_highbd_convolve_horiz_rs_c
|
||||||
|
|
||||||
|
void av1_highbd_convolve_x_sr_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
#define av1_highbd_convolve_x_sr av1_highbd_convolve_x_sr_c
|
||||||
|
|
||||||
|
void av1_highbd_convolve_y_sr_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
#define av1_highbd_convolve_y_sr av1_highbd_convolve_y_sr_c
|
||||||
|
|
||||||
|
void av1_highbd_dr_prediction_z1_c(uint16_t *dst, ptrdiff_t stride, int bw, int bh, const uint16_t *above, const uint16_t *left, int upsample_above, int dx, int dy, int bd);
|
||||||
|
#define av1_highbd_dr_prediction_z1 av1_highbd_dr_prediction_z1_c
|
||||||
|
|
||||||
|
void av1_highbd_dr_prediction_z2_c(uint16_t *dst, ptrdiff_t stride, int bw, int bh, const uint16_t *above, const uint16_t *left, int upsample_above, int upsample_left, int dx, int dy, int bd);
|
||||||
|
#define av1_highbd_dr_prediction_z2 av1_highbd_dr_prediction_z2_c
|
||||||
|
|
||||||
|
void av1_highbd_dr_prediction_z3_c(uint16_t *dst, ptrdiff_t stride, int bw, int bh, const uint16_t *above, const uint16_t *left, int upsample_left, int dx, int dy, int bd);
|
||||||
|
#define av1_highbd_dr_prediction_z3 av1_highbd_dr_prediction_z3_c
|
||||||
|
|
||||||
|
void av1_highbd_iwht4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, int bd);
|
||||||
|
#define av1_highbd_iwht4x4_16_add av1_highbd_iwht4x4_16_add_c
|
||||||
|
|
||||||
|
void av1_highbd_iwht4x4_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, int bd);
|
||||||
|
#define av1_highbd_iwht4x4_1_add av1_highbd_iwht4x4_1_add_c
|
||||||
|
|
||||||
|
void av1_highbd_jnt_convolve_2d_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
#define av1_highbd_jnt_convolve_2d av1_highbd_jnt_convolve_2d_c
|
||||||
|
|
||||||
|
void av1_highbd_jnt_convolve_2d_copy_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
#define av1_highbd_jnt_convolve_2d_copy av1_highbd_jnt_convolve_2d_copy_c
|
||||||
|
|
||||||
|
void av1_highbd_jnt_convolve_x_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
#define av1_highbd_jnt_convolve_x av1_highbd_jnt_convolve_x_c
|
||||||
|
|
||||||
|
void av1_highbd_jnt_convolve_y_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
#define av1_highbd_jnt_convolve_y av1_highbd_jnt_convolve_y_c
|
||||||
|
|
||||||
|
void av1_highbd_warp_affine_c(const int32_t *mat, const uint16_t *ref, int width, int height, int stride, uint16_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, int bd, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
||||||
|
#define av1_highbd_warp_affine av1_highbd_warp_affine_c
|
||||||
|
|
||||||
|
void av1_highbd_wiener_convolve_add_src_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, const ConvolveParams *conv_params, int bps);
|
||||||
|
#define av1_highbd_wiener_convolve_add_src av1_highbd_wiener_convolve_add_src_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_16x16_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_16x16 av1_inv_txfm2d_add_16x16_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_16x32_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_16x32 av1_inv_txfm2d_add_16x32_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_16x4_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_16x4 av1_inv_txfm2d_add_16x4_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_16x64_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_16x64 av1_inv_txfm2d_add_16x64_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_16x8_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_16x8 av1_inv_txfm2d_add_16x8_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_32x16_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_32x16 av1_inv_txfm2d_add_32x16_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_32x32_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_32x32 av1_inv_txfm2d_add_32x32_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_32x64_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_32x64 av1_inv_txfm2d_add_32x64_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_32x8_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_32x8 av1_inv_txfm2d_add_32x8_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_4x16_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_4x16 av1_inv_txfm2d_add_4x16_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_4x4_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_4x4 av1_inv_txfm2d_add_4x4_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_4x8_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_4x8 av1_inv_txfm2d_add_4x8_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_64x16_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_64x16 av1_inv_txfm2d_add_64x16_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_64x32_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_64x32 av1_inv_txfm2d_add_64x32_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_64x64_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_64x64 av1_inv_txfm2d_add_64x64_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_8x16_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_8x16 av1_inv_txfm2d_add_8x16_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_8x32_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_8x32 av1_inv_txfm2d_add_8x32_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_8x4_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_8x4 av1_inv_txfm2d_add_8x4_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_8x8_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_8x8 av1_inv_txfm2d_add_8x8_c
|
||||||
|
|
||||||
|
void av1_inv_txfm_add_c(const tran_low_t *dqcoeff, uint8_t *dst, int stride, const TxfmParam *txfm_param);
|
||||||
|
#define av1_inv_txfm_add av1_inv_txfm_add_c
|
||||||
|
|
||||||
|
void av1_jnt_convolve_2d_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_jnt_convolve_2d_neon(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
RTCD_EXTERN void (*av1_jnt_convolve_2d)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
|
||||||
|
void av1_jnt_convolve_2d_copy_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_jnt_convolve_2d_copy_neon(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
RTCD_EXTERN void (*av1_jnt_convolve_2d_copy)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
|
||||||
|
void av1_jnt_convolve_x_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_jnt_convolve_x_neon(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
RTCD_EXTERN void (*av1_jnt_convolve_x)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
|
||||||
|
void av1_jnt_convolve_y_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_jnt_convolve_y_neon(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
RTCD_EXTERN void (*av1_jnt_convolve_y)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
|
||||||
|
void av1_selfguided_restoration_c(const uint8_t *dgd8, int width, int height,
|
||||||
|
int dgd_stride, int32_t *flt0, int32_t *flt1, int flt_stride,
|
||||||
|
int sgr_params_idx, int bit_depth, int highbd);
|
||||||
|
#define av1_selfguided_restoration av1_selfguided_restoration_c
|
||||||
|
|
||||||
|
void av1_upsample_intra_edge_c(uint8_t *p, int sz);
|
||||||
|
#define av1_upsample_intra_edge av1_upsample_intra_edge_c
|
||||||
|
|
||||||
|
void av1_upsample_intra_edge_high_c(uint16_t *p, int sz, int bd);
|
||||||
|
#define av1_upsample_intra_edge_high av1_upsample_intra_edge_high_c
|
||||||
|
|
||||||
|
void av1_warp_affine_c(const int32_t *mat, const uint8_t *ref, int width, int height, int stride, uint8_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
||||||
|
#define av1_warp_affine av1_warp_affine_c
|
||||||
|
|
||||||
|
void av1_wiener_convolve_add_src_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, const ConvolveParams *conv_params);
|
||||||
|
void av1_wiener_convolve_add_src_neon(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, const ConvolveParams *conv_params);
|
||||||
|
RTCD_EXTERN void (*av1_wiener_convolve_add_src)(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, const ConvolveParams *conv_params);
|
||||||
|
|
||||||
|
void cdef_filter_block_c(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max, int coeff_shift);
|
||||||
|
void cdef_filter_block_neon(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max, int coeff_shift);
|
||||||
|
RTCD_EXTERN void (*cdef_filter_block)(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max, int coeff_shift);
|
||||||
|
|
||||||
|
int cdef_find_dir_c(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
||||||
|
int cdef_find_dir_neon(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
||||||
|
RTCD_EXTERN int (*cdef_find_dir)(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
||||||
|
|
||||||
|
cfl_subsample_hbd_fn cfl_get_luma_subsampling_420_hbd_c(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_hbd_fn cfl_get_luma_subsampling_420_hbd_neon(TX_SIZE tx_size);
|
||||||
|
RTCD_EXTERN cfl_subsample_hbd_fn (*cfl_get_luma_subsampling_420_hbd)(TX_SIZE tx_size);
|
||||||
|
|
||||||
|
cfl_subsample_lbd_fn cfl_get_luma_subsampling_420_lbd_c(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_lbd_fn cfl_get_luma_subsampling_420_lbd_neon(TX_SIZE tx_size);
|
||||||
|
RTCD_EXTERN cfl_subsample_lbd_fn (*cfl_get_luma_subsampling_420_lbd)(TX_SIZE tx_size);
|
||||||
|
|
||||||
|
cfl_subsample_hbd_fn cfl_get_luma_subsampling_422_hbd_c(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_hbd_fn cfl_get_luma_subsampling_422_hbd_neon(TX_SIZE tx_size);
|
||||||
|
RTCD_EXTERN cfl_subsample_hbd_fn (*cfl_get_luma_subsampling_422_hbd)(TX_SIZE tx_size);
|
||||||
|
|
||||||
|
cfl_subsample_lbd_fn cfl_get_luma_subsampling_422_lbd_c(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_lbd_fn cfl_get_luma_subsampling_422_lbd_neon(TX_SIZE tx_size);
|
||||||
|
RTCD_EXTERN cfl_subsample_lbd_fn (*cfl_get_luma_subsampling_422_lbd)(TX_SIZE tx_size);
|
||||||
|
|
||||||
|
cfl_subsample_hbd_fn cfl_get_luma_subsampling_444_hbd_c(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_hbd_fn cfl_get_luma_subsampling_444_hbd_neon(TX_SIZE tx_size);
|
||||||
|
RTCD_EXTERN cfl_subsample_hbd_fn (*cfl_get_luma_subsampling_444_hbd)(TX_SIZE tx_size);
|
||||||
|
|
||||||
|
cfl_subsample_lbd_fn cfl_get_luma_subsampling_444_lbd_c(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_lbd_fn cfl_get_luma_subsampling_444_lbd_neon(TX_SIZE tx_size);
|
||||||
|
RTCD_EXTERN cfl_subsample_lbd_fn (*cfl_get_luma_subsampling_444_lbd)(TX_SIZE tx_size);
|
||||||
|
|
||||||
|
void copy_rect8_16bit_to_16bit_c(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
||||||
|
void copy_rect8_16bit_to_16bit_neon(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
||||||
|
RTCD_EXTERN void (*copy_rect8_16bit_to_16bit)(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
||||||
|
|
||||||
|
void copy_rect8_8bit_to_16bit_c(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
||||||
|
void copy_rect8_8bit_to_16bit_neon(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
||||||
|
RTCD_EXTERN void (*copy_rect8_8bit_to_16bit)(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
||||||
|
|
||||||
|
cfl_predict_hbd_fn get_predict_hbd_fn_c(TX_SIZE tx_size);
|
||||||
|
cfl_predict_hbd_fn get_predict_hbd_fn_neon(TX_SIZE tx_size);
|
||||||
|
RTCD_EXTERN cfl_predict_hbd_fn (*get_predict_hbd_fn)(TX_SIZE tx_size);
|
||||||
|
|
||||||
|
cfl_predict_lbd_fn get_predict_lbd_fn_c(TX_SIZE tx_size);
|
||||||
|
cfl_predict_lbd_fn get_predict_lbd_fn_neon(TX_SIZE tx_size);
|
||||||
|
RTCD_EXTERN cfl_predict_lbd_fn (*get_predict_lbd_fn)(TX_SIZE tx_size);
|
||||||
|
|
||||||
|
cfl_subtract_average_fn get_subtract_average_fn_c(TX_SIZE tx_size);
|
||||||
|
cfl_subtract_average_fn get_subtract_average_fn_neon(TX_SIZE tx_size);
|
||||||
|
RTCD_EXTERN cfl_subtract_average_fn (*get_subtract_average_fn)(TX_SIZE tx_size);
|
||||||
|
|
||||||
|
void aom_rtcd(void);
|
||||||
|
|
||||||
|
#include "config/aom_config.h"
|
||||||
|
|
||||||
|
#ifdef RTCD_C
|
||||||
|
#include "aom_ports/arm.h"
|
||||||
|
static void setup_rtcd_internal(void)
|
||||||
|
{
|
||||||
|
int flags = arm_cpu_caps();
|
||||||
|
|
||||||
|
(void)flags;
|
||||||
|
|
||||||
|
av1_build_compound_diffwtd_mask_d16 = av1_build_compound_diffwtd_mask_d16_c;
|
||||||
|
if (flags & HAS_NEON) av1_build_compound_diffwtd_mask_d16 = av1_build_compound_diffwtd_mask_d16_neon;
|
||||||
|
av1_convolve_2d_copy_sr = av1_convolve_2d_copy_sr_c;
|
||||||
|
if (flags & HAS_NEON) av1_convolve_2d_copy_sr = av1_convolve_2d_copy_sr_neon;
|
||||||
|
av1_convolve_2d_sr = av1_convolve_2d_sr_c;
|
||||||
|
if (flags & HAS_NEON) av1_convolve_2d_sr = av1_convolve_2d_sr_neon;
|
||||||
|
av1_convolve_x_sr = av1_convolve_x_sr_c;
|
||||||
|
if (flags & HAS_NEON) av1_convolve_x_sr = av1_convolve_x_sr_neon;
|
||||||
|
av1_convolve_y_sr = av1_convolve_y_sr_c;
|
||||||
|
if (flags & HAS_NEON) av1_convolve_y_sr = av1_convolve_y_sr_neon;
|
||||||
|
av1_jnt_convolve_2d = av1_jnt_convolve_2d_c;
|
||||||
|
if (flags & HAS_NEON) av1_jnt_convolve_2d = av1_jnt_convolve_2d_neon;
|
||||||
|
av1_jnt_convolve_2d_copy = av1_jnt_convolve_2d_copy_c;
|
||||||
|
if (flags & HAS_NEON) av1_jnt_convolve_2d_copy = av1_jnt_convolve_2d_copy_neon;
|
||||||
|
av1_jnt_convolve_x = av1_jnt_convolve_x_c;
|
||||||
|
if (flags & HAS_NEON) av1_jnt_convolve_x = av1_jnt_convolve_x_neon;
|
||||||
|
av1_jnt_convolve_y = av1_jnt_convolve_y_c;
|
||||||
|
if (flags & HAS_NEON) av1_jnt_convolve_y = av1_jnt_convolve_y_neon;
|
||||||
|
av1_wiener_convolve_add_src = av1_wiener_convolve_add_src_c;
|
||||||
|
if (flags & HAS_NEON) av1_wiener_convolve_add_src = av1_wiener_convolve_add_src_neon;
|
||||||
|
cdef_filter_block = cdef_filter_block_c;
|
||||||
|
if (flags & HAS_NEON) cdef_filter_block = cdef_filter_block_neon;
|
||||||
|
cdef_find_dir = cdef_find_dir_c;
|
||||||
|
if (flags & HAS_NEON) cdef_find_dir = cdef_find_dir_neon;
|
||||||
|
cfl_get_luma_subsampling_420_hbd = cfl_get_luma_subsampling_420_hbd_c;
|
||||||
|
if (flags & HAS_NEON) cfl_get_luma_subsampling_420_hbd = cfl_get_luma_subsampling_420_hbd_neon;
|
||||||
|
cfl_get_luma_subsampling_420_lbd = cfl_get_luma_subsampling_420_lbd_c;
|
||||||
|
if (flags & HAS_NEON) cfl_get_luma_subsampling_420_lbd = cfl_get_luma_subsampling_420_lbd_neon;
|
||||||
|
cfl_get_luma_subsampling_422_hbd = cfl_get_luma_subsampling_422_hbd_c;
|
||||||
|
if (flags & HAS_NEON) cfl_get_luma_subsampling_422_hbd = cfl_get_luma_subsampling_422_hbd_neon;
|
||||||
|
cfl_get_luma_subsampling_422_lbd = cfl_get_luma_subsampling_422_lbd_c;
|
||||||
|
if (flags & HAS_NEON) cfl_get_luma_subsampling_422_lbd = cfl_get_luma_subsampling_422_lbd_neon;
|
||||||
|
cfl_get_luma_subsampling_444_hbd = cfl_get_luma_subsampling_444_hbd_c;
|
||||||
|
if (flags & HAS_NEON) cfl_get_luma_subsampling_444_hbd = cfl_get_luma_subsampling_444_hbd_neon;
|
||||||
|
cfl_get_luma_subsampling_444_lbd = cfl_get_luma_subsampling_444_lbd_c;
|
||||||
|
if (flags & HAS_NEON) cfl_get_luma_subsampling_444_lbd = cfl_get_luma_subsampling_444_lbd_neon;
|
||||||
|
copy_rect8_16bit_to_16bit = copy_rect8_16bit_to_16bit_c;
|
||||||
|
if (flags & HAS_NEON) copy_rect8_16bit_to_16bit = copy_rect8_16bit_to_16bit_neon;
|
||||||
|
copy_rect8_8bit_to_16bit = copy_rect8_8bit_to_16bit_c;
|
||||||
|
if (flags & HAS_NEON) copy_rect8_8bit_to_16bit = copy_rect8_8bit_to_16bit_neon;
|
||||||
|
get_predict_hbd_fn = get_predict_hbd_fn_c;
|
||||||
|
if (flags & HAS_NEON) get_predict_hbd_fn = get_predict_hbd_fn_neon;
|
||||||
|
get_predict_lbd_fn = get_predict_lbd_fn_c;
|
||||||
|
if (flags & HAS_NEON) get_predict_lbd_fn = get_predict_lbd_fn_neon;
|
||||||
|
get_subtract_average_fn = get_subtract_average_fn_c;
|
||||||
|
if (flags & HAS_NEON) get_subtract_average_fn = get_subtract_average_fn_neon;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
} // extern "C"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
@ -1,176 +0,0 @@
|
||||||
ARCH_ARM equ 0
|
|
||||||
ARCH_MIPS equ 0
|
|
||||||
ARCH_X86 equ 1
|
|
||||||
ARCH_X86_64 equ 0
|
|
||||||
HAVE_NEON equ 0
|
|
||||||
HAVE_NEON_ASM equ 0
|
|
||||||
HAVE_MIPS32 equ 0
|
|
||||||
HAVE_DSPR2 equ 0
|
|
||||||
HAVE_MSA equ 0
|
|
||||||
HAVE_MIPS64 equ 0
|
|
||||||
HAVE_MMX equ 1
|
|
||||||
HAVE_SSE equ 1
|
|
||||||
HAVE_SSE2 equ 1
|
|
||||||
HAVE_SSE3 equ 1
|
|
||||||
HAVE_SSSE3 equ 1
|
|
||||||
HAVE_SSE4_1 equ 1
|
|
||||||
HAVE_AVX equ 1
|
|
||||||
HAVE_AVX2 equ 1
|
|
||||||
HAVE_AOM_PORTS equ 1
|
|
||||||
HAVE_FEXCEPT equ 1
|
|
||||||
HAVE_PTHREAD_H equ 1
|
|
||||||
HAVE_WXWIDGETS equ 0
|
|
||||||
CONFIG_DEPENDENCY_TRACKING equ 1
|
|
||||||
CONFIG_EXTERNAL_BUILD equ 1
|
|
||||||
CONFIG_INSTALL_DOCS equ 1
|
|
||||||
CONFIG_INSTALL_BINS equ 1
|
|
||||||
CONFIG_INSTALL_LIBS equ 1
|
|
||||||
CONFIG_INSTALL_SRCS equ 0
|
|
||||||
CONFIG_DEBUG equ 0
|
|
||||||
CONFIG_GPROF equ 0
|
|
||||||
CONFIG_GCOV equ 0
|
|
||||||
CONFIG_RVCT equ 0
|
|
||||||
CONFIG_GCC equ 1
|
|
||||||
CONFIG_MSVS equ 0
|
|
||||||
CONFIG_PIC equ 1
|
|
||||||
CONFIG_BIG_ENDIAN equ 0
|
|
||||||
CONFIG_CODEC_SRCS equ 0
|
|
||||||
CONFIG_DEBUG_LIBS equ 0
|
|
||||||
CONFIG_RUNTIME_CPU_DETECT equ 1
|
|
||||||
CONFIG_POSTPROC equ 1
|
|
||||||
CONFIG_MULTITHREAD equ 1
|
|
||||||
CONFIG_INTERNAL_STATS equ 0
|
|
||||||
CONFIG_AV1_ENCODER equ 1
|
|
||||||
CONFIG_AV1_DECODER equ 1
|
|
||||||
CONFIG_AV1 equ 1
|
|
||||||
CONFIG_STATIC_MSVCRT equ 0
|
|
||||||
CONFIG_SPATIAL_RESAMPLING equ 1
|
|
||||||
CONFIG_REALTIME_ONLY equ 0
|
|
||||||
CONFIG_SHARED equ 0
|
|
||||||
CONFIG_STATIC equ 1
|
|
||||||
CONFIG_SMALL equ 0
|
|
||||||
CONFIG_POSTPROC_VISUALIZER equ 0
|
|
||||||
CONFIG_OS_SUPPORT equ 1
|
|
||||||
CONFIG_UNIT_TESTS equ 0
|
|
||||||
CONFIG_WEBM_IO equ 1
|
|
||||||
CONFIG_LIBYUV equ 1
|
|
||||||
CONFIG_ACCOUNTING equ 0
|
|
||||||
CONFIG_INSPECTION equ 0
|
|
||||||
CONFIG_DECODE_PERF_TESTS equ 0
|
|
||||||
CONFIG_ENCODE_PERF_TESTS equ 0
|
|
||||||
CONFIG_BITSTREAM_DEBUG equ 0
|
|
||||||
CONFIG_SYMBOLRATE equ 0
|
|
||||||
CONFIG_COEFFICIENT_RANGE_CHECKING equ 0
|
|
||||||
CONFIG_LOWBITDEPTH equ 1
|
|
||||||
CONFIG_HIGHBITDEPTH equ 1
|
|
||||||
CONFIG_EXPERIMENTAL equ 0
|
|
||||||
CONFIG_SIZE_LIMIT equ 1
|
|
||||||
CONFIG_FP_MB_STATS equ 0
|
|
||||||
CONFIG_CDEF equ 1
|
|
||||||
CONFIG_CDEF_SINGLEPASS equ 1
|
|
||||||
CONFIG_VAR_TX equ 1
|
|
||||||
CONFIG_RECT_TX equ 1
|
|
||||||
CONFIG_RECT_TX_EXT equ 0
|
|
||||||
CONFIG_TPL_MV equ 0
|
|
||||||
CONFIG_DUAL_FILTER equ 1
|
|
||||||
CONFIG_CONVOLVE_ROUND equ 1
|
|
||||||
CONFIG_COMPOUND_ROUND equ 0
|
|
||||||
CONFIG_EXT_TX equ 1
|
|
||||||
CONFIG_TX64X64 equ 0
|
|
||||||
CONFIG_EXT_INTRA equ 1
|
|
||||||
CONFIG_INTRA_INTERP equ 0
|
|
||||||
CONFIG_FILTER_INTRA equ 0
|
|
||||||
CONFIG_INTRA_EDGE equ 1
|
|
||||||
CONFIG_INTRABC equ 0
|
|
||||||
CONFIG_INTERINTRA equ 1
|
|
||||||
CONFIG_WEDGE equ 1
|
|
||||||
CONFIG_COMPOUND_SEGMENT equ 1
|
|
||||||
CONFIG_EXT_REFS equ 1
|
|
||||||
CONFIG_GLOBAL_MOTION equ 1
|
|
||||||
CONFIG_NEW_QUANT equ 0
|
|
||||||
CONFIG_SUPERTX equ 0
|
|
||||||
CONFIG_ANS equ 0
|
|
||||||
CONFIG_LOOP_RESTORATION equ 1
|
|
||||||
CONFIG_STRIPED_LOOP_RESTORATION equ 0
|
|
||||||
CONFIG_EXT_PARTITION equ 0
|
|
||||||
CONFIG_EXT_PARTITION_TYPES equ 0
|
|
||||||
CONFIG_EXT_PARTITION_TYPES_AB equ 0
|
|
||||||
CONFIG_UNPOISON_PARTITION_CTX equ 0
|
|
||||||
CONFIG_EXT_TILE equ 0
|
|
||||||
CONFIG_MOTION_VAR equ 1
|
|
||||||
CONFIG_NCOBMC equ 0
|
|
||||||
CONFIG_WARPED_MOTION equ 1
|
|
||||||
CONFIG_Q_ADAPT_PROBS equ 0
|
|
||||||
CONFIG_INTER_STATS_ONLY equ 0
|
|
||||||
CONFIG_PALETTE_DELTA_ENCODING equ 0
|
|
||||||
CONFIG_RAWBITS equ 0
|
|
||||||
CONFIG_KF_CTX equ 0
|
|
||||||
CONFIG_PVQ equ 0
|
|
||||||
CONFIG_CFL equ 0
|
|
||||||
CONFIG_XIPHRC equ 0
|
|
||||||
CONFIG_DCT_ONLY equ 0
|
|
||||||
CONFIG_DAALA_TX equ 0
|
|
||||||
CONFIG_DAALA_DCT4 equ 0
|
|
||||||
CONFIG_DAALA_DCT8 equ 0
|
|
||||||
CONFIG_DAALA_DCT16 equ 0
|
|
||||||
CONFIG_DAALA_DCT32 equ 0
|
|
||||||
CONFIG_DAALA_DCT64 equ 0
|
|
||||||
CONFIG_CB4X4 equ 1
|
|
||||||
CONFIG_CHROMA_2X2 equ 0
|
|
||||||
CONFIG_CHROMA_SUB8X8 equ 1
|
|
||||||
CONFIG_FRAME_SIZE equ 0
|
|
||||||
CONFIG_EXT_DELTA_Q equ 1
|
|
||||||
CONFIG_ADAPT_SCAN equ 0
|
|
||||||
CONFIG_PARALLEL_DEBLOCKING equ 1
|
|
||||||
CONFIG_DEBLOCK_13TAP equ 0
|
|
||||||
CONFIG_LOOPFILTERING_ACROSS_TILES equ 1
|
|
||||||
CONFIG_TEMPMV_SIGNALING equ 1
|
|
||||||
CONFIG_RD_DEBUG equ 0
|
|
||||||
CONFIG_REFERENCE_BUFFER equ 1
|
|
||||||
CONFIG_COEF_INTERLEAVE equ 0
|
|
||||||
CONFIG_ENTROPY_STATS equ 0
|
|
||||||
CONFIG_MASKED_TX equ 0
|
|
||||||
CONFIG_DEPENDENT_HORZTILES equ 0
|
|
||||||
CONFIG_DIST_8X8 equ 1
|
|
||||||
CONFIG_PALETTE_THROUGHPUT equ 1
|
|
||||||
CONFIG_REF_ADAPT equ 0
|
|
||||||
CONFIG_LV_MAP equ 0
|
|
||||||
CONFIG_CTX1D equ 0
|
|
||||||
CONFIG_TXK_SEL equ 0
|
|
||||||
CONFIG_MV_COMPRESS equ 1
|
|
||||||
CONFIG_SEGMENT_ZEROMV equ 0
|
|
||||||
CONFIG_FRAME_SUPERRES equ 0
|
|
||||||
CONFIG_NEW_MULTISYMBOL equ 0
|
|
||||||
CONFIG_COMPOUND_SINGLEREF equ 0
|
|
||||||
CONFIG_AOM_QM equ 1
|
|
||||||
CONFIG_ONE_SIDED_COMPOUND equ 1
|
|
||||||
CONFIG_EXT_COMP_REFS equ 1
|
|
||||||
CONFIG_SMOOTH_HV equ 1
|
|
||||||
CONFIG_VAR_REFS equ 0
|
|
||||||
CONFIG_LGT equ 0
|
|
||||||
CONFIG_LGT_FROM_PRED equ 0
|
|
||||||
CONFIG_SBL_SYMBOL equ 0
|
|
||||||
CONFIG_NCOBMC_ADAPT_WEIGHT equ 0
|
|
||||||
CONFIG_BGSPRITE equ 0
|
|
||||||
CONFIG_VAR_TX_NO_TX_MODE equ 0
|
|
||||||
CONFIG_MRC_TX equ 0
|
|
||||||
CONFIG_LPF_DIRECT equ 0
|
|
||||||
CONFIG_LOOPFILTER_LEVEL equ 0
|
|
||||||
CONFIG_NO_FRAME_CONTEXT_SIGNALING equ 0
|
|
||||||
CONFIG_TXMG equ 1
|
|
||||||
CONFIG_MAX_TILE equ 0
|
|
||||||
CONFIG_HASH_ME equ 0
|
|
||||||
CONFIG_COLORSPACE_HEADERS equ 0
|
|
||||||
CONFIG_MFMV equ 0
|
|
||||||
CONFIG_FRAME_MARKER equ 0
|
|
||||||
CONFIG_JNT_COMP equ 0
|
|
||||||
CONFIG_FRAME_SIGN_BIAS equ 0
|
|
||||||
CONFIG_EXT_SKIP equ 0
|
|
||||||
CONFIG_OBU equ 0
|
|
||||||
CONFIG_AMVR equ 0
|
|
||||||
CONFIG_LPF_SB equ 0
|
|
||||||
CONFIG_OPT_REF_MV equ 0
|
|
||||||
CONFIG_TMV equ 0
|
|
||||||
CONFIG_RESTRICT_COMPRESSED_HDR equ 0
|
|
||||||
CONFIG_HORZONLY_FRAME_SUPERRES equ 0
|
|
||||||
CONFIG_ANALYZER equ 0
|
|
||||||
|
|
@ -1,11 +0,0 @@
|
||||||
/* Copyright (c) 2016, Alliance for Open Media. All rights reserved. */
|
|
||||||
/* */
|
|
||||||
/* This source code is subject to the terms of the BSD 2 Clause License and */
|
|
||||||
/* the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License */
|
|
||||||
/* was not distributed with this source code in the LICENSE file, you can */
|
|
||||||
/* obtain it at www.aomedia.org/license/software. If the Alliance for Open */
|
|
||||||
/* Media Patent License 1.0 was not distributed with this source code in the */
|
|
||||||
/* PATENTS file, you can obtain it at www.aomedia.org/license/patent. */
|
|
||||||
#include "aom/aom_codec.h"
|
|
||||||
static const char* const cfg = "--target=x86-linux-gcc --enable-external-build --disable-examples --disable-docs --disable-unit-tests --size-limit=8192x4608 --enable-pic --enable-postproc --as=yasm";
|
|
||||||
const char *aom_codec_build_config(void) {return cfg;}
|
|
||||||
|
|
@ -1,192 +0,0 @@
|
||||||
/* Copyright (c) 2016, Alliance for Open Media. All rights reserved. */
|
|
||||||
/* */
|
|
||||||
/* This source code is subject to the terms of the BSD 2 Clause License and */
|
|
||||||
/* the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License */
|
|
||||||
/* was not distributed with this source code in the LICENSE file, you can */
|
|
||||||
/* obtain it at www.aomedia.org/license/software. If the Alliance for Open */
|
|
||||||
/* Media Patent License 1.0 was not distributed with this source code in the */
|
|
||||||
/* PATENTS file, you can obtain it at www.aomedia.org/license/patent. */
|
|
||||||
/* This file automatically generated by configure. Do not edit! */
|
|
||||||
#ifndef AOM_CONFIG_H
|
|
||||||
#define AOM_CONFIG_H
|
|
||||||
#define RESTRICT
|
|
||||||
#define INLINE inline
|
|
||||||
#define ARCH_ARM 0
|
|
||||||
#define ARCH_MIPS 0
|
|
||||||
#define ARCH_X86 1
|
|
||||||
#define ARCH_X86_64 0
|
|
||||||
#define HAVE_NEON 0
|
|
||||||
#define HAVE_NEON_ASM 0
|
|
||||||
#define HAVE_MIPS32 0
|
|
||||||
#define HAVE_DSPR2 0
|
|
||||||
#define HAVE_MSA 0
|
|
||||||
#define HAVE_MIPS64 0
|
|
||||||
#define HAVE_MMX 1
|
|
||||||
#define HAVE_SSE 1
|
|
||||||
#define HAVE_SSE2 1
|
|
||||||
#define HAVE_SSE3 1
|
|
||||||
#define HAVE_SSSE3 1
|
|
||||||
#define HAVE_SSE4_1 1
|
|
||||||
#define HAVE_AVX 1
|
|
||||||
#define HAVE_AVX2 1
|
|
||||||
#define HAVE_AOM_PORTS 1
|
|
||||||
#define HAVE_FEXCEPT 1
|
|
||||||
#define HAVE_PTHREAD_H 1
|
|
||||||
#define HAVE_WXWIDGETS 0
|
|
||||||
#define CONFIG_DEPENDENCY_TRACKING 1
|
|
||||||
#define CONFIG_EXTERNAL_BUILD 1
|
|
||||||
#define CONFIG_INSTALL_DOCS 1
|
|
||||||
#define CONFIG_INSTALL_BINS 1
|
|
||||||
#define CONFIG_INSTALL_LIBS 1
|
|
||||||
#define CONFIG_INSTALL_SRCS 0
|
|
||||||
#define CONFIG_DEBUG 0
|
|
||||||
#define CONFIG_GPROF 0
|
|
||||||
#define CONFIG_GCOV 0
|
|
||||||
#define CONFIG_RVCT 0
|
|
||||||
#define CONFIG_GCC 1
|
|
||||||
#define CONFIG_MSVS 0
|
|
||||||
#define CONFIG_PIC 1
|
|
||||||
#define CONFIG_BIG_ENDIAN 0
|
|
||||||
#define CONFIG_CODEC_SRCS 0
|
|
||||||
#define CONFIG_DEBUG_LIBS 0
|
|
||||||
#define CONFIG_RUNTIME_CPU_DETECT 1
|
|
||||||
#define CONFIG_POSTPROC 1
|
|
||||||
#define CONFIG_MULTITHREAD 1
|
|
||||||
#define CONFIG_INTERNAL_STATS 0
|
|
||||||
#define CONFIG_AV1_ENCODER 1
|
|
||||||
#define CONFIG_AV1_DECODER 1
|
|
||||||
#define CONFIG_AV1 1
|
|
||||||
#define CONFIG_STATIC_MSVCRT 0
|
|
||||||
#define CONFIG_SPATIAL_RESAMPLING 1
|
|
||||||
#define CONFIG_REALTIME_ONLY 0
|
|
||||||
#define CONFIG_SHARED 0
|
|
||||||
#define CONFIG_STATIC 1
|
|
||||||
#define CONFIG_SMALL 0
|
|
||||||
#define CONFIG_POSTPROC_VISUALIZER 0
|
|
||||||
#define CONFIG_OS_SUPPORT 1
|
|
||||||
#define CONFIG_UNIT_TESTS 0
|
|
||||||
#define CONFIG_WEBM_IO 1
|
|
||||||
#define CONFIG_LIBYUV 1
|
|
||||||
#define CONFIG_ACCOUNTING 0
|
|
||||||
#define CONFIG_INSPECTION 0
|
|
||||||
#define CONFIG_DECODE_PERF_TESTS 0
|
|
||||||
#define CONFIG_ENCODE_PERF_TESTS 0
|
|
||||||
#define CONFIG_BITSTREAM_DEBUG 0
|
|
||||||
#define CONFIG_SYMBOLRATE 0
|
|
||||||
#define CONFIG_COEFFICIENT_RANGE_CHECKING 0
|
|
||||||
#define CONFIG_LOWBITDEPTH 1
|
|
||||||
#define CONFIG_HIGHBITDEPTH 1
|
|
||||||
#define CONFIG_EXPERIMENTAL 0
|
|
||||||
#define CONFIG_SIZE_LIMIT 1
|
|
||||||
#define CONFIG_FP_MB_STATS 0
|
|
||||||
#define CONFIG_CDEF 1
|
|
||||||
#define CONFIG_CDEF_SINGLEPASS 1
|
|
||||||
#define CONFIG_VAR_TX 1
|
|
||||||
#define CONFIG_RECT_TX 1
|
|
||||||
#define CONFIG_RECT_TX_EXT 0
|
|
||||||
#define CONFIG_TPL_MV 0
|
|
||||||
#define CONFIG_DUAL_FILTER 1
|
|
||||||
#define CONFIG_CONVOLVE_ROUND 1
|
|
||||||
#define CONFIG_COMPOUND_ROUND 0
|
|
||||||
#define CONFIG_EXT_TX 1
|
|
||||||
#define CONFIG_TX64X64 0
|
|
||||||
#define CONFIG_EXT_INTRA 1
|
|
||||||
#define CONFIG_INTRA_INTERP 0
|
|
||||||
#define CONFIG_FILTER_INTRA 0
|
|
||||||
#define CONFIG_INTRA_EDGE 1
|
|
||||||
#define CONFIG_INTRABC 0
|
|
||||||
#define CONFIG_INTERINTRA 1
|
|
||||||
#define CONFIG_WEDGE 1
|
|
||||||
#define CONFIG_COMPOUND_SEGMENT 1
|
|
||||||
#define CONFIG_EXT_REFS 1
|
|
||||||
#define CONFIG_GLOBAL_MOTION 1
|
|
||||||
#define CONFIG_NEW_QUANT 0
|
|
||||||
#define CONFIG_SUPERTX 0
|
|
||||||
#define CONFIG_ANS 0
|
|
||||||
#define CONFIG_LOOP_RESTORATION 1
|
|
||||||
#define CONFIG_STRIPED_LOOP_RESTORATION 0
|
|
||||||
#define CONFIG_EXT_PARTITION 0
|
|
||||||
#define CONFIG_EXT_PARTITION_TYPES 0
|
|
||||||
#define CONFIG_EXT_PARTITION_TYPES_AB 0
|
|
||||||
#define CONFIG_UNPOISON_PARTITION_CTX 0
|
|
||||||
#define CONFIG_EXT_TILE 0
|
|
||||||
#define CONFIG_MOTION_VAR 1
|
|
||||||
#define CONFIG_NCOBMC 0
|
|
||||||
#define CONFIG_WARPED_MOTION 1
|
|
||||||
#define CONFIG_Q_ADAPT_PROBS 0
|
|
||||||
#define CONFIG_INTER_STATS_ONLY 0
|
|
||||||
#define CONFIG_PALETTE_DELTA_ENCODING 0
|
|
||||||
#define CONFIG_RAWBITS 0
|
|
||||||
#define CONFIG_KF_CTX 0
|
|
||||||
#define CONFIG_PVQ 0
|
|
||||||
#define CONFIG_CFL 0
|
|
||||||
#define CONFIG_XIPHRC 0
|
|
||||||
#define CONFIG_DCT_ONLY 0
|
|
||||||
#define CONFIG_DAALA_TX 0
|
|
||||||
#define CONFIG_DAALA_DCT4 0
|
|
||||||
#define CONFIG_DAALA_DCT8 0
|
|
||||||
#define CONFIG_DAALA_DCT16 0
|
|
||||||
#define CONFIG_DAALA_DCT32 0
|
|
||||||
#define CONFIG_DAALA_DCT64 0
|
|
||||||
#define CONFIG_CB4X4 1
|
|
||||||
#define CONFIG_CHROMA_2X2 0
|
|
||||||
#define CONFIG_CHROMA_SUB8X8 1
|
|
||||||
#define CONFIG_FRAME_SIZE 0
|
|
||||||
#define CONFIG_EXT_DELTA_Q 1
|
|
||||||
#define CONFIG_ADAPT_SCAN 0
|
|
||||||
#define CONFIG_PARALLEL_DEBLOCKING 1
|
|
||||||
#define CONFIG_DEBLOCK_13TAP 0
|
|
||||||
#define CONFIG_LOOPFILTERING_ACROSS_TILES 1
|
|
||||||
#define CONFIG_TEMPMV_SIGNALING 1
|
|
||||||
#define CONFIG_RD_DEBUG 0
|
|
||||||
#define CONFIG_REFERENCE_BUFFER 1
|
|
||||||
#define CONFIG_COEF_INTERLEAVE 0
|
|
||||||
#define CONFIG_ENTROPY_STATS 0
|
|
||||||
#define CONFIG_MASKED_TX 0
|
|
||||||
#define CONFIG_DEPENDENT_HORZTILES 0
|
|
||||||
#define CONFIG_DIST_8X8 1
|
|
||||||
#define CONFIG_PALETTE_THROUGHPUT 1
|
|
||||||
#define CONFIG_REF_ADAPT 0
|
|
||||||
#define CONFIG_LV_MAP 0
|
|
||||||
#define CONFIG_CTX1D 0
|
|
||||||
#define CONFIG_TXK_SEL 0
|
|
||||||
#define CONFIG_MV_COMPRESS 1
|
|
||||||
#define CONFIG_SEGMENT_ZEROMV 0
|
|
||||||
#define CONFIG_FRAME_SUPERRES 0
|
|
||||||
#define CONFIG_NEW_MULTISYMBOL 0
|
|
||||||
#define CONFIG_COMPOUND_SINGLEREF 0
|
|
||||||
#define CONFIG_AOM_QM 1
|
|
||||||
#define CONFIG_ONE_SIDED_COMPOUND 1
|
|
||||||
#define CONFIG_EXT_COMP_REFS 1
|
|
||||||
#define CONFIG_SMOOTH_HV 1
|
|
||||||
#define CONFIG_VAR_REFS 0
|
|
||||||
#define CONFIG_LGT 0
|
|
||||||
#define CONFIG_LGT_FROM_PRED 0
|
|
||||||
#define CONFIG_SBL_SYMBOL 0
|
|
||||||
#define CONFIG_NCOBMC_ADAPT_WEIGHT 0
|
|
||||||
#define CONFIG_BGSPRITE 0
|
|
||||||
#define CONFIG_VAR_TX_NO_TX_MODE 0
|
|
||||||
#define CONFIG_MRC_TX 0
|
|
||||||
#define CONFIG_LPF_DIRECT 0
|
|
||||||
#define CONFIG_LOOPFILTER_LEVEL 0
|
|
||||||
#define CONFIG_NO_FRAME_CONTEXT_SIGNALING 0
|
|
||||||
#define CONFIG_TXMG 1
|
|
||||||
#define CONFIG_MAX_TILE 0
|
|
||||||
#define CONFIG_HASH_ME 0
|
|
||||||
#define CONFIG_COLORSPACE_HEADERS 0
|
|
||||||
#define CONFIG_MFMV 0
|
|
||||||
#define CONFIG_FRAME_MARKER 0
|
|
||||||
#define CONFIG_JNT_COMP 0
|
|
||||||
#define CONFIG_FRAME_SIGN_BIAS 0
|
|
||||||
#define CONFIG_EXT_SKIP 0
|
|
||||||
#define CONFIG_OBU 0
|
|
||||||
#define CONFIG_AMVR 0
|
|
||||||
#define CONFIG_LPF_SB 0
|
|
||||||
#define CONFIG_OPT_REF_MV 0
|
|
||||||
#define CONFIG_TMV 0
|
|
||||||
#define CONFIG_RESTRICT_COMPRESSED_HDR 0
|
|
||||||
#define CONFIG_HORZONLY_FRAME_SUPERRES 0
|
|
||||||
#define CONFIG_ANALYZER 0
|
|
||||||
#define DECODE_WIDTH_LIMIT 8192
|
|
||||||
#define DECODE_HEIGHT_LIMIT 4608
|
|
||||||
#endif /* AOM_CONFIG_H */
|
|
||||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,637 +0,0 @@
|
||||||
#ifndef AOM_RTCD_H_
|
|
||||||
#define AOM_RTCD_H_
|
|
||||||
|
|
||||||
#ifdef RTCD_C
|
|
||||||
#define RTCD_EXTERN
|
|
||||||
#else
|
|
||||||
#define RTCD_EXTERN extern
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*
|
|
||||||
* AV1
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include "aom/aom_integer.h"
|
|
||||||
#include "aom_dsp/txfm_common.h"
|
|
||||||
#include "av1/common/common.h"
|
|
||||||
#include "av1/common/enums.h"
|
|
||||||
#include "av1/common/quant_common.h"
|
|
||||||
#include "av1/common/filter.h"
|
|
||||||
#include "av1/common/convolve.h"
|
|
||||||
#include "av1/common/av1_txfm.h"
|
|
||||||
#include "av1/common/odintrin.h"
|
|
||||||
|
|
||||||
struct macroblockd;
|
|
||||||
|
|
||||||
/* Encoder forward decls */
|
|
||||||
struct macroblock;
|
|
||||||
struct txfm_param;
|
|
||||||
struct aom_variance_vtable;
|
|
||||||
struct search_site_config;
|
|
||||||
struct mv;
|
|
||||||
union int_mv;
|
|
||||||
struct yv12_buffer_config;
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
void apply_selfguided_restoration_c(uint8_t *dat, int width, int height, int stride, int eps, int *xqd, uint8_t *dst, int dst_stride, int32_t *tmpbuf);
|
|
||||||
void apply_selfguided_restoration_sse4_1(uint8_t *dat, int width, int height, int stride, int eps, int *xqd, uint8_t *dst, int dst_stride, int32_t *tmpbuf);
|
|
||||||
RTCD_EXTERN void (*apply_selfguided_restoration)(uint8_t *dat, int width, int height, int stride, int eps, int *xqd, uint8_t *dst, int dst_stride, int32_t *tmpbuf);
|
|
||||||
|
|
||||||
void apply_selfguided_restoration_highbd_c(uint16_t *dat, int width, int height, int stride, int bit_depth, int eps, int *xqd, uint16_t *dst, int dst_stride, int32_t *tmpbuf);
|
|
||||||
void apply_selfguided_restoration_highbd_sse4_1(uint16_t *dat, int width, int height, int stride, int bit_depth, int eps, int *xqd, uint16_t *dst, int dst_stride, int32_t *tmpbuf);
|
|
||||||
RTCD_EXTERN void (*apply_selfguided_restoration_highbd)(uint16_t *dat, int width, int height, int stride, int bit_depth, int eps, int *xqd, uint16_t *dst, int dst_stride, int32_t *tmpbuf);
|
|
||||||
|
|
||||||
int64_t av1_block_error_c(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block_size, int64_t *ssz);
|
|
||||||
int64_t av1_block_error_avx2(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block_size, int64_t *ssz);
|
|
||||||
RTCD_EXTERN int64_t (*av1_block_error)(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block_size, int64_t *ssz);
|
|
||||||
|
|
||||||
void av1_convolve_2d_c(const uint8_t *src, int src_stride, CONV_BUF_TYPE *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
|
||||||
void av1_convolve_2d_sse2(const uint8_t *src, int src_stride, CONV_BUF_TYPE *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
|
||||||
RTCD_EXTERN void (*av1_convolve_2d)(const uint8_t *src, int src_stride, CONV_BUF_TYPE *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
|
||||||
|
|
||||||
void av1_convolve_2d_scale_c(const uint8_t *src, int src_stride, CONV_BUF_TYPE *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_qn, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params);
|
|
||||||
void av1_convolve_2d_scale_sse4_1(const uint8_t *src, int src_stride, CONV_BUF_TYPE *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_qn, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params);
|
|
||||||
RTCD_EXTERN void (*av1_convolve_2d_scale)(const uint8_t *src, int src_stride, CONV_BUF_TYPE *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_qn, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params);
|
|
||||||
|
|
||||||
void av1_convolve_horiz_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, ConvolveParams *conv_params);
|
|
||||||
void av1_convolve_horiz_ssse3(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, ConvolveParams *conv_params);
|
|
||||||
RTCD_EXTERN void (*av1_convolve_horiz)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, ConvolveParams *conv_params);
|
|
||||||
|
|
||||||
void av1_convolve_rounding_c(const int32_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, int bits);
|
|
||||||
void av1_convolve_rounding_avx2(const int32_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, int bits);
|
|
||||||
RTCD_EXTERN void (*av1_convolve_rounding)(const int32_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, int bits);
|
|
||||||
|
|
||||||
void av1_convolve_vert_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, ConvolveParams *conv_params);
|
|
||||||
void av1_convolve_vert_ssse3(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, ConvolveParams *conv_params);
|
|
||||||
RTCD_EXTERN void (*av1_convolve_vert)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, ConvolveParams *conv_params);
|
|
||||||
|
|
||||||
int av1_diamond_search_sad_c(struct macroblock *x, const struct search_site_config *cfg, struct mv *ref_mv, struct mv *best_mv, int search_param, int sad_per_bit, int *num00, const struct aom_variance_vtable *fn_ptr, const struct mv *center_mv);
|
|
||||||
#define av1_diamond_search_sad av1_diamond_search_sad_c
|
|
||||||
|
|
||||||
void av1_fht16x16_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
void av1_fht16x16_sse2(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
void av1_fht16x16_avx2(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
RTCD_EXTERN void (*av1_fht16x16)(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
|
|
||||||
void av1_fht16x32_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
void av1_fht16x32_sse2(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
RTCD_EXTERN void (*av1_fht16x32)(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
|
|
||||||
void av1_fht16x4_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
#define av1_fht16x4 av1_fht16x4_c
|
|
||||||
|
|
||||||
void av1_fht16x8_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
void av1_fht16x8_sse2(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
RTCD_EXTERN void (*av1_fht16x8)(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
|
|
||||||
void av1_fht32x16_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
void av1_fht32x16_sse2(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
RTCD_EXTERN void (*av1_fht32x16)(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
|
|
||||||
void av1_fht32x32_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
void av1_fht32x32_sse2(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
void av1_fht32x32_avx2(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
RTCD_EXTERN void (*av1_fht32x32)(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
|
|
||||||
void av1_fht32x8_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
#define av1_fht32x8 av1_fht32x8_c
|
|
||||||
|
|
||||||
void av1_fht4x16_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
#define av1_fht4x16 av1_fht4x16_c
|
|
||||||
|
|
||||||
void av1_fht4x4_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
void av1_fht4x4_sse2(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
RTCD_EXTERN void (*av1_fht4x4)(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
|
|
||||||
void av1_fht4x8_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
void av1_fht4x8_sse2(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
RTCD_EXTERN void (*av1_fht4x8)(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
|
|
||||||
void av1_fht8x16_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
void av1_fht8x16_sse2(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
RTCD_EXTERN void (*av1_fht8x16)(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
|
|
||||||
void av1_fht8x32_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
#define av1_fht8x32 av1_fht8x32_c
|
|
||||||
|
|
||||||
void av1_fht8x4_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
void av1_fht8x4_sse2(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
RTCD_EXTERN void (*av1_fht8x4)(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
|
|
||||||
void av1_fht8x8_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
void av1_fht8x8_sse2(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
RTCD_EXTERN void (*av1_fht8x8)(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
|
|
||||||
void av1_filter_intra_edge_c(uint8_t *p, int sz, int strength);
|
|
||||||
void av1_filter_intra_edge_sse4_1(uint8_t *p, int sz, int strength);
|
|
||||||
RTCD_EXTERN void (*av1_filter_intra_edge)(uint8_t *p, int sz, int strength);
|
|
||||||
|
|
||||||
void av1_filter_intra_edge_high_c(uint16_t *p, int sz, int strength);
|
|
||||||
void av1_filter_intra_edge_high_sse4_1(uint16_t *p, int sz, int strength);
|
|
||||||
RTCD_EXTERN void (*av1_filter_intra_edge_high)(uint16_t *p, int sz, int strength);
|
|
||||||
|
|
||||||
int av1_full_range_search_c(const struct macroblock *x, const struct search_site_config *cfg, struct mv *ref_mv, struct mv *best_mv, int search_param, int sad_per_bit, int *num00, const struct aom_variance_vtable *fn_ptr, const struct mv *center_mv);
|
|
||||||
#define av1_full_range_search av1_full_range_search_c
|
|
||||||
|
|
||||||
int av1_full_search_sad_c(const struct macroblock *x, const struct mv *ref_mv, int sad_per_bit, int distance, const struct aom_variance_vtable *fn_ptr, const struct mv *center_mv, struct mv *best_mv);
|
|
||||||
int av1_full_search_sadx3(const struct macroblock *x, const struct mv *ref_mv, int sad_per_bit, int distance, const struct aom_variance_vtable *fn_ptr, const struct mv *center_mv, struct mv *best_mv);
|
|
||||||
int av1_full_search_sadx8(const struct macroblock *x, const struct mv *ref_mv, int sad_per_bit, int distance, const struct aom_variance_vtable *fn_ptr, const struct mv *center_mv, struct mv *best_mv);
|
|
||||||
RTCD_EXTERN int (*av1_full_search_sad)(const struct macroblock *x, const struct mv *ref_mv, int sad_per_bit, int distance, const struct aom_variance_vtable *fn_ptr, const struct mv *center_mv, struct mv *best_mv);
|
|
||||||
|
|
||||||
void av1_fwd_idtx_c(const int16_t *src_diff, tran_low_t *coeff, int stride, int bsx, int bsy, TX_TYPE tx_type);
|
|
||||||
#define av1_fwd_idtx av1_fwd_idtx_c
|
|
||||||
|
|
||||||
void av1_fwd_txfm2d_16x16_c(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
void av1_fwd_txfm2d_16x16_sse4_1(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_fwd_txfm2d_16x16)(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
|
|
||||||
void av1_fwd_txfm2d_16x32_c(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_fwd_txfm2d_16x32 av1_fwd_txfm2d_16x32_c
|
|
||||||
|
|
||||||
void av1_fwd_txfm2d_16x8_c(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_fwd_txfm2d_16x8 av1_fwd_txfm2d_16x8_c
|
|
||||||
|
|
||||||
void av1_fwd_txfm2d_32x16_c(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_fwd_txfm2d_32x16 av1_fwd_txfm2d_32x16_c
|
|
||||||
|
|
||||||
void av1_fwd_txfm2d_32x32_c(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
void av1_fwd_txfm2d_32x32_sse4_1(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_fwd_txfm2d_32x32)(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
|
|
||||||
void av1_fwd_txfm2d_4x4_c(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
void av1_fwd_txfm2d_4x4_sse4_1(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_fwd_txfm2d_4x4)(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
|
|
||||||
void av1_fwd_txfm2d_4x8_c(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_fwd_txfm2d_4x8 av1_fwd_txfm2d_4x8_c
|
|
||||||
|
|
||||||
void av1_fwd_txfm2d_8x16_c(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_fwd_txfm2d_8x16 av1_fwd_txfm2d_8x16_c
|
|
||||||
|
|
||||||
void av1_fwd_txfm2d_8x4_c(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_fwd_txfm2d_8x4 av1_fwd_txfm2d_8x4_c
|
|
||||||
|
|
||||||
void av1_fwd_txfm2d_8x8_c(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
void av1_fwd_txfm2d_8x8_sse4_1(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_fwd_txfm2d_8x8)(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
|
|
||||||
void av1_fwht4x4_c(const int16_t *input, tran_low_t *output, int stride);
|
|
||||||
#define av1_fwht4x4 av1_fwht4x4_c
|
|
||||||
|
|
||||||
int64_t av1_highbd_block_error_c(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block_size, int64_t *ssz, int bd);
|
|
||||||
int64_t av1_highbd_block_error_sse2(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block_size, int64_t *ssz, int bd);
|
|
||||||
RTCD_EXTERN int64_t (*av1_highbd_block_error)(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block_size, int64_t *ssz, int bd);
|
|
||||||
|
|
||||||
void av1_highbd_convolve8_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
#define av1_highbd_convolve8 av1_highbd_convolve8_c
|
|
||||||
|
|
||||||
void av1_highbd_convolve8_avg_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
#define av1_highbd_convolve8_avg av1_highbd_convolve8_avg_c
|
|
||||||
|
|
||||||
void av1_highbd_convolve8_avg_horiz_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
#define av1_highbd_convolve8_avg_horiz av1_highbd_convolve8_avg_horiz_c
|
|
||||||
|
|
||||||
void av1_highbd_convolve8_avg_vert_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
#define av1_highbd_convolve8_avg_vert av1_highbd_convolve8_avg_vert_c
|
|
||||||
|
|
||||||
void av1_highbd_convolve8_horiz_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
#define av1_highbd_convolve8_horiz av1_highbd_convolve8_horiz_c
|
|
||||||
|
|
||||||
void av1_highbd_convolve8_vert_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
#define av1_highbd_convolve8_vert av1_highbd_convolve8_vert_c
|
|
||||||
|
|
||||||
void av1_highbd_convolve_2d_c(const uint16_t *src, int src_stride, CONV_BUF_TYPE *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
|
||||||
void av1_highbd_convolve_2d_ssse3(const uint16_t *src, int src_stride, CONV_BUF_TYPE *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_highbd_convolve_2d)(const uint16_t *src, int src_stride, CONV_BUF_TYPE *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
|
||||||
|
|
||||||
void av1_highbd_convolve_2d_scale_c(const uint16_t *src, int src_stride, CONV_BUF_TYPE *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params, int bd);
|
|
||||||
void av1_highbd_convolve_2d_scale_sse4_1(const uint16_t *src, int src_stride, CONV_BUF_TYPE *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_highbd_convolve_2d_scale)(const uint16_t *src, int src_stride, CONV_BUF_TYPE *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params, int bd);
|
|
||||||
|
|
||||||
void av1_highbd_convolve_avg_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
#define av1_highbd_convolve_avg av1_highbd_convolve_avg_c
|
|
||||||
|
|
||||||
void av1_highbd_convolve_copy_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
#define av1_highbd_convolve_copy av1_highbd_convolve_copy_c
|
|
||||||
|
|
||||||
void av1_highbd_convolve_horiz_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, int avg, int bd);
|
|
||||||
void av1_highbd_convolve_horiz_sse4_1(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, int avg, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_highbd_convolve_horiz)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, int avg, int bd);
|
|
||||||
|
|
||||||
void av1_highbd_convolve_init_c(void);
|
|
||||||
void av1_highbd_convolve_init_sse4_1(void);
|
|
||||||
RTCD_EXTERN void (*av1_highbd_convolve_init)(void);
|
|
||||||
|
|
||||||
void av1_highbd_convolve_rounding_c(const int32_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, int bits, int bd);
|
|
||||||
void av1_highbd_convolve_rounding_avx2(const int32_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, int bits, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_highbd_convolve_rounding)(const int32_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, int bits, int bd);
|
|
||||||
|
|
||||||
void av1_highbd_convolve_vert_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, int avg, int bd);
|
|
||||||
void av1_highbd_convolve_vert_sse4_1(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, int avg, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_highbd_convolve_vert)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, int avg, int bd);
|
|
||||||
|
|
||||||
void av1_highbd_fwht4x4_c(const int16_t *input, tran_low_t *output, int stride);
|
|
||||||
#define av1_highbd_fwht4x4 av1_highbd_fwht4x4_c
|
|
||||||
|
|
||||||
void av1_highbd_iht16x16_256_add_c(const tran_low_t *input, uint8_t *output, int pitch, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht16x16_256_add av1_highbd_iht16x16_256_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht16x32_512_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht16x32_512_add av1_highbd_iht16x32_512_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht16x4_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht16x4_64_add av1_highbd_iht16x4_64_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht16x8_128_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht16x8_128_add av1_highbd_iht16x8_128_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht32x16_512_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht32x16_512_add av1_highbd_iht32x16_512_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht32x8_256_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht32x8_256_add av1_highbd_iht32x8_256_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht4x16_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht4x16_64_add av1_highbd_iht4x16_64_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht4x4_16_add av1_highbd_iht4x4_16_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht4x8_32_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht4x8_32_add av1_highbd_iht4x8_32_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht8x16_128_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht8x16_128_add av1_highbd_iht8x16_128_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht8x32_256_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht8x32_256_add av1_highbd_iht8x32_256_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht8x4_32_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht8x4_32_add av1_highbd_iht8x4_32_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht8x8_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht8x8_64_add av1_highbd_iht8x8_64_add_c
|
|
||||||
|
|
||||||
void av1_highbd_quantize_fp_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan, int log_scale);
|
|
||||||
void av1_highbd_quantize_fp_sse4_1(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan, int log_scale);
|
|
||||||
void av1_highbd_quantize_fp_avx2(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan, int log_scale);
|
|
||||||
RTCD_EXTERN void (*av1_highbd_quantize_fp)(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan, int log_scale);
|
|
||||||
|
|
||||||
void av1_highbd_temporal_filter_apply_c(uint8_t *frame1, unsigned int stride, uint8_t *frame2, unsigned int block_width, unsigned int block_height, int strength, int filter_weight, unsigned int *accumulator, uint16_t *count);
|
|
||||||
#define av1_highbd_temporal_filter_apply av1_highbd_temporal_filter_apply_c
|
|
||||||
|
|
||||||
void av1_highbd_warp_affine_c(const int32_t *mat, const uint16_t *ref, int width, int height, int stride, uint16_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, int bd, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
|
||||||
void av1_highbd_warp_affine_ssse3(const int32_t *mat, const uint16_t *ref, int width, int height, int stride, uint16_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, int bd, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
|
||||||
RTCD_EXTERN void (*av1_highbd_warp_affine)(const int32_t *mat, const uint16_t *ref, int width, int height, int stride, uint16_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, int bd, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
|
||||||
|
|
||||||
void av1_highpass_filter_c(uint8_t *dgd, int width, int height, int stride, int32_t *dst, int dst_stride, int r, int eps);
|
|
||||||
void av1_highpass_filter_sse4_1(uint8_t *dgd, int width, int height, int stride, int32_t *dst, int dst_stride, int r, int eps);
|
|
||||||
RTCD_EXTERN void (*av1_highpass_filter)(uint8_t *dgd, int width, int height, int stride, int32_t *dst, int dst_stride, int r, int eps);
|
|
||||||
|
|
||||||
void av1_highpass_filter_highbd_c(uint16_t *dgd, int width, int height, int stride, int32_t *dst, int dst_stride, int r, int eps);
|
|
||||||
void av1_highpass_filter_highbd_sse4_1(uint16_t *dgd, int width, int height, int stride, int32_t *dst, int dst_stride, int r, int eps);
|
|
||||||
RTCD_EXTERN void (*av1_highpass_filter_highbd)(uint16_t *dgd, int width, int height, int stride, int32_t *dst, int dst_stride, int r, int eps);
|
|
||||||
|
|
||||||
void av1_iht16x16_256_add_c(const tran_low_t *input, uint8_t *output, int pitch, const struct txfm_param *param);
|
|
||||||
void av1_iht16x16_256_add_sse2(const tran_low_t *input, uint8_t *output, int pitch, const struct txfm_param *param);
|
|
||||||
void av1_iht16x16_256_add_avx2(const tran_low_t *input, uint8_t *output, int pitch, const struct txfm_param *param);
|
|
||||||
RTCD_EXTERN void (*av1_iht16x16_256_add)(const tran_low_t *input, uint8_t *output, int pitch, const struct txfm_param *param);
|
|
||||||
|
|
||||||
void av1_iht16x32_512_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
void av1_iht16x32_512_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
RTCD_EXTERN void (*av1_iht16x32_512_add)(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
|
|
||||||
void av1_iht16x4_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_iht16x4_64_add av1_iht16x4_64_add_c
|
|
||||||
|
|
||||||
void av1_iht16x8_128_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
void av1_iht16x8_128_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
RTCD_EXTERN void (*av1_iht16x8_128_add)(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
|
|
||||||
void av1_iht32x16_512_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
void av1_iht32x16_512_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
RTCD_EXTERN void (*av1_iht32x16_512_add)(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
|
|
||||||
void av1_iht32x32_1024_add_c(const tran_low_t *input, uint8_t *output, int pitch, const struct txfm_param *param);
|
|
||||||
#define av1_iht32x32_1024_add av1_iht32x32_1024_add_c
|
|
||||||
|
|
||||||
void av1_iht32x8_256_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_iht32x8_256_add av1_iht32x8_256_add_c
|
|
||||||
|
|
||||||
void av1_iht4x16_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_iht4x16_64_add av1_iht4x16_64_add_c
|
|
||||||
|
|
||||||
void av1_iht4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
void av1_iht4x4_16_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
RTCD_EXTERN void (*av1_iht4x4_16_add)(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
|
|
||||||
void av1_iht4x8_32_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
void av1_iht4x8_32_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
RTCD_EXTERN void (*av1_iht4x8_32_add)(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
|
|
||||||
void av1_iht8x16_128_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
void av1_iht8x16_128_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
RTCD_EXTERN void (*av1_iht8x16_128_add)(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
|
|
||||||
void av1_iht8x32_256_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_iht8x32_256_add av1_iht8x32_256_add_c
|
|
||||||
|
|
||||||
void av1_iht8x4_32_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
void av1_iht8x4_32_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
RTCD_EXTERN void (*av1_iht8x4_32_add)(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
|
|
||||||
void av1_iht8x8_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
void av1_iht8x8_64_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
RTCD_EXTERN void (*av1_iht8x8_64_add)(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
|
|
||||||
void av1_inv_txfm2d_add_16x16_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
void av1_inv_txfm2d_add_16x16_sse4_1(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_inv_txfm2d_add_16x16)(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
|
|
||||||
void av1_inv_txfm2d_add_16x32_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_inv_txfm2d_add_16x32 av1_inv_txfm2d_add_16x32_c
|
|
||||||
|
|
||||||
void av1_inv_txfm2d_add_16x8_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_inv_txfm2d_add_16x8 av1_inv_txfm2d_add_16x8_c
|
|
||||||
|
|
||||||
void av1_inv_txfm2d_add_32x16_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_inv_txfm2d_add_32x16 av1_inv_txfm2d_add_32x16_c
|
|
||||||
|
|
||||||
void av1_inv_txfm2d_add_32x32_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
void av1_inv_txfm2d_add_32x32_avx2(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_inv_txfm2d_add_32x32)(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
|
|
||||||
void av1_inv_txfm2d_add_4x4_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
void av1_inv_txfm2d_add_4x4_sse4_1(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_inv_txfm2d_add_4x4)(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
|
|
||||||
void av1_inv_txfm2d_add_4x8_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_inv_txfm2d_add_4x8 av1_inv_txfm2d_add_4x8_c
|
|
||||||
|
|
||||||
void av1_inv_txfm2d_add_8x16_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_inv_txfm2d_add_8x16 av1_inv_txfm2d_add_8x16_c
|
|
||||||
|
|
||||||
void av1_inv_txfm2d_add_8x4_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_inv_txfm2d_add_8x4 av1_inv_txfm2d_add_8x4_c
|
|
||||||
|
|
||||||
void av1_inv_txfm2d_add_8x8_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
void av1_inv_txfm2d_add_8x8_sse4_1(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_inv_txfm2d_add_8x8)(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
|
|
||||||
void av1_lowbd_convolve_init_c(void);
|
|
||||||
void av1_lowbd_convolve_init_ssse3(void);
|
|
||||||
RTCD_EXTERN void (*av1_lowbd_convolve_init)(void);
|
|
||||||
|
|
||||||
void av1_quantize_b_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan, const qm_val_t * qm_ptr, const qm_val_t * iqm_ptr, int log_scale);
|
|
||||||
#define av1_quantize_b av1_quantize_b_c
|
|
||||||
|
|
||||||
void av1_quantize_fp_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan);
|
|
||||||
void av1_quantize_fp_sse2(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan);
|
|
||||||
void av1_quantize_fp_avx2(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan);
|
|
||||||
RTCD_EXTERN void (*av1_quantize_fp)(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan);
|
|
||||||
|
|
||||||
void av1_quantize_fp_32x32_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan);
|
|
||||||
void av1_quantize_fp_32x32_avx2(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan);
|
|
||||||
RTCD_EXTERN void (*av1_quantize_fp_32x32)(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan);
|
|
||||||
|
|
||||||
void av1_selfguided_restoration_c(uint8_t *dgd, int width, int height, int stride, int32_t *dst, int dst_stride, int r, int eps);
|
|
||||||
void av1_selfguided_restoration_sse4_1(uint8_t *dgd, int width, int height, int stride, int32_t *dst, int dst_stride, int r, int eps);
|
|
||||||
RTCD_EXTERN void (*av1_selfguided_restoration)(uint8_t *dgd, int width, int height, int stride, int32_t *dst, int dst_stride, int r, int eps);
|
|
||||||
|
|
||||||
void av1_selfguided_restoration_highbd_c(uint16_t *dgd, int width, int height, int stride, int32_t *dst, int dst_stride, int bit_depth, int r, int eps);
|
|
||||||
void av1_selfguided_restoration_highbd_sse4_1(uint16_t *dgd, int width, int height, int stride, int32_t *dst, int dst_stride, int bit_depth, int r, int eps);
|
|
||||||
RTCD_EXTERN void (*av1_selfguided_restoration_highbd)(uint16_t *dgd, int width, int height, int stride, int32_t *dst, int dst_stride, int bit_depth, int r, int eps);
|
|
||||||
|
|
||||||
void av1_temporal_filter_apply_c(uint8_t *frame1, unsigned int stride, uint8_t *frame2, unsigned int block_width, unsigned int block_height, int strength, int filter_weight, unsigned int *accumulator, uint16_t *count);
|
|
||||||
void av1_temporal_filter_apply_sse2(uint8_t *frame1, unsigned int stride, uint8_t *frame2, unsigned int block_width, unsigned int block_height, int strength, int filter_weight, unsigned int *accumulator, uint16_t *count);
|
|
||||||
RTCD_EXTERN void (*av1_temporal_filter_apply)(uint8_t *frame1, unsigned int stride, uint8_t *frame2, unsigned int block_width, unsigned int block_height, int strength, int filter_weight, unsigned int *accumulator, uint16_t *count);
|
|
||||||
|
|
||||||
void av1_upsample_intra_edge_c(uint8_t *p, int sz);
|
|
||||||
void av1_upsample_intra_edge_sse4_1(uint8_t *p, int sz);
|
|
||||||
RTCD_EXTERN void (*av1_upsample_intra_edge)(uint8_t *p, int sz);
|
|
||||||
|
|
||||||
void av1_upsample_intra_edge_high_c(uint16_t *p, int sz, int bd);
|
|
||||||
void av1_upsample_intra_edge_high_sse4_1(uint16_t *p, int sz, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_upsample_intra_edge_high)(uint16_t *p, int sz, int bd);
|
|
||||||
|
|
||||||
void av1_warp_affine_c(const int32_t *mat, const uint8_t *ref, int width, int height, int stride, uint8_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
|
||||||
void av1_warp_affine_sse2(const int32_t *mat, const uint8_t *ref, int width, int height, int stride, uint8_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
|
||||||
void av1_warp_affine_ssse3(const int32_t *mat, const uint8_t *ref, int width, int height, int stride, uint8_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
|
||||||
RTCD_EXTERN void (*av1_warp_affine)(const int32_t *mat, const uint8_t *ref, int width, int height, int stride, uint8_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
|
||||||
|
|
||||||
void av1_wedge_compute_delta_squares_c(int16_t *d, const int16_t *a, const int16_t *b, int N);
|
|
||||||
void av1_wedge_compute_delta_squares_sse2(int16_t *d, const int16_t *a, const int16_t *b, int N);
|
|
||||||
RTCD_EXTERN void (*av1_wedge_compute_delta_squares)(int16_t *d, const int16_t *a, const int16_t *b, int N);
|
|
||||||
|
|
||||||
int av1_wedge_sign_from_residuals_c(const int16_t *ds, const uint8_t *m, int N, int64_t limit);
|
|
||||||
int av1_wedge_sign_from_residuals_sse2(const int16_t *ds, const uint8_t *m, int N, int64_t limit);
|
|
||||||
RTCD_EXTERN int (*av1_wedge_sign_from_residuals)(const int16_t *ds, const uint8_t *m, int N, int64_t limit);
|
|
||||||
|
|
||||||
uint64_t av1_wedge_sse_from_residuals_c(const int16_t *r1, const int16_t *d, const uint8_t *m, int N);
|
|
||||||
uint64_t av1_wedge_sse_from_residuals_sse2(const int16_t *r1, const int16_t *d, const uint8_t *m, int N);
|
|
||||||
RTCD_EXTERN uint64_t (*av1_wedge_sse_from_residuals)(const int16_t *r1, const int16_t *d, const uint8_t *m, int N);
|
|
||||||
|
|
||||||
void cdef_filter_block_c(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max);
|
|
||||||
void cdef_filter_block_sse2(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max);
|
|
||||||
void cdef_filter_block_ssse3(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max);
|
|
||||||
void cdef_filter_block_sse4_1(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max);
|
|
||||||
void cdef_filter_block_avx2(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max);
|
|
||||||
RTCD_EXTERN void (*cdef_filter_block)(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max);
|
|
||||||
|
|
||||||
int cdef_find_dir_c(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
|
||||||
int cdef_find_dir_sse2(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
|
||||||
int cdef_find_dir_ssse3(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
|
||||||
int cdef_find_dir_sse4_1(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
|
||||||
int cdef_find_dir_avx2(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
|
||||||
RTCD_EXTERN int (*cdef_find_dir)(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
|
||||||
|
|
||||||
double compute_cross_correlation_c(unsigned char *im1, int stride1, int x1, int y1, unsigned char *im2, int stride2, int x2, int y2);
|
|
||||||
double compute_cross_correlation_sse4_1(unsigned char *im1, int stride1, int x1, int y1, unsigned char *im2, int stride2, int x2, int y2);
|
|
||||||
RTCD_EXTERN double (*compute_cross_correlation)(unsigned char *im1, int stride1, int x1, int y1, unsigned char *im2, int stride2, int x2, int y2);
|
|
||||||
|
|
||||||
void copy_rect8_16bit_to_16bit_c(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
|
||||||
void copy_rect8_16bit_to_16bit_sse2(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
|
||||||
void copy_rect8_16bit_to_16bit_ssse3(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
|
||||||
void copy_rect8_16bit_to_16bit_sse4_1(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
|
||||||
void copy_rect8_16bit_to_16bit_avx2(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
|
||||||
RTCD_EXTERN void (*copy_rect8_16bit_to_16bit)(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
|
||||||
|
|
||||||
void copy_rect8_8bit_to_16bit_c(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
|
||||||
void copy_rect8_8bit_to_16bit_sse2(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
|
||||||
void copy_rect8_8bit_to_16bit_ssse3(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
|
||||||
void copy_rect8_8bit_to_16bit_sse4_1(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
|
||||||
void copy_rect8_8bit_to_16bit_avx2(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
|
||||||
RTCD_EXTERN void (*copy_rect8_8bit_to_16bit)(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
|
||||||
|
|
||||||
void aom_rtcd(void);
|
|
||||||
|
|
||||||
#ifdef RTCD_C
|
|
||||||
#include "aom_ports/x86.h"
|
|
||||||
static void setup_rtcd_internal(void)
|
|
||||||
{
|
|
||||||
int flags = x86_simd_caps();
|
|
||||||
|
|
||||||
(void)flags;
|
|
||||||
|
|
||||||
apply_selfguided_restoration = apply_selfguided_restoration_c;
|
|
||||||
if (flags & HAS_SSE4_1) apply_selfguided_restoration = apply_selfguided_restoration_sse4_1;
|
|
||||||
apply_selfguided_restoration_highbd = apply_selfguided_restoration_highbd_c;
|
|
||||||
if (flags & HAS_SSE4_1) apply_selfguided_restoration_highbd = apply_selfguided_restoration_highbd_sse4_1;
|
|
||||||
av1_block_error = av1_block_error_c;
|
|
||||||
if (flags & HAS_AVX2) av1_block_error = av1_block_error_avx2;
|
|
||||||
av1_convolve_2d = av1_convolve_2d_c;
|
|
||||||
if (flags & HAS_SSE2) av1_convolve_2d = av1_convolve_2d_sse2;
|
|
||||||
av1_convolve_2d_scale = av1_convolve_2d_scale_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_convolve_2d_scale = av1_convolve_2d_scale_sse4_1;
|
|
||||||
av1_convolve_horiz = av1_convolve_horiz_c;
|
|
||||||
if (flags & HAS_SSSE3) av1_convolve_horiz = av1_convolve_horiz_ssse3;
|
|
||||||
av1_convolve_rounding = av1_convolve_rounding_c;
|
|
||||||
if (flags & HAS_AVX2) av1_convolve_rounding = av1_convolve_rounding_avx2;
|
|
||||||
av1_convolve_vert = av1_convolve_vert_c;
|
|
||||||
if (flags & HAS_SSSE3) av1_convolve_vert = av1_convolve_vert_ssse3;
|
|
||||||
av1_fht16x16 = av1_fht16x16_c;
|
|
||||||
if (flags & HAS_SSE2) av1_fht16x16 = av1_fht16x16_sse2;
|
|
||||||
if (flags & HAS_AVX2) av1_fht16x16 = av1_fht16x16_avx2;
|
|
||||||
av1_fht16x32 = av1_fht16x32_c;
|
|
||||||
if (flags & HAS_SSE2) av1_fht16x32 = av1_fht16x32_sse2;
|
|
||||||
av1_fht16x8 = av1_fht16x8_c;
|
|
||||||
if (flags & HAS_SSE2) av1_fht16x8 = av1_fht16x8_sse2;
|
|
||||||
av1_fht32x16 = av1_fht32x16_c;
|
|
||||||
if (flags & HAS_SSE2) av1_fht32x16 = av1_fht32x16_sse2;
|
|
||||||
av1_fht32x32 = av1_fht32x32_c;
|
|
||||||
if (flags & HAS_SSE2) av1_fht32x32 = av1_fht32x32_sse2;
|
|
||||||
if (flags & HAS_AVX2) av1_fht32x32 = av1_fht32x32_avx2;
|
|
||||||
av1_fht4x4 = av1_fht4x4_c;
|
|
||||||
if (flags & HAS_SSE2) av1_fht4x4 = av1_fht4x4_sse2;
|
|
||||||
av1_fht4x8 = av1_fht4x8_c;
|
|
||||||
if (flags & HAS_SSE2) av1_fht4x8 = av1_fht4x8_sse2;
|
|
||||||
av1_fht8x16 = av1_fht8x16_c;
|
|
||||||
if (flags & HAS_SSE2) av1_fht8x16 = av1_fht8x16_sse2;
|
|
||||||
av1_fht8x4 = av1_fht8x4_c;
|
|
||||||
if (flags & HAS_SSE2) av1_fht8x4 = av1_fht8x4_sse2;
|
|
||||||
av1_fht8x8 = av1_fht8x8_c;
|
|
||||||
if (flags & HAS_SSE2) av1_fht8x8 = av1_fht8x8_sse2;
|
|
||||||
av1_filter_intra_edge = av1_filter_intra_edge_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_filter_intra_edge = av1_filter_intra_edge_sse4_1;
|
|
||||||
av1_filter_intra_edge_high = av1_filter_intra_edge_high_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_filter_intra_edge_high = av1_filter_intra_edge_high_sse4_1;
|
|
||||||
av1_full_search_sad = av1_full_search_sad_c;
|
|
||||||
if (flags & HAS_SSE3) av1_full_search_sad = av1_full_search_sadx3;
|
|
||||||
if (flags & HAS_SSE4_1) av1_full_search_sad = av1_full_search_sadx8;
|
|
||||||
av1_fwd_txfm2d_16x16 = av1_fwd_txfm2d_16x16_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_fwd_txfm2d_16x16 = av1_fwd_txfm2d_16x16_sse4_1;
|
|
||||||
av1_fwd_txfm2d_32x32 = av1_fwd_txfm2d_32x32_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_fwd_txfm2d_32x32 = av1_fwd_txfm2d_32x32_sse4_1;
|
|
||||||
av1_fwd_txfm2d_4x4 = av1_fwd_txfm2d_4x4_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_fwd_txfm2d_4x4 = av1_fwd_txfm2d_4x4_sse4_1;
|
|
||||||
av1_fwd_txfm2d_8x8 = av1_fwd_txfm2d_8x8_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_fwd_txfm2d_8x8 = av1_fwd_txfm2d_8x8_sse4_1;
|
|
||||||
av1_highbd_block_error = av1_highbd_block_error_c;
|
|
||||||
if (flags & HAS_SSE2) av1_highbd_block_error = av1_highbd_block_error_sse2;
|
|
||||||
av1_highbd_convolve_2d = av1_highbd_convolve_2d_c;
|
|
||||||
if (flags & HAS_SSSE3) av1_highbd_convolve_2d = av1_highbd_convolve_2d_ssse3;
|
|
||||||
av1_highbd_convolve_2d_scale = av1_highbd_convolve_2d_scale_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_highbd_convolve_2d_scale = av1_highbd_convolve_2d_scale_sse4_1;
|
|
||||||
av1_highbd_convolve_horiz = av1_highbd_convolve_horiz_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_highbd_convolve_horiz = av1_highbd_convolve_horiz_sse4_1;
|
|
||||||
av1_highbd_convolve_init = av1_highbd_convolve_init_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_highbd_convolve_init = av1_highbd_convolve_init_sse4_1;
|
|
||||||
av1_highbd_convolve_rounding = av1_highbd_convolve_rounding_c;
|
|
||||||
if (flags & HAS_AVX2) av1_highbd_convolve_rounding = av1_highbd_convolve_rounding_avx2;
|
|
||||||
av1_highbd_convolve_vert = av1_highbd_convolve_vert_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_highbd_convolve_vert = av1_highbd_convolve_vert_sse4_1;
|
|
||||||
av1_highbd_quantize_fp = av1_highbd_quantize_fp_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_highbd_quantize_fp = av1_highbd_quantize_fp_sse4_1;
|
|
||||||
if (flags & HAS_AVX2) av1_highbd_quantize_fp = av1_highbd_quantize_fp_avx2;
|
|
||||||
av1_highbd_warp_affine = av1_highbd_warp_affine_c;
|
|
||||||
if (flags & HAS_SSSE3) av1_highbd_warp_affine = av1_highbd_warp_affine_ssse3;
|
|
||||||
av1_highpass_filter = av1_highpass_filter_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_highpass_filter = av1_highpass_filter_sse4_1;
|
|
||||||
av1_highpass_filter_highbd = av1_highpass_filter_highbd_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_highpass_filter_highbd = av1_highpass_filter_highbd_sse4_1;
|
|
||||||
av1_iht16x16_256_add = av1_iht16x16_256_add_c;
|
|
||||||
if (flags & HAS_SSE2) av1_iht16x16_256_add = av1_iht16x16_256_add_sse2;
|
|
||||||
if (flags & HAS_AVX2) av1_iht16x16_256_add = av1_iht16x16_256_add_avx2;
|
|
||||||
av1_iht16x32_512_add = av1_iht16x32_512_add_c;
|
|
||||||
if (flags & HAS_SSE2) av1_iht16x32_512_add = av1_iht16x32_512_add_sse2;
|
|
||||||
av1_iht16x8_128_add = av1_iht16x8_128_add_c;
|
|
||||||
if (flags & HAS_SSE2) av1_iht16x8_128_add = av1_iht16x8_128_add_sse2;
|
|
||||||
av1_iht32x16_512_add = av1_iht32x16_512_add_c;
|
|
||||||
if (flags & HAS_SSE2) av1_iht32x16_512_add = av1_iht32x16_512_add_sse2;
|
|
||||||
av1_iht4x4_16_add = av1_iht4x4_16_add_c;
|
|
||||||
if (flags & HAS_SSE2) av1_iht4x4_16_add = av1_iht4x4_16_add_sse2;
|
|
||||||
av1_iht4x8_32_add = av1_iht4x8_32_add_c;
|
|
||||||
if (flags & HAS_SSE2) av1_iht4x8_32_add = av1_iht4x8_32_add_sse2;
|
|
||||||
av1_iht8x16_128_add = av1_iht8x16_128_add_c;
|
|
||||||
if (flags & HAS_SSE2) av1_iht8x16_128_add = av1_iht8x16_128_add_sse2;
|
|
||||||
av1_iht8x4_32_add = av1_iht8x4_32_add_c;
|
|
||||||
if (flags & HAS_SSE2) av1_iht8x4_32_add = av1_iht8x4_32_add_sse2;
|
|
||||||
av1_iht8x8_64_add = av1_iht8x8_64_add_c;
|
|
||||||
if (flags & HAS_SSE2) av1_iht8x8_64_add = av1_iht8x8_64_add_sse2;
|
|
||||||
av1_inv_txfm2d_add_16x16 = av1_inv_txfm2d_add_16x16_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_inv_txfm2d_add_16x16 = av1_inv_txfm2d_add_16x16_sse4_1;
|
|
||||||
av1_inv_txfm2d_add_32x32 = av1_inv_txfm2d_add_32x32_c;
|
|
||||||
if (flags & HAS_AVX2) av1_inv_txfm2d_add_32x32 = av1_inv_txfm2d_add_32x32_avx2;
|
|
||||||
av1_inv_txfm2d_add_4x4 = av1_inv_txfm2d_add_4x4_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_inv_txfm2d_add_4x4 = av1_inv_txfm2d_add_4x4_sse4_1;
|
|
||||||
av1_inv_txfm2d_add_8x8 = av1_inv_txfm2d_add_8x8_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_inv_txfm2d_add_8x8 = av1_inv_txfm2d_add_8x8_sse4_1;
|
|
||||||
av1_lowbd_convolve_init = av1_lowbd_convolve_init_c;
|
|
||||||
if (flags & HAS_SSSE3) av1_lowbd_convolve_init = av1_lowbd_convolve_init_ssse3;
|
|
||||||
av1_quantize_fp = av1_quantize_fp_c;
|
|
||||||
if (flags & HAS_SSE2) av1_quantize_fp = av1_quantize_fp_sse2;
|
|
||||||
if (flags & HAS_AVX2) av1_quantize_fp = av1_quantize_fp_avx2;
|
|
||||||
av1_quantize_fp_32x32 = av1_quantize_fp_32x32_c;
|
|
||||||
if (flags & HAS_AVX2) av1_quantize_fp_32x32 = av1_quantize_fp_32x32_avx2;
|
|
||||||
av1_selfguided_restoration = av1_selfguided_restoration_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_selfguided_restoration = av1_selfguided_restoration_sse4_1;
|
|
||||||
av1_selfguided_restoration_highbd = av1_selfguided_restoration_highbd_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_selfguided_restoration_highbd = av1_selfguided_restoration_highbd_sse4_1;
|
|
||||||
av1_temporal_filter_apply = av1_temporal_filter_apply_c;
|
|
||||||
if (flags & HAS_SSE2) av1_temporal_filter_apply = av1_temporal_filter_apply_sse2;
|
|
||||||
av1_upsample_intra_edge = av1_upsample_intra_edge_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_upsample_intra_edge = av1_upsample_intra_edge_sse4_1;
|
|
||||||
av1_upsample_intra_edge_high = av1_upsample_intra_edge_high_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_upsample_intra_edge_high = av1_upsample_intra_edge_high_sse4_1;
|
|
||||||
av1_warp_affine = av1_warp_affine_c;
|
|
||||||
if (flags & HAS_SSE2) av1_warp_affine = av1_warp_affine_sse2;
|
|
||||||
if (flags & HAS_SSSE3) av1_warp_affine = av1_warp_affine_ssse3;
|
|
||||||
av1_wedge_compute_delta_squares = av1_wedge_compute_delta_squares_c;
|
|
||||||
if (flags & HAS_SSE2) av1_wedge_compute_delta_squares = av1_wedge_compute_delta_squares_sse2;
|
|
||||||
av1_wedge_sign_from_residuals = av1_wedge_sign_from_residuals_c;
|
|
||||||
if (flags & HAS_SSE2) av1_wedge_sign_from_residuals = av1_wedge_sign_from_residuals_sse2;
|
|
||||||
av1_wedge_sse_from_residuals = av1_wedge_sse_from_residuals_c;
|
|
||||||
if (flags & HAS_SSE2) av1_wedge_sse_from_residuals = av1_wedge_sse_from_residuals_sse2;
|
|
||||||
cdef_filter_block = cdef_filter_block_c;
|
|
||||||
if (flags & HAS_SSE2) cdef_filter_block = cdef_filter_block_sse2;
|
|
||||||
if (flags & HAS_SSSE3) cdef_filter_block = cdef_filter_block_ssse3;
|
|
||||||
if (flags & HAS_SSE4_1) cdef_filter_block = cdef_filter_block_sse4_1;
|
|
||||||
if (flags & HAS_AVX2) cdef_filter_block = cdef_filter_block_avx2;
|
|
||||||
cdef_find_dir = cdef_find_dir_c;
|
|
||||||
if (flags & HAS_SSE2) cdef_find_dir = cdef_find_dir_sse2;
|
|
||||||
if (flags & HAS_SSSE3) cdef_find_dir = cdef_find_dir_ssse3;
|
|
||||||
if (flags & HAS_SSE4_1) cdef_find_dir = cdef_find_dir_sse4_1;
|
|
||||||
if (flags & HAS_AVX2) cdef_find_dir = cdef_find_dir_avx2;
|
|
||||||
compute_cross_correlation = compute_cross_correlation_c;
|
|
||||||
if (flags & HAS_SSE4_1) compute_cross_correlation = compute_cross_correlation_sse4_1;
|
|
||||||
copy_rect8_16bit_to_16bit = copy_rect8_16bit_to_16bit_c;
|
|
||||||
if (flags & HAS_SSE2) copy_rect8_16bit_to_16bit = copy_rect8_16bit_to_16bit_sse2;
|
|
||||||
if (flags & HAS_SSSE3) copy_rect8_16bit_to_16bit = copy_rect8_16bit_to_16bit_ssse3;
|
|
||||||
if (flags & HAS_SSE4_1) copy_rect8_16bit_to_16bit = copy_rect8_16bit_to_16bit_sse4_1;
|
|
||||||
if (flags & HAS_AVX2) copy_rect8_16bit_to_16bit = copy_rect8_16bit_to_16bit_avx2;
|
|
||||||
copy_rect8_8bit_to_16bit = copy_rect8_8bit_to_16bit_c;
|
|
||||||
if (flags & HAS_SSE2) copy_rect8_8bit_to_16bit = copy_rect8_8bit_to_16bit_sse2;
|
|
||||||
if (flags & HAS_SSSE3) copy_rect8_8bit_to_16bit = copy_rect8_8bit_to_16bit_ssse3;
|
|
||||||
if (flags & HAS_SSE4_1) copy_rect8_8bit_to_16bit = copy_rect8_8bit_to_16bit_sse4_1;
|
|
||||||
if (flags & HAS_AVX2) copy_rect8_8bit_to_16bit = copy_rect8_8bit_to_16bit_avx2;
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
} // extern "C"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif
|
|
||||||
69
media/libaom/config/linux/ia32/config/aom_config.asm
Normal file
69
media/libaom/config/linux/ia32/config/aom_config.asm
Normal file
|
|
@ -0,0 +1,69 @@
|
||||||
|
;
|
||||||
|
; Copyright (c) 2018, Alliance for Open Media. All rights reserved
|
||||||
|
;
|
||||||
|
; This source code is subject to the terms of the BSD 2 Clause License and
|
||||||
|
; the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
|
||||||
|
; was not distributed with this source code in the LICENSE file, you can
|
||||||
|
; obtain it at www.aomedia.org/license/software. If the Alliance for Open
|
||||||
|
; Media Patent License 1.0 was not distributed with this source code in the
|
||||||
|
; PATENTS file, you can obtain it at www.aomedia.org/license/patent.
|
||||||
|
;
|
||||||
|
|
||||||
|
ARCH_ARM equ 0
|
||||||
|
ARCH_MIPS equ 0
|
||||||
|
ARCH_PPC equ 0
|
||||||
|
ARCH_X86 equ 1
|
||||||
|
ARCH_X86_64 equ 0
|
||||||
|
CONFIG_ACCOUNTING equ 0
|
||||||
|
CONFIG_ANALYZER equ 0
|
||||||
|
CONFIG_AV1_DECODER equ 1
|
||||||
|
CONFIG_AV1_ENCODER equ 0
|
||||||
|
CONFIG_BIG_ENDIAN equ 0
|
||||||
|
CONFIG_BITSTREAM_DEBUG equ 0
|
||||||
|
CONFIG_COEFFICIENT_RANGE_CHECKING equ 0
|
||||||
|
CONFIG_COLLECT_INTER_MODE_RD_STATS equ 1
|
||||||
|
CONFIG_COLLECT_RD_STATS equ 0
|
||||||
|
CONFIG_DEBUG equ 0
|
||||||
|
CONFIG_DIST_8X8 equ 1
|
||||||
|
CONFIG_ENTROPY_STATS equ 0
|
||||||
|
CONFIG_FILEOPTIONS equ 1
|
||||||
|
CONFIG_FP_MB_STATS equ 0
|
||||||
|
CONFIG_GCC equ 1
|
||||||
|
CONFIG_GCOV equ 0
|
||||||
|
CONFIG_GPROF equ 0
|
||||||
|
CONFIG_INSPECTION equ 0
|
||||||
|
CONFIG_INTERNAL_STATS equ 0
|
||||||
|
CONFIG_INTER_STATS_ONLY equ 0
|
||||||
|
CONFIG_LIBYUV equ 0
|
||||||
|
CONFIG_LOWBITDEPTH equ 0
|
||||||
|
CONFIG_MISMATCH_DEBUG equ 0
|
||||||
|
CONFIG_MSVS equ 0
|
||||||
|
CONFIG_MULTITHREAD equ 1
|
||||||
|
CONFIG_OS_SUPPORT equ 1
|
||||||
|
CONFIG_PIC equ 1
|
||||||
|
CONFIG_RD_DEBUG equ 0
|
||||||
|
CONFIG_RUNTIME_CPU_DETECT equ 1
|
||||||
|
CONFIG_SHARED equ 0
|
||||||
|
CONFIG_SIZE_LIMIT equ 0
|
||||||
|
CONFIG_SPATIAL_RESAMPLING equ 1
|
||||||
|
CONFIG_STATIC equ 1
|
||||||
|
CONFIG_WEBM_IO equ 0
|
||||||
|
DECODE_HEIGHT_LIMIT equ 0
|
||||||
|
DECODE_WIDTH_LIMIT equ 0
|
||||||
|
HAVE_AVX equ 1
|
||||||
|
HAVE_AVX2 equ 1
|
||||||
|
HAVE_DSPR2 equ 0
|
||||||
|
HAVE_FEXCEPT equ 1
|
||||||
|
HAVE_MIPS32 equ 0
|
||||||
|
HAVE_MIPS64 equ 0
|
||||||
|
HAVE_MMX equ 1
|
||||||
|
HAVE_MSA equ 0
|
||||||
|
HAVE_NEON equ 0
|
||||||
|
HAVE_SSE equ 1
|
||||||
|
HAVE_SSE2 equ 1
|
||||||
|
HAVE_SSE3 equ 1
|
||||||
|
HAVE_SSE4_1 equ 1
|
||||||
|
HAVE_SSE4_2 equ 1
|
||||||
|
HAVE_SSSE3 equ 1
|
||||||
|
HAVE_VSX equ 0
|
||||||
|
HAVE_WXWIDGETS equ 0
|
||||||
75
media/libaom/config/linux/ia32/config/aom_config.h
Normal file
75
media/libaom/config/linux/ia32/config/aom_config.h
Normal file
|
|
@ -0,0 +1,75 @@
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2018, Alliance for Open Media. All rights reserved
|
||||||
|
*
|
||||||
|
* This source code is subject to the terms of the BSD 2 Clause License and
|
||||||
|
* the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
|
||||||
|
* was not distributed with this source code in the LICENSE file, you can
|
||||||
|
* obtain it at www.aomedia.org/license/software. If the Alliance for Open
|
||||||
|
* Media Patent License 1.0 was not distributed with this source code in the
|
||||||
|
* PATENTS file, you can obtain it at www.aomedia.org/license/patent.
|
||||||
|
*/
|
||||||
|
#ifndef AOM_CONFIG_H_
|
||||||
|
#define AOM_CONFIG_H_
|
||||||
|
|
||||||
|
#define ARCH_ARM 0
|
||||||
|
#define ARCH_MIPS 0
|
||||||
|
#define ARCH_PPC 0
|
||||||
|
#define ARCH_X86 1
|
||||||
|
#define ARCH_X86_64 0
|
||||||
|
#define CONFIG_ACCOUNTING 0
|
||||||
|
#define CONFIG_ANALYZER 0
|
||||||
|
#define CONFIG_AV1_DECODER 1
|
||||||
|
#define CONFIG_AV1_ENCODER 0
|
||||||
|
#define CONFIG_BIG_ENDIAN 0
|
||||||
|
#define CONFIG_BITSTREAM_DEBUG 0
|
||||||
|
#define CONFIG_COEFFICIENT_RANGE_CHECKING 0
|
||||||
|
#define CONFIG_COLLECT_INTER_MODE_RD_STATS 1
|
||||||
|
#define CONFIG_COLLECT_RD_STATS 0
|
||||||
|
#define CONFIG_DEBUG 0
|
||||||
|
#define CONFIG_DIST_8X8 1
|
||||||
|
#define CONFIG_ENTROPY_STATS 0
|
||||||
|
#define CONFIG_FILEOPTIONS 1
|
||||||
|
#define CONFIG_FP_MB_STATS 0
|
||||||
|
#define CONFIG_GCC 1
|
||||||
|
#define CONFIG_GCOV 0
|
||||||
|
#define CONFIG_GPROF 0
|
||||||
|
#define CONFIG_INSPECTION 0
|
||||||
|
#define CONFIG_INTERNAL_STATS 0
|
||||||
|
#define CONFIG_INTER_STATS_ONLY 0
|
||||||
|
#define CONFIG_LIBYUV 0
|
||||||
|
#define CONFIG_LOWBITDEPTH 0
|
||||||
|
#define CONFIG_MISMATCH_DEBUG 0
|
||||||
|
#define CONFIG_MSVS 0
|
||||||
|
#define CONFIG_MULTITHREAD 1
|
||||||
|
#define CONFIG_OS_SUPPORT 1
|
||||||
|
#define CONFIG_PIC 1
|
||||||
|
#define CONFIG_RD_DEBUG 0
|
||||||
|
#define CONFIG_RUNTIME_CPU_DETECT 1
|
||||||
|
#define CONFIG_SHARED 0
|
||||||
|
#define CONFIG_SIZE_LIMIT 0
|
||||||
|
#define CONFIG_SPATIAL_RESAMPLING 1
|
||||||
|
#define CONFIG_STATIC 1
|
||||||
|
#define CONFIG_WEBM_IO 0
|
||||||
|
#define DECODE_HEIGHT_LIMIT 0
|
||||||
|
#define DECODE_WIDTH_LIMIT 0
|
||||||
|
#define HAVE_AVX 1
|
||||||
|
#define HAVE_AVX2 1
|
||||||
|
#define HAVE_DSPR2 0
|
||||||
|
#define HAVE_FEXCEPT 1
|
||||||
|
#define HAVE_MIPS32 0
|
||||||
|
#define HAVE_MIPS64 0
|
||||||
|
#define HAVE_MMX 1
|
||||||
|
#define HAVE_MSA 0
|
||||||
|
#define HAVE_NEON 0
|
||||||
|
#define HAVE_SSE 1
|
||||||
|
#define HAVE_SSE2 1
|
||||||
|
#define HAVE_SSE3 1
|
||||||
|
#define HAVE_SSE4_1 1
|
||||||
|
#define HAVE_SSE4_2 1
|
||||||
|
#define HAVE_SSSE3 1
|
||||||
|
#define HAVE_VSX 0
|
||||||
|
#define HAVE_WXWIDGETS 0
|
||||||
|
#define INCLUDE_INSTALL_DIR INSTALLDIR/include
|
||||||
|
#define INLINE inline
|
||||||
|
#define LIB_INSTALL_DIR INSTALLDIR/lib
|
||||||
|
#endif /* AOM_CONFIG_H_ */
|
||||||
2375
media/libaom/config/linux/ia32/config/aom_dsp_rtcd.h
Normal file
2375
media/libaom/config/linux/ia32/config/aom_dsp_rtcd.h
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -1,3 +1,4 @@
|
||||||
|
// This file is generated. Do not edit.
|
||||||
#ifndef AOM_SCALE_RTCD_H_
|
#ifndef AOM_SCALE_RTCD_H_
|
||||||
#define AOM_SCALE_RTCD_H_
|
#define AOM_SCALE_RTCD_H_
|
||||||
|
|
||||||
|
|
@ -13,13 +14,13 @@ struct yv12_buffer_config;
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void aom_extend_frame_borders_c(struct yv12_buffer_config *ybf);
|
void aom_extend_frame_borders_c(struct yv12_buffer_config *ybf, const int num_planes);
|
||||||
#define aom_extend_frame_borders aom_extend_frame_borders_c
|
#define aom_extend_frame_borders aom_extend_frame_borders_c
|
||||||
|
|
||||||
void aom_extend_frame_borders_y_c(struct yv12_buffer_config *ybf);
|
void aom_extend_frame_borders_y_c(struct yv12_buffer_config *ybf);
|
||||||
#define aom_extend_frame_borders_y aom_extend_frame_borders_y_c
|
#define aom_extend_frame_borders_y aom_extend_frame_borders_y_c
|
||||||
|
|
||||||
void aom_extend_frame_inner_borders_c(struct yv12_buffer_config *ybf);
|
void aom_extend_frame_inner_borders_c(struct yv12_buffer_config *ybf, const int num_planes);
|
||||||
#define aom_extend_frame_inner_borders aom_extend_frame_inner_borders_c
|
#define aom_extend_frame_inner_borders aom_extend_frame_inner_borders_c
|
||||||
|
|
||||||
void aom_horizontal_line_2_1_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
|
void aom_horizontal_line_2_1_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
|
||||||
|
|
@ -43,7 +44,7 @@ void aom_vertical_band_5_3_scale_c(unsigned char *source, int src_pitch, unsigne
|
||||||
void aom_vertical_band_5_4_scale_c(unsigned char *source, int src_pitch, unsigned char *dest, int dest_pitch, unsigned int dest_width);
|
void aom_vertical_band_5_4_scale_c(unsigned char *source, int src_pitch, unsigned char *dest, int dest_pitch, unsigned int dest_width);
|
||||||
#define aom_vertical_band_5_4_scale aom_vertical_band_5_4_scale_c
|
#define aom_vertical_band_5_4_scale aom_vertical_band_5_4_scale_c
|
||||||
|
|
||||||
void aom_yv12_copy_frame_c(const struct yv12_buffer_config *src_bc, struct yv12_buffer_config *dst_bc);
|
void aom_yv12_copy_frame_c(const struct yv12_buffer_config *src_bc, struct yv12_buffer_config *dst_bc, const int num_planes);
|
||||||
#define aom_yv12_copy_frame aom_yv12_copy_frame_c
|
#define aom_yv12_copy_frame aom_yv12_copy_frame_c
|
||||||
|
|
||||||
void aom_yv12_copy_u_c(const struct yv12_buffer_config *src_bc, struct yv12_buffer_config *dst_bc);
|
void aom_yv12_copy_u_c(const struct yv12_buffer_config *src_bc, struct yv12_buffer_config *dst_bc);
|
||||||
|
|
@ -55,9 +56,18 @@ void aom_yv12_copy_v_c(const struct yv12_buffer_config *src_bc, struct yv12_buff
|
||||||
void aom_yv12_copy_y_c(const struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc);
|
void aom_yv12_copy_y_c(const struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc);
|
||||||
#define aom_yv12_copy_y aom_yv12_copy_y_c
|
#define aom_yv12_copy_y aom_yv12_copy_y_c
|
||||||
|
|
||||||
void aom_yv12_extend_frame_borders_c(struct yv12_buffer_config *ybf);
|
void aom_yv12_extend_frame_borders_c(struct yv12_buffer_config *ybf, const int num_planes);
|
||||||
#define aom_yv12_extend_frame_borders aom_yv12_extend_frame_borders_c
|
#define aom_yv12_extend_frame_borders aom_yv12_extend_frame_borders_c
|
||||||
|
|
||||||
|
void aom_yv12_partial_copy_u_c(const struct yv12_buffer_config *src_bc, struct yv12_buffer_config *dst_bc, int hstart, int hend, int vstart, int vend);
|
||||||
|
#define aom_yv12_partial_copy_u aom_yv12_partial_copy_u_c
|
||||||
|
|
||||||
|
void aom_yv12_partial_copy_v_c(const struct yv12_buffer_config *src_bc, struct yv12_buffer_config *dst_bc, int hstart, int hend, int vstart, int vend);
|
||||||
|
#define aom_yv12_partial_copy_v aom_yv12_partial_copy_v_c
|
||||||
|
|
||||||
|
void aom_yv12_partial_copy_y_c(const struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc, int hstart, int hend, int vstart, int vend);
|
||||||
|
#define aom_yv12_partial_copy_y aom_yv12_partial_copy_y_c
|
||||||
|
|
||||||
void aom_scale_rtcd(void);
|
void aom_scale_rtcd(void);
|
||||||
|
|
||||||
#ifdef RTCD_C
|
#ifdef RTCD_C
|
||||||
564
media/libaom/config/linux/ia32/config/av1_rtcd.h
Normal file
564
media/libaom/config/linux/ia32/config/av1_rtcd.h
Normal file
|
|
@ -0,0 +1,564 @@
|
||||||
|
// This file is generated. Do not edit.
|
||||||
|
#ifndef AOM_RTCD_H_
|
||||||
|
#define AOM_RTCD_H_
|
||||||
|
|
||||||
|
#ifdef RTCD_C
|
||||||
|
#define RTCD_EXTERN
|
||||||
|
#else
|
||||||
|
#define RTCD_EXTERN extern
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/*
|
||||||
|
* AV1
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "aom/aom_integer.h"
|
||||||
|
#include "aom_dsp/txfm_common.h"
|
||||||
|
#include "av1/common/common.h"
|
||||||
|
#include "av1/common/enums.h"
|
||||||
|
#include "av1/common/quant_common.h"
|
||||||
|
#include "av1/common/filter.h"
|
||||||
|
#include "av1/common/convolve.h"
|
||||||
|
#include "av1/common/av1_txfm.h"
|
||||||
|
#include "av1/common/odintrin.h"
|
||||||
|
#include "av1/common/restoration.h"
|
||||||
|
|
||||||
|
struct macroblockd;
|
||||||
|
|
||||||
|
/* Encoder forward decls */
|
||||||
|
struct macroblock;
|
||||||
|
struct txfm_param;
|
||||||
|
struct aom_variance_vtable;
|
||||||
|
struct search_site_config;
|
||||||
|
struct yv12_buffer_config;
|
||||||
|
|
||||||
|
/* Function pointers return by CfL functions */
|
||||||
|
typedef void (*cfl_subsample_lbd_fn)(const uint8_t *input, int input_stride,
|
||||||
|
uint16_t *output_q3);
|
||||||
|
|
||||||
|
typedef void (*cfl_subsample_hbd_fn)(const uint16_t *input, int input_stride,
|
||||||
|
uint16_t *output_q3);
|
||||||
|
|
||||||
|
typedef void (*cfl_subtract_average_fn)(const uint16_t *src, int16_t *dst);
|
||||||
|
|
||||||
|
typedef void (*cfl_predict_lbd_fn)(const int16_t *src, uint8_t *dst,
|
||||||
|
int dst_stride, int alpha_q3);
|
||||||
|
|
||||||
|
typedef void (*cfl_predict_hbd_fn)(const int16_t *src, uint16_t *dst,
|
||||||
|
int dst_stride, int alpha_q3, int bd);
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
|
void apply_selfguided_restoration_c(const uint8_t *dat, int width, int height, int stride, int eps, const int *xqd, uint8_t *dst, int dst_stride, int32_t *tmpbuf, int bit_depth, int highbd);
|
||||||
|
void apply_selfguided_restoration_sse4_1(const uint8_t *dat, int width, int height, int stride, int eps, const int *xqd, uint8_t *dst, int dst_stride, int32_t *tmpbuf, int bit_depth, int highbd);
|
||||||
|
void apply_selfguided_restoration_avx2(const uint8_t *dat, int width, int height, int stride, int eps, const int *xqd, uint8_t *dst, int dst_stride, int32_t *tmpbuf, int bit_depth, int highbd);
|
||||||
|
RTCD_EXTERN void (*apply_selfguided_restoration)(const uint8_t *dat, int width, int height, int stride, int eps, const int *xqd, uint8_t *dst, int dst_stride, int32_t *tmpbuf, int bit_depth, int highbd);
|
||||||
|
|
||||||
|
void av1_build_compound_diffwtd_mask_c(uint8_t *mask, DIFFWTD_MASK_TYPE mask_type, const uint8_t *src0, int src0_stride, const uint8_t *src1, int src1_stride, int h, int w);
|
||||||
|
void av1_build_compound_diffwtd_mask_sse4_1(uint8_t *mask, DIFFWTD_MASK_TYPE mask_type, const uint8_t *src0, int src0_stride, const uint8_t *src1, int src1_stride, int h, int w);
|
||||||
|
RTCD_EXTERN void (*av1_build_compound_diffwtd_mask)(uint8_t *mask, DIFFWTD_MASK_TYPE mask_type, const uint8_t *src0, int src0_stride, const uint8_t *src1, int src1_stride, int h, int w);
|
||||||
|
|
||||||
|
void av1_build_compound_diffwtd_mask_d16_c(uint8_t *mask, DIFFWTD_MASK_TYPE mask_type, const CONV_BUF_TYPE *src0, int src0_stride, const CONV_BUF_TYPE *src1, int src1_stride, int h, int w, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_build_compound_diffwtd_mask_d16_sse4_1(uint8_t *mask, DIFFWTD_MASK_TYPE mask_type, const CONV_BUF_TYPE *src0, int src0_stride, const CONV_BUF_TYPE *src1, int src1_stride, int h, int w, ConvolveParams *conv_params, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_build_compound_diffwtd_mask_d16)(uint8_t *mask, DIFFWTD_MASK_TYPE mask_type, const CONV_BUF_TYPE *src0, int src0_stride, const CONV_BUF_TYPE *src1, int src1_stride, int h, int w, ConvolveParams *conv_params, int bd);
|
||||||
|
|
||||||
|
void av1_build_compound_diffwtd_mask_highbd_c(uint8_t *mask, DIFFWTD_MASK_TYPE mask_type, const uint8_t *src0, int src0_stride, const uint8_t *src1, int src1_stride, int h, int w, int bd);
|
||||||
|
void av1_build_compound_diffwtd_mask_highbd_ssse3(uint8_t *mask, DIFFWTD_MASK_TYPE mask_type, const uint8_t *src0, int src0_stride, const uint8_t *src1, int src1_stride, int h, int w, int bd);
|
||||||
|
void av1_build_compound_diffwtd_mask_highbd_avx2(uint8_t *mask, DIFFWTD_MASK_TYPE mask_type, const uint8_t *src0, int src0_stride, const uint8_t *src1, int src1_stride, int h, int w, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_build_compound_diffwtd_mask_highbd)(uint8_t *mask, DIFFWTD_MASK_TYPE mask_type, const uint8_t *src0, int src0_stride, const uint8_t *src1, int src1_stride, int h, int w, int bd);
|
||||||
|
|
||||||
|
void av1_convolve_2d_copy_sr_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_convolve_2d_copy_sr_sse2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_convolve_2d_copy_sr_avx2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
RTCD_EXTERN void (*av1_convolve_2d_copy_sr)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
|
||||||
|
void av1_convolve_2d_scale_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_qn, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params);
|
||||||
|
void av1_convolve_2d_scale_sse4_1(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_qn, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params);
|
||||||
|
RTCD_EXTERN void (*av1_convolve_2d_scale)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_qn, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params);
|
||||||
|
|
||||||
|
void av1_convolve_2d_sr_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_convolve_2d_sr_sse2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_convolve_2d_sr_avx2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
RTCD_EXTERN void (*av1_convolve_2d_sr)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
|
||||||
|
void av1_convolve_horiz_rs_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const int16_t *x_filters, int x0_qn, int x_step_qn);
|
||||||
|
void av1_convolve_horiz_rs_sse4_1(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const int16_t *x_filters, int x0_qn, int x_step_qn);
|
||||||
|
RTCD_EXTERN void (*av1_convolve_horiz_rs)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const int16_t *x_filters, int x0_qn, int x_step_qn);
|
||||||
|
|
||||||
|
void av1_convolve_x_sr_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_convolve_x_sr_sse2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_convolve_x_sr_avx2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
RTCD_EXTERN void (*av1_convolve_x_sr)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
|
||||||
|
void av1_convolve_y_sr_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_convolve_y_sr_sse2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_convolve_y_sr_avx2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
RTCD_EXTERN void (*av1_convolve_y_sr)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
|
||||||
|
void av1_dr_prediction_z1_c(uint8_t *dst, ptrdiff_t stride, int bw, int bh, const uint8_t *above, const uint8_t *left, int upsample_above, int dx, int dy);
|
||||||
|
#define av1_dr_prediction_z1 av1_dr_prediction_z1_c
|
||||||
|
|
||||||
|
void av1_dr_prediction_z2_c(uint8_t *dst, ptrdiff_t stride, int bw, int bh, const uint8_t *above, const uint8_t *left, int upsample_above, int upsample_left, int dx, int dy);
|
||||||
|
#define av1_dr_prediction_z2 av1_dr_prediction_z2_c
|
||||||
|
|
||||||
|
void av1_dr_prediction_z3_c(uint8_t *dst, ptrdiff_t stride, int bw, int bh, const uint8_t *above, const uint8_t *left, int upsample_left, int dx, int dy);
|
||||||
|
#define av1_dr_prediction_z3 av1_dr_prediction_z3_c
|
||||||
|
|
||||||
|
void av1_filter_intra_edge_c(uint8_t *p, int sz, int strength);
|
||||||
|
void av1_filter_intra_edge_sse4_1(uint8_t *p, int sz, int strength);
|
||||||
|
RTCD_EXTERN void (*av1_filter_intra_edge)(uint8_t *p, int sz, int strength);
|
||||||
|
|
||||||
|
void av1_filter_intra_edge_high_c(uint16_t *p, int sz, int strength);
|
||||||
|
void av1_filter_intra_edge_high_sse4_1(uint16_t *p, int sz, int strength);
|
||||||
|
RTCD_EXTERN void (*av1_filter_intra_edge_high)(uint16_t *p, int sz, int strength);
|
||||||
|
|
||||||
|
void av1_filter_intra_predictor_c(uint8_t *dst, ptrdiff_t stride, TX_SIZE tx_size, const uint8_t *above, const uint8_t *left, int mode);
|
||||||
|
void av1_filter_intra_predictor_sse4_1(uint8_t *dst, ptrdiff_t stride, TX_SIZE tx_size, const uint8_t *above, const uint8_t *left, int mode);
|
||||||
|
RTCD_EXTERN void (*av1_filter_intra_predictor)(uint8_t *dst, ptrdiff_t stride, TX_SIZE tx_size, const uint8_t *above, const uint8_t *left, int mode);
|
||||||
|
|
||||||
|
void av1_highbd_convolve8_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
||||||
|
#define av1_highbd_convolve8 av1_highbd_convolve8_c
|
||||||
|
|
||||||
|
void av1_highbd_convolve8_horiz_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
||||||
|
#define av1_highbd_convolve8_horiz av1_highbd_convolve8_horiz_c
|
||||||
|
|
||||||
|
void av1_highbd_convolve8_vert_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
||||||
|
#define av1_highbd_convolve8_vert av1_highbd_convolve8_vert_c
|
||||||
|
|
||||||
|
void av1_highbd_convolve_2d_copy_sr_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_convolve_2d_copy_sr_sse2(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_convolve_2d_copy_sr_avx2(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_convolve_2d_copy_sr)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
|
||||||
|
void av1_highbd_convolve_2d_scale_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_convolve_2d_scale_sse4_1(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_convolve_2d_scale)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params, int bd);
|
||||||
|
|
||||||
|
void av1_highbd_convolve_2d_sr_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_convolve_2d_sr_ssse3(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_convolve_2d_sr_avx2(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_convolve_2d_sr)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
|
||||||
|
void av1_highbd_convolve_avg_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
||||||
|
#define av1_highbd_convolve_avg av1_highbd_convolve_avg_c
|
||||||
|
|
||||||
|
void av1_highbd_convolve_copy_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
||||||
|
#define av1_highbd_convolve_copy av1_highbd_convolve_copy_c
|
||||||
|
|
||||||
|
void av1_highbd_convolve_horiz_rs_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, const int16_t *x_filters, int x0_qn, int x_step_qn, int bd);
|
||||||
|
void av1_highbd_convolve_horiz_rs_sse4_1(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, const int16_t *x_filters, int x0_qn, int x_step_qn, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_convolve_horiz_rs)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, const int16_t *x_filters, int x0_qn, int x_step_qn, int bd);
|
||||||
|
|
||||||
|
void av1_highbd_convolve_x_sr_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_convolve_x_sr_ssse3(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_convolve_x_sr_avx2(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_convolve_x_sr)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
|
||||||
|
void av1_highbd_convolve_y_sr_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_convolve_y_sr_ssse3(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_convolve_y_sr_avx2(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_convolve_y_sr)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
|
||||||
|
void av1_highbd_dr_prediction_z1_c(uint16_t *dst, ptrdiff_t stride, int bw, int bh, const uint16_t *above, const uint16_t *left, int upsample_above, int dx, int dy, int bd);
|
||||||
|
#define av1_highbd_dr_prediction_z1 av1_highbd_dr_prediction_z1_c
|
||||||
|
|
||||||
|
void av1_highbd_dr_prediction_z2_c(uint16_t *dst, ptrdiff_t stride, int bw, int bh, const uint16_t *above, const uint16_t *left, int upsample_above, int upsample_left, int dx, int dy, int bd);
|
||||||
|
#define av1_highbd_dr_prediction_z2 av1_highbd_dr_prediction_z2_c
|
||||||
|
|
||||||
|
void av1_highbd_dr_prediction_z3_c(uint16_t *dst, ptrdiff_t stride, int bw, int bh, const uint16_t *above, const uint16_t *left, int upsample_left, int dx, int dy, int bd);
|
||||||
|
#define av1_highbd_dr_prediction_z3 av1_highbd_dr_prediction_z3_c
|
||||||
|
|
||||||
|
void av1_highbd_iwht4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, int bd);
|
||||||
|
#define av1_highbd_iwht4x4_16_add av1_highbd_iwht4x4_16_add_c
|
||||||
|
|
||||||
|
void av1_highbd_iwht4x4_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, int bd);
|
||||||
|
#define av1_highbd_iwht4x4_1_add av1_highbd_iwht4x4_1_add_c
|
||||||
|
|
||||||
|
void av1_highbd_jnt_convolve_2d_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_jnt_convolve_2d_sse4_1(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_jnt_convolve_2d_avx2(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_jnt_convolve_2d)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
|
||||||
|
void av1_highbd_jnt_convolve_2d_copy_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_jnt_convolve_2d_copy_sse4_1(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_jnt_convolve_2d_copy_avx2(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_jnt_convolve_2d_copy)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
|
||||||
|
void av1_highbd_jnt_convolve_x_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_jnt_convolve_x_sse4_1(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_jnt_convolve_x_avx2(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_jnt_convolve_x)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
|
||||||
|
void av1_highbd_jnt_convolve_y_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_jnt_convolve_y_sse4_1(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_jnt_convolve_y_avx2(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_jnt_convolve_y)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
|
||||||
|
void av1_highbd_warp_affine_c(const int32_t *mat, const uint16_t *ref, int width, int height, int stride, uint16_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, int bd, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
||||||
|
void av1_highbd_warp_affine_sse4_1(const int32_t *mat, const uint16_t *ref, int width, int height, int stride, uint16_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, int bd, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_warp_affine)(const int32_t *mat, const uint16_t *ref, int width, int height, int stride, uint16_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, int bd, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
||||||
|
|
||||||
|
void av1_highbd_wiener_convolve_add_src_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, const ConvolveParams *conv_params, int bps);
|
||||||
|
void av1_highbd_wiener_convolve_add_src_ssse3(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, const ConvolveParams *conv_params, int bps);
|
||||||
|
void av1_highbd_wiener_convolve_add_src_avx2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, const ConvolveParams *conv_params, int bps);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_wiener_convolve_add_src)(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, const ConvolveParams *conv_params, int bps);
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_16x16_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
void av1_inv_txfm2d_add_16x16_sse4_1(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_inv_txfm2d_add_16x16)(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_16x32_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_16x32 av1_inv_txfm2d_add_16x32_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_16x4_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_16x4 av1_inv_txfm2d_add_16x4_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_16x64_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_16x64 av1_inv_txfm2d_add_16x64_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_16x8_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_16x8 av1_inv_txfm2d_add_16x8_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_32x16_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_32x16 av1_inv_txfm2d_add_32x16_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_32x32_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
void av1_inv_txfm2d_add_32x32_avx2(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_inv_txfm2d_add_32x32)(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_32x64_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_32x64 av1_inv_txfm2d_add_32x64_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_32x8_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_32x8 av1_inv_txfm2d_add_32x8_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_4x16_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_4x16 av1_inv_txfm2d_add_4x16_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_4x4_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
void av1_inv_txfm2d_add_4x4_sse4_1(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_inv_txfm2d_add_4x4)(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_4x8_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_4x8 av1_inv_txfm2d_add_4x8_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_64x16_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_64x16 av1_inv_txfm2d_add_64x16_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_64x32_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_64x32 av1_inv_txfm2d_add_64x32_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_64x64_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
void av1_inv_txfm2d_add_64x64_sse4_1(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_inv_txfm2d_add_64x64)(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_8x16_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_8x16 av1_inv_txfm2d_add_8x16_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_8x32_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_8x32 av1_inv_txfm2d_add_8x32_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_8x4_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_8x4 av1_inv_txfm2d_add_8x4_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_8x8_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
void av1_inv_txfm2d_add_8x8_sse4_1(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_inv_txfm2d_add_8x8)(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
|
||||||
|
void av1_inv_txfm_add_c(const tran_low_t *dqcoeff, uint8_t *dst, int stride, const TxfmParam *txfm_param);
|
||||||
|
void av1_inv_txfm_add_ssse3(const tran_low_t *dqcoeff, uint8_t *dst, int stride, const TxfmParam *txfm_param);
|
||||||
|
void av1_inv_txfm_add_avx2(const tran_low_t *dqcoeff, uint8_t *dst, int stride, const TxfmParam *txfm_param);
|
||||||
|
RTCD_EXTERN void (*av1_inv_txfm_add)(const tran_low_t *dqcoeff, uint8_t *dst, int stride, const TxfmParam *txfm_param);
|
||||||
|
|
||||||
|
void av1_jnt_convolve_2d_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_jnt_convolve_2d_ssse3(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_jnt_convolve_2d_avx2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
RTCD_EXTERN void (*av1_jnt_convolve_2d)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
|
||||||
|
void av1_jnt_convolve_2d_copy_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_jnt_convolve_2d_copy_sse2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_jnt_convolve_2d_copy_avx2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
RTCD_EXTERN void (*av1_jnt_convolve_2d_copy)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
|
||||||
|
void av1_jnt_convolve_x_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_jnt_convolve_x_sse2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_jnt_convolve_x_avx2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
RTCD_EXTERN void (*av1_jnt_convolve_x)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
|
||||||
|
void av1_jnt_convolve_y_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_jnt_convolve_y_sse2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_jnt_convolve_y_avx2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
RTCD_EXTERN void (*av1_jnt_convolve_y)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
|
||||||
|
void av1_selfguided_restoration_c(const uint8_t *dgd8, int width, int height,
|
||||||
|
int dgd_stride, int32_t *flt0, int32_t *flt1, int flt_stride,
|
||||||
|
int sgr_params_idx, int bit_depth, int highbd);
|
||||||
|
void av1_selfguided_restoration_sse4_1(const uint8_t *dgd8, int width, int height,
|
||||||
|
int dgd_stride, int32_t *flt0, int32_t *flt1, int flt_stride,
|
||||||
|
int sgr_params_idx, int bit_depth, int highbd);
|
||||||
|
void av1_selfguided_restoration_avx2(const uint8_t *dgd8, int width, int height,
|
||||||
|
int dgd_stride, int32_t *flt0, int32_t *flt1, int flt_stride,
|
||||||
|
int sgr_params_idx, int bit_depth, int highbd);
|
||||||
|
RTCD_EXTERN void (*av1_selfguided_restoration)(const uint8_t *dgd8, int width, int height,
|
||||||
|
int dgd_stride, int32_t *flt0, int32_t *flt1, int flt_stride,
|
||||||
|
int sgr_params_idx, int bit_depth, int highbd);
|
||||||
|
|
||||||
|
void av1_upsample_intra_edge_c(uint8_t *p, int sz);
|
||||||
|
void av1_upsample_intra_edge_sse4_1(uint8_t *p, int sz);
|
||||||
|
RTCD_EXTERN void (*av1_upsample_intra_edge)(uint8_t *p, int sz);
|
||||||
|
|
||||||
|
void av1_upsample_intra_edge_high_c(uint16_t *p, int sz, int bd);
|
||||||
|
void av1_upsample_intra_edge_high_sse4_1(uint16_t *p, int sz, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_upsample_intra_edge_high)(uint16_t *p, int sz, int bd);
|
||||||
|
|
||||||
|
void av1_warp_affine_c(const int32_t *mat, const uint8_t *ref, int width, int height, int stride, uint8_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
||||||
|
void av1_warp_affine_sse4_1(const int32_t *mat, const uint8_t *ref, int width, int height, int stride, uint8_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
||||||
|
RTCD_EXTERN void (*av1_warp_affine)(const int32_t *mat, const uint8_t *ref, int width, int height, int stride, uint8_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
||||||
|
|
||||||
|
void av1_wiener_convolve_add_src_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, const ConvolveParams *conv_params);
|
||||||
|
void av1_wiener_convolve_add_src_sse2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, const ConvolveParams *conv_params);
|
||||||
|
void av1_wiener_convolve_add_src_avx2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, const ConvolveParams *conv_params);
|
||||||
|
RTCD_EXTERN void (*av1_wiener_convolve_add_src)(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, const ConvolveParams *conv_params);
|
||||||
|
|
||||||
|
void cdef_filter_block_c(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max, int coeff_shift);
|
||||||
|
void cdef_filter_block_sse2(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max, int coeff_shift);
|
||||||
|
void cdef_filter_block_ssse3(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max, int coeff_shift);
|
||||||
|
void cdef_filter_block_sse4_1(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max, int coeff_shift);
|
||||||
|
void cdef_filter_block_avx2(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max, int coeff_shift);
|
||||||
|
RTCD_EXTERN void (*cdef_filter_block)(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max, int coeff_shift);
|
||||||
|
|
||||||
|
int cdef_find_dir_c(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
||||||
|
int cdef_find_dir_sse2(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
||||||
|
int cdef_find_dir_ssse3(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
||||||
|
int cdef_find_dir_sse4_1(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
||||||
|
int cdef_find_dir_avx2(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
||||||
|
RTCD_EXTERN int (*cdef_find_dir)(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
||||||
|
|
||||||
|
cfl_subsample_hbd_fn cfl_get_luma_subsampling_420_hbd_c(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_hbd_fn cfl_get_luma_subsampling_420_hbd_ssse3(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_hbd_fn cfl_get_luma_subsampling_420_hbd_avx2(TX_SIZE tx_size);
|
||||||
|
RTCD_EXTERN cfl_subsample_hbd_fn (*cfl_get_luma_subsampling_420_hbd)(TX_SIZE tx_size);
|
||||||
|
|
||||||
|
cfl_subsample_lbd_fn cfl_get_luma_subsampling_420_lbd_c(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_lbd_fn cfl_get_luma_subsampling_420_lbd_ssse3(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_lbd_fn cfl_get_luma_subsampling_420_lbd_avx2(TX_SIZE tx_size);
|
||||||
|
RTCD_EXTERN cfl_subsample_lbd_fn (*cfl_get_luma_subsampling_420_lbd)(TX_SIZE tx_size);
|
||||||
|
|
||||||
|
cfl_subsample_hbd_fn cfl_get_luma_subsampling_422_hbd_c(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_hbd_fn cfl_get_luma_subsampling_422_hbd_ssse3(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_hbd_fn cfl_get_luma_subsampling_422_hbd_avx2(TX_SIZE tx_size);
|
||||||
|
RTCD_EXTERN cfl_subsample_hbd_fn (*cfl_get_luma_subsampling_422_hbd)(TX_SIZE tx_size);
|
||||||
|
|
||||||
|
cfl_subsample_lbd_fn cfl_get_luma_subsampling_422_lbd_c(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_lbd_fn cfl_get_luma_subsampling_422_lbd_ssse3(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_lbd_fn cfl_get_luma_subsampling_422_lbd_avx2(TX_SIZE tx_size);
|
||||||
|
RTCD_EXTERN cfl_subsample_lbd_fn (*cfl_get_luma_subsampling_422_lbd)(TX_SIZE tx_size);
|
||||||
|
|
||||||
|
cfl_subsample_hbd_fn cfl_get_luma_subsampling_444_hbd_c(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_hbd_fn cfl_get_luma_subsampling_444_hbd_ssse3(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_hbd_fn cfl_get_luma_subsampling_444_hbd_avx2(TX_SIZE tx_size);
|
||||||
|
RTCD_EXTERN cfl_subsample_hbd_fn (*cfl_get_luma_subsampling_444_hbd)(TX_SIZE tx_size);
|
||||||
|
|
||||||
|
cfl_subsample_lbd_fn cfl_get_luma_subsampling_444_lbd_c(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_lbd_fn cfl_get_luma_subsampling_444_lbd_ssse3(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_lbd_fn cfl_get_luma_subsampling_444_lbd_avx2(TX_SIZE tx_size);
|
||||||
|
RTCD_EXTERN cfl_subsample_lbd_fn (*cfl_get_luma_subsampling_444_lbd)(TX_SIZE tx_size);
|
||||||
|
|
||||||
|
void copy_rect8_16bit_to_16bit_c(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
||||||
|
void copy_rect8_16bit_to_16bit_sse2(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
||||||
|
void copy_rect8_16bit_to_16bit_ssse3(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
||||||
|
void copy_rect8_16bit_to_16bit_sse4_1(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
||||||
|
void copy_rect8_16bit_to_16bit_avx2(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
||||||
|
RTCD_EXTERN void (*copy_rect8_16bit_to_16bit)(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
||||||
|
|
||||||
|
void copy_rect8_8bit_to_16bit_c(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
||||||
|
void copy_rect8_8bit_to_16bit_sse2(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
||||||
|
void copy_rect8_8bit_to_16bit_ssse3(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
||||||
|
void copy_rect8_8bit_to_16bit_sse4_1(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
||||||
|
void copy_rect8_8bit_to_16bit_avx2(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
||||||
|
RTCD_EXTERN void (*copy_rect8_8bit_to_16bit)(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
||||||
|
|
||||||
|
cfl_predict_hbd_fn get_predict_hbd_fn_c(TX_SIZE tx_size);
|
||||||
|
cfl_predict_hbd_fn get_predict_hbd_fn_ssse3(TX_SIZE tx_size);
|
||||||
|
cfl_predict_hbd_fn get_predict_hbd_fn_avx2(TX_SIZE tx_size);
|
||||||
|
RTCD_EXTERN cfl_predict_hbd_fn (*get_predict_hbd_fn)(TX_SIZE tx_size);
|
||||||
|
|
||||||
|
cfl_predict_lbd_fn get_predict_lbd_fn_c(TX_SIZE tx_size);
|
||||||
|
cfl_predict_lbd_fn get_predict_lbd_fn_ssse3(TX_SIZE tx_size);
|
||||||
|
cfl_predict_lbd_fn get_predict_lbd_fn_avx2(TX_SIZE tx_size);
|
||||||
|
RTCD_EXTERN cfl_predict_lbd_fn (*get_predict_lbd_fn)(TX_SIZE tx_size);
|
||||||
|
|
||||||
|
cfl_subtract_average_fn get_subtract_average_fn_c(TX_SIZE tx_size);
|
||||||
|
cfl_subtract_average_fn get_subtract_average_fn_sse2(TX_SIZE tx_size);
|
||||||
|
cfl_subtract_average_fn get_subtract_average_fn_avx2(TX_SIZE tx_size);
|
||||||
|
RTCD_EXTERN cfl_subtract_average_fn (*get_subtract_average_fn)(TX_SIZE tx_size);
|
||||||
|
|
||||||
|
void aom_rtcd(void);
|
||||||
|
|
||||||
|
#ifdef RTCD_C
|
||||||
|
#include "aom_ports/x86.h"
|
||||||
|
static void setup_rtcd_internal(void)
|
||||||
|
{
|
||||||
|
int flags = x86_simd_caps();
|
||||||
|
|
||||||
|
(void)flags;
|
||||||
|
|
||||||
|
apply_selfguided_restoration = apply_selfguided_restoration_c;
|
||||||
|
if (flags & HAS_SSE4_1) apply_selfguided_restoration = apply_selfguided_restoration_sse4_1;
|
||||||
|
if (flags & HAS_AVX2) apply_selfguided_restoration = apply_selfguided_restoration_avx2;
|
||||||
|
av1_build_compound_diffwtd_mask = av1_build_compound_diffwtd_mask_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_build_compound_diffwtd_mask = av1_build_compound_diffwtd_mask_sse4_1;
|
||||||
|
av1_build_compound_diffwtd_mask_d16 = av1_build_compound_diffwtd_mask_d16_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_build_compound_diffwtd_mask_d16 = av1_build_compound_diffwtd_mask_d16_sse4_1;
|
||||||
|
av1_build_compound_diffwtd_mask_highbd = av1_build_compound_diffwtd_mask_highbd_c;
|
||||||
|
if (flags & HAS_SSSE3) av1_build_compound_diffwtd_mask_highbd = av1_build_compound_diffwtd_mask_highbd_ssse3;
|
||||||
|
if (flags & HAS_AVX2) av1_build_compound_diffwtd_mask_highbd = av1_build_compound_diffwtd_mask_highbd_avx2;
|
||||||
|
av1_convolve_2d_copy_sr = av1_convolve_2d_copy_sr_c;
|
||||||
|
if (flags & HAS_SSE2) av1_convolve_2d_copy_sr = av1_convolve_2d_copy_sr_sse2;
|
||||||
|
if (flags & HAS_AVX2) av1_convolve_2d_copy_sr = av1_convolve_2d_copy_sr_avx2;
|
||||||
|
av1_convolve_2d_scale = av1_convolve_2d_scale_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_convolve_2d_scale = av1_convolve_2d_scale_sse4_1;
|
||||||
|
av1_convolve_2d_sr = av1_convolve_2d_sr_c;
|
||||||
|
if (flags & HAS_SSE2) av1_convolve_2d_sr = av1_convolve_2d_sr_sse2;
|
||||||
|
if (flags & HAS_AVX2) av1_convolve_2d_sr = av1_convolve_2d_sr_avx2;
|
||||||
|
av1_convolve_horiz_rs = av1_convolve_horiz_rs_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_convolve_horiz_rs = av1_convolve_horiz_rs_sse4_1;
|
||||||
|
av1_convolve_x_sr = av1_convolve_x_sr_c;
|
||||||
|
if (flags & HAS_SSE2) av1_convolve_x_sr = av1_convolve_x_sr_sse2;
|
||||||
|
if (flags & HAS_AVX2) av1_convolve_x_sr = av1_convolve_x_sr_avx2;
|
||||||
|
av1_convolve_y_sr = av1_convolve_y_sr_c;
|
||||||
|
if (flags & HAS_SSE2) av1_convolve_y_sr = av1_convolve_y_sr_sse2;
|
||||||
|
if (flags & HAS_AVX2) av1_convolve_y_sr = av1_convolve_y_sr_avx2;
|
||||||
|
av1_filter_intra_edge = av1_filter_intra_edge_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_filter_intra_edge = av1_filter_intra_edge_sse4_1;
|
||||||
|
av1_filter_intra_edge_high = av1_filter_intra_edge_high_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_filter_intra_edge_high = av1_filter_intra_edge_high_sse4_1;
|
||||||
|
av1_filter_intra_predictor = av1_filter_intra_predictor_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_filter_intra_predictor = av1_filter_intra_predictor_sse4_1;
|
||||||
|
av1_highbd_convolve_2d_copy_sr = av1_highbd_convolve_2d_copy_sr_c;
|
||||||
|
if (flags & HAS_SSE2) av1_highbd_convolve_2d_copy_sr = av1_highbd_convolve_2d_copy_sr_sse2;
|
||||||
|
if (flags & HAS_AVX2) av1_highbd_convolve_2d_copy_sr = av1_highbd_convolve_2d_copy_sr_avx2;
|
||||||
|
av1_highbd_convolve_2d_scale = av1_highbd_convolve_2d_scale_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_highbd_convolve_2d_scale = av1_highbd_convolve_2d_scale_sse4_1;
|
||||||
|
av1_highbd_convolve_2d_sr = av1_highbd_convolve_2d_sr_c;
|
||||||
|
if (flags & HAS_SSSE3) av1_highbd_convolve_2d_sr = av1_highbd_convolve_2d_sr_ssse3;
|
||||||
|
if (flags & HAS_AVX2) av1_highbd_convolve_2d_sr = av1_highbd_convolve_2d_sr_avx2;
|
||||||
|
av1_highbd_convolve_horiz_rs = av1_highbd_convolve_horiz_rs_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_highbd_convolve_horiz_rs = av1_highbd_convolve_horiz_rs_sse4_1;
|
||||||
|
av1_highbd_convolve_x_sr = av1_highbd_convolve_x_sr_c;
|
||||||
|
if (flags & HAS_SSSE3) av1_highbd_convolve_x_sr = av1_highbd_convolve_x_sr_ssse3;
|
||||||
|
if (flags & HAS_AVX2) av1_highbd_convolve_x_sr = av1_highbd_convolve_x_sr_avx2;
|
||||||
|
av1_highbd_convolve_y_sr = av1_highbd_convolve_y_sr_c;
|
||||||
|
if (flags & HAS_SSSE3) av1_highbd_convolve_y_sr = av1_highbd_convolve_y_sr_ssse3;
|
||||||
|
if (flags & HAS_AVX2) av1_highbd_convolve_y_sr = av1_highbd_convolve_y_sr_avx2;
|
||||||
|
av1_highbd_jnt_convolve_2d = av1_highbd_jnt_convolve_2d_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_highbd_jnt_convolve_2d = av1_highbd_jnt_convolve_2d_sse4_1;
|
||||||
|
if (flags & HAS_AVX2) av1_highbd_jnt_convolve_2d = av1_highbd_jnt_convolve_2d_avx2;
|
||||||
|
av1_highbd_jnt_convolve_2d_copy = av1_highbd_jnt_convolve_2d_copy_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_highbd_jnt_convolve_2d_copy = av1_highbd_jnt_convolve_2d_copy_sse4_1;
|
||||||
|
if (flags & HAS_AVX2) av1_highbd_jnt_convolve_2d_copy = av1_highbd_jnt_convolve_2d_copy_avx2;
|
||||||
|
av1_highbd_jnt_convolve_x = av1_highbd_jnt_convolve_x_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_highbd_jnt_convolve_x = av1_highbd_jnt_convolve_x_sse4_1;
|
||||||
|
if (flags & HAS_AVX2) av1_highbd_jnt_convolve_x = av1_highbd_jnt_convolve_x_avx2;
|
||||||
|
av1_highbd_jnt_convolve_y = av1_highbd_jnt_convolve_y_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_highbd_jnt_convolve_y = av1_highbd_jnt_convolve_y_sse4_1;
|
||||||
|
if (flags & HAS_AVX2) av1_highbd_jnt_convolve_y = av1_highbd_jnt_convolve_y_avx2;
|
||||||
|
av1_highbd_warp_affine = av1_highbd_warp_affine_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_highbd_warp_affine = av1_highbd_warp_affine_sse4_1;
|
||||||
|
av1_highbd_wiener_convolve_add_src = av1_highbd_wiener_convolve_add_src_c;
|
||||||
|
if (flags & HAS_SSSE3) av1_highbd_wiener_convolve_add_src = av1_highbd_wiener_convolve_add_src_ssse3;
|
||||||
|
if (flags & HAS_AVX2) av1_highbd_wiener_convolve_add_src = av1_highbd_wiener_convolve_add_src_avx2;
|
||||||
|
av1_inv_txfm2d_add_16x16 = av1_inv_txfm2d_add_16x16_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_inv_txfm2d_add_16x16 = av1_inv_txfm2d_add_16x16_sse4_1;
|
||||||
|
av1_inv_txfm2d_add_32x32 = av1_inv_txfm2d_add_32x32_c;
|
||||||
|
if (flags & HAS_AVX2) av1_inv_txfm2d_add_32x32 = av1_inv_txfm2d_add_32x32_avx2;
|
||||||
|
av1_inv_txfm2d_add_4x4 = av1_inv_txfm2d_add_4x4_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_inv_txfm2d_add_4x4 = av1_inv_txfm2d_add_4x4_sse4_1;
|
||||||
|
av1_inv_txfm2d_add_64x64 = av1_inv_txfm2d_add_64x64_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_inv_txfm2d_add_64x64 = av1_inv_txfm2d_add_64x64_sse4_1;
|
||||||
|
av1_inv_txfm2d_add_8x8 = av1_inv_txfm2d_add_8x8_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_inv_txfm2d_add_8x8 = av1_inv_txfm2d_add_8x8_sse4_1;
|
||||||
|
av1_inv_txfm_add = av1_inv_txfm_add_c;
|
||||||
|
if (flags & HAS_SSSE3) av1_inv_txfm_add = av1_inv_txfm_add_ssse3;
|
||||||
|
if (flags & HAS_AVX2) av1_inv_txfm_add = av1_inv_txfm_add_avx2;
|
||||||
|
av1_jnt_convolve_2d = av1_jnt_convolve_2d_c;
|
||||||
|
if (flags & HAS_SSSE3) av1_jnt_convolve_2d = av1_jnt_convolve_2d_ssse3;
|
||||||
|
if (flags & HAS_AVX2) av1_jnt_convolve_2d = av1_jnt_convolve_2d_avx2;
|
||||||
|
av1_jnt_convolve_2d_copy = av1_jnt_convolve_2d_copy_c;
|
||||||
|
if (flags & HAS_SSE2) av1_jnt_convolve_2d_copy = av1_jnt_convolve_2d_copy_sse2;
|
||||||
|
if (flags & HAS_AVX2) av1_jnt_convolve_2d_copy = av1_jnt_convolve_2d_copy_avx2;
|
||||||
|
av1_jnt_convolve_x = av1_jnt_convolve_x_c;
|
||||||
|
if (flags & HAS_SSE2) av1_jnt_convolve_x = av1_jnt_convolve_x_sse2;
|
||||||
|
if (flags & HAS_AVX2) av1_jnt_convolve_x = av1_jnt_convolve_x_avx2;
|
||||||
|
av1_jnt_convolve_y = av1_jnt_convolve_y_c;
|
||||||
|
if (flags & HAS_SSE2) av1_jnt_convolve_y = av1_jnt_convolve_y_sse2;
|
||||||
|
if (flags & HAS_AVX2) av1_jnt_convolve_y = av1_jnt_convolve_y_avx2;
|
||||||
|
av1_selfguided_restoration = av1_selfguided_restoration_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_selfguided_restoration = av1_selfguided_restoration_sse4_1;
|
||||||
|
if (flags & HAS_AVX2) av1_selfguided_restoration = av1_selfguided_restoration_avx2;
|
||||||
|
av1_upsample_intra_edge = av1_upsample_intra_edge_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_upsample_intra_edge = av1_upsample_intra_edge_sse4_1;
|
||||||
|
av1_upsample_intra_edge_high = av1_upsample_intra_edge_high_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_upsample_intra_edge_high = av1_upsample_intra_edge_high_sse4_1;
|
||||||
|
av1_warp_affine = av1_warp_affine_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_warp_affine = av1_warp_affine_sse4_1;
|
||||||
|
av1_wiener_convolve_add_src = av1_wiener_convolve_add_src_c;
|
||||||
|
if (flags & HAS_SSE2) av1_wiener_convolve_add_src = av1_wiener_convolve_add_src_sse2;
|
||||||
|
if (flags & HAS_AVX2) av1_wiener_convolve_add_src = av1_wiener_convolve_add_src_avx2;
|
||||||
|
cdef_filter_block = cdef_filter_block_c;
|
||||||
|
if (flags & HAS_SSE2) cdef_filter_block = cdef_filter_block_sse2;
|
||||||
|
if (flags & HAS_SSSE3) cdef_filter_block = cdef_filter_block_ssse3;
|
||||||
|
if (flags & HAS_SSE4_1) cdef_filter_block = cdef_filter_block_sse4_1;
|
||||||
|
if (flags & HAS_AVX2) cdef_filter_block = cdef_filter_block_avx2;
|
||||||
|
cdef_find_dir = cdef_find_dir_c;
|
||||||
|
if (flags & HAS_SSE2) cdef_find_dir = cdef_find_dir_sse2;
|
||||||
|
if (flags & HAS_SSSE3) cdef_find_dir = cdef_find_dir_ssse3;
|
||||||
|
if (flags & HAS_SSE4_1) cdef_find_dir = cdef_find_dir_sse4_1;
|
||||||
|
if (flags & HAS_AVX2) cdef_find_dir = cdef_find_dir_avx2;
|
||||||
|
cfl_get_luma_subsampling_420_hbd = cfl_get_luma_subsampling_420_hbd_c;
|
||||||
|
if (flags & HAS_SSSE3) cfl_get_luma_subsampling_420_hbd = cfl_get_luma_subsampling_420_hbd_ssse3;
|
||||||
|
if (flags & HAS_AVX2) cfl_get_luma_subsampling_420_hbd = cfl_get_luma_subsampling_420_hbd_avx2;
|
||||||
|
cfl_get_luma_subsampling_420_lbd = cfl_get_luma_subsampling_420_lbd_c;
|
||||||
|
if (flags & HAS_SSSE3) cfl_get_luma_subsampling_420_lbd = cfl_get_luma_subsampling_420_lbd_ssse3;
|
||||||
|
if (flags & HAS_AVX2) cfl_get_luma_subsampling_420_lbd = cfl_get_luma_subsampling_420_lbd_avx2;
|
||||||
|
cfl_get_luma_subsampling_422_hbd = cfl_get_luma_subsampling_422_hbd_c;
|
||||||
|
if (flags & HAS_SSSE3) cfl_get_luma_subsampling_422_hbd = cfl_get_luma_subsampling_422_hbd_ssse3;
|
||||||
|
if (flags & HAS_AVX2) cfl_get_luma_subsampling_422_hbd = cfl_get_luma_subsampling_422_hbd_avx2;
|
||||||
|
cfl_get_luma_subsampling_422_lbd = cfl_get_luma_subsampling_422_lbd_c;
|
||||||
|
if (flags & HAS_SSSE3) cfl_get_luma_subsampling_422_lbd = cfl_get_luma_subsampling_422_lbd_ssse3;
|
||||||
|
if (flags & HAS_AVX2) cfl_get_luma_subsampling_422_lbd = cfl_get_luma_subsampling_422_lbd_avx2;
|
||||||
|
cfl_get_luma_subsampling_444_hbd = cfl_get_luma_subsampling_444_hbd_c;
|
||||||
|
if (flags & HAS_SSSE3) cfl_get_luma_subsampling_444_hbd = cfl_get_luma_subsampling_444_hbd_ssse3;
|
||||||
|
if (flags & HAS_AVX2) cfl_get_luma_subsampling_444_hbd = cfl_get_luma_subsampling_444_hbd_avx2;
|
||||||
|
cfl_get_luma_subsampling_444_lbd = cfl_get_luma_subsampling_444_lbd_c;
|
||||||
|
if (flags & HAS_SSSE3) cfl_get_luma_subsampling_444_lbd = cfl_get_luma_subsampling_444_lbd_ssse3;
|
||||||
|
if (flags & HAS_AVX2) cfl_get_luma_subsampling_444_lbd = cfl_get_luma_subsampling_444_lbd_avx2;
|
||||||
|
copy_rect8_16bit_to_16bit = copy_rect8_16bit_to_16bit_c;
|
||||||
|
if (flags & HAS_SSE2) copy_rect8_16bit_to_16bit = copy_rect8_16bit_to_16bit_sse2;
|
||||||
|
if (flags & HAS_SSSE3) copy_rect8_16bit_to_16bit = copy_rect8_16bit_to_16bit_ssse3;
|
||||||
|
if (flags & HAS_SSE4_1) copy_rect8_16bit_to_16bit = copy_rect8_16bit_to_16bit_sse4_1;
|
||||||
|
if (flags & HAS_AVX2) copy_rect8_16bit_to_16bit = copy_rect8_16bit_to_16bit_avx2;
|
||||||
|
copy_rect8_8bit_to_16bit = copy_rect8_8bit_to_16bit_c;
|
||||||
|
if (flags & HAS_SSE2) copy_rect8_8bit_to_16bit = copy_rect8_8bit_to_16bit_sse2;
|
||||||
|
if (flags & HAS_SSSE3) copy_rect8_8bit_to_16bit = copy_rect8_8bit_to_16bit_ssse3;
|
||||||
|
if (flags & HAS_SSE4_1) copy_rect8_8bit_to_16bit = copy_rect8_8bit_to_16bit_sse4_1;
|
||||||
|
if (flags & HAS_AVX2) copy_rect8_8bit_to_16bit = copy_rect8_8bit_to_16bit_avx2;
|
||||||
|
get_predict_hbd_fn = get_predict_hbd_fn_c;
|
||||||
|
if (flags & HAS_SSSE3) get_predict_hbd_fn = get_predict_hbd_fn_ssse3;
|
||||||
|
if (flags & HAS_AVX2) get_predict_hbd_fn = get_predict_hbd_fn_avx2;
|
||||||
|
get_predict_lbd_fn = get_predict_lbd_fn_c;
|
||||||
|
if (flags & HAS_SSSE3) get_predict_lbd_fn = get_predict_lbd_fn_ssse3;
|
||||||
|
if (flags & HAS_AVX2) get_predict_lbd_fn = get_predict_lbd_fn_avx2;
|
||||||
|
get_subtract_average_fn = get_subtract_average_fn_c;
|
||||||
|
if (flags & HAS_SSE2) get_subtract_average_fn = get_subtract_average_fn_sse2;
|
||||||
|
if (flags & HAS_AVX2) get_subtract_average_fn = get_subtract_average_fn_avx2;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
} // extern "C"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
@ -1,176 +0,0 @@
|
||||||
ARCH_ARM equ 0
|
|
||||||
ARCH_MIPS equ 0
|
|
||||||
ARCH_X86 equ 0
|
|
||||||
ARCH_X86_64 equ 1
|
|
||||||
HAVE_NEON equ 0
|
|
||||||
HAVE_NEON_ASM equ 0
|
|
||||||
HAVE_MIPS32 equ 0
|
|
||||||
HAVE_DSPR2 equ 0
|
|
||||||
HAVE_MSA equ 0
|
|
||||||
HAVE_MIPS64 equ 0
|
|
||||||
HAVE_MMX equ 1
|
|
||||||
HAVE_SSE equ 1
|
|
||||||
HAVE_SSE2 equ 1
|
|
||||||
HAVE_SSE3 equ 1
|
|
||||||
HAVE_SSSE3 equ 1
|
|
||||||
HAVE_SSE4_1 equ 1
|
|
||||||
HAVE_AVX equ 1
|
|
||||||
HAVE_AVX2 equ 1
|
|
||||||
HAVE_AOM_PORTS equ 1
|
|
||||||
HAVE_FEXCEPT equ 1
|
|
||||||
HAVE_PTHREAD_H equ 1
|
|
||||||
HAVE_WXWIDGETS equ 0
|
|
||||||
CONFIG_DEPENDENCY_TRACKING equ 1
|
|
||||||
CONFIG_EXTERNAL_BUILD equ 1
|
|
||||||
CONFIG_INSTALL_DOCS equ 1
|
|
||||||
CONFIG_INSTALL_BINS equ 1
|
|
||||||
CONFIG_INSTALL_LIBS equ 1
|
|
||||||
CONFIG_INSTALL_SRCS equ 0
|
|
||||||
CONFIG_DEBUG equ 0
|
|
||||||
CONFIG_GPROF equ 0
|
|
||||||
CONFIG_GCOV equ 0
|
|
||||||
CONFIG_RVCT equ 0
|
|
||||||
CONFIG_GCC equ 1
|
|
||||||
CONFIG_MSVS equ 0
|
|
||||||
CONFIG_PIC equ 1
|
|
||||||
CONFIG_BIG_ENDIAN equ 0
|
|
||||||
CONFIG_CODEC_SRCS equ 0
|
|
||||||
CONFIG_DEBUG_LIBS equ 0
|
|
||||||
CONFIG_RUNTIME_CPU_DETECT equ 1
|
|
||||||
CONFIG_POSTPROC equ 1
|
|
||||||
CONFIG_MULTITHREAD equ 1
|
|
||||||
CONFIG_INTERNAL_STATS equ 0
|
|
||||||
CONFIG_AV1_ENCODER equ 1
|
|
||||||
CONFIG_AV1_DECODER equ 1
|
|
||||||
CONFIG_AV1 equ 1
|
|
||||||
CONFIG_STATIC_MSVCRT equ 0
|
|
||||||
CONFIG_SPATIAL_RESAMPLING equ 1
|
|
||||||
CONFIG_REALTIME_ONLY equ 0
|
|
||||||
CONFIG_SHARED equ 0
|
|
||||||
CONFIG_STATIC equ 1
|
|
||||||
CONFIG_SMALL equ 0
|
|
||||||
CONFIG_POSTPROC_VISUALIZER equ 0
|
|
||||||
CONFIG_OS_SUPPORT equ 1
|
|
||||||
CONFIG_UNIT_TESTS equ 0
|
|
||||||
CONFIG_WEBM_IO equ 1
|
|
||||||
CONFIG_LIBYUV equ 1
|
|
||||||
CONFIG_ACCOUNTING equ 0
|
|
||||||
CONFIG_INSPECTION equ 0
|
|
||||||
CONFIG_DECODE_PERF_TESTS equ 0
|
|
||||||
CONFIG_ENCODE_PERF_TESTS equ 0
|
|
||||||
CONFIG_BITSTREAM_DEBUG equ 0
|
|
||||||
CONFIG_SYMBOLRATE equ 0
|
|
||||||
CONFIG_COEFFICIENT_RANGE_CHECKING equ 0
|
|
||||||
CONFIG_LOWBITDEPTH equ 1
|
|
||||||
CONFIG_HIGHBITDEPTH equ 1
|
|
||||||
CONFIG_EXPERIMENTAL equ 0
|
|
||||||
CONFIG_SIZE_LIMIT equ 1
|
|
||||||
CONFIG_FP_MB_STATS equ 0
|
|
||||||
CONFIG_CDEF equ 1
|
|
||||||
CONFIG_CDEF_SINGLEPASS equ 1
|
|
||||||
CONFIG_VAR_TX equ 1
|
|
||||||
CONFIG_RECT_TX equ 1
|
|
||||||
CONFIG_RECT_TX_EXT equ 0
|
|
||||||
CONFIG_TPL_MV equ 0
|
|
||||||
CONFIG_DUAL_FILTER equ 1
|
|
||||||
CONFIG_CONVOLVE_ROUND equ 1
|
|
||||||
CONFIG_COMPOUND_ROUND equ 0
|
|
||||||
CONFIG_EXT_TX equ 1
|
|
||||||
CONFIG_TX64X64 equ 0
|
|
||||||
CONFIG_EXT_INTRA equ 1
|
|
||||||
CONFIG_INTRA_INTERP equ 0
|
|
||||||
CONFIG_FILTER_INTRA equ 0
|
|
||||||
CONFIG_INTRA_EDGE equ 1
|
|
||||||
CONFIG_INTRABC equ 0
|
|
||||||
CONFIG_INTERINTRA equ 1
|
|
||||||
CONFIG_WEDGE equ 1
|
|
||||||
CONFIG_COMPOUND_SEGMENT equ 1
|
|
||||||
CONFIG_EXT_REFS equ 1
|
|
||||||
CONFIG_GLOBAL_MOTION equ 1
|
|
||||||
CONFIG_NEW_QUANT equ 0
|
|
||||||
CONFIG_SUPERTX equ 0
|
|
||||||
CONFIG_ANS equ 0
|
|
||||||
CONFIG_LOOP_RESTORATION equ 1
|
|
||||||
CONFIG_STRIPED_LOOP_RESTORATION equ 0
|
|
||||||
CONFIG_EXT_PARTITION equ 0
|
|
||||||
CONFIG_EXT_PARTITION_TYPES equ 0
|
|
||||||
CONFIG_EXT_PARTITION_TYPES_AB equ 0
|
|
||||||
CONFIG_UNPOISON_PARTITION_CTX equ 0
|
|
||||||
CONFIG_EXT_TILE equ 0
|
|
||||||
CONFIG_MOTION_VAR equ 1
|
|
||||||
CONFIG_NCOBMC equ 0
|
|
||||||
CONFIG_WARPED_MOTION equ 1
|
|
||||||
CONFIG_Q_ADAPT_PROBS equ 0
|
|
||||||
CONFIG_INTER_STATS_ONLY equ 0
|
|
||||||
CONFIG_PALETTE_DELTA_ENCODING equ 0
|
|
||||||
CONFIG_RAWBITS equ 0
|
|
||||||
CONFIG_KF_CTX equ 0
|
|
||||||
CONFIG_PVQ equ 0
|
|
||||||
CONFIG_CFL equ 0
|
|
||||||
CONFIG_XIPHRC equ 0
|
|
||||||
CONFIG_DCT_ONLY equ 0
|
|
||||||
CONFIG_DAALA_TX equ 0
|
|
||||||
CONFIG_DAALA_DCT4 equ 0
|
|
||||||
CONFIG_DAALA_DCT8 equ 0
|
|
||||||
CONFIG_DAALA_DCT16 equ 0
|
|
||||||
CONFIG_DAALA_DCT32 equ 0
|
|
||||||
CONFIG_DAALA_DCT64 equ 0
|
|
||||||
CONFIG_CB4X4 equ 1
|
|
||||||
CONFIG_CHROMA_2X2 equ 0
|
|
||||||
CONFIG_CHROMA_SUB8X8 equ 1
|
|
||||||
CONFIG_FRAME_SIZE equ 0
|
|
||||||
CONFIG_EXT_DELTA_Q equ 1
|
|
||||||
CONFIG_ADAPT_SCAN equ 0
|
|
||||||
CONFIG_PARALLEL_DEBLOCKING equ 1
|
|
||||||
CONFIG_DEBLOCK_13TAP equ 0
|
|
||||||
CONFIG_LOOPFILTERING_ACROSS_TILES equ 1
|
|
||||||
CONFIG_TEMPMV_SIGNALING equ 1
|
|
||||||
CONFIG_RD_DEBUG equ 0
|
|
||||||
CONFIG_REFERENCE_BUFFER equ 1
|
|
||||||
CONFIG_COEF_INTERLEAVE equ 0
|
|
||||||
CONFIG_ENTROPY_STATS equ 0
|
|
||||||
CONFIG_MASKED_TX equ 0
|
|
||||||
CONFIG_DEPENDENT_HORZTILES equ 0
|
|
||||||
CONFIG_DIST_8X8 equ 1
|
|
||||||
CONFIG_PALETTE_THROUGHPUT equ 1
|
|
||||||
CONFIG_REF_ADAPT equ 0
|
|
||||||
CONFIG_LV_MAP equ 0
|
|
||||||
CONFIG_CTX1D equ 0
|
|
||||||
CONFIG_TXK_SEL equ 0
|
|
||||||
CONFIG_MV_COMPRESS equ 1
|
|
||||||
CONFIG_SEGMENT_ZEROMV equ 0
|
|
||||||
CONFIG_FRAME_SUPERRES equ 0
|
|
||||||
CONFIG_NEW_MULTISYMBOL equ 0
|
|
||||||
CONFIG_COMPOUND_SINGLEREF equ 0
|
|
||||||
CONFIG_AOM_QM equ 1
|
|
||||||
CONFIG_ONE_SIDED_COMPOUND equ 1
|
|
||||||
CONFIG_EXT_COMP_REFS equ 1
|
|
||||||
CONFIG_SMOOTH_HV equ 1
|
|
||||||
CONFIG_VAR_REFS equ 0
|
|
||||||
CONFIG_LGT equ 0
|
|
||||||
CONFIG_LGT_FROM_PRED equ 0
|
|
||||||
CONFIG_SBL_SYMBOL equ 0
|
|
||||||
CONFIG_NCOBMC_ADAPT_WEIGHT equ 0
|
|
||||||
CONFIG_BGSPRITE equ 0
|
|
||||||
CONFIG_VAR_TX_NO_TX_MODE equ 0
|
|
||||||
CONFIG_MRC_TX equ 0
|
|
||||||
CONFIG_LPF_DIRECT equ 0
|
|
||||||
CONFIG_LOOPFILTER_LEVEL equ 0
|
|
||||||
CONFIG_NO_FRAME_CONTEXT_SIGNALING equ 0
|
|
||||||
CONFIG_TXMG equ 1
|
|
||||||
CONFIG_MAX_TILE equ 0
|
|
||||||
CONFIG_HASH_ME equ 0
|
|
||||||
CONFIG_COLORSPACE_HEADERS equ 0
|
|
||||||
CONFIG_MFMV equ 0
|
|
||||||
CONFIG_FRAME_MARKER equ 0
|
|
||||||
CONFIG_JNT_COMP equ 0
|
|
||||||
CONFIG_FRAME_SIGN_BIAS equ 0
|
|
||||||
CONFIG_EXT_SKIP equ 0
|
|
||||||
CONFIG_OBU equ 0
|
|
||||||
CONFIG_AMVR equ 0
|
|
||||||
CONFIG_LPF_SB equ 0
|
|
||||||
CONFIG_OPT_REF_MV equ 0
|
|
||||||
CONFIG_TMV equ 0
|
|
||||||
CONFIG_RESTRICT_COMPRESSED_HDR equ 0
|
|
||||||
CONFIG_HORZONLY_FRAME_SUPERRES equ 0
|
|
||||||
CONFIG_ANALYZER equ 0
|
|
||||||
|
|
@ -1,11 +0,0 @@
|
||||||
/* Copyright (c) 2016, Alliance for Open Media. All rights reserved. */
|
|
||||||
/* */
|
|
||||||
/* This source code is subject to the terms of the BSD 2 Clause License and */
|
|
||||||
/* the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License */
|
|
||||||
/* was not distributed with this source code in the LICENSE file, you can */
|
|
||||||
/* obtain it at www.aomedia.org/license/software. If the Alliance for Open */
|
|
||||||
/* Media Patent License 1.0 was not distributed with this source code in the */
|
|
||||||
/* PATENTS file, you can obtain it at www.aomedia.org/license/patent. */
|
|
||||||
#include "aom/aom_codec.h"
|
|
||||||
static const char* const cfg = "--target=x86_64-linux-gcc --enable-external-build --disable-examples --disable-docs --disable-unit-tests --size-limit=8192x4608 --enable-pic --enable-postproc --as=yasm";
|
|
||||||
const char *aom_codec_build_config(void) {return cfg;}
|
|
||||||
|
|
@ -1,192 +0,0 @@
|
||||||
/* Copyright (c) 2016, Alliance for Open Media. All rights reserved. */
|
|
||||||
/* */
|
|
||||||
/* This source code is subject to the terms of the BSD 2 Clause License and */
|
|
||||||
/* the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License */
|
|
||||||
/* was not distributed with this source code in the LICENSE file, you can */
|
|
||||||
/* obtain it at www.aomedia.org/license/software. If the Alliance for Open */
|
|
||||||
/* Media Patent License 1.0 was not distributed with this source code in the */
|
|
||||||
/* PATENTS file, you can obtain it at www.aomedia.org/license/patent. */
|
|
||||||
/* This file automatically generated by configure. Do not edit! */
|
|
||||||
#ifndef AOM_CONFIG_H
|
|
||||||
#define AOM_CONFIG_H
|
|
||||||
#define RESTRICT
|
|
||||||
#define INLINE inline
|
|
||||||
#define ARCH_ARM 0
|
|
||||||
#define ARCH_MIPS 0
|
|
||||||
#define ARCH_X86 0
|
|
||||||
#define ARCH_X86_64 1
|
|
||||||
#define HAVE_NEON 0
|
|
||||||
#define HAVE_NEON_ASM 0
|
|
||||||
#define HAVE_MIPS32 0
|
|
||||||
#define HAVE_DSPR2 0
|
|
||||||
#define HAVE_MSA 0
|
|
||||||
#define HAVE_MIPS64 0
|
|
||||||
#define HAVE_MMX 1
|
|
||||||
#define HAVE_SSE 1
|
|
||||||
#define HAVE_SSE2 1
|
|
||||||
#define HAVE_SSE3 1
|
|
||||||
#define HAVE_SSSE3 1
|
|
||||||
#define HAVE_SSE4_1 1
|
|
||||||
#define HAVE_AVX 1
|
|
||||||
#define HAVE_AVX2 1
|
|
||||||
#define HAVE_AOM_PORTS 1
|
|
||||||
#define HAVE_FEXCEPT 1
|
|
||||||
#define HAVE_PTHREAD_H 1
|
|
||||||
#define HAVE_WXWIDGETS 0
|
|
||||||
#define CONFIG_DEPENDENCY_TRACKING 1
|
|
||||||
#define CONFIG_EXTERNAL_BUILD 1
|
|
||||||
#define CONFIG_INSTALL_DOCS 1
|
|
||||||
#define CONFIG_INSTALL_BINS 1
|
|
||||||
#define CONFIG_INSTALL_LIBS 1
|
|
||||||
#define CONFIG_INSTALL_SRCS 0
|
|
||||||
#define CONFIG_DEBUG 0
|
|
||||||
#define CONFIG_GPROF 0
|
|
||||||
#define CONFIG_GCOV 0
|
|
||||||
#define CONFIG_RVCT 0
|
|
||||||
#define CONFIG_GCC 1
|
|
||||||
#define CONFIG_MSVS 0
|
|
||||||
#define CONFIG_PIC 1
|
|
||||||
#define CONFIG_BIG_ENDIAN 0
|
|
||||||
#define CONFIG_CODEC_SRCS 0
|
|
||||||
#define CONFIG_DEBUG_LIBS 0
|
|
||||||
#define CONFIG_RUNTIME_CPU_DETECT 1
|
|
||||||
#define CONFIG_POSTPROC 1
|
|
||||||
#define CONFIG_MULTITHREAD 1
|
|
||||||
#define CONFIG_INTERNAL_STATS 0
|
|
||||||
#define CONFIG_AV1_ENCODER 1
|
|
||||||
#define CONFIG_AV1_DECODER 1
|
|
||||||
#define CONFIG_AV1 1
|
|
||||||
#define CONFIG_STATIC_MSVCRT 0
|
|
||||||
#define CONFIG_SPATIAL_RESAMPLING 1
|
|
||||||
#define CONFIG_REALTIME_ONLY 0
|
|
||||||
#define CONFIG_SHARED 0
|
|
||||||
#define CONFIG_STATIC 1
|
|
||||||
#define CONFIG_SMALL 0
|
|
||||||
#define CONFIG_POSTPROC_VISUALIZER 0
|
|
||||||
#define CONFIG_OS_SUPPORT 1
|
|
||||||
#define CONFIG_UNIT_TESTS 0
|
|
||||||
#define CONFIG_WEBM_IO 1
|
|
||||||
#define CONFIG_LIBYUV 1
|
|
||||||
#define CONFIG_ACCOUNTING 0
|
|
||||||
#define CONFIG_INSPECTION 0
|
|
||||||
#define CONFIG_DECODE_PERF_TESTS 0
|
|
||||||
#define CONFIG_ENCODE_PERF_TESTS 0
|
|
||||||
#define CONFIG_BITSTREAM_DEBUG 0
|
|
||||||
#define CONFIG_SYMBOLRATE 0
|
|
||||||
#define CONFIG_COEFFICIENT_RANGE_CHECKING 0
|
|
||||||
#define CONFIG_LOWBITDEPTH 1
|
|
||||||
#define CONFIG_HIGHBITDEPTH 1
|
|
||||||
#define CONFIG_EXPERIMENTAL 0
|
|
||||||
#define CONFIG_SIZE_LIMIT 1
|
|
||||||
#define CONFIG_FP_MB_STATS 0
|
|
||||||
#define CONFIG_CDEF 1
|
|
||||||
#define CONFIG_CDEF_SINGLEPASS 1
|
|
||||||
#define CONFIG_VAR_TX 1
|
|
||||||
#define CONFIG_RECT_TX 1
|
|
||||||
#define CONFIG_RECT_TX_EXT 0
|
|
||||||
#define CONFIG_TPL_MV 0
|
|
||||||
#define CONFIG_DUAL_FILTER 1
|
|
||||||
#define CONFIG_CONVOLVE_ROUND 1
|
|
||||||
#define CONFIG_COMPOUND_ROUND 0
|
|
||||||
#define CONFIG_EXT_TX 1
|
|
||||||
#define CONFIG_TX64X64 0
|
|
||||||
#define CONFIG_EXT_INTRA 1
|
|
||||||
#define CONFIG_INTRA_INTERP 0
|
|
||||||
#define CONFIG_FILTER_INTRA 0
|
|
||||||
#define CONFIG_INTRA_EDGE 1
|
|
||||||
#define CONFIG_INTRABC 0
|
|
||||||
#define CONFIG_INTERINTRA 1
|
|
||||||
#define CONFIG_WEDGE 1
|
|
||||||
#define CONFIG_COMPOUND_SEGMENT 1
|
|
||||||
#define CONFIG_EXT_REFS 1
|
|
||||||
#define CONFIG_GLOBAL_MOTION 1
|
|
||||||
#define CONFIG_NEW_QUANT 0
|
|
||||||
#define CONFIG_SUPERTX 0
|
|
||||||
#define CONFIG_ANS 0
|
|
||||||
#define CONFIG_LOOP_RESTORATION 1
|
|
||||||
#define CONFIG_STRIPED_LOOP_RESTORATION 0
|
|
||||||
#define CONFIG_EXT_PARTITION 0
|
|
||||||
#define CONFIG_EXT_PARTITION_TYPES 0
|
|
||||||
#define CONFIG_EXT_PARTITION_TYPES_AB 0
|
|
||||||
#define CONFIG_UNPOISON_PARTITION_CTX 0
|
|
||||||
#define CONFIG_EXT_TILE 0
|
|
||||||
#define CONFIG_MOTION_VAR 1
|
|
||||||
#define CONFIG_NCOBMC 0
|
|
||||||
#define CONFIG_WARPED_MOTION 1
|
|
||||||
#define CONFIG_Q_ADAPT_PROBS 0
|
|
||||||
#define CONFIG_INTER_STATS_ONLY 0
|
|
||||||
#define CONFIG_PALETTE_DELTA_ENCODING 0
|
|
||||||
#define CONFIG_RAWBITS 0
|
|
||||||
#define CONFIG_KF_CTX 0
|
|
||||||
#define CONFIG_PVQ 0
|
|
||||||
#define CONFIG_CFL 0
|
|
||||||
#define CONFIG_XIPHRC 0
|
|
||||||
#define CONFIG_DCT_ONLY 0
|
|
||||||
#define CONFIG_DAALA_TX 0
|
|
||||||
#define CONFIG_DAALA_DCT4 0
|
|
||||||
#define CONFIG_DAALA_DCT8 0
|
|
||||||
#define CONFIG_DAALA_DCT16 0
|
|
||||||
#define CONFIG_DAALA_DCT32 0
|
|
||||||
#define CONFIG_DAALA_DCT64 0
|
|
||||||
#define CONFIG_CB4X4 1
|
|
||||||
#define CONFIG_CHROMA_2X2 0
|
|
||||||
#define CONFIG_CHROMA_SUB8X8 1
|
|
||||||
#define CONFIG_FRAME_SIZE 0
|
|
||||||
#define CONFIG_EXT_DELTA_Q 1
|
|
||||||
#define CONFIG_ADAPT_SCAN 0
|
|
||||||
#define CONFIG_PARALLEL_DEBLOCKING 1
|
|
||||||
#define CONFIG_DEBLOCK_13TAP 0
|
|
||||||
#define CONFIG_LOOPFILTERING_ACROSS_TILES 1
|
|
||||||
#define CONFIG_TEMPMV_SIGNALING 1
|
|
||||||
#define CONFIG_RD_DEBUG 0
|
|
||||||
#define CONFIG_REFERENCE_BUFFER 1
|
|
||||||
#define CONFIG_COEF_INTERLEAVE 0
|
|
||||||
#define CONFIG_ENTROPY_STATS 0
|
|
||||||
#define CONFIG_MASKED_TX 0
|
|
||||||
#define CONFIG_DEPENDENT_HORZTILES 0
|
|
||||||
#define CONFIG_DIST_8X8 1
|
|
||||||
#define CONFIG_PALETTE_THROUGHPUT 1
|
|
||||||
#define CONFIG_REF_ADAPT 0
|
|
||||||
#define CONFIG_LV_MAP 0
|
|
||||||
#define CONFIG_CTX1D 0
|
|
||||||
#define CONFIG_TXK_SEL 0
|
|
||||||
#define CONFIG_MV_COMPRESS 1
|
|
||||||
#define CONFIG_SEGMENT_ZEROMV 0
|
|
||||||
#define CONFIG_FRAME_SUPERRES 0
|
|
||||||
#define CONFIG_NEW_MULTISYMBOL 0
|
|
||||||
#define CONFIG_COMPOUND_SINGLEREF 0
|
|
||||||
#define CONFIG_AOM_QM 1
|
|
||||||
#define CONFIG_ONE_SIDED_COMPOUND 1
|
|
||||||
#define CONFIG_EXT_COMP_REFS 1
|
|
||||||
#define CONFIG_SMOOTH_HV 1
|
|
||||||
#define CONFIG_VAR_REFS 0
|
|
||||||
#define CONFIG_LGT 0
|
|
||||||
#define CONFIG_LGT_FROM_PRED 0
|
|
||||||
#define CONFIG_SBL_SYMBOL 0
|
|
||||||
#define CONFIG_NCOBMC_ADAPT_WEIGHT 0
|
|
||||||
#define CONFIG_BGSPRITE 0
|
|
||||||
#define CONFIG_VAR_TX_NO_TX_MODE 0
|
|
||||||
#define CONFIG_MRC_TX 0
|
|
||||||
#define CONFIG_LPF_DIRECT 0
|
|
||||||
#define CONFIG_LOOPFILTER_LEVEL 0
|
|
||||||
#define CONFIG_NO_FRAME_CONTEXT_SIGNALING 0
|
|
||||||
#define CONFIG_TXMG 1
|
|
||||||
#define CONFIG_MAX_TILE 0
|
|
||||||
#define CONFIG_HASH_ME 0
|
|
||||||
#define CONFIG_COLORSPACE_HEADERS 0
|
|
||||||
#define CONFIG_MFMV 0
|
|
||||||
#define CONFIG_FRAME_MARKER 0
|
|
||||||
#define CONFIG_JNT_COMP 0
|
|
||||||
#define CONFIG_FRAME_SIGN_BIAS 0
|
|
||||||
#define CONFIG_EXT_SKIP 0
|
|
||||||
#define CONFIG_OBU 0
|
|
||||||
#define CONFIG_AMVR 0
|
|
||||||
#define CONFIG_LPF_SB 0
|
|
||||||
#define CONFIG_OPT_REF_MV 0
|
|
||||||
#define CONFIG_TMV 0
|
|
||||||
#define CONFIG_RESTRICT_COMPRESSED_HDR 0
|
|
||||||
#define CONFIG_HORZONLY_FRAME_SUPERRES 0
|
|
||||||
#define CONFIG_ANALYZER 0
|
|
||||||
#define DECODE_WIDTH_LIMIT 8192
|
|
||||||
#define DECODE_HEIGHT_LIMIT 4608
|
|
||||||
#endif /* AOM_CONFIG_H */
|
|
||||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,590 +0,0 @@
|
||||||
#ifndef AOM_RTCD_H_
|
|
||||||
#define AOM_RTCD_H_
|
|
||||||
|
|
||||||
#ifdef RTCD_C
|
|
||||||
#define RTCD_EXTERN
|
|
||||||
#else
|
|
||||||
#define RTCD_EXTERN extern
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*
|
|
||||||
* AV1
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include "aom/aom_integer.h"
|
|
||||||
#include "aom_dsp/txfm_common.h"
|
|
||||||
#include "av1/common/common.h"
|
|
||||||
#include "av1/common/enums.h"
|
|
||||||
#include "av1/common/quant_common.h"
|
|
||||||
#include "av1/common/filter.h"
|
|
||||||
#include "av1/common/convolve.h"
|
|
||||||
#include "av1/common/av1_txfm.h"
|
|
||||||
#include "av1/common/odintrin.h"
|
|
||||||
|
|
||||||
struct macroblockd;
|
|
||||||
|
|
||||||
/* Encoder forward decls */
|
|
||||||
struct macroblock;
|
|
||||||
struct txfm_param;
|
|
||||||
struct aom_variance_vtable;
|
|
||||||
struct search_site_config;
|
|
||||||
struct mv;
|
|
||||||
union int_mv;
|
|
||||||
struct yv12_buffer_config;
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
void apply_selfguided_restoration_c(uint8_t *dat, int width, int height, int stride, int eps, int *xqd, uint8_t *dst, int dst_stride, int32_t *tmpbuf);
|
|
||||||
void apply_selfguided_restoration_sse4_1(uint8_t *dat, int width, int height, int stride, int eps, int *xqd, uint8_t *dst, int dst_stride, int32_t *tmpbuf);
|
|
||||||
RTCD_EXTERN void (*apply_selfguided_restoration)(uint8_t *dat, int width, int height, int stride, int eps, int *xqd, uint8_t *dst, int dst_stride, int32_t *tmpbuf);
|
|
||||||
|
|
||||||
void apply_selfguided_restoration_highbd_c(uint16_t *dat, int width, int height, int stride, int bit_depth, int eps, int *xqd, uint16_t *dst, int dst_stride, int32_t *tmpbuf);
|
|
||||||
void apply_selfguided_restoration_highbd_sse4_1(uint16_t *dat, int width, int height, int stride, int bit_depth, int eps, int *xqd, uint16_t *dst, int dst_stride, int32_t *tmpbuf);
|
|
||||||
RTCD_EXTERN void (*apply_selfguided_restoration_highbd)(uint16_t *dat, int width, int height, int stride, int bit_depth, int eps, int *xqd, uint16_t *dst, int dst_stride, int32_t *tmpbuf);
|
|
||||||
|
|
||||||
int64_t av1_block_error_c(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block_size, int64_t *ssz);
|
|
||||||
int64_t av1_block_error_avx2(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block_size, int64_t *ssz);
|
|
||||||
RTCD_EXTERN int64_t (*av1_block_error)(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block_size, int64_t *ssz);
|
|
||||||
|
|
||||||
void av1_convolve_2d_c(const uint8_t *src, int src_stride, CONV_BUF_TYPE *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
|
||||||
void av1_convolve_2d_sse2(const uint8_t *src, int src_stride, CONV_BUF_TYPE *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
|
||||||
#define av1_convolve_2d av1_convolve_2d_sse2
|
|
||||||
|
|
||||||
void av1_convolve_2d_scale_c(const uint8_t *src, int src_stride, CONV_BUF_TYPE *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_qn, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params);
|
|
||||||
void av1_convolve_2d_scale_sse4_1(const uint8_t *src, int src_stride, CONV_BUF_TYPE *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_qn, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params);
|
|
||||||
RTCD_EXTERN void (*av1_convolve_2d_scale)(const uint8_t *src, int src_stride, CONV_BUF_TYPE *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_qn, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params);
|
|
||||||
|
|
||||||
void av1_convolve_horiz_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, ConvolveParams *conv_params);
|
|
||||||
void av1_convolve_horiz_ssse3(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, ConvolveParams *conv_params);
|
|
||||||
RTCD_EXTERN void (*av1_convolve_horiz)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, ConvolveParams *conv_params);
|
|
||||||
|
|
||||||
void av1_convolve_rounding_c(const int32_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, int bits);
|
|
||||||
void av1_convolve_rounding_avx2(const int32_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, int bits);
|
|
||||||
RTCD_EXTERN void (*av1_convolve_rounding)(const int32_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, int bits);
|
|
||||||
|
|
||||||
void av1_convolve_vert_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, ConvolveParams *conv_params);
|
|
||||||
void av1_convolve_vert_ssse3(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, ConvolveParams *conv_params);
|
|
||||||
RTCD_EXTERN void (*av1_convolve_vert)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, ConvolveParams *conv_params);
|
|
||||||
|
|
||||||
int av1_diamond_search_sad_c(struct macroblock *x, const struct search_site_config *cfg, struct mv *ref_mv, struct mv *best_mv, int search_param, int sad_per_bit, int *num00, const struct aom_variance_vtable *fn_ptr, const struct mv *center_mv);
|
|
||||||
#define av1_diamond_search_sad av1_diamond_search_sad_c
|
|
||||||
|
|
||||||
void av1_fht16x16_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
void av1_fht16x16_sse2(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
void av1_fht16x16_avx2(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
RTCD_EXTERN void (*av1_fht16x16)(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
|
|
||||||
void av1_fht16x32_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
void av1_fht16x32_sse2(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
#define av1_fht16x32 av1_fht16x32_sse2
|
|
||||||
|
|
||||||
void av1_fht16x4_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
#define av1_fht16x4 av1_fht16x4_c
|
|
||||||
|
|
||||||
void av1_fht16x8_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
void av1_fht16x8_sse2(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
#define av1_fht16x8 av1_fht16x8_sse2
|
|
||||||
|
|
||||||
void av1_fht32x16_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
void av1_fht32x16_sse2(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
#define av1_fht32x16 av1_fht32x16_sse2
|
|
||||||
|
|
||||||
void av1_fht32x32_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
void av1_fht32x32_sse2(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
void av1_fht32x32_avx2(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
RTCD_EXTERN void (*av1_fht32x32)(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
|
|
||||||
void av1_fht32x8_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
#define av1_fht32x8 av1_fht32x8_c
|
|
||||||
|
|
||||||
void av1_fht4x16_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
#define av1_fht4x16 av1_fht4x16_c
|
|
||||||
|
|
||||||
void av1_fht4x4_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
void av1_fht4x4_sse2(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
#define av1_fht4x4 av1_fht4x4_sse2
|
|
||||||
|
|
||||||
void av1_fht4x8_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
void av1_fht4x8_sse2(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
#define av1_fht4x8 av1_fht4x8_sse2
|
|
||||||
|
|
||||||
void av1_fht8x16_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
void av1_fht8x16_sse2(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
#define av1_fht8x16 av1_fht8x16_sse2
|
|
||||||
|
|
||||||
void av1_fht8x32_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
#define av1_fht8x32 av1_fht8x32_c
|
|
||||||
|
|
||||||
void av1_fht8x4_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
void av1_fht8x4_sse2(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
#define av1_fht8x4 av1_fht8x4_sse2
|
|
||||||
|
|
||||||
void av1_fht8x8_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
void av1_fht8x8_sse2(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
#define av1_fht8x8 av1_fht8x8_sse2
|
|
||||||
|
|
||||||
void av1_filter_intra_edge_c(uint8_t *p, int sz, int strength);
|
|
||||||
void av1_filter_intra_edge_sse4_1(uint8_t *p, int sz, int strength);
|
|
||||||
RTCD_EXTERN void (*av1_filter_intra_edge)(uint8_t *p, int sz, int strength);
|
|
||||||
|
|
||||||
void av1_filter_intra_edge_high_c(uint16_t *p, int sz, int strength);
|
|
||||||
void av1_filter_intra_edge_high_sse4_1(uint16_t *p, int sz, int strength);
|
|
||||||
RTCD_EXTERN void (*av1_filter_intra_edge_high)(uint16_t *p, int sz, int strength);
|
|
||||||
|
|
||||||
int av1_full_range_search_c(const struct macroblock *x, const struct search_site_config *cfg, struct mv *ref_mv, struct mv *best_mv, int search_param, int sad_per_bit, int *num00, const struct aom_variance_vtable *fn_ptr, const struct mv *center_mv);
|
|
||||||
#define av1_full_range_search av1_full_range_search_c
|
|
||||||
|
|
||||||
int av1_full_search_sad_c(const struct macroblock *x, const struct mv *ref_mv, int sad_per_bit, int distance, const struct aom_variance_vtable *fn_ptr, const struct mv *center_mv, struct mv *best_mv);
|
|
||||||
int av1_full_search_sadx3(const struct macroblock *x, const struct mv *ref_mv, int sad_per_bit, int distance, const struct aom_variance_vtable *fn_ptr, const struct mv *center_mv, struct mv *best_mv);
|
|
||||||
int av1_full_search_sadx8(const struct macroblock *x, const struct mv *ref_mv, int sad_per_bit, int distance, const struct aom_variance_vtable *fn_ptr, const struct mv *center_mv, struct mv *best_mv);
|
|
||||||
RTCD_EXTERN int (*av1_full_search_sad)(const struct macroblock *x, const struct mv *ref_mv, int sad_per_bit, int distance, const struct aom_variance_vtable *fn_ptr, const struct mv *center_mv, struct mv *best_mv);
|
|
||||||
|
|
||||||
void av1_fwd_idtx_c(const int16_t *src_diff, tran_low_t *coeff, int stride, int bsx, int bsy, TX_TYPE tx_type);
|
|
||||||
#define av1_fwd_idtx av1_fwd_idtx_c
|
|
||||||
|
|
||||||
void av1_fwd_txfm2d_16x16_c(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
void av1_fwd_txfm2d_16x16_sse4_1(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_fwd_txfm2d_16x16)(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
|
|
||||||
void av1_fwd_txfm2d_16x32_c(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_fwd_txfm2d_16x32 av1_fwd_txfm2d_16x32_c
|
|
||||||
|
|
||||||
void av1_fwd_txfm2d_16x8_c(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_fwd_txfm2d_16x8 av1_fwd_txfm2d_16x8_c
|
|
||||||
|
|
||||||
void av1_fwd_txfm2d_32x16_c(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_fwd_txfm2d_32x16 av1_fwd_txfm2d_32x16_c
|
|
||||||
|
|
||||||
void av1_fwd_txfm2d_32x32_c(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
void av1_fwd_txfm2d_32x32_sse4_1(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_fwd_txfm2d_32x32)(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
|
|
||||||
void av1_fwd_txfm2d_4x4_c(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
void av1_fwd_txfm2d_4x4_sse4_1(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_fwd_txfm2d_4x4)(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
|
|
||||||
void av1_fwd_txfm2d_4x8_c(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_fwd_txfm2d_4x8 av1_fwd_txfm2d_4x8_c
|
|
||||||
|
|
||||||
void av1_fwd_txfm2d_8x16_c(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_fwd_txfm2d_8x16 av1_fwd_txfm2d_8x16_c
|
|
||||||
|
|
||||||
void av1_fwd_txfm2d_8x4_c(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_fwd_txfm2d_8x4 av1_fwd_txfm2d_8x4_c
|
|
||||||
|
|
||||||
void av1_fwd_txfm2d_8x8_c(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
void av1_fwd_txfm2d_8x8_sse4_1(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_fwd_txfm2d_8x8)(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
|
|
||||||
void av1_fwht4x4_c(const int16_t *input, tran_low_t *output, int stride);
|
|
||||||
#define av1_fwht4x4 av1_fwht4x4_c
|
|
||||||
|
|
||||||
int64_t av1_highbd_block_error_c(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block_size, int64_t *ssz, int bd);
|
|
||||||
int64_t av1_highbd_block_error_sse2(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block_size, int64_t *ssz, int bd);
|
|
||||||
#define av1_highbd_block_error av1_highbd_block_error_sse2
|
|
||||||
|
|
||||||
void av1_highbd_convolve8_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
void av1_highbd_convolve8_sse2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
#define av1_highbd_convolve8 av1_highbd_convolve8_sse2
|
|
||||||
|
|
||||||
void av1_highbd_convolve8_avg_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
void av1_highbd_convolve8_avg_sse2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
#define av1_highbd_convolve8_avg av1_highbd_convolve8_avg_sse2
|
|
||||||
|
|
||||||
void av1_highbd_convolve8_avg_horiz_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
void av1_highbd_convolve8_avg_horiz_sse2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
#define av1_highbd_convolve8_avg_horiz av1_highbd_convolve8_avg_horiz_sse2
|
|
||||||
|
|
||||||
void av1_highbd_convolve8_avg_vert_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
void av1_highbd_convolve8_avg_vert_sse2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
#define av1_highbd_convolve8_avg_vert av1_highbd_convolve8_avg_vert_sse2
|
|
||||||
|
|
||||||
void av1_highbd_convolve8_horiz_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
void av1_highbd_convolve8_horiz_sse2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
#define av1_highbd_convolve8_horiz av1_highbd_convolve8_horiz_sse2
|
|
||||||
|
|
||||||
void av1_highbd_convolve8_vert_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
void av1_highbd_convolve8_vert_sse2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
#define av1_highbd_convolve8_vert av1_highbd_convolve8_vert_sse2
|
|
||||||
|
|
||||||
void av1_highbd_convolve_2d_c(const uint16_t *src, int src_stride, CONV_BUF_TYPE *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
|
||||||
void av1_highbd_convolve_2d_ssse3(const uint16_t *src, int src_stride, CONV_BUF_TYPE *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_highbd_convolve_2d)(const uint16_t *src, int src_stride, CONV_BUF_TYPE *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
|
||||||
|
|
||||||
void av1_highbd_convolve_2d_scale_c(const uint16_t *src, int src_stride, CONV_BUF_TYPE *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params, int bd);
|
|
||||||
void av1_highbd_convolve_2d_scale_sse4_1(const uint16_t *src, int src_stride, CONV_BUF_TYPE *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_highbd_convolve_2d_scale)(const uint16_t *src, int src_stride, CONV_BUF_TYPE *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params, int bd);
|
|
||||||
|
|
||||||
void av1_highbd_convolve_avg_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
#define av1_highbd_convolve_avg av1_highbd_convolve_avg_c
|
|
||||||
|
|
||||||
void av1_highbd_convolve_copy_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
#define av1_highbd_convolve_copy av1_highbd_convolve_copy_c
|
|
||||||
|
|
||||||
void av1_highbd_convolve_horiz_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, int avg, int bd);
|
|
||||||
void av1_highbd_convolve_horiz_sse4_1(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, int avg, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_highbd_convolve_horiz)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, int avg, int bd);
|
|
||||||
|
|
||||||
void av1_highbd_convolve_init_c(void);
|
|
||||||
void av1_highbd_convolve_init_sse4_1(void);
|
|
||||||
RTCD_EXTERN void (*av1_highbd_convolve_init)(void);
|
|
||||||
|
|
||||||
void av1_highbd_convolve_rounding_c(const int32_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, int bits, int bd);
|
|
||||||
void av1_highbd_convolve_rounding_avx2(const int32_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, int bits, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_highbd_convolve_rounding)(const int32_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, int bits, int bd);
|
|
||||||
|
|
||||||
void av1_highbd_convolve_vert_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, int avg, int bd);
|
|
||||||
void av1_highbd_convolve_vert_sse4_1(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, int avg, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_highbd_convolve_vert)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, int avg, int bd);
|
|
||||||
|
|
||||||
void av1_highbd_fwht4x4_c(const int16_t *input, tran_low_t *output, int stride);
|
|
||||||
#define av1_highbd_fwht4x4 av1_highbd_fwht4x4_c
|
|
||||||
|
|
||||||
void av1_highbd_iht16x16_256_add_c(const tran_low_t *input, uint8_t *output, int pitch, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht16x16_256_add av1_highbd_iht16x16_256_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht16x32_512_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht16x32_512_add av1_highbd_iht16x32_512_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht16x4_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht16x4_64_add av1_highbd_iht16x4_64_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht16x8_128_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht16x8_128_add av1_highbd_iht16x8_128_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht32x16_512_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht32x16_512_add av1_highbd_iht32x16_512_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht32x8_256_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht32x8_256_add av1_highbd_iht32x8_256_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht4x16_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht4x16_64_add av1_highbd_iht4x16_64_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht4x4_16_add av1_highbd_iht4x4_16_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht4x8_32_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht4x8_32_add av1_highbd_iht4x8_32_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht8x16_128_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht8x16_128_add av1_highbd_iht8x16_128_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht8x32_256_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht8x32_256_add av1_highbd_iht8x32_256_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht8x4_32_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht8x4_32_add av1_highbd_iht8x4_32_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht8x8_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht8x8_64_add av1_highbd_iht8x8_64_add_c
|
|
||||||
|
|
||||||
void av1_highbd_quantize_fp_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan, int log_scale);
|
|
||||||
void av1_highbd_quantize_fp_sse4_1(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan, int log_scale);
|
|
||||||
void av1_highbd_quantize_fp_avx2(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan, int log_scale);
|
|
||||||
RTCD_EXTERN void (*av1_highbd_quantize_fp)(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan, int log_scale);
|
|
||||||
|
|
||||||
void av1_highbd_temporal_filter_apply_c(uint8_t *frame1, unsigned int stride, uint8_t *frame2, unsigned int block_width, unsigned int block_height, int strength, int filter_weight, unsigned int *accumulator, uint16_t *count);
|
|
||||||
#define av1_highbd_temporal_filter_apply av1_highbd_temporal_filter_apply_c
|
|
||||||
|
|
||||||
void av1_highbd_warp_affine_c(const int32_t *mat, const uint16_t *ref, int width, int height, int stride, uint16_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, int bd, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
|
||||||
void av1_highbd_warp_affine_ssse3(const int32_t *mat, const uint16_t *ref, int width, int height, int stride, uint16_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, int bd, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
|
||||||
RTCD_EXTERN void (*av1_highbd_warp_affine)(const int32_t *mat, const uint16_t *ref, int width, int height, int stride, uint16_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, int bd, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
|
||||||
|
|
||||||
void av1_highpass_filter_c(uint8_t *dgd, int width, int height, int stride, int32_t *dst, int dst_stride, int r, int eps);
|
|
||||||
void av1_highpass_filter_sse4_1(uint8_t *dgd, int width, int height, int stride, int32_t *dst, int dst_stride, int r, int eps);
|
|
||||||
RTCD_EXTERN void (*av1_highpass_filter)(uint8_t *dgd, int width, int height, int stride, int32_t *dst, int dst_stride, int r, int eps);
|
|
||||||
|
|
||||||
void av1_highpass_filter_highbd_c(uint16_t *dgd, int width, int height, int stride, int32_t *dst, int dst_stride, int r, int eps);
|
|
||||||
void av1_highpass_filter_highbd_sse4_1(uint16_t *dgd, int width, int height, int stride, int32_t *dst, int dst_stride, int r, int eps);
|
|
||||||
RTCD_EXTERN void (*av1_highpass_filter_highbd)(uint16_t *dgd, int width, int height, int stride, int32_t *dst, int dst_stride, int r, int eps);
|
|
||||||
|
|
||||||
void av1_iht16x16_256_add_c(const tran_low_t *input, uint8_t *output, int pitch, const struct txfm_param *param);
|
|
||||||
void av1_iht16x16_256_add_sse2(const tran_low_t *input, uint8_t *output, int pitch, const struct txfm_param *param);
|
|
||||||
void av1_iht16x16_256_add_avx2(const tran_low_t *input, uint8_t *output, int pitch, const struct txfm_param *param);
|
|
||||||
RTCD_EXTERN void (*av1_iht16x16_256_add)(const tran_low_t *input, uint8_t *output, int pitch, const struct txfm_param *param);
|
|
||||||
|
|
||||||
void av1_iht16x32_512_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
void av1_iht16x32_512_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_iht16x32_512_add av1_iht16x32_512_add_sse2
|
|
||||||
|
|
||||||
void av1_iht16x4_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_iht16x4_64_add av1_iht16x4_64_add_c
|
|
||||||
|
|
||||||
void av1_iht16x8_128_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
void av1_iht16x8_128_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_iht16x8_128_add av1_iht16x8_128_add_sse2
|
|
||||||
|
|
||||||
void av1_iht32x16_512_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
void av1_iht32x16_512_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_iht32x16_512_add av1_iht32x16_512_add_sse2
|
|
||||||
|
|
||||||
void av1_iht32x32_1024_add_c(const tran_low_t *input, uint8_t *output, int pitch, const struct txfm_param *param);
|
|
||||||
#define av1_iht32x32_1024_add av1_iht32x32_1024_add_c
|
|
||||||
|
|
||||||
void av1_iht32x8_256_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_iht32x8_256_add av1_iht32x8_256_add_c
|
|
||||||
|
|
||||||
void av1_iht4x16_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_iht4x16_64_add av1_iht4x16_64_add_c
|
|
||||||
|
|
||||||
void av1_iht4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
void av1_iht4x4_16_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_iht4x4_16_add av1_iht4x4_16_add_sse2
|
|
||||||
|
|
||||||
void av1_iht4x8_32_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
void av1_iht4x8_32_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_iht4x8_32_add av1_iht4x8_32_add_sse2
|
|
||||||
|
|
||||||
void av1_iht8x16_128_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
void av1_iht8x16_128_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_iht8x16_128_add av1_iht8x16_128_add_sse2
|
|
||||||
|
|
||||||
void av1_iht8x32_256_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_iht8x32_256_add av1_iht8x32_256_add_c
|
|
||||||
|
|
||||||
void av1_iht8x4_32_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
void av1_iht8x4_32_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_iht8x4_32_add av1_iht8x4_32_add_sse2
|
|
||||||
|
|
||||||
void av1_iht8x8_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
void av1_iht8x8_64_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_iht8x8_64_add av1_iht8x8_64_add_sse2
|
|
||||||
|
|
||||||
void av1_inv_txfm2d_add_16x16_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
void av1_inv_txfm2d_add_16x16_sse4_1(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_inv_txfm2d_add_16x16)(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
|
|
||||||
void av1_inv_txfm2d_add_16x32_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_inv_txfm2d_add_16x32 av1_inv_txfm2d_add_16x32_c
|
|
||||||
|
|
||||||
void av1_inv_txfm2d_add_16x8_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_inv_txfm2d_add_16x8 av1_inv_txfm2d_add_16x8_c
|
|
||||||
|
|
||||||
void av1_inv_txfm2d_add_32x16_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_inv_txfm2d_add_32x16 av1_inv_txfm2d_add_32x16_c
|
|
||||||
|
|
||||||
void av1_inv_txfm2d_add_32x32_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
void av1_inv_txfm2d_add_32x32_avx2(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_inv_txfm2d_add_32x32)(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
|
|
||||||
void av1_inv_txfm2d_add_4x4_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
void av1_inv_txfm2d_add_4x4_sse4_1(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_inv_txfm2d_add_4x4)(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
|
|
||||||
void av1_inv_txfm2d_add_4x8_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_inv_txfm2d_add_4x8 av1_inv_txfm2d_add_4x8_c
|
|
||||||
|
|
||||||
void av1_inv_txfm2d_add_8x16_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_inv_txfm2d_add_8x16 av1_inv_txfm2d_add_8x16_c
|
|
||||||
|
|
||||||
void av1_inv_txfm2d_add_8x4_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_inv_txfm2d_add_8x4 av1_inv_txfm2d_add_8x4_c
|
|
||||||
|
|
||||||
void av1_inv_txfm2d_add_8x8_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
void av1_inv_txfm2d_add_8x8_sse4_1(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_inv_txfm2d_add_8x8)(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
|
|
||||||
void av1_lowbd_convolve_init_c(void);
|
|
||||||
void av1_lowbd_convolve_init_ssse3(void);
|
|
||||||
RTCD_EXTERN void (*av1_lowbd_convolve_init)(void);
|
|
||||||
|
|
||||||
void av1_quantize_b_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan, const qm_val_t * qm_ptr, const qm_val_t * iqm_ptr, int log_scale);
|
|
||||||
#define av1_quantize_b av1_quantize_b_c
|
|
||||||
|
|
||||||
void av1_quantize_fp_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan);
|
|
||||||
void av1_quantize_fp_sse2(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan);
|
|
||||||
void av1_quantize_fp_avx2(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan);
|
|
||||||
RTCD_EXTERN void (*av1_quantize_fp)(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan);
|
|
||||||
|
|
||||||
void av1_quantize_fp_32x32_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan);
|
|
||||||
void av1_quantize_fp_32x32_avx2(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan);
|
|
||||||
RTCD_EXTERN void (*av1_quantize_fp_32x32)(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan);
|
|
||||||
|
|
||||||
void av1_selfguided_restoration_c(uint8_t *dgd, int width, int height, int stride, int32_t *dst, int dst_stride, int r, int eps);
|
|
||||||
void av1_selfguided_restoration_sse4_1(uint8_t *dgd, int width, int height, int stride, int32_t *dst, int dst_stride, int r, int eps);
|
|
||||||
RTCD_EXTERN void (*av1_selfguided_restoration)(uint8_t *dgd, int width, int height, int stride, int32_t *dst, int dst_stride, int r, int eps);
|
|
||||||
|
|
||||||
void av1_selfguided_restoration_highbd_c(uint16_t *dgd, int width, int height, int stride, int32_t *dst, int dst_stride, int bit_depth, int r, int eps);
|
|
||||||
void av1_selfguided_restoration_highbd_sse4_1(uint16_t *dgd, int width, int height, int stride, int32_t *dst, int dst_stride, int bit_depth, int r, int eps);
|
|
||||||
RTCD_EXTERN void (*av1_selfguided_restoration_highbd)(uint16_t *dgd, int width, int height, int stride, int32_t *dst, int dst_stride, int bit_depth, int r, int eps);
|
|
||||||
|
|
||||||
void av1_temporal_filter_apply_c(uint8_t *frame1, unsigned int stride, uint8_t *frame2, unsigned int block_width, unsigned int block_height, int strength, int filter_weight, unsigned int *accumulator, uint16_t *count);
|
|
||||||
void av1_temporal_filter_apply_sse2(uint8_t *frame1, unsigned int stride, uint8_t *frame2, unsigned int block_width, unsigned int block_height, int strength, int filter_weight, unsigned int *accumulator, uint16_t *count);
|
|
||||||
#define av1_temporal_filter_apply av1_temporal_filter_apply_sse2
|
|
||||||
|
|
||||||
void av1_upsample_intra_edge_c(uint8_t *p, int sz);
|
|
||||||
void av1_upsample_intra_edge_sse4_1(uint8_t *p, int sz);
|
|
||||||
RTCD_EXTERN void (*av1_upsample_intra_edge)(uint8_t *p, int sz);
|
|
||||||
|
|
||||||
void av1_upsample_intra_edge_high_c(uint16_t *p, int sz, int bd);
|
|
||||||
void av1_upsample_intra_edge_high_sse4_1(uint16_t *p, int sz, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_upsample_intra_edge_high)(uint16_t *p, int sz, int bd);
|
|
||||||
|
|
||||||
void av1_warp_affine_c(const int32_t *mat, const uint8_t *ref, int width, int height, int stride, uint8_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
|
||||||
void av1_warp_affine_sse2(const int32_t *mat, const uint8_t *ref, int width, int height, int stride, uint8_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
|
||||||
void av1_warp_affine_ssse3(const int32_t *mat, const uint8_t *ref, int width, int height, int stride, uint8_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
|
||||||
RTCD_EXTERN void (*av1_warp_affine)(const int32_t *mat, const uint8_t *ref, int width, int height, int stride, uint8_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
|
||||||
|
|
||||||
void av1_wedge_compute_delta_squares_c(int16_t *d, const int16_t *a, const int16_t *b, int N);
|
|
||||||
void av1_wedge_compute_delta_squares_sse2(int16_t *d, const int16_t *a, const int16_t *b, int N);
|
|
||||||
#define av1_wedge_compute_delta_squares av1_wedge_compute_delta_squares_sse2
|
|
||||||
|
|
||||||
int av1_wedge_sign_from_residuals_c(const int16_t *ds, const uint8_t *m, int N, int64_t limit);
|
|
||||||
int av1_wedge_sign_from_residuals_sse2(const int16_t *ds, const uint8_t *m, int N, int64_t limit);
|
|
||||||
#define av1_wedge_sign_from_residuals av1_wedge_sign_from_residuals_sse2
|
|
||||||
|
|
||||||
uint64_t av1_wedge_sse_from_residuals_c(const int16_t *r1, const int16_t *d, const uint8_t *m, int N);
|
|
||||||
uint64_t av1_wedge_sse_from_residuals_sse2(const int16_t *r1, const int16_t *d, const uint8_t *m, int N);
|
|
||||||
#define av1_wedge_sse_from_residuals av1_wedge_sse_from_residuals_sse2
|
|
||||||
|
|
||||||
void cdef_filter_block_c(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max);
|
|
||||||
void cdef_filter_block_sse2(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max);
|
|
||||||
void cdef_filter_block_ssse3(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max);
|
|
||||||
void cdef_filter_block_sse4_1(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max);
|
|
||||||
void cdef_filter_block_avx2(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max);
|
|
||||||
RTCD_EXTERN void (*cdef_filter_block)(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max);
|
|
||||||
|
|
||||||
int cdef_find_dir_c(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
|
||||||
int cdef_find_dir_sse2(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
|
||||||
int cdef_find_dir_ssse3(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
|
||||||
int cdef_find_dir_sse4_1(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
|
||||||
int cdef_find_dir_avx2(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
|
||||||
RTCD_EXTERN int (*cdef_find_dir)(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
|
||||||
|
|
||||||
double compute_cross_correlation_c(unsigned char *im1, int stride1, int x1, int y1, unsigned char *im2, int stride2, int x2, int y2);
|
|
||||||
double compute_cross_correlation_sse4_1(unsigned char *im1, int stride1, int x1, int y1, unsigned char *im2, int stride2, int x2, int y2);
|
|
||||||
RTCD_EXTERN double (*compute_cross_correlation)(unsigned char *im1, int stride1, int x1, int y1, unsigned char *im2, int stride2, int x2, int y2);
|
|
||||||
|
|
||||||
void copy_rect8_16bit_to_16bit_c(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
|
||||||
void copy_rect8_16bit_to_16bit_sse2(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
|
||||||
void copy_rect8_16bit_to_16bit_ssse3(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
|
||||||
void copy_rect8_16bit_to_16bit_sse4_1(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
|
||||||
void copy_rect8_16bit_to_16bit_avx2(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
|
||||||
RTCD_EXTERN void (*copy_rect8_16bit_to_16bit)(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
|
||||||
|
|
||||||
void copy_rect8_8bit_to_16bit_c(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
|
||||||
void copy_rect8_8bit_to_16bit_sse2(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
|
||||||
void copy_rect8_8bit_to_16bit_ssse3(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
|
||||||
void copy_rect8_8bit_to_16bit_sse4_1(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
|
||||||
void copy_rect8_8bit_to_16bit_avx2(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
|
||||||
RTCD_EXTERN void (*copy_rect8_8bit_to_16bit)(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
|
||||||
|
|
||||||
void aom_rtcd(void);
|
|
||||||
|
|
||||||
#ifdef RTCD_C
|
|
||||||
#include "aom_ports/x86.h"
|
|
||||||
static void setup_rtcd_internal(void)
|
|
||||||
{
|
|
||||||
int flags = x86_simd_caps();
|
|
||||||
|
|
||||||
(void)flags;
|
|
||||||
|
|
||||||
apply_selfguided_restoration = apply_selfguided_restoration_c;
|
|
||||||
if (flags & HAS_SSE4_1) apply_selfguided_restoration = apply_selfguided_restoration_sse4_1;
|
|
||||||
apply_selfguided_restoration_highbd = apply_selfguided_restoration_highbd_c;
|
|
||||||
if (flags & HAS_SSE4_1) apply_selfguided_restoration_highbd = apply_selfguided_restoration_highbd_sse4_1;
|
|
||||||
av1_block_error = av1_block_error_c;
|
|
||||||
if (flags & HAS_AVX2) av1_block_error = av1_block_error_avx2;
|
|
||||||
av1_convolve_2d_scale = av1_convolve_2d_scale_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_convolve_2d_scale = av1_convolve_2d_scale_sse4_1;
|
|
||||||
av1_convolve_horiz = av1_convolve_horiz_c;
|
|
||||||
if (flags & HAS_SSSE3) av1_convolve_horiz = av1_convolve_horiz_ssse3;
|
|
||||||
av1_convolve_rounding = av1_convolve_rounding_c;
|
|
||||||
if (flags & HAS_AVX2) av1_convolve_rounding = av1_convolve_rounding_avx2;
|
|
||||||
av1_convolve_vert = av1_convolve_vert_c;
|
|
||||||
if (flags & HAS_SSSE3) av1_convolve_vert = av1_convolve_vert_ssse3;
|
|
||||||
av1_fht16x16 = av1_fht16x16_sse2;
|
|
||||||
if (flags & HAS_AVX2) av1_fht16x16 = av1_fht16x16_avx2;
|
|
||||||
av1_fht32x32 = av1_fht32x32_sse2;
|
|
||||||
if (flags & HAS_AVX2) av1_fht32x32 = av1_fht32x32_avx2;
|
|
||||||
av1_filter_intra_edge = av1_filter_intra_edge_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_filter_intra_edge = av1_filter_intra_edge_sse4_1;
|
|
||||||
av1_filter_intra_edge_high = av1_filter_intra_edge_high_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_filter_intra_edge_high = av1_filter_intra_edge_high_sse4_1;
|
|
||||||
av1_full_search_sad = av1_full_search_sad_c;
|
|
||||||
if (flags & HAS_SSE3) av1_full_search_sad = av1_full_search_sadx3;
|
|
||||||
if (flags & HAS_SSE4_1) av1_full_search_sad = av1_full_search_sadx8;
|
|
||||||
av1_fwd_txfm2d_16x16 = av1_fwd_txfm2d_16x16_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_fwd_txfm2d_16x16 = av1_fwd_txfm2d_16x16_sse4_1;
|
|
||||||
av1_fwd_txfm2d_32x32 = av1_fwd_txfm2d_32x32_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_fwd_txfm2d_32x32 = av1_fwd_txfm2d_32x32_sse4_1;
|
|
||||||
av1_fwd_txfm2d_4x4 = av1_fwd_txfm2d_4x4_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_fwd_txfm2d_4x4 = av1_fwd_txfm2d_4x4_sse4_1;
|
|
||||||
av1_fwd_txfm2d_8x8 = av1_fwd_txfm2d_8x8_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_fwd_txfm2d_8x8 = av1_fwd_txfm2d_8x8_sse4_1;
|
|
||||||
av1_highbd_convolve_2d = av1_highbd_convolve_2d_c;
|
|
||||||
if (flags & HAS_SSSE3) av1_highbd_convolve_2d = av1_highbd_convolve_2d_ssse3;
|
|
||||||
av1_highbd_convolve_2d_scale = av1_highbd_convolve_2d_scale_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_highbd_convolve_2d_scale = av1_highbd_convolve_2d_scale_sse4_1;
|
|
||||||
av1_highbd_convolve_horiz = av1_highbd_convolve_horiz_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_highbd_convolve_horiz = av1_highbd_convolve_horiz_sse4_1;
|
|
||||||
av1_highbd_convolve_init = av1_highbd_convolve_init_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_highbd_convolve_init = av1_highbd_convolve_init_sse4_1;
|
|
||||||
av1_highbd_convolve_rounding = av1_highbd_convolve_rounding_c;
|
|
||||||
if (flags & HAS_AVX2) av1_highbd_convolve_rounding = av1_highbd_convolve_rounding_avx2;
|
|
||||||
av1_highbd_convolve_vert = av1_highbd_convolve_vert_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_highbd_convolve_vert = av1_highbd_convolve_vert_sse4_1;
|
|
||||||
av1_highbd_quantize_fp = av1_highbd_quantize_fp_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_highbd_quantize_fp = av1_highbd_quantize_fp_sse4_1;
|
|
||||||
if (flags & HAS_AVX2) av1_highbd_quantize_fp = av1_highbd_quantize_fp_avx2;
|
|
||||||
av1_highbd_warp_affine = av1_highbd_warp_affine_c;
|
|
||||||
if (flags & HAS_SSSE3) av1_highbd_warp_affine = av1_highbd_warp_affine_ssse3;
|
|
||||||
av1_highpass_filter = av1_highpass_filter_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_highpass_filter = av1_highpass_filter_sse4_1;
|
|
||||||
av1_highpass_filter_highbd = av1_highpass_filter_highbd_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_highpass_filter_highbd = av1_highpass_filter_highbd_sse4_1;
|
|
||||||
av1_iht16x16_256_add = av1_iht16x16_256_add_sse2;
|
|
||||||
if (flags & HAS_AVX2) av1_iht16x16_256_add = av1_iht16x16_256_add_avx2;
|
|
||||||
av1_inv_txfm2d_add_16x16 = av1_inv_txfm2d_add_16x16_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_inv_txfm2d_add_16x16 = av1_inv_txfm2d_add_16x16_sse4_1;
|
|
||||||
av1_inv_txfm2d_add_32x32 = av1_inv_txfm2d_add_32x32_c;
|
|
||||||
if (flags & HAS_AVX2) av1_inv_txfm2d_add_32x32 = av1_inv_txfm2d_add_32x32_avx2;
|
|
||||||
av1_inv_txfm2d_add_4x4 = av1_inv_txfm2d_add_4x4_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_inv_txfm2d_add_4x4 = av1_inv_txfm2d_add_4x4_sse4_1;
|
|
||||||
av1_inv_txfm2d_add_8x8 = av1_inv_txfm2d_add_8x8_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_inv_txfm2d_add_8x8 = av1_inv_txfm2d_add_8x8_sse4_1;
|
|
||||||
av1_lowbd_convolve_init = av1_lowbd_convolve_init_c;
|
|
||||||
if (flags & HAS_SSSE3) av1_lowbd_convolve_init = av1_lowbd_convolve_init_ssse3;
|
|
||||||
av1_quantize_fp = av1_quantize_fp_sse2;
|
|
||||||
if (flags & HAS_AVX2) av1_quantize_fp = av1_quantize_fp_avx2;
|
|
||||||
av1_quantize_fp_32x32 = av1_quantize_fp_32x32_c;
|
|
||||||
if (flags & HAS_AVX2) av1_quantize_fp_32x32 = av1_quantize_fp_32x32_avx2;
|
|
||||||
av1_selfguided_restoration = av1_selfguided_restoration_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_selfguided_restoration = av1_selfguided_restoration_sse4_1;
|
|
||||||
av1_selfguided_restoration_highbd = av1_selfguided_restoration_highbd_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_selfguided_restoration_highbd = av1_selfguided_restoration_highbd_sse4_1;
|
|
||||||
av1_upsample_intra_edge = av1_upsample_intra_edge_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_upsample_intra_edge = av1_upsample_intra_edge_sse4_1;
|
|
||||||
av1_upsample_intra_edge_high = av1_upsample_intra_edge_high_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_upsample_intra_edge_high = av1_upsample_intra_edge_high_sse4_1;
|
|
||||||
av1_warp_affine = av1_warp_affine_sse2;
|
|
||||||
if (flags & HAS_SSSE3) av1_warp_affine = av1_warp_affine_ssse3;
|
|
||||||
cdef_filter_block = cdef_filter_block_sse2;
|
|
||||||
if (flags & HAS_SSSE3) cdef_filter_block = cdef_filter_block_ssse3;
|
|
||||||
if (flags & HAS_SSE4_1) cdef_filter_block = cdef_filter_block_sse4_1;
|
|
||||||
if (flags & HAS_AVX2) cdef_filter_block = cdef_filter_block_avx2;
|
|
||||||
cdef_find_dir = cdef_find_dir_sse2;
|
|
||||||
if (flags & HAS_SSSE3) cdef_find_dir = cdef_find_dir_ssse3;
|
|
||||||
if (flags & HAS_SSE4_1) cdef_find_dir = cdef_find_dir_sse4_1;
|
|
||||||
if (flags & HAS_AVX2) cdef_find_dir = cdef_find_dir_avx2;
|
|
||||||
compute_cross_correlation = compute_cross_correlation_c;
|
|
||||||
if (flags & HAS_SSE4_1) compute_cross_correlation = compute_cross_correlation_sse4_1;
|
|
||||||
copy_rect8_16bit_to_16bit = copy_rect8_16bit_to_16bit_sse2;
|
|
||||||
if (flags & HAS_SSSE3) copy_rect8_16bit_to_16bit = copy_rect8_16bit_to_16bit_ssse3;
|
|
||||||
if (flags & HAS_SSE4_1) copy_rect8_16bit_to_16bit = copy_rect8_16bit_to_16bit_sse4_1;
|
|
||||||
if (flags & HAS_AVX2) copy_rect8_16bit_to_16bit = copy_rect8_16bit_to_16bit_avx2;
|
|
||||||
copy_rect8_8bit_to_16bit = copy_rect8_8bit_to_16bit_sse2;
|
|
||||||
if (flags & HAS_SSSE3) copy_rect8_8bit_to_16bit = copy_rect8_8bit_to_16bit_ssse3;
|
|
||||||
if (flags & HAS_SSE4_1) copy_rect8_8bit_to_16bit = copy_rect8_8bit_to_16bit_sse4_1;
|
|
||||||
if (flags & HAS_AVX2) copy_rect8_8bit_to_16bit = copy_rect8_8bit_to_16bit_avx2;
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
} // extern "C"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif
|
|
||||||
69
media/libaom/config/linux/x64/config/aom_config.asm
Normal file
69
media/libaom/config/linux/x64/config/aom_config.asm
Normal file
|
|
@ -0,0 +1,69 @@
|
||||||
|
;
|
||||||
|
; Copyright (c) 2018, Alliance for Open Media. All rights reserved
|
||||||
|
;
|
||||||
|
; This source code is subject to the terms of the BSD 2 Clause License and
|
||||||
|
; the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
|
||||||
|
; was not distributed with this source code in the LICENSE file, you can
|
||||||
|
; obtain it at www.aomedia.org/license/software. If the Alliance for Open
|
||||||
|
; Media Patent License 1.0 was not distributed with this source code in the
|
||||||
|
; PATENTS file, you can obtain it at www.aomedia.org/license/patent.
|
||||||
|
;
|
||||||
|
|
||||||
|
ARCH_ARM equ 0
|
||||||
|
ARCH_MIPS equ 0
|
||||||
|
ARCH_PPC equ 0
|
||||||
|
ARCH_X86 equ 0
|
||||||
|
ARCH_X86_64 equ 1
|
||||||
|
CONFIG_ACCOUNTING equ 0
|
||||||
|
CONFIG_ANALYZER equ 0
|
||||||
|
CONFIG_AV1_DECODER equ 1
|
||||||
|
CONFIG_AV1_ENCODER equ 0
|
||||||
|
CONFIG_BIG_ENDIAN equ 0
|
||||||
|
CONFIG_BITSTREAM_DEBUG equ 0
|
||||||
|
CONFIG_COEFFICIENT_RANGE_CHECKING equ 0
|
||||||
|
CONFIG_COLLECT_INTER_MODE_RD_STATS equ 1
|
||||||
|
CONFIG_COLLECT_RD_STATS equ 0
|
||||||
|
CONFIG_DEBUG equ 0
|
||||||
|
CONFIG_DIST_8X8 equ 1
|
||||||
|
CONFIG_ENTROPY_STATS equ 0
|
||||||
|
CONFIG_FILEOPTIONS equ 1
|
||||||
|
CONFIG_FP_MB_STATS equ 0
|
||||||
|
CONFIG_GCC equ 1
|
||||||
|
CONFIG_GCOV equ 0
|
||||||
|
CONFIG_GPROF equ 0
|
||||||
|
CONFIG_INSPECTION equ 0
|
||||||
|
CONFIG_INTERNAL_STATS equ 0
|
||||||
|
CONFIG_INTER_STATS_ONLY equ 0
|
||||||
|
CONFIG_LIBYUV equ 0
|
||||||
|
CONFIG_LOWBITDEPTH equ 0
|
||||||
|
CONFIG_MISMATCH_DEBUG equ 0
|
||||||
|
CONFIG_MSVS equ 0
|
||||||
|
CONFIG_MULTITHREAD equ 1
|
||||||
|
CONFIG_OS_SUPPORT equ 1
|
||||||
|
CONFIG_PIC equ 0
|
||||||
|
CONFIG_RD_DEBUG equ 0
|
||||||
|
CONFIG_RUNTIME_CPU_DETECT equ 1
|
||||||
|
CONFIG_SHARED equ 0
|
||||||
|
CONFIG_SIZE_LIMIT equ 0
|
||||||
|
CONFIG_SPATIAL_RESAMPLING equ 1
|
||||||
|
CONFIG_STATIC equ 1
|
||||||
|
CONFIG_WEBM_IO equ 0
|
||||||
|
DECODE_HEIGHT_LIMIT equ 0
|
||||||
|
DECODE_WIDTH_LIMIT equ 0
|
||||||
|
HAVE_AVX equ 1
|
||||||
|
HAVE_AVX2 equ 1
|
||||||
|
HAVE_DSPR2 equ 0
|
||||||
|
HAVE_FEXCEPT equ 1
|
||||||
|
HAVE_MIPS32 equ 0
|
||||||
|
HAVE_MIPS64 equ 0
|
||||||
|
HAVE_MMX equ 1
|
||||||
|
HAVE_MSA equ 0
|
||||||
|
HAVE_NEON equ 0
|
||||||
|
HAVE_SSE equ 1
|
||||||
|
HAVE_SSE2 equ 1
|
||||||
|
HAVE_SSE3 equ 1
|
||||||
|
HAVE_SSE4_1 equ 1
|
||||||
|
HAVE_SSE4_2 equ 1
|
||||||
|
HAVE_SSSE3 equ 1
|
||||||
|
HAVE_VSX equ 0
|
||||||
|
HAVE_WXWIDGETS equ 0
|
||||||
75
media/libaom/config/linux/x64/config/aom_config.h
Normal file
75
media/libaom/config/linux/x64/config/aom_config.h
Normal file
|
|
@ -0,0 +1,75 @@
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2018, Alliance for Open Media. All rights reserved
|
||||||
|
*
|
||||||
|
* This source code is subject to the terms of the BSD 2 Clause License and
|
||||||
|
* the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
|
||||||
|
* was not distributed with this source code in the LICENSE file, you can
|
||||||
|
* obtain it at www.aomedia.org/license/software. If the Alliance for Open
|
||||||
|
* Media Patent License 1.0 was not distributed with this source code in the
|
||||||
|
* PATENTS file, you can obtain it at www.aomedia.org/license/patent.
|
||||||
|
*/
|
||||||
|
#ifndef AOM_CONFIG_H_
|
||||||
|
#define AOM_CONFIG_H_
|
||||||
|
|
||||||
|
#define ARCH_ARM 0
|
||||||
|
#define ARCH_MIPS 0
|
||||||
|
#define ARCH_PPC 0
|
||||||
|
#define ARCH_X86 0
|
||||||
|
#define ARCH_X86_64 1
|
||||||
|
#define CONFIG_ACCOUNTING 0
|
||||||
|
#define CONFIG_ANALYZER 0
|
||||||
|
#define CONFIG_AV1_DECODER 1
|
||||||
|
#define CONFIG_AV1_ENCODER 0
|
||||||
|
#define CONFIG_BIG_ENDIAN 0
|
||||||
|
#define CONFIG_BITSTREAM_DEBUG 0
|
||||||
|
#define CONFIG_COEFFICIENT_RANGE_CHECKING 0
|
||||||
|
#define CONFIG_COLLECT_INTER_MODE_RD_STATS 1
|
||||||
|
#define CONFIG_COLLECT_RD_STATS 0
|
||||||
|
#define CONFIG_DEBUG 0
|
||||||
|
#define CONFIG_DIST_8X8 1
|
||||||
|
#define CONFIG_ENTROPY_STATS 0
|
||||||
|
#define CONFIG_FILEOPTIONS 1
|
||||||
|
#define CONFIG_FP_MB_STATS 0
|
||||||
|
#define CONFIG_GCC 1
|
||||||
|
#define CONFIG_GCOV 0
|
||||||
|
#define CONFIG_GPROF 0
|
||||||
|
#define CONFIG_INSPECTION 0
|
||||||
|
#define CONFIG_INTERNAL_STATS 0
|
||||||
|
#define CONFIG_INTER_STATS_ONLY 0
|
||||||
|
#define CONFIG_LIBYUV 0
|
||||||
|
#define CONFIG_LOWBITDEPTH 0
|
||||||
|
#define CONFIG_MISMATCH_DEBUG 0
|
||||||
|
#define CONFIG_MSVS 0
|
||||||
|
#define CONFIG_MULTITHREAD 1
|
||||||
|
#define CONFIG_OS_SUPPORT 1
|
||||||
|
#define CONFIG_PIC 0
|
||||||
|
#define CONFIG_RD_DEBUG 0
|
||||||
|
#define CONFIG_RUNTIME_CPU_DETECT 1
|
||||||
|
#define CONFIG_SHARED 0
|
||||||
|
#define CONFIG_SIZE_LIMIT 0
|
||||||
|
#define CONFIG_SPATIAL_RESAMPLING 1
|
||||||
|
#define CONFIG_STATIC 1
|
||||||
|
#define CONFIG_WEBM_IO 0
|
||||||
|
#define DECODE_HEIGHT_LIMIT 0
|
||||||
|
#define DECODE_WIDTH_LIMIT 0
|
||||||
|
#define HAVE_AVX 1
|
||||||
|
#define HAVE_AVX2 1
|
||||||
|
#define HAVE_DSPR2 0
|
||||||
|
#define HAVE_FEXCEPT 1
|
||||||
|
#define HAVE_MIPS32 0
|
||||||
|
#define HAVE_MIPS64 0
|
||||||
|
#define HAVE_MMX 1
|
||||||
|
#define HAVE_MSA 0
|
||||||
|
#define HAVE_NEON 0
|
||||||
|
#define HAVE_SSE 1
|
||||||
|
#define HAVE_SSE2 1
|
||||||
|
#define HAVE_SSE3 1
|
||||||
|
#define HAVE_SSE4_1 1
|
||||||
|
#define HAVE_SSE4_2 1
|
||||||
|
#define HAVE_SSSE3 1
|
||||||
|
#define HAVE_VSX 0
|
||||||
|
#define HAVE_WXWIDGETS 0
|
||||||
|
#define INCLUDE_INSTALL_DIR INSTALLDIR/include
|
||||||
|
#define INLINE inline
|
||||||
|
#define LIB_INSTALL_DIR INSTALLDIR/lib
|
||||||
|
#endif /* AOM_CONFIG_H_ */
|
||||||
1997
media/libaom/config/linux/x64/config/aom_dsp_rtcd.h
Normal file
1997
media/libaom/config/linux/x64/config/aom_dsp_rtcd.h
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -1,3 +1,4 @@
|
||||||
|
// This file is generated. Do not edit.
|
||||||
#ifndef AOM_SCALE_RTCD_H_
|
#ifndef AOM_SCALE_RTCD_H_
|
||||||
#define AOM_SCALE_RTCD_H_
|
#define AOM_SCALE_RTCD_H_
|
||||||
|
|
||||||
|
|
@ -13,13 +14,13 @@ struct yv12_buffer_config;
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void aom_extend_frame_borders_c(struct yv12_buffer_config *ybf);
|
void aom_extend_frame_borders_c(struct yv12_buffer_config *ybf, const int num_planes);
|
||||||
#define aom_extend_frame_borders aom_extend_frame_borders_c
|
#define aom_extend_frame_borders aom_extend_frame_borders_c
|
||||||
|
|
||||||
void aom_extend_frame_borders_y_c(struct yv12_buffer_config *ybf);
|
void aom_extend_frame_borders_y_c(struct yv12_buffer_config *ybf);
|
||||||
#define aom_extend_frame_borders_y aom_extend_frame_borders_y_c
|
#define aom_extend_frame_borders_y aom_extend_frame_borders_y_c
|
||||||
|
|
||||||
void aom_extend_frame_inner_borders_c(struct yv12_buffer_config *ybf);
|
void aom_extend_frame_inner_borders_c(struct yv12_buffer_config *ybf, const int num_planes);
|
||||||
#define aom_extend_frame_inner_borders aom_extend_frame_inner_borders_c
|
#define aom_extend_frame_inner_borders aom_extend_frame_inner_borders_c
|
||||||
|
|
||||||
void aom_horizontal_line_2_1_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
|
void aom_horizontal_line_2_1_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
|
||||||
|
|
@ -43,7 +44,7 @@ void aom_vertical_band_5_3_scale_c(unsigned char *source, int src_pitch, unsigne
|
||||||
void aom_vertical_band_5_4_scale_c(unsigned char *source, int src_pitch, unsigned char *dest, int dest_pitch, unsigned int dest_width);
|
void aom_vertical_band_5_4_scale_c(unsigned char *source, int src_pitch, unsigned char *dest, int dest_pitch, unsigned int dest_width);
|
||||||
#define aom_vertical_band_5_4_scale aom_vertical_band_5_4_scale_c
|
#define aom_vertical_band_5_4_scale aom_vertical_band_5_4_scale_c
|
||||||
|
|
||||||
void aom_yv12_copy_frame_c(const struct yv12_buffer_config *src_bc, struct yv12_buffer_config *dst_bc);
|
void aom_yv12_copy_frame_c(const struct yv12_buffer_config *src_bc, struct yv12_buffer_config *dst_bc, const int num_planes);
|
||||||
#define aom_yv12_copy_frame aom_yv12_copy_frame_c
|
#define aom_yv12_copy_frame aom_yv12_copy_frame_c
|
||||||
|
|
||||||
void aom_yv12_copy_u_c(const struct yv12_buffer_config *src_bc, struct yv12_buffer_config *dst_bc);
|
void aom_yv12_copy_u_c(const struct yv12_buffer_config *src_bc, struct yv12_buffer_config *dst_bc);
|
||||||
|
|
@ -55,9 +56,18 @@ void aom_yv12_copy_v_c(const struct yv12_buffer_config *src_bc, struct yv12_buff
|
||||||
void aom_yv12_copy_y_c(const struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc);
|
void aom_yv12_copy_y_c(const struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc);
|
||||||
#define aom_yv12_copy_y aom_yv12_copy_y_c
|
#define aom_yv12_copy_y aom_yv12_copy_y_c
|
||||||
|
|
||||||
void aom_yv12_extend_frame_borders_c(struct yv12_buffer_config *ybf);
|
void aom_yv12_extend_frame_borders_c(struct yv12_buffer_config *ybf, const int num_planes);
|
||||||
#define aom_yv12_extend_frame_borders aom_yv12_extend_frame_borders_c
|
#define aom_yv12_extend_frame_borders aom_yv12_extend_frame_borders_c
|
||||||
|
|
||||||
|
void aom_yv12_partial_copy_u_c(const struct yv12_buffer_config *src_bc, struct yv12_buffer_config *dst_bc, int hstart, int hend, int vstart, int vend);
|
||||||
|
#define aom_yv12_partial_copy_u aom_yv12_partial_copy_u_c
|
||||||
|
|
||||||
|
void aom_yv12_partial_copy_v_c(const struct yv12_buffer_config *src_bc, struct yv12_buffer_config *dst_bc, int hstart, int hend, int vstart, int vend);
|
||||||
|
#define aom_yv12_partial_copy_v aom_yv12_partial_copy_v_c
|
||||||
|
|
||||||
|
void aom_yv12_partial_copy_y_c(const struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc, int hstart, int hend, int vstart, int vend);
|
||||||
|
#define aom_yv12_partial_copy_y aom_yv12_partial_copy_y_c
|
||||||
|
|
||||||
void aom_scale_rtcd(void);
|
void aom_scale_rtcd(void);
|
||||||
|
|
||||||
#ifdef RTCD_C
|
#ifdef RTCD_C
|
||||||
553
media/libaom/config/linux/x64/config/av1_rtcd.h
Normal file
553
media/libaom/config/linux/x64/config/av1_rtcd.h
Normal file
|
|
@ -0,0 +1,553 @@
|
||||||
|
// This file is generated. Do not edit.
|
||||||
|
#ifndef AOM_RTCD_H_
|
||||||
|
#define AOM_RTCD_H_
|
||||||
|
|
||||||
|
#ifdef RTCD_C
|
||||||
|
#define RTCD_EXTERN
|
||||||
|
#else
|
||||||
|
#define RTCD_EXTERN extern
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/*
|
||||||
|
* AV1
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "aom/aom_integer.h"
|
||||||
|
#include "aom_dsp/txfm_common.h"
|
||||||
|
#include "av1/common/common.h"
|
||||||
|
#include "av1/common/enums.h"
|
||||||
|
#include "av1/common/quant_common.h"
|
||||||
|
#include "av1/common/filter.h"
|
||||||
|
#include "av1/common/convolve.h"
|
||||||
|
#include "av1/common/av1_txfm.h"
|
||||||
|
#include "av1/common/odintrin.h"
|
||||||
|
#include "av1/common/restoration.h"
|
||||||
|
|
||||||
|
struct macroblockd;
|
||||||
|
|
||||||
|
/* Encoder forward decls */
|
||||||
|
struct macroblock;
|
||||||
|
struct txfm_param;
|
||||||
|
struct aom_variance_vtable;
|
||||||
|
struct search_site_config;
|
||||||
|
struct yv12_buffer_config;
|
||||||
|
|
||||||
|
/* Function pointers return by CfL functions */
|
||||||
|
typedef void (*cfl_subsample_lbd_fn)(const uint8_t *input, int input_stride,
|
||||||
|
uint16_t *output_q3);
|
||||||
|
|
||||||
|
typedef void (*cfl_subsample_hbd_fn)(const uint16_t *input, int input_stride,
|
||||||
|
uint16_t *output_q3);
|
||||||
|
|
||||||
|
typedef void (*cfl_subtract_average_fn)(const uint16_t *src, int16_t *dst);
|
||||||
|
|
||||||
|
typedef void (*cfl_predict_lbd_fn)(const int16_t *src, uint8_t *dst,
|
||||||
|
int dst_stride, int alpha_q3);
|
||||||
|
|
||||||
|
typedef void (*cfl_predict_hbd_fn)(const int16_t *src, uint16_t *dst,
|
||||||
|
int dst_stride, int alpha_q3, int bd);
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
|
void apply_selfguided_restoration_c(const uint8_t *dat, int width, int height, int stride, int eps, const int *xqd, uint8_t *dst, int dst_stride, int32_t *tmpbuf, int bit_depth, int highbd);
|
||||||
|
void apply_selfguided_restoration_sse4_1(const uint8_t *dat, int width, int height, int stride, int eps, const int *xqd, uint8_t *dst, int dst_stride, int32_t *tmpbuf, int bit_depth, int highbd);
|
||||||
|
void apply_selfguided_restoration_avx2(const uint8_t *dat, int width, int height, int stride, int eps, const int *xqd, uint8_t *dst, int dst_stride, int32_t *tmpbuf, int bit_depth, int highbd);
|
||||||
|
RTCD_EXTERN void (*apply_selfguided_restoration)(const uint8_t *dat, int width, int height, int stride, int eps, const int *xqd, uint8_t *dst, int dst_stride, int32_t *tmpbuf, int bit_depth, int highbd);
|
||||||
|
|
||||||
|
void av1_build_compound_diffwtd_mask_c(uint8_t *mask, DIFFWTD_MASK_TYPE mask_type, const uint8_t *src0, int src0_stride, const uint8_t *src1, int src1_stride, int h, int w);
|
||||||
|
void av1_build_compound_diffwtd_mask_sse4_1(uint8_t *mask, DIFFWTD_MASK_TYPE mask_type, const uint8_t *src0, int src0_stride, const uint8_t *src1, int src1_stride, int h, int w);
|
||||||
|
RTCD_EXTERN void (*av1_build_compound_diffwtd_mask)(uint8_t *mask, DIFFWTD_MASK_TYPE mask_type, const uint8_t *src0, int src0_stride, const uint8_t *src1, int src1_stride, int h, int w);
|
||||||
|
|
||||||
|
void av1_build_compound_diffwtd_mask_d16_c(uint8_t *mask, DIFFWTD_MASK_TYPE mask_type, const CONV_BUF_TYPE *src0, int src0_stride, const CONV_BUF_TYPE *src1, int src1_stride, int h, int w, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_build_compound_diffwtd_mask_d16_sse4_1(uint8_t *mask, DIFFWTD_MASK_TYPE mask_type, const CONV_BUF_TYPE *src0, int src0_stride, const CONV_BUF_TYPE *src1, int src1_stride, int h, int w, ConvolveParams *conv_params, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_build_compound_diffwtd_mask_d16)(uint8_t *mask, DIFFWTD_MASK_TYPE mask_type, const CONV_BUF_TYPE *src0, int src0_stride, const CONV_BUF_TYPE *src1, int src1_stride, int h, int w, ConvolveParams *conv_params, int bd);
|
||||||
|
|
||||||
|
void av1_build_compound_diffwtd_mask_highbd_c(uint8_t *mask, DIFFWTD_MASK_TYPE mask_type, const uint8_t *src0, int src0_stride, const uint8_t *src1, int src1_stride, int h, int w, int bd);
|
||||||
|
void av1_build_compound_diffwtd_mask_highbd_ssse3(uint8_t *mask, DIFFWTD_MASK_TYPE mask_type, const uint8_t *src0, int src0_stride, const uint8_t *src1, int src1_stride, int h, int w, int bd);
|
||||||
|
void av1_build_compound_diffwtd_mask_highbd_avx2(uint8_t *mask, DIFFWTD_MASK_TYPE mask_type, const uint8_t *src0, int src0_stride, const uint8_t *src1, int src1_stride, int h, int w, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_build_compound_diffwtd_mask_highbd)(uint8_t *mask, DIFFWTD_MASK_TYPE mask_type, const uint8_t *src0, int src0_stride, const uint8_t *src1, int src1_stride, int h, int w, int bd);
|
||||||
|
|
||||||
|
void av1_convolve_2d_copy_sr_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_convolve_2d_copy_sr_sse2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_convolve_2d_copy_sr_avx2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
RTCD_EXTERN void (*av1_convolve_2d_copy_sr)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
|
||||||
|
void av1_convolve_2d_scale_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_qn, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params);
|
||||||
|
void av1_convolve_2d_scale_sse4_1(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_qn, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params);
|
||||||
|
RTCD_EXTERN void (*av1_convolve_2d_scale)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_qn, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params);
|
||||||
|
|
||||||
|
void av1_convolve_2d_sr_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_convolve_2d_sr_sse2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_convolve_2d_sr_avx2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
RTCD_EXTERN void (*av1_convolve_2d_sr)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
|
||||||
|
void av1_convolve_horiz_rs_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const int16_t *x_filters, int x0_qn, int x_step_qn);
|
||||||
|
void av1_convolve_horiz_rs_sse4_1(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const int16_t *x_filters, int x0_qn, int x_step_qn);
|
||||||
|
RTCD_EXTERN void (*av1_convolve_horiz_rs)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const int16_t *x_filters, int x0_qn, int x_step_qn);
|
||||||
|
|
||||||
|
void av1_convolve_x_sr_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_convolve_x_sr_sse2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_convolve_x_sr_avx2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
RTCD_EXTERN void (*av1_convolve_x_sr)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
|
||||||
|
void av1_convolve_y_sr_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_convolve_y_sr_sse2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_convolve_y_sr_avx2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
RTCD_EXTERN void (*av1_convolve_y_sr)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
|
||||||
|
void av1_dr_prediction_z1_c(uint8_t *dst, ptrdiff_t stride, int bw, int bh, const uint8_t *above, const uint8_t *left, int upsample_above, int dx, int dy);
|
||||||
|
#define av1_dr_prediction_z1 av1_dr_prediction_z1_c
|
||||||
|
|
||||||
|
void av1_dr_prediction_z2_c(uint8_t *dst, ptrdiff_t stride, int bw, int bh, const uint8_t *above, const uint8_t *left, int upsample_above, int upsample_left, int dx, int dy);
|
||||||
|
#define av1_dr_prediction_z2 av1_dr_prediction_z2_c
|
||||||
|
|
||||||
|
void av1_dr_prediction_z3_c(uint8_t *dst, ptrdiff_t stride, int bw, int bh, const uint8_t *above, const uint8_t *left, int upsample_left, int dx, int dy);
|
||||||
|
#define av1_dr_prediction_z3 av1_dr_prediction_z3_c
|
||||||
|
|
||||||
|
void av1_filter_intra_edge_c(uint8_t *p, int sz, int strength);
|
||||||
|
void av1_filter_intra_edge_sse4_1(uint8_t *p, int sz, int strength);
|
||||||
|
RTCD_EXTERN void (*av1_filter_intra_edge)(uint8_t *p, int sz, int strength);
|
||||||
|
|
||||||
|
void av1_filter_intra_edge_high_c(uint16_t *p, int sz, int strength);
|
||||||
|
void av1_filter_intra_edge_high_sse4_1(uint16_t *p, int sz, int strength);
|
||||||
|
RTCD_EXTERN void (*av1_filter_intra_edge_high)(uint16_t *p, int sz, int strength);
|
||||||
|
|
||||||
|
void av1_filter_intra_predictor_c(uint8_t *dst, ptrdiff_t stride, TX_SIZE tx_size, const uint8_t *above, const uint8_t *left, int mode);
|
||||||
|
void av1_filter_intra_predictor_sse4_1(uint8_t *dst, ptrdiff_t stride, TX_SIZE tx_size, const uint8_t *above, const uint8_t *left, int mode);
|
||||||
|
RTCD_EXTERN void (*av1_filter_intra_predictor)(uint8_t *dst, ptrdiff_t stride, TX_SIZE tx_size, const uint8_t *above, const uint8_t *left, int mode);
|
||||||
|
|
||||||
|
void av1_highbd_convolve8_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
||||||
|
void av1_highbd_convolve8_sse2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
||||||
|
#define av1_highbd_convolve8 av1_highbd_convolve8_sse2
|
||||||
|
|
||||||
|
void av1_highbd_convolve8_horiz_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
||||||
|
void av1_highbd_convolve8_horiz_sse2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
||||||
|
#define av1_highbd_convolve8_horiz av1_highbd_convolve8_horiz_sse2
|
||||||
|
|
||||||
|
void av1_highbd_convolve8_vert_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
||||||
|
void av1_highbd_convolve8_vert_sse2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
||||||
|
#define av1_highbd_convolve8_vert av1_highbd_convolve8_vert_sse2
|
||||||
|
|
||||||
|
void av1_highbd_convolve_2d_copy_sr_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_convolve_2d_copy_sr_sse2(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_convolve_2d_copy_sr_avx2(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_convolve_2d_copy_sr)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
|
||||||
|
void av1_highbd_convolve_2d_scale_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_convolve_2d_scale_sse4_1(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_convolve_2d_scale)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params, int bd);
|
||||||
|
|
||||||
|
void av1_highbd_convolve_2d_sr_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_convolve_2d_sr_ssse3(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_convolve_2d_sr_avx2(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_convolve_2d_sr)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
|
||||||
|
void av1_highbd_convolve_avg_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
||||||
|
#define av1_highbd_convolve_avg av1_highbd_convolve_avg_c
|
||||||
|
|
||||||
|
void av1_highbd_convolve_copy_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
||||||
|
#define av1_highbd_convolve_copy av1_highbd_convolve_copy_c
|
||||||
|
|
||||||
|
void av1_highbd_convolve_horiz_rs_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, const int16_t *x_filters, int x0_qn, int x_step_qn, int bd);
|
||||||
|
void av1_highbd_convolve_horiz_rs_sse4_1(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, const int16_t *x_filters, int x0_qn, int x_step_qn, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_convolve_horiz_rs)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, const int16_t *x_filters, int x0_qn, int x_step_qn, int bd);
|
||||||
|
|
||||||
|
void av1_highbd_convolve_x_sr_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_convolve_x_sr_ssse3(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_convolve_x_sr_avx2(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_convolve_x_sr)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
|
||||||
|
void av1_highbd_convolve_y_sr_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_convolve_y_sr_ssse3(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_convolve_y_sr_avx2(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_convolve_y_sr)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
|
||||||
|
void av1_highbd_dr_prediction_z1_c(uint16_t *dst, ptrdiff_t stride, int bw, int bh, const uint16_t *above, const uint16_t *left, int upsample_above, int dx, int dy, int bd);
|
||||||
|
#define av1_highbd_dr_prediction_z1 av1_highbd_dr_prediction_z1_c
|
||||||
|
|
||||||
|
void av1_highbd_dr_prediction_z2_c(uint16_t *dst, ptrdiff_t stride, int bw, int bh, const uint16_t *above, const uint16_t *left, int upsample_above, int upsample_left, int dx, int dy, int bd);
|
||||||
|
#define av1_highbd_dr_prediction_z2 av1_highbd_dr_prediction_z2_c
|
||||||
|
|
||||||
|
void av1_highbd_dr_prediction_z3_c(uint16_t *dst, ptrdiff_t stride, int bw, int bh, const uint16_t *above, const uint16_t *left, int upsample_left, int dx, int dy, int bd);
|
||||||
|
#define av1_highbd_dr_prediction_z3 av1_highbd_dr_prediction_z3_c
|
||||||
|
|
||||||
|
void av1_highbd_iwht4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, int bd);
|
||||||
|
#define av1_highbd_iwht4x4_16_add av1_highbd_iwht4x4_16_add_c
|
||||||
|
|
||||||
|
void av1_highbd_iwht4x4_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, int bd);
|
||||||
|
#define av1_highbd_iwht4x4_1_add av1_highbd_iwht4x4_1_add_c
|
||||||
|
|
||||||
|
void av1_highbd_jnt_convolve_2d_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_jnt_convolve_2d_sse4_1(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_jnt_convolve_2d_avx2(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_jnt_convolve_2d)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
|
||||||
|
void av1_highbd_jnt_convolve_2d_copy_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_jnt_convolve_2d_copy_sse4_1(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_jnt_convolve_2d_copy_avx2(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_jnt_convolve_2d_copy)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
|
||||||
|
void av1_highbd_jnt_convolve_x_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_jnt_convolve_x_sse4_1(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_jnt_convolve_x_avx2(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_jnt_convolve_x)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
|
||||||
|
void av1_highbd_jnt_convolve_y_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_jnt_convolve_y_sse4_1(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_jnt_convolve_y_avx2(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_jnt_convolve_y)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
|
||||||
|
void av1_highbd_warp_affine_c(const int32_t *mat, const uint16_t *ref, int width, int height, int stride, uint16_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, int bd, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
||||||
|
void av1_highbd_warp_affine_sse4_1(const int32_t *mat, const uint16_t *ref, int width, int height, int stride, uint16_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, int bd, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_warp_affine)(const int32_t *mat, const uint16_t *ref, int width, int height, int stride, uint16_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, int bd, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
||||||
|
|
||||||
|
void av1_highbd_wiener_convolve_add_src_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, const ConvolveParams *conv_params, int bps);
|
||||||
|
void av1_highbd_wiener_convolve_add_src_ssse3(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, const ConvolveParams *conv_params, int bps);
|
||||||
|
void av1_highbd_wiener_convolve_add_src_avx2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, const ConvolveParams *conv_params, int bps);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_wiener_convolve_add_src)(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, const ConvolveParams *conv_params, int bps);
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_16x16_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
void av1_inv_txfm2d_add_16x16_sse4_1(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_inv_txfm2d_add_16x16)(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_16x32_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_16x32 av1_inv_txfm2d_add_16x32_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_16x4_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_16x4 av1_inv_txfm2d_add_16x4_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_16x64_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_16x64 av1_inv_txfm2d_add_16x64_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_16x8_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_16x8 av1_inv_txfm2d_add_16x8_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_32x16_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_32x16 av1_inv_txfm2d_add_32x16_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_32x32_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
void av1_inv_txfm2d_add_32x32_avx2(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_inv_txfm2d_add_32x32)(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_32x64_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_32x64 av1_inv_txfm2d_add_32x64_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_32x8_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_32x8 av1_inv_txfm2d_add_32x8_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_4x16_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_4x16 av1_inv_txfm2d_add_4x16_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_4x4_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
void av1_inv_txfm2d_add_4x4_sse4_1(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_inv_txfm2d_add_4x4)(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_4x8_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_4x8 av1_inv_txfm2d_add_4x8_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_64x16_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_64x16 av1_inv_txfm2d_add_64x16_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_64x32_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_64x32 av1_inv_txfm2d_add_64x32_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_64x64_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
void av1_inv_txfm2d_add_64x64_sse4_1(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_inv_txfm2d_add_64x64)(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_8x16_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_8x16 av1_inv_txfm2d_add_8x16_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_8x32_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_8x32 av1_inv_txfm2d_add_8x32_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_8x4_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_8x4 av1_inv_txfm2d_add_8x4_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_8x8_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
void av1_inv_txfm2d_add_8x8_sse4_1(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_inv_txfm2d_add_8x8)(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
|
||||||
|
void av1_inv_txfm_add_c(const tran_low_t *dqcoeff, uint8_t *dst, int stride, const TxfmParam *txfm_param);
|
||||||
|
void av1_inv_txfm_add_ssse3(const tran_low_t *dqcoeff, uint8_t *dst, int stride, const TxfmParam *txfm_param);
|
||||||
|
void av1_inv_txfm_add_avx2(const tran_low_t *dqcoeff, uint8_t *dst, int stride, const TxfmParam *txfm_param);
|
||||||
|
RTCD_EXTERN void (*av1_inv_txfm_add)(const tran_low_t *dqcoeff, uint8_t *dst, int stride, const TxfmParam *txfm_param);
|
||||||
|
|
||||||
|
void av1_jnt_convolve_2d_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_jnt_convolve_2d_ssse3(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_jnt_convolve_2d_avx2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
RTCD_EXTERN void (*av1_jnt_convolve_2d)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
|
||||||
|
void av1_jnt_convolve_2d_copy_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_jnt_convolve_2d_copy_sse2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_jnt_convolve_2d_copy_avx2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
RTCD_EXTERN void (*av1_jnt_convolve_2d_copy)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
|
||||||
|
void av1_jnt_convolve_x_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_jnt_convolve_x_sse2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_jnt_convolve_x_avx2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
RTCD_EXTERN void (*av1_jnt_convolve_x)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
|
||||||
|
void av1_jnt_convolve_y_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_jnt_convolve_y_sse2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_jnt_convolve_y_avx2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
RTCD_EXTERN void (*av1_jnt_convolve_y)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
|
||||||
|
void av1_selfguided_restoration_c(const uint8_t *dgd8, int width, int height,
|
||||||
|
int dgd_stride, int32_t *flt0, int32_t *flt1, int flt_stride,
|
||||||
|
int sgr_params_idx, int bit_depth, int highbd);
|
||||||
|
void av1_selfguided_restoration_sse4_1(const uint8_t *dgd8, int width, int height,
|
||||||
|
int dgd_stride, int32_t *flt0, int32_t *flt1, int flt_stride,
|
||||||
|
int sgr_params_idx, int bit_depth, int highbd);
|
||||||
|
void av1_selfguided_restoration_avx2(const uint8_t *dgd8, int width, int height,
|
||||||
|
int dgd_stride, int32_t *flt0, int32_t *flt1, int flt_stride,
|
||||||
|
int sgr_params_idx, int bit_depth, int highbd);
|
||||||
|
RTCD_EXTERN void (*av1_selfguided_restoration)(const uint8_t *dgd8, int width, int height,
|
||||||
|
int dgd_stride, int32_t *flt0, int32_t *flt1, int flt_stride,
|
||||||
|
int sgr_params_idx, int bit_depth, int highbd);
|
||||||
|
|
||||||
|
void av1_upsample_intra_edge_c(uint8_t *p, int sz);
|
||||||
|
void av1_upsample_intra_edge_sse4_1(uint8_t *p, int sz);
|
||||||
|
RTCD_EXTERN void (*av1_upsample_intra_edge)(uint8_t *p, int sz);
|
||||||
|
|
||||||
|
void av1_upsample_intra_edge_high_c(uint16_t *p, int sz, int bd);
|
||||||
|
void av1_upsample_intra_edge_high_sse4_1(uint16_t *p, int sz, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_upsample_intra_edge_high)(uint16_t *p, int sz, int bd);
|
||||||
|
|
||||||
|
void av1_warp_affine_c(const int32_t *mat, const uint8_t *ref, int width, int height, int stride, uint8_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
||||||
|
void av1_warp_affine_sse4_1(const int32_t *mat, const uint8_t *ref, int width, int height, int stride, uint8_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
||||||
|
RTCD_EXTERN void (*av1_warp_affine)(const int32_t *mat, const uint8_t *ref, int width, int height, int stride, uint8_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
||||||
|
|
||||||
|
void av1_wiener_convolve_add_src_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, const ConvolveParams *conv_params);
|
||||||
|
void av1_wiener_convolve_add_src_sse2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, const ConvolveParams *conv_params);
|
||||||
|
void av1_wiener_convolve_add_src_avx2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, const ConvolveParams *conv_params);
|
||||||
|
RTCD_EXTERN void (*av1_wiener_convolve_add_src)(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, const ConvolveParams *conv_params);
|
||||||
|
|
||||||
|
void cdef_filter_block_c(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max, int coeff_shift);
|
||||||
|
void cdef_filter_block_sse2(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max, int coeff_shift);
|
||||||
|
void cdef_filter_block_ssse3(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max, int coeff_shift);
|
||||||
|
void cdef_filter_block_sse4_1(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max, int coeff_shift);
|
||||||
|
void cdef_filter_block_avx2(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max, int coeff_shift);
|
||||||
|
RTCD_EXTERN void (*cdef_filter_block)(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max, int coeff_shift);
|
||||||
|
|
||||||
|
int cdef_find_dir_c(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
||||||
|
int cdef_find_dir_sse2(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
||||||
|
int cdef_find_dir_ssse3(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
||||||
|
int cdef_find_dir_sse4_1(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
||||||
|
int cdef_find_dir_avx2(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
||||||
|
RTCD_EXTERN int (*cdef_find_dir)(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
||||||
|
|
||||||
|
cfl_subsample_hbd_fn cfl_get_luma_subsampling_420_hbd_c(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_hbd_fn cfl_get_luma_subsampling_420_hbd_ssse3(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_hbd_fn cfl_get_luma_subsampling_420_hbd_avx2(TX_SIZE tx_size);
|
||||||
|
RTCD_EXTERN cfl_subsample_hbd_fn (*cfl_get_luma_subsampling_420_hbd)(TX_SIZE tx_size);
|
||||||
|
|
||||||
|
cfl_subsample_lbd_fn cfl_get_luma_subsampling_420_lbd_c(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_lbd_fn cfl_get_luma_subsampling_420_lbd_ssse3(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_lbd_fn cfl_get_luma_subsampling_420_lbd_avx2(TX_SIZE tx_size);
|
||||||
|
RTCD_EXTERN cfl_subsample_lbd_fn (*cfl_get_luma_subsampling_420_lbd)(TX_SIZE tx_size);
|
||||||
|
|
||||||
|
cfl_subsample_hbd_fn cfl_get_luma_subsampling_422_hbd_c(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_hbd_fn cfl_get_luma_subsampling_422_hbd_ssse3(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_hbd_fn cfl_get_luma_subsampling_422_hbd_avx2(TX_SIZE tx_size);
|
||||||
|
RTCD_EXTERN cfl_subsample_hbd_fn (*cfl_get_luma_subsampling_422_hbd)(TX_SIZE tx_size);
|
||||||
|
|
||||||
|
cfl_subsample_lbd_fn cfl_get_luma_subsampling_422_lbd_c(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_lbd_fn cfl_get_luma_subsampling_422_lbd_ssse3(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_lbd_fn cfl_get_luma_subsampling_422_lbd_avx2(TX_SIZE tx_size);
|
||||||
|
RTCD_EXTERN cfl_subsample_lbd_fn (*cfl_get_luma_subsampling_422_lbd)(TX_SIZE tx_size);
|
||||||
|
|
||||||
|
cfl_subsample_hbd_fn cfl_get_luma_subsampling_444_hbd_c(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_hbd_fn cfl_get_luma_subsampling_444_hbd_ssse3(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_hbd_fn cfl_get_luma_subsampling_444_hbd_avx2(TX_SIZE tx_size);
|
||||||
|
RTCD_EXTERN cfl_subsample_hbd_fn (*cfl_get_luma_subsampling_444_hbd)(TX_SIZE tx_size);
|
||||||
|
|
||||||
|
cfl_subsample_lbd_fn cfl_get_luma_subsampling_444_lbd_c(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_lbd_fn cfl_get_luma_subsampling_444_lbd_ssse3(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_lbd_fn cfl_get_luma_subsampling_444_lbd_avx2(TX_SIZE tx_size);
|
||||||
|
RTCD_EXTERN cfl_subsample_lbd_fn (*cfl_get_luma_subsampling_444_lbd)(TX_SIZE tx_size);
|
||||||
|
|
||||||
|
void copy_rect8_16bit_to_16bit_c(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
||||||
|
void copy_rect8_16bit_to_16bit_sse2(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
||||||
|
void copy_rect8_16bit_to_16bit_ssse3(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
||||||
|
void copy_rect8_16bit_to_16bit_sse4_1(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
||||||
|
void copy_rect8_16bit_to_16bit_avx2(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
||||||
|
RTCD_EXTERN void (*copy_rect8_16bit_to_16bit)(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
||||||
|
|
||||||
|
void copy_rect8_8bit_to_16bit_c(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
||||||
|
void copy_rect8_8bit_to_16bit_sse2(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
||||||
|
void copy_rect8_8bit_to_16bit_ssse3(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
||||||
|
void copy_rect8_8bit_to_16bit_sse4_1(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
||||||
|
void copy_rect8_8bit_to_16bit_avx2(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
||||||
|
RTCD_EXTERN void (*copy_rect8_8bit_to_16bit)(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
||||||
|
|
||||||
|
cfl_predict_hbd_fn get_predict_hbd_fn_c(TX_SIZE tx_size);
|
||||||
|
cfl_predict_hbd_fn get_predict_hbd_fn_ssse3(TX_SIZE tx_size);
|
||||||
|
cfl_predict_hbd_fn get_predict_hbd_fn_avx2(TX_SIZE tx_size);
|
||||||
|
RTCD_EXTERN cfl_predict_hbd_fn (*get_predict_hbd_fn)(TX_SIZE tx_size);
|
||||||
|
|
||||||
|
cfl_predict_lbd_fn get_predict_lbd_fn_c(TX_SIZE tx_size);
|
||||||
|
cfl_predict_lbd_fn get_predict_lbd_fn_ssse3(TX_SIZE tx_size);
|
||||||
|
cfl_predict_lbd_fn get_predict_lbd_fn_avx2(TX_SIZE tx_size);
|
||||||
|
RTCD_EXTERN cfl_predict_lbd_fn (*get_predict_lbd_fn)(TX_SIZE tx_size);
|
||||||
|
|
||||||
|
cfl_subtract_average_fn get_subtract_average_fn_c(TX_SIZE tx_size);
|
||||||
|
cfl_subtract_average_fn get_subtract_average_fn_sse2(TX_SIZE tx_size);
|
||||||
|
cfl_subtract_average_fn get_subtract_average_fn_avx2(TX_SIZE tx_size);
|
||||||
|
RTCD_EXTERN cfl_subtract_average_fn (*get_subtract_average_fn)(TX_SIZE tx_size);
|
||||||
|
|
||||||
|
void aom_rtcd(void);
|
||||||
|
|
||||||
|
#ifdef RTCD_C
|
||||||
|
#include "aom_ports/x86.h"
|
||||||
|
static void setup_rtcd_internal(void)
|
||||||
|
{
|
||||||
|
int flags = x86_simd_caps();
|
||||||
|
|
||||||
|
(void)flags;
|
||||||
|
|
||||||
|
apply_selfguided_restoration = apply_selfguided_restoration_c;
|
||||||
|
if (flags & HAS_SSE4_1) apply_selfguided_restoration = apply_selfguided_restoration_sse4_1;
|
||||||
|
if (flags & HAS_AVX2) apply_selfguided_restoration = apply_selfguided_restoration_avx2;
|
||||||
|
av1_build_compound_diffwtd_mask = av1_build_compound_diffwtd_mask_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_build_compound_diffwtd_mask = av1_build_compound_diffwtd_mask_sse4_1;
|
||||||
|
av1_build_compound_diffwtd_mask_d16 = av1_build_compound_diffwtd_mask_d16_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_build_compound_diffwtd_mask_d16 = av1_build_compound_diffwtd_mask_d16_sse4_1;
|
||||||
|
av1_build_compound_diffwtd_mask_highbd = av1_build_compound_diffwtd_mask_highbd_c;
|
||||||
|
if (flags & HAS_SSSE3) av1_build_compound_diffwtd_mask_highbd = av1_build_compound_diffwtd_mask_highbd_ssse3;
|
||||||
|
if (flags & HAS_AVX2) av1_build_compound_diffwtd_mask_highbd = av1_build_compound_diffwtd_mask_highbd_avx2;
|
||||||
|
av1_convolve_2d_copy_sr = av1_convolve_2d_copy_sr_sse2;
|
||||||
|
if (flags & HAS_AVX2) av1_convolve_2d_copy_sr = av1_convolve_2d_copy_sr_avx2;
|
||||||
|
av1_convolve_2d_scale = av1_convolve_2d_scale_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_convolve_2d_scale = av1_convolve_2d_scale_sse4_1;
|
||||||
|
av1_convolve_2d_sr = av1_convolve_2d_sr_sse2;
|
||||||
|
if (flags & HAS_AVX2) av1_convolve_2d_sr = av1_convolve_2d_sr_avx2;
|
||||||
|
av1_convolve_horiz_rs = av1_convolve_horiz_rs_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_convolve_horiz_rs = av1_convolve_horiz_rs_sse4_1;
|
||||||
|
av1_convolve_x_sr = av1_convolve_x_sr_sse2;
|
||||||
|
if (flags & HAS_AVX2) av1_convolve_x_sr = av1_convolve_x_sr_avx2;
|
||||||
|
av1_convolve_y_sr = av1_convolve_y_sr_sse2;
|
||||||
|
if (flags & HAS_AVX2) av1_convolve_y_sr = av1_convolve_y_sr_avx2;
|
||||||
|
av1_filter_intra_edge = av1_filter_intra_edge_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_filter_intra_edge = av1_filter_intra_edge_sse4_1;
|
||||||
|
av1_filter_intra_edge_high = av1_filter_intra_edge_high_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_filter_intra_edge_high = av1_filter_intra_edge_high_sse4_1;
|
||||||
|
av1_filter_intra_predictor = av1_filter_intra_predictor_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_filter_intra_predictor = av1_filter_intra_predictor_sse4_1;
|
||||||
|
av1_highbd_convolve_2d_copy_sr = av1_highbd_convolve_2d_copy_sr_sse2;
|
||||||
|
if (flags & HAS_AVX2) av1_highbd_convolve_2d_copy_sr = av1_highbd_convolve_2d_copy_sr_avx2;
|
||||||
|
av1_highbd_convolve_2d_scale = av1_highbd_convolve_2d_scale_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_highbd_convolve_2d_scale = av1_highbd_convolve_2d_scale_sse4_1;
|
||||||
|
av1_highbd_convolve_2d_sr = av1_highbd_convolve_2d_sr_c;
|
||||||
|
if (flags & HAS_SSSE3) av1_highbd_convolve_2d_sr = av1_highbd_convolve_2d_sr_ssse3;
|
||||||
|
if (flags & HAS_AVX2) av1_highbd_convolve_2d_sr = av1_highbd_convolve_2d_sr_avx2;
|
||||||
|
av1_highbd_convolve_horiz_rs = av1_highbd_convolve_horiz_rs_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_highbd_convolve_horiz_rs = av1_highbd_convolve_horiz_rs_sse4_1;
|
||||||
|
av1_highbd_convolve_x_sr = av1_highbd_convolve_x_sr_c;
|
||||||
|
if (flags & HAS_SSSE3) av1_highbd_convolve_x_sr = av1_highbd_convolve_x_sr_ssse3;
|
||||||
|
if (flags & HAS_AVX2) av1_highbd_convolve_x_sr = av1_highbd_convolve_x_sr_avx2;
|
||||||
|
av1_highbd_convolve_y_sr = av1_highbd_convolve_y_sr_c;
|
||||||
|
if (flags & HAS_SSSE3) av1_highbd_convolve_y_sr = av1_highbd_convolve_y_sr_ssse3;
|
||||||
|
if (flags & HAS_AVX2) av1_highbd_convolve_y_sr = av1_highbd_convolve_y_sr_avx2;
|
||||||
|
av1_highbd_jnt_convolve_2d = av1_highbd_jnt_convolve_2d_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_highbd_jnt_convolve_2d = av1_highbd_jnt_convolve_2d_sse4_1;
|
||||||
|
if (flags & HAS_AVX2) av1_highbd_jnt_convolve_2d = av1_highbd_jnt_convolve_2d_avx2;
|
||||||
|
av1_highbd_jnt_convolve_2d_copy = av1_highbd_jnt_convolve_2d_copy_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_highbd_jnt_convolve_2d_copy = av1_highbd_jnt_convolve_2d_copy_sse4_1;
|
||||||
|
if (flags & HAS_AVX2) av1_highbd_jnt_convolve_2d_copy = av1_highbd_jnt_convolve_2d_copy_avx2;
|
||||||
|
av1_highbd_jnt_convolve_x = av1_highbd_jnt_convolve_x_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_highbd_jnt_convolve_x = av1_highbd_jnt_convolve_x_sse4_1;
|
||||||
|
if (flags & HAS_AVX2) av1_highbd_jnt_convolve_x = av1_highbd_jnt_convolve_x_avx2;
|
||||||
|
av1_highbd_jnt_convolve_y = av1_highbd_jnt_convolve_y_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_highbd_jnt_convolve_y = av1_highbd_jnt_convolve_y_sse4_1;
|
||||||
|
if (flags & HAS_AVX2) av1_highbd_jnt_convolve_y = av1_highbd_jnt_convolve_y_avx2;
|
||||||
|
av1_highbd_warp_affine = av1_highbd_warp_affine_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_highbd_warp_affine = av1_highbd_warp_affine_sse4_1;
|
||||||
|
av1_highbd_wiener_convolve_add_src = av1_highbd_wiener_convolve_add_src_c;
|
||||||
|
if (flags & HAS_SSSE3) av1_highbd_wiener_convolve_add_src = av1_highbd_wiener_convolve_add_src_ssse3;
|
||||||
|
if (flags & HAS_AVX2) av1_highbd_wiener_convolve_add_src = av1_highbd_wiener_convolve_add_src_avx2;
|
||||||
|
av1_inv_txfm2d_add_16x16 = av1_inv_txfm2d_add_16x16_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_inv_txfm2d_add_16x16 = av1_inv_txfm2d_add_16x16_sse4_1;
|
||||||
|
av1_inv_txfm2d_add_32x32 = av1_inv_txfm2d_add_32x32_c;
|
||||||
|
if (flags & HAS_AVX2) av1_inv_txfm2d_add_32x32 = av1_inv_txfm2d_add_32x32_avx2;
|
||||||
|
av1_inv_txfm2d_add_4x4 = av1_inv_txfm2d_add_4x4_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_inv_txfm2d_add_4x4 = av1_inv_txfm2d_add_4x4_sse4_1;
|
||||||
|
av1_inv_txfm2d_add_64x64 = av1_inv_txfm2d_add_64x64_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_inv_txfm2d_add_64x64 = av1_inv_txfm2d_add_64x64_sse4_1;
|
||||||
|
av1_inv_txfm2d_add_8x8 = av1_inv_txfm2d_add_8x8_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_inv_txfm2d_add_8x8 = av1_inv_txfm2d_add_8x8_sse4_1;
|
||||||
|
av1_inv_txfm_add = av1_inv_txfm_add_c;
|
||||||
|
if (flags & HAS_SSSE3) av1_inv_txfm_add = av1_inv_txfm_add_ssse3;
|
||||||
|
if (flags & HAS_AVX2) av1_inv_txfm_add = av1_inv_txfm_add_avx2;
|
||||||
|
av1_jnt_convolve_2d = av1_jnt_convolve_2d_c;
|
||||||
|
if (flags & HAS_SSSE3) av1_jnt_convolve_2d = av1_jnt_convolve_2d_ssse3;
|
||||||
|
if (flags & HAS_AVX2) av1_jnt_convolve_2d = av1_jnt_convolve_2d_avx2;
|
||||||
|
av1_jnt_convolve_2d_copy = av1_jnt_convolve_2d_copy_sse2;
|
||||||
|
if (flags & HAS_AVX2) av1_jnt_convolve_2d_copy = av1_jnt_convolve_2d_copy_avx2;
|
||||||
|
av1_jnt_convolve_x = av1_jnt_convolve_x_sse2;
|
||||||
|
if (flags & HAS_AVX2) av1_jnt_convolve_x = av1_jnt_convolve_x_avx2;
|
||||||
|
av1_jnt_convolve_y = av1_jnt_convolve_y_sse2;
|
||||||
|
if (flags & HAS_AVX2) av1_jnt_convolve_y = av1_jnt_convolve_y_avx2;
|
||||||
|
av1_selfguided_restoration = av1_selfguided_restoration_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_selfguided_restoration = av1_selfguided_restoration_sse4_1;
|
||||||
|
if (flags & HAS_AVX2) av1_selfguided_restoration = av1_selfguided_restoration_avx2;
|
||||||
|
av1_upsample_intra_edge = av1_upsample_intra_edge_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_upsample_intra_edge = av1_upsample_intra_edge_sse4_1;
|
||||||
|
av1_upsample_intra_edge_high = av1_upsample_intra_edge_high_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_upsample_intra_edge_high = av1_upsample_intra_edge_high_sse4_1;
|
||||||
|
av1_warp_affine = av1_warp_affine_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_warp_affine = av1_warp_affine_sse4_1;
|
||||||
|
av1_wiener_convolve_add_src = av1_wiener_convolve_add_src_sse2;
|
||||||
|
if (flags & HAS_AVX2) av1_wiener_convolve_add_src = av1_wiener_convolve_add_src_avx2;
|
||||||
|
cdef_filter_block = cdef_filter_block_sse2;
|
||||||
|
if (flags & HAS_SSSE3) cdef_filter_block = cdef_filter_block_ssse3;
|
||||||
|
if (flags & HAS_SSE4_1) cdef_filter_block = cdef_filter_block_sse4_1;
|
||||||
|
if (flags & HAS_AVX2) cdef_filter_block = cdef_filter_block_avx2;
|
||||||
|
cdef_find_dir = cdef_find_dir_sse2;
|
||||||
|
if (flags & HAS_SSSE3) cdef_find_dir = cdef_find_dir_ssse3;
|
||||||
|
if (flags & HAS_SSE4_1) cdef_find_dir = cdef_find_dir_sse4_1;
|
||||||
|
if (flags & HAS_AVX2) cdef_find_dir = cdef_find_dir_avx2;
|
||||||
|
cfl_get_luma_subsampling_420_hbd = cfl_get_luma_subsampling_420_hbd_c;
|
||||||
|
if (flags & HAS_SSSE3) cfl_get_luma_subsampling_420_hbd = cfl_get_luma_subsampling_420_hbd_ssse3;
|
||||||
|
if (flags & HAS_AVX2) cfl_get_luma_subsampling_420_hbd = cfl_get_luma_subsampling_420_hbd_avx2;
|
||||||
|
cfl_get_luma_subsampling_420_lbd = cfl_get_luma_subsampling_420_lbd_c;
|
||||||
|
if (flags & HAS_SSSE3) cfl_get_luma_subsampling_420_lbd = cfl_get_luma_subsampling_420_lbd_ssse3;
|
||||||
|
if (flags & HAS_AVX2) cfl_get_luma_subsampling_420_lbd = cfl_get_luma_subsampling_420_lbd_avx2;
|
||||||
|
cfl_get_luma_subsampling_422_hbd = cfl_get_luma_subsampling_422_hbd_c;
|
||||||
|
if (flags & HAS_SSSE3) cfl_get_luma_subsampling_422_hbd = cfl_get_luma_subsampling_422_hbd_ssse3;
|
||||||
|
if (flags & HAS_AVX2) cfl_get_luma_subsampling_422_hbd = cfl_get_luma_subsampling_422_hbd_avx2;
|
||||||
|
cfl_get_luma_subsampling_422_lbd = cfl_get_luma_subsampling_422_lbd_c;
|
||||||
|
if (flags & HAS_SSSE3) cfl_get_luma_subsampling_422_lbd = cfl_get_luma_subsampling_422_lbd_ssse3;
|
||||||
|
if (flags & HAS_AVX2) cfl_get_luma_subsampling_422_lbd = cfl_get_luma_subsampling_422_lbd_avx2;
|
||||||
|
cfl_get_luma_subsampling_444_hbd = cfl_get_luma_subsampling_444_hbd_c;
|
||||||
|
if (flags & HAS_SSSE3) cfl_get_luma_subsampling_444_hbd = cfl_get_luma_subsampling_444_hbd_ssse3;
|
||||||
|
if (flags & HAS_AVX2) cfl_get_luma_subsampling_444_hbd = cfl_get_luma_subsampling_444_hbd_avx2;
|
||||||
|
cfl_get_luma_subsampling_444_lbd = cfl_get_luma_subsampling_444_lbd_c;
|
||||||
|
if (flags & HAS_SSSE3) cfl_get_luma_subsampling_444_lbd = cfl_get_luma_subsampling_444_lbd_ssse3;
|
||||||
|
if (flags & HAS_AVX2) cfl_get_luma_subsampling_444_lbd = cfl_get_luma_subsampling_444_lbd_avx2;
|
||||||
|
copy_rect8_16bit_to_16bit = copy_rect8_16bit_to_16bit_sse2;
|
||||||
|
if (flags & HAS_SSSE3) copy_rect8_16bit_to_16bit = copy_rect8_16bit_to_16bit_ssse3;
|
||||||
|
if (flags & HAS_SSE4_1) copy_rect8_16bit_to_16bit = copy_rect8_16bit_to_16bit_sse4_1;
|
||||||
|
if (flags & HAS_AVX2) copy_rect8_16bit_to_16bit = copy_rect8_16bit_to_16bit_avx2;
|
||||||
|
copy_rect8_8bit_to_16bit = copy_rect8_8bit_to_16bit_sse2;
|
||||||
|
if (flags & HAS_SSSE3) copy_rect8_8bit_to_16bit = copy_rect8_8bit_to_16bit_ssse3;
|
||||||
|
if (flags & HAS_SSE4_1) copy_rect8_8bit_to_16bit = copy_rect8_8bit_to_16bit_sse4_1;
|
||||||
|
if (flags & HAS_AVX2) copy_rect8_8bit_to_16bit = copy_rect8_8bit_to_16bit_avx2;
|
||||||
|
get_predict_hbd_fn = get_predict_hbd_fn_c;
|
||||||
|
if (flags & HAS_SSSE3) get_predict_hbd_fn = get_predict_hbd_fn_ssse3;
|
||||||
|
if (flags & HAS_AVX2) get_predict_hbd_fn = get_predict_hbd_fn_avx2;
|
||||||
|
get_predict_lbd_fn = get_predict_lbd_fn_c;
|
||||||
|
if (flags & HAS_SSSE3) get_predict_lbd_fn = get_predict_lbd_fn_ssse3;
|
||||||
|
if (flags & HAS_AVX2) get_predict_lbd_fn = get_predict_lbd_fn_avx2;
|
||||||
|
get_subtract_average_fn = get_subtract_average_fn_sse2;
|
||||||
|
if (flags & HAS_AVX2) get_subtract_average_fn = get_subtract_average_fn_avx2;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
} // extern "C"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
@ -1,176 +0,0 @@
|
||||||
ARCH_ARM equ 0
|
|
||||||
ARCH_MIPS equ 0
|
|
||||||
ARCH_X86 equ 0
|
|
||||||
ARCH_X86_64 equ 1
|
|
||||||
HAVE_NEON equ 0
|
|
||||||
HAVE_NEON_ASM equ 0
|
|
||||||
HAVE_MIPS32 equ 0
|
|
||||||
HAVE_DSPR2 equ 0
|
|
||||||
HAVE_MSA equ 0
|
|
||||||
HAVE_MIPS64 equ 0
|
|
||||||
HAVE_MMX equ 1
|
|
||||||
HAVE_SSE equ 1
|
|
||||||
HAVE_SSE2 equ 1
|
|
||||||
HAVE_SSE3 equ 1
|
|
||||||
HAVE_SSSE3 equ 1
|
|
||||||
HAVE_SSE4_1 equ 1
|
|
||||||
HAVE_AVX equ 1
|
|
||||||
HAVE_AVX2 equ 1
|
|
||||||
HAVE_AOM_PORTS equ 1
|
|
||||||
HAVE_FEXCEPT equ 1
|
|
||||||
HAVE_PTHREAD_H equ 1
|
|
||||||
HAVE_WXWIDGETS equ 0
|
|
||||||
CONFIG_DEPENDENCY_TRACKING equ 1
|
|
||||||
CONFIG_EXTERNAL_BUILD equ 1
|
|
||||||
CONFIG_INSTALL_DOCS equ 1
|
|
||||||
CONFIG_INSTALL_BINS equ 1
|
|
||||||
CONFIG_INSTALL_LIBS equ 1
|
|
||||||
CONFIG_INSTALL_SRCS equ 0
|
|
||||||
CONFIG_DEBUG equ 0
|
|
||||||
CONFIG_GPROF equ 0
|
|
||||||
CONFIG_GCOV equ 0
|
|
||||||
CONFIG_RVCT equ 0
|
|
||||||
CONFIG_GCC equ 1
|
|
||||||
CONFIG_MSVS equ 0
|
|
||||||
CONFIG_PIC equ 1
|
|
||||||
CONFIG_BIG_ENDIAN equ 0
|
|
||||||
CONFIG_CODEC_SRCS equ 0
|
|
||||||
CONFIG_DEBUG_LIBS equ 0
|
|
||||||
CONFIG_RUNTIME_CPU_DETECT equ 1
|
|
||||||
CONFIG_POSTPROC equ 1
|
|
||||||
CONFIG_MULTITHREAD equ 1
|
|
||||||
CONFIG_INTERNAL_STATS equ 0
|
|
||||||
CONFIG_AV1_ENCODER equ 1
|
|
||||||
CONFIG_AV1_DECODER equ 1
|
|
||||||
CONFIG_AV1 equ 1
|
|
||||||
CONFIG_STATIC_MSVCRT equ 0
|
|
||||||
CONFIG_SPATIAL_RESAMPLING equ 1
|
|
||||||
CONFIG_REALTIME_ONLY equ 0
|
|
||||||
CONFIG_SHARED equ 0
|
|
||||||
CONFIG_STATIC equ 1
|
|
||||||
CONFIG_SMALL equ 0
|
|
||||||
CONFIG_POSTPROC_VISUALIZER equ 0
|
|
||||||
CONFIG_OS_SUPPORT equ 1
|
|
||||||
CONFIG_UNIT_TESTS equ 0
|
|
||||||
CONFIG_WEBM_IO equ 1
|
|
||||||
CONFIG_LIBYUV equ 1
|
|
||||||
CONFIG_ACCOUNTING equ 0
|
|
||||||
CONFIG_INSPECTION equ 0
|
|
||||||
CONFIG_DECODE_PERF_TESTS equ 0
|
|
||||||
CONFIG_ENCODE_PERF_TESTS equ 0
|
|
||||||
CONFIG_BITSTREAM_DEBUG equ 0
|
|
||||||
CONFIG_SYMBOLRATE equ 0
|
|
||||||
CONFIG_COEFFICIENT_RANGE_CHECKING equ 0
|
|
||||||
CONFIG_LOWBITDEPTH equ 1
|
|
||||||
CONFIG_HIGHBITDEPTH equ 1
|
|
||||||
CONFIG_EXPERIMENTAL equ 0
|
|
||||||
CONFIG_SIZE_LIMIT equ 1
|
|
||||||
CONFIG_FP_MB_STATS equ 0
|
|
||||||
CONFIG_CDEF equ 1
|
|
||||||
CONFIG_CDEF_SINGLEPASS equ 1
|
|
||||||
CONFIG_VAR_TX equ 1
|
|
||||||
CONFIG_RECT_TX equ 1
|
|
||||||
CONFIG_RECT_TX_EXT equ 0
|
|
||||||
CONFIG_TPL_MV equ 0
|
|
||||||
CONFIG_DUAL_FILTER equ 1
|
|
||||||
CONFIG_CONVOLVE_ROUND equ 1
|
|
||||||
CONFIG_COMPOUND_ROUND equ 0
|
|
||||||
CONFIG_EXT_TX equ 1
|
|
||||||
CONFIG_TX64X64 equ 0
|
|
||||||
CONFIG_EXT_INTRA equ 1
|
|
||||||
CONFIG_INTRA_INTERP equ 0
|
|
||||||
CONFIG_FILTER_INTRA equ 0
|
|
||||||
CONFIG_INTRA_EDGE equ 1
|
|
||||||
CONFIG_INTRABC equ 0
|
|
||||||
CONFIG_INTERINTRA equ 1
|
|
||||||
CONFIG_WEDGE equ 1
|
|
||||||
CONFIG_COMPOUND_SEGMENT equ 1
|
|
||||||
CONFIG_EXT_REFS equ 1
|
|
||||||
CONFIG_GLOBAL_MOTION equ 1
|
|
||||||
CONFIG_NEW_QUANT equ 0
|
|
||||||
CONFIG_SUPERTX equ 0
|
|
||||||
CONFIG_ANS equ 0
|
|
||||||
CONFIG_LOOP_RESTORATION equ 1
|
|
||||||
CONFIG_STRIPED_LOOP_RESTORATION equ 0
|
|
||||||
CONFIG_EXT_PARTITION equ 0
|
|
||||||
CONFIG_EXT_PARTITION_TYPES equ 0
|
|
||||||
CONFIG_EXT_PARTITION_TYPES_AB equ 0
|
|
||||||
CONFIG_UNPOISON_PARTITION_CTX equ 0
|
|
||||||
CONFIG_EXT_TILE equ 0
|
|
||||||
CONFIG_MOTION_VAR equ 1
|
|
||||||
CONFIG_NCOBMC equ 0
|
|
||||||
CONFIG_WARPED_MOTION equ 1
|
|
||||||
CONFIG_Q_ADAPT_PROBS equ 0
|
|
||||||
CONFIG_INTER_STATS_ONLY equ 0
|
|
||||||
CONFIG_PALETTE_DELTA_ENCODING equ 0
|
|
||||||
CONFIG_RAWBITS equ 0
|
|
||||||
CONFIG_KF_CTX equ 0
|
|
||||||
CONFIG_PVQ equ 0
|
|
||||||
CONFIG_CFL equ 0
|
|
||||||
CONFIG_XIPHRC equ 0
|
|
||||||
CONFIG_DCT_ONLY equ 0
|
|
||||||
CONFIG_DAALA_TX equ 0
|
|
||||||
CONFIG_DAALA_DCT4 equ 0
|
|
||||||
CONFIG_DAALA_DCT8 equ 0
|
|
||||||
CONFIG_DAALA_DCT16 equ 0
|
|
||||||
CONFIG_DAALA_DCT32 equ 0
|
|
||||||
CONFIG_DAALA_DCT64 equ 0
|
|
||||||
CONFIG_CB4X4 equ 1
|
|
||||||
CONFIG_CHROMA_2X2 equ 0
|
|
||||||
CONFIG_CHROMA_SUB8X8 equ 1
|
|
||||||
CONFIG_FRAME_SIZE equ 0
|
|
||||||
CONFIG_EXT_DELTA_Q equ 1
|
|
||||||
CONFIG_ADAPT_SCAN equ 0
|
|
||||||
CONFIG_PARALLEL_DEBLOCKING equ 1
|
|
||||||
CONFIG_DEBLOCK_13TAP equ 0
|
|
||||||
CONFIG_LOOPFILTERING_ACROSS_TILES equ 1
|
|
||||||
CONFIG_TEMPMV_SIGNALING equ 1
|
|
||||||
CONFIG_RD_DEBUG equ 0
|
|
||||||
CONFIG_REFERENCE_BUFFER equ 1
|
|
||||||
CONFIG_COEF_INTERLEAVE equ 0
|
|
||||||
CONFIG_ENTROPY_STATS equ 0
|
|
||||||
CONFIG_MASKED_TX equ 0
|
|
||||||
CONFIG_DEPENDENT_HORZTILES equ 0
|
|
||||||
CONFIG_DIST_8X8 equ 1
|
|
||||||
CONFIG_PALETTE_THROUGHPUT equ 1
|
|
||||||
CONFIG_REF_ADAPT equ 0
|
|
||||||
CONFIG_LV_MAP equ 0
|
|
||||||
CONFIG_CTX1D equ 0
|
|
||||||
CONFIG_TXK_SEL equ 0
|
|
||||||
CONFIG_MV_COMPRESS equ 1
|
|
||||||
CONFIG_SEGMENT_ZEROMV equ 0
|
|
||||||
CONFIG_FRAME_SUPERRES equ 0
|
|
||||||
CONFIG_NEW_MULTISYMBOL equ 0
|
|
||||||
CONFIG_COMPOUND_SINGLEREF equ 0
|
|
||||||
CONFIG_AOM_QM equ 1
|
|
||||||
CONFIG_ONE_SIDED_COMPOUND equ 1
|
|
||||||
CONFIG_EXT_COMP_REFS equ 1
|
|
||||||
CONFIG_SMOOTH_HV equ 1
|
|
||||||
CONFIG_VAR_REFS equ 0
|
|
||||||
CONFIG_LGT equ 0
|
|
||||||
CONFIG_LGT_FROM_PRED equ 0
|
|
||||||
CONFIG_SBL_SYMBOL equ 0
|
|
||||||
CONFIG_NCOBMC_ADAPT_WEIGHT equ 0
|
|
||||||
CONFIG_BGSPRITE equ 0
|
|
||||||
CONFIG_VAR_TX_NO_TX_MODE equ 0
|
|
||||||
CONFIG_MRC_TX equ 0
|
|
||||||
CONFIG_LPF_DIRECT equ 0
|
|
||||||
CONFIG_LOOPFILTER_LEVEL equ 0
|
|
||||||
CONFIG_NO_FRAME_CONTEXT_SIGNALING equ 0
|
|
||||||
CONFIG_TXMG equ 1
|
|
||||||
CONFIG_MAX_TILE equ 0
|
|
||||||
CONFIG_HASH_ME equ 0
|
|
||||||
CONFIG_COLORSPACE_HEADERS equ 0
|
|
||||||
CONFIG_MFMV equ 0
|
|
||||||
CONFIG_FRAME_MARKER equ 0
|
|
||||||
CONFIG_JNT_COMP equ 0
|
|
||||||
CONFIG_FRAME_SIGN_BIAS equ 0
|
|
||||||
CONFIG_EXT_SKIP equ 0
|
|
||||||
CONFIG_OBU equ 0
|
|
||||||
CONFIG_AMVR equ 0
|
|
||||||
CONFIG_LPF_SB equ 0
|
|
||||||
CONFIG_OPT_REF_MV equ 0
|
|
||||||
CONFIG_TMV equ 0
|
|
||||||
CONFIG_RESTRICT_COMPRESSED_HDR equ 0
|
|
||||||
CONFIG_HORZONLY_FRAME_SUPERRES equ 0
|
|
||||||
CONFIG_ANALYZER equ 0
|
|
||||||
|
|
@ -1,11 +0,0 @@
|
||||||
/* Copyright (c) 2016, Alliance for Open Media. All rights reserved. */
|
|
||||||
/* */
|
|
||||||
/* This source code is subject to the terms of the BSD 2 Clause License and */
|
|
||||||
/* the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License */
|
|
||||||
/* was not distributed with this source code in the LICENSE file, you can */
|
|
||||||
/* obtain it at www.aomedia.org/license/software. If the Alliance for Open */
|
|
||||||
/* Media Patent License 1.0 was not distributed with this source code in the */
|
|
||||||
/* PATENTS file, you can obtain it at www.aomedia.org/license/patent. */
|
|
||||||
#include "aom/aom_codec.h"
|
|
||||||
static const char* const cfg = "--target=x86_64-darwin9-gcc --enable-external-build --disable-examples --disable-docs --disable-unit-tests --size-limit=8192x4608 --enable-pic --enable-postproc --as=yasm";
|
|
||||||
const char *aom_codec_build_config(void) {return cfg;}
|
|
||||||
|
|
@ -1,192 +0,0 @@
|
||||||
/* Copyright (c) 2016, Alliance for Open Media. All rights reserved. */
|
|
||||||
/* */
|
|
||||||
/* This source code is subject to the terms of the BSD 2 Clause License and */
|
|
||||||
/* the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License */
|
|
||||||
/* was not distributed with this source code in the LICENSE file, you can */
|
|
||||||
/* obtain it at www.aomedia.org/license/software. If the Alliance for Open */
|
|
||||||
/* Media Patent License 1.0 was not distributed with this source code in the */
|
|
||||||
/* PATENTS file, you can obtain it at www.aomedia.org/license/patent. */
|
|
||||||
/* This file automatically generated by configure. Do not edit! */
|
|
||||||
#ifndef AOM_CONFIG_H
|
|
||||||
#define AOM_CONFIG_H
|
|
||||||
#define RESTRICT
|
|
||||||
#define INLINE inline
|
|
||||||
#define ARCH_ARM 0
|
|
||||||
#define ARCH_MIPS 0
|
|
||||||
#define ARCH_X86 0
|
|
||||||
#define ARCH_X86_64 1
|
|
||||||
#define HAVE_NEON 0
|
|
||||||
#define HAVE_NEON_ASM 0
|
|
||||||
#define HAVE_MIPS32 0
|
|
||||||
#define HAVE_DSPR2 0
|
|
||||||
#define HAVE_MSA 0
|
|
||||||
#define HAVE_MIPS64 0
|
|
||||||
#define HAVE_MMX 1
|
|
||||||
#define HAVE_SSE 1
|
|
||||||
#define HAVE_SSE2 1
|
|
||||||
#define HAVE_SSE3 1
|
|
||||||
#define HAVE_SSSE3 1
|
|
||||||
#define HAVE_SSE4_1 1
|
|
||||||
#define HAVE_AVX 1
|
|
||||||
#define HAVE_AVX2 1
|
|
||||||
#define HAVE_AOM_PORTS 1
|
|
||||||
#define HAVE_FEXCEPT 1
|
|
||||||
#define HAVE_PTHREAD_H 1
|
|
||||||
#define HAVE_WXWIDGETS 0
|
|
||||||
#define CONFIG_DEPENDENCY_TRACKING 1
|
|
||||||
#define CONFIG_EXTERNAL_BUILD 1
|
|
||||||
#define CONFIG_INSTALL_DOCS 1
|
|
||||||
#define CONFIG_INSTALL_BINS 1
|
|
||||||
#define CONFIG_INSTALL_LIBS 1
|
|
||||||
#define CONFIG_INSTALL_SRCS 0
|
|
||||||
#define CONFIG_DEBUG 0
|
|
||||||
#define CONFIG_GPROF 0
|
|
||||||
#define CONFIG_GCOV 0
|
|
||||||
#define CONFIG_RVCT 0
|
|
||||||
#define CONFIG_GCC 1
|
|
||||||
#define CONFIG_MSVS 0
|
|
||||||
#define CONFIG_PIC 1
|
|
||||||
#define CONFIG_BIG_ENDIAN 0
|
|
||||||
#define CONFIG_CODEC_SRCS 0
|
|
||||||
#define CONFIG_DEBUG_LIBS 0
|
|
||||||
#define CONFIG_RUNTIME_CPU_DETECT 1
|
|
||||||
#define CONFIG_POSTPROC 1
|
|
||||||
#define CONFIG_MULTITHREAD 1
|
|
||||||
#define CONFIG_INTERNAL_STATS 0
|
|
||||||
#define CONFIG_AV1_ENCODER 1
|
|
||||||
#define CONFIG_AV1_DECODER 1
|
|
||||||
#define CONFIG_AV1 1
|
|
||||||
#define CONFIG_STATIC_MSVCRT 0
|
|
||||||
#define CONFIG_SPATIAL_RESAMPLING 1
|
|
||||||
#define CONFIG_REALTIME_ONLY 0
|
|
||||||
#define CONFIG_SHARED 0
|
|
||||||
#define CONFIG_STATIC 1
|
|
||||||
#define CONFIG_SMALL 0
|
|
||||||
#define CONFIG_POSTPROC_VISUALIZER 0
|
|
||||||
#define CONFIG_OS_SUPPORT 1
|
|
||||||
#define CONFIG_UNIT_TESTS 0
|
|
||||||
#define CONFIG_WEBM_IO 1
|
|
||||||
#define CONFIG_LIBYUV 1
|
|
||||||
#define CONFIG_ACCOUNTING 0
|
|
||||||
#define CONFIG_INSPECTION 0
|
|
||||||
#define CONFIG_DECODE_PERF_TESTS 0
|
|
||||||
#define CONFIG_ENCODE_PERF_TESTS 0
|
|
||||||
#define CONFIG_BITSTREAM_DEBUG 0
|
|
||||||
#define CONFIG_SYMBOLRATE 0
|
|
||||||
#define CONFIG_COEFFICIENT_RANGE_CHECKING 0
|
|
||||||
#define CONFIG_LOWBITDEPTH 1
|
|
||||||
#define CONFIG_HIGHBITDEPTH 1
|
|
||||||
#define CONFIG_EXPERIMENTAL 0
|
|
||||||
#define CONFIG_SIZE_LIMIT 1
|
|
||||||
#define CONFIG_FP_MB_STATS 0
|
|
||||||
#define CONFIG_CDEF 1
|
|
||||||
#define CONFIG_CDEF_SINGLEPASS 1
|
|
||||||
#define CONFIG_VAR_TX 1
|
|
||||||
#define CONFIG_RECT_TX 1
|
|
||||||
#define CONFIG_RECT_TX_EXT 0
|
|
||||||
#define CONFIG_TPL_MV 0
|
|
||||||
#define CONFIG_DUAL_FILTER 1
|
|
||||||
#define CONFIG_CONVOLVE_ROUND 1
|
|
||||||
#define CONFIG_COMPOUND_ROUND 0
|
|
||||||
#define CONFIG_EXT_TX 1
|
|
||||||
#define CONFIG_TX64X64 0
|
|
||||||
#define CONFIG_EXT_INTRA 1
|
|
||||||
#define CONFIG_INTRA_INTERP 0
|
|
||||||
#define CONFIG_FILTER_INTRA 0
|
|
||||||
#define CONFIG_INTRA_EDGE 1
|
|
||||||
#define CONFIG_INTRABC 0
|
|
||||||
#define CONFIG_INTERINTRA 1
|
|
||||||
#define CONFIG_WEDGE 1
|
|
||||||
#define CONFIG_COMPOUND_SEGMENT 1
|
|
||||||
#define CONFIG_EXT_REFS 1
|
|
||||||
#define CONFIG_GLOBAL_MOTION 1
|
|
||||||
#define CONFIG_NEW_QUANT 0
|
|
||||||
#define CONFIG_SUPERTX 0
|
|
||||||
#define CONFIG_ANS 0
|
|
||||||
#define CONFIG_LOOP_RESTORATION 1
|
|
||||||
#define CONFIG_STRIPED_LOOP_RESTORATION 0
|
|
||||||
#define CONFIG_EXT_PARTITION 0
|
|
||||||
#define CONFIG_EXT_PARTITION_TYPES 0
|
|
||||||
#define CONFIG_EXT_PARTITION_TYPES_AB 0
|
|
||||||
#define CONFIG_UNPOISON_PARTITION_CTX 0
|
|
||||||
#define CONFIG_EXT_TILE 0
|
|
||||||
#define CONFIG_MOTION_VAR 1
|
|
||||||
#define CONFIG_NCOBMC 0
|
|
||||||
#define CONFIG_WARPED_MOTION 1
|
|
||||||
#define CONFIG_Q_ADAPT_PROBS 0
|
|
||||||
#define CONFIG_INTER_STATS_ONLY 0
|
|
||||||
#define CONFIG_PALETTE_DELTA_ENCODING 0
|
|
||||||
#define CONFIG_RAWBITS 0
|
|
||||||
#define CONFIG_KF_CTX 0
|
|
||||||
#define CONFIG_PVQ 0
|
|
||||||
#define CONFIG_CFL 0
|
|
||||||
#define CONFIG_XIPHRC 0
|
|
||||||
#define CONFIG_DCT_ONLY 0
|
|
||||||
#define CONFIG_DAALA_TX 0
|
|
||||||
#define CONFIG_DAALA_DCT4 0
|
|
||||||
#define CONFIG_DAALA_DCT8 0
|
|
||||||
#define CONFIG_DAALA_DCT16 0
|
|
||||||
#define CONFIG_DAALA_DCT32 0
|
|
||||||
#define CONFIG_DAALA_DCT64 0
|
|
||||||
#define CONFIG_CB4X4 1
|
|
||||||
#define CONFIG_CHROMA_2X2 0
|
|
||||||
#define CONFIG_CHROMA_SUB8X8 1
|
|
||||||
#define CONFIG_FRAME_SIZE 0
|
|
||||||
#define CONFIG_EXT_DELTA_Q 1
|
|
||||||
#define CONFIG_ADAPT_SCAN 0
|
|
||||||
#define CONFIG_PARALLEL_DEBLOCKING 1
|
|
||||||
#define CONFIG_DEBLOCK_13TAP 0
|
|
||||||
#define CONFIG_LOOPFILTERING_ACROSS_TILES 1
|
|
||||||
#define CONFIG_TEMPMV_SIGNALING 1
|
|
||||||
#define CONFIG_RD_DEBUG 0
|
|
||||||
#define CONFIG_REFERENCE_BUFFER 1
|
|
||||||
#define CONFIG_COEF_INTERLEAVE 0
|
|
||||||
#define CONFIG_ENTROPY_STATS 0
|
|
||||||
#define CONFIG_MASKED_TX 0
|
|
||||||
#define CONFIG_DEPENDENT_HORZTILES 0
|
|
||||||
#define CONFIG_DIST_8X8 1
|
|
||||||
#define CONFIG_PALETTE_THROUGHPUT 1
|
|
||||||
#define CONFIG_REF_ADAPT 0
|
|
||||||
#define CONFIG_LV_MAP 0
|
|
||||||
#define CONFIG_CTX1D 0
|
|
||||||
#define CONFIG_TXK_SEL 0
|
|
||||||
#define CONFIG_MV_COMPRESS 1
|
|
||||||
#define CONFIG_SEGMENT_ZEROMV 0
|
|
||||||
#define CONFIG_FRAME_SUPERRES 0
|
|
||||||
#define CONFIG_NEW_MULTISYMBOL 0
|
|
||||||
#define CONFIG_COMPOUND_SINGLEREF 0
|
|
||||||
#define CONFIG_AOM_QM 1
|
|
||||||
#define CONFIG_ONE_SIDED_COMPOUND 1
|
|
||||||
#define CONFIG_EXT_COMP_REFS 1
|
|
||||||
#define CONFIG_SMOOTH_HV 1
|
|
||||||
#define CONFIG_VAR_REFS 0
|
|
||||||
#define CONFIG_LGT 0
|
|
||||||
#define CONFIG_LGT_FROM_PRED 0
|
|
||||||
#define CONFIG_SBL_SYMBOL 0
|
|
||||||
#define CONFIG_NCOBMC_ADAPT_WEIGHT 0
|
|
||||||
#define CONFIG_BGSPRITE 0
|
|
||||||
#define CONFIG_VAR_TX_NO_TX_MODE 0
|
|
||||||
#define CONFIG_MRC_TX 0
|
|
||||||
#define CONFIG_LPF_DIRECT 0
|
|
||||||
#define CONFIG_LOOPFILTER_LEVEL 0
|
|
||||||
#define CONFIG_NO_FRAME_CONTEXT_SIGNALING 0
|
|
||||||
#define CONFIG_TXMG 1
|
|
||||||
#define CONFIG_MAX_TILE 0
|
|
||||||
#define CONFIG_HASH_ME 0
|
|
||||||
#define CONFIG_COLORSPACE_HEADERS 0
|
|
||||||
#define CONFIG_MFMV 0
|
|
||||||
#define CONFIG_FRAME_MARKER 0
|
|
||||||
#define CONFIG_JNT_COMP 0
|
|
||||||
#define CONFIG_FRAME_SIGN_BIAS 0
|
|
||||||
#define CONFIG_EXT_SKIP 0
|
|
||||||
#define CONFIG_OBU 0
|
|
||||||
#define CONFIG_AMVR 0
|
|
||||||
#define CONFIG_LPF_SB 0
|
|
||||||
#define CONFIG_OPT_REF_MV 0
|
|
||||||
#define CONFIG_TMV 0
|
|
||||||
#define CONFIG_RESTRICT_COMPRESSED_HDR 0
|
|
||||||
#define CONFIG_HORZONLY_FRAME_SUPERRES 0
|
|
||||||
#define CONFIG_ANALYZER 0
|
|
||||||
#define DECODE_WIDTH_LIMIT 8192
|
|
||||||
#define DECODE_HEIGHT_LIMIT 4608
|
|
||||||
#endif /* AOM_CONFIG_H */
|
|
||||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,590 +0,0 @@
|
||||||
#ifndef AOM_RTCD_H_
|
|
||||||
#define AOM_RTCD_H_
|
|
||||||
|
|
||||||
#ifdef RTCD_C
|
|
||||||
#define RTCD_EXTERN
|
|
||||||
#else
|
|
||||||
#define RTCD_EXTERN extern
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*
|
|
||||||
* AV1
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include "aom/aom_integer.h"
|
|
||||||
#include "aom_dsp/txfm_common.h"
|
|
||||||
#include "av1/common/common.h"
|
|
||||||
#include "av1/common/enums.h"
|
|
||||||
#include "av1/common/quant_common.h"
|
|
||||||
#include "av1/common/filter.h"
|
|
||||||
#include "av1/common/convolve.h"
|
|
||||||
#include "av1/common/av1_txfm.h"
|
|
||||||
#include "av1/common/odintrin.h"
|
|
||||||
|
|
||||||
struct macroblockd;
|
|
||||||
|
|
||||||
/* Encoder forward decls */
|
|
||||||
struct macroblock;
|
|
||||||
struct txfm_param;
|
|
||||||
struct aom_variance_vtable;
|
|
||||||
struct search_site_config;
|
|
||||||
struct mv;
|
|
||||||
union int_mv;
|
|
||||||
struct yv12_buffer_config;
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
void apply_selfguided_restoration_c(uint8_t *dat, int width, int height, int stride, int eps, int *xqd, uint8_t *dst, int dst_stride, int32_t *tmpbuf);
|
|
||||||
void apply_selfguided_restoration_sse4_1(uint8_t *dat, int width, int height, int stride, int eps, int *xqd, uint8_t *dst, int dst_stride, int32_t *tmpbuf);
|
|
||||||
RTCD_EXTERN void (*apply_selfguided_restoration)(uint8_t *dat, int width, int height, int stride, int eps, int *xqd, uint8_t *dst, int dst_stride, int32_t *tmpbuf);
|
|
||||||
|
|
||||||
void apply_selfguided_restoration_highbd_c(uint16_t *dat, int width, int height, int stride, int bit_depth, int eps, int *xqd, uint16_t *dst, int dst_stride, int32_t *tmpbuf);
|
|
||||||
void apply_selfguided_restoration_highbd_sse4_1(uint16_t *dat, int width, int height, int stride, int bit_depth, int eps, int *xqd, uint16_t *dst, int dst_stride, int32_t *tmpbuf);
|
|
||||||
RTCD_EXTERN void (*apply_selfguided_restoration_highbd)(uint16_t *dat, int width, int height, int stride, int bit_depth, int eps, int *xqd, uint16_t *dst, int dst_stride, int32_t *tmpbuf);
|
|
||||||
|
|
||||||
int64_t av1_block_error_c(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block_size, int64_t *ssz);
|
|
||||||
int64_t av1_block_error_avx2(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block_size, int64_t *ssz);
|
|
||||||
RTCD_EXTERN int64_t (*av1_block_error)(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block_size, int64_t *ssz);
|
|
||||||
|
|
||||||
void av1_convolve_2d_c(const uint8_t *src, int src_stride, CONV_BUF_TYPE *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
|
||||||
void av1_convolve_2d_sse2(const uint8_t *src, int src_stride, CONV_BUF_TYPE *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
|
||||||
#define av1_convolve_2d av1_convolve_2d_sse2
|
|
||||||
|
|
||||||
void av1_convolve_2d_scale_c(const uint8_t *src, int src_stride, CONV_BUF_TYPE *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_qn, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params);
|
|
||||||
void av1_convolve_2d_scale_sse4_1(const uint8_t *src, int src_stride, CONV_BUF_TYPE *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_qn, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params);
|
|
||||||
RTCD_EXTERN void (*av1_convolve_2d_scale)(const uint8_t *src, int src_stride, CONV_BUF_TYPE *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_qn, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params);
|
|
||||||
|
|
||||||
void av1_convolve_horiz_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, ConvolveParams *conv_params);
|
|
||||||
void av1_convolve_horiz_ssse3(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, ConvolveParams *conv_params);
|
|
||||||
RTCD_EXTERN void (*av1_convolve_horiz)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, ConvolveParams *conv_params);
|
|
||||||
|
|
||||||
void av1_convolve_rounding_c(const int32_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, int bits);
|
|
||||||
void av1_convolve_rounding_avx2(const int32_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, int bits);
|
|
||||||
RTCD_EXTERN void (*av1_convolve_rounding)(const int32_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, int bits);
|
|
||||||
|
|
||||||
void av1_convolve_vert_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, ConvolveParams *conv_params);
|
|
||||||
void av1_convolve_vert_ssse3(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, ConvolveParams *conv_params);
|
|
||||||
RTCD_EXTERN void (*av1_convolve_vert)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, ConvolveParams *conv_params);
|
|
||||||
|
|
||||||
int av1_diamond_search_sad_c(struct macroblock *x, const struct search_site_config *cfg, struct mv *ref_mv, struct mv *best_mv, int search_param, int sad_per_bit, int *num00, const struct aom_variance_vtable *fn_ptr, const struct mv *center_mv);
|
|
||||||
#define av1_diamond_search_sad av1_diamond_search_sad_c
|
|
||||||
|
|
||||||
void av1_fht16x16_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
void av1_fht16x16_sse2(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
void av1_fht16x16_avx2(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
RTCD_EXTERN void (*av1_fht16x16)(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
|
|
||||||
void av1_fht16x32_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
void av1_fht16x32_sse2(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
#define av1_fht16x32 av1_fht16x32_sse2
|
|
||||||
|
|
||||||
void av1_fht16x4_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
#define av1_fht16x4 av1_fht16x4_c
|
|
||||||
|
|
||||||
void av1_fht16x8_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
void av1_fht16x8_sse2(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
#define av1_fht16x8 av1_fht16x8_sse2
|
|
||||||
|
|
||||||
void av1_fht32x16_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
void av1_fht32x16_sse2(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
#define av1_fht32x16 av1_fht32x16_sse2
|
|
||||||
|
|
||||||
void av1_fht32x32_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
void av1_fht32x32_sse2(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
void av1_fht32x32_avx2(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
RTCD_EXTERN void (*av1_fht32x32)(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
|
|
||||||
void av1_fht32x8_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
#define av1_fht32x8 av1_fht32x8_c
|
|
||||||
|
|
||||||
void av1_fht4x16_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
#define av1_fht4x16 av1_fht4x16_c
|
|
||||||
|
|
||||||
void av1_fht4x4_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
void av1_fht4x4_sse2(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
#define av1_fht4x4 av1_fht4x4_sse2
|
|
||||||
|
|
||||||
void av1_fht4x8_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
void av1_fht4x8_sse2(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
#define av1_fht4x8 av1_fht4x8_sse2
|
|
||||||
|
|
||||||
void av1_fht8x16_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
void av1_fht8x16_sse2(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
#define av1_fht8x16 av1_fht8x16_sse2
|
|
||||||
|
|
||||||
void av1_fht8x32_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
#define av1_fht8x32 av1_fht8x32_c
|
|
||||||
|
|
||||||
void av1_fht8x4_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
void av1_fht8x4_sse2(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
#define av1_fht8x4 av1_fht8x4_sse2
|
|
||||||
|
|
||||||
void av1_fht8x8_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
void av1_fht8x8_sse2(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
#define av1_fht8x8 av1_fht8x8_sse2
|
|
||||||
|
|
||||||
void av1_filter_intra_edge_c(uint8_t *p, int sz, int strength);
|
|
||||||
void av1_filter_intra_edge_sse4_1(uint8_t *p, int sz, int strength);
|
|
||||||
RTCD_EXTERN void (*av1_filter_intra_edge)(uint8_t *p, int sz, int strength);
|
|
||||||
|
|
||||||
void av1_filter_intra_edge_high_c(uint16_t *p, int sz, int strength);
|
|
||||||
void av1_filter_intra_edge_high_sse4_1(uint16_t *p, int sz, int strength);
|
|
||||||
RTCD_EXTERN void (*av1_filter_intra_edge_high)(uint16_t *p, int sz, int strength);
|
|
||||||
|
|
||||||
int av1_full_range_search_c(const struct macroblock *x, const struct search_site_config *cfg, struct mv *ref_mv, struct mv *best_mv, int search_param, int sad_per_bit, int *num00, const struct aom_variance_vtable *fn_ptr, const struct mv *center_mv);
|
|
||||||
#define av1_full_range_search av1_full_range_search_c
|
|
||||||
|
|
||||||
int av1_full_search_sad_c(const struct macroblock *x, const struct mv *ref_mv, int sad_per_bit, int distance, const struct aom_variance_vtable *fn_ptr, const struct mv *center_mv, struct mv *best_mv);
|
|
||||||
int av1_full_search_sadx3(const struct macroblock *x, const struct mv *ref_mv, int sad_per_bit, int distance, const struct aom_variance_vtable *fn_ptr, const struct mv *center_mv, struct mv *best_mv);
|
|
||||||
int av1_full_search_sadx8(const struct macroblock *x, const struct mv *ref_mv, int sad_per_bit, int distance, const struct aom_variance_vtable *fn_ptr, const struct mv *center_mv, struct mv *best_mv);
|
|
||||||
RTCD_EXTERN int (*av1_full_search_sad)(const struct macroblock *x, const struct mv *ref_mv, int sad_per_bit, int distance, const struct aom_variance_vtable *fn_ptr, const struct mv *center_mv, struct mv *best_mv);
|
|
||||||
|
|
||||||
void av1_fwd_idtx_c(const int16_t *src_diff, tran_low_t *coeff, int stride, int bsx, int bsy, TX_TYPE tx_type);
|
|
||||||
#define av1_fwd_idtx av1_fwd_idtx_c
|
|
||||||
|
|
||||||
void av1_fwd_txfm2d_16x16_c(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
void av1_fwd_txfm2d_16x16_sse4_1(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_fwd_txfm2d_16x16)(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
|
|
||||||
void av1_fwd_txfm2d_16x32_c(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_fwd_txfm2d_16x32 av1_fwd_txfm2d_16x32_c
|
|
||||||
|
|
||||||
void av1_fwd_txfm2d_16x8_c(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_fwd_txfm2d_16x8 av1_fwd_txfm2d_16x8_c
|
|
||||||
|
|
||||||
void av1_fwd_txfm2d_32x16_c(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_fwd_txfm2d_32x16 av1_fwd_txfm2d_32x16_c
|
|
||||||
|
|
||||||
void av1_fwd_txfm2d_32x32_c(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
void av1_fwd_txfm2d_32x32_sse4_1(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_fwd_txfm2d_32x32)(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
|
|
||||||
void av1_fwd_txfm2d_4x4_c(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
void av1_fwd_txfm2d_4x4_sse4_1(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_fwd_txfm2d_4x4)(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
|
|
||||||
void av1_fwd_txfm2d_4x8_c(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_fwd_txfm2d_4x8 av1_fwd_txfm2d_4x8_c
|
|
||||||
|
|
||||||
void av1_fwd_txfm2d_8x16_c(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_fwd_txfm2d_8x16 av1_fwd_txfm2d_8x16_c
|
|
||||||
|
|
||||||
void av1_fwd_txfm2d_8x4_c(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_fwd_txfm2d_8x4 av1_fwd_txfm2d_8x4_c
|
|
||||||
|
|
||||||
void av1_fwd_txfm2d_8x8_c(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
void av1_fwd_txfm2d_8x8_sse4_1(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_fwd_txfm2d_8x8)(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
|
|
||||||
void av1_fwht4x4_c(const int16_t *input, tran_low_t *output, int stride);
|
|
||||||
#define av1_fwht4x4 av1_fwht4x4_c
|
|
||||||
|
|
||||||
int64_t av1_highbd_block_error_c(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block_size, int64_t *ssz, int bd);
|
|
||||||
int64_t av1_highbd_block_error_sse2(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block_size, int64_t *ssz, int bd);
|
|
||||||
#define av1_highbd_block_error av1_highbd_block_error_sse2
|
|
||||||
|
|
||||||
void av1_highbd_convolve8_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
void av1_highbd_convolve8_sse2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
#define av1_highbd_convolve8 av1_highbd_convolve8_sse2
|
|
||||||
|
|
||||||
void av1_highbd_convolve8_avg_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
void av1_highbd_convolve8_avg_sse2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
#define av1_highbd_convolve8_avg av1_highbd_convolve8_avg_sse2
|
|
||||||
|
|
||||||
void av1_highbd_convolve8_avg_horiz_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
void av1_highbd_convolve8_avg_horiz_sse2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
#define av1_highbd_convolve8_avg_horiz av1_highbd_convolve8_avg_horiz_sse2
|
|
||||||
|
|
||||||
void av1_highbd_convolve8_avg_vert_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
void av1_highbd_convolve8_avg_vert_sse2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
#define av1_highbd_convolve8_avg_vert av1_highbd_convolve8_avg_vert_sse2
|
|
||||||
|
|
||||||
void av1_highbd_convolve8_horiz_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
void av1_highbd_convolve8_horiz_sse2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
#define av1_highbd_convolve8_horiz av1_highbd_convolve8_horiz_sse2
|
|
||||||
|
|
||||||
void av1_highbd_convolve8_vert_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
void av1_highbd_convolve8_vert_sse2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
#define av1_highbd_convolve8_vert av1_highbd_convolve8_vert_sse2
|
|
||||||
|
|
||||||
void av1_highbd_convolve_2d_c(const uint16_t *src, int src_stride, CONV_BUF_TYPE *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
|
||||||
void av1_highbd_convolve_2d_ssse3(const uint16_t *src, int src_stride, CONV_BUF_TYPE *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_highbd_convolve_2d)(const uint16_t *src, int src_stride, CONV_BUF_TYPE *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
|
||||||
|
|
||||||
void av1_highbd_convolve_2d_scale_c(const uint16_t *src, int src_stride, CONV_BUF_TYPE *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params, int bd);
|
|
||||||
void av1_highbd_convolve_2d_scale_sse4_1(const uint16_t *src, int src_stride, CONV_BUF_TYPE *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_highbd_convolve_2d_scale)(const uint16_t *src, int src_stride, CONV_BUF_TYPE *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params, int bd);
|
|
||||||
|
|
||||||
void av1_highbd_convolve_avg_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
#define av1_highbd_convolve_avg av1_highbd_convolve_avg_c
|
|
||||||
|
|
||||||
void av1_highbd_convolve_copy_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
#define av1_highbd_convolve_copy av1_highbd_convolve_copy_c
|
|
||||||
|
|
||||||
void av1_highbd_convolve_horiz_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, int avg, int bd);
|
|
||||||
void av1_highbd_convolve_horiz_sse4_1(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, int avg, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_highbd_convolve_horiz)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, int avg, int bd);
|
|
||||||
|
|
||||||
void av1_highbd_convolve_init_c(void);
|
|
||||||
void av1_highbd_convolve_init_sse4_1(void);
|
|
||||||
RTCD_EXTERN void (*av1_highbd_convolve_init)(void);
|
|
||||||
|
|
||||||
void av1_highbd_convolve_rounding_c(const int32_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, int bits, int bd);
|
|
||||||
void av1_highbd_convolve_rounding_avx2(const int32_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, int bits, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_highbd_convolve_rounding)(const int32_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, int bits, int bd);
|
|
||||||
|
|
||||||
void av1_highbd_convolve_vert_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, int avg, int bd);
|
|
||||||
void av1_highbd_convolve_vert_sse4_1(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, int avg, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_highbd_convolve_vert)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, int avg, int bd);
|
|
||||||
|
|
||||||
void av1_highbd_fwht4x4_c(const int16_t *input, tran_low_t *output, int stride);
|
|
||||||
#define av1_highbd_fwht4x4 av1_highbd_fwht4x4_c
|
|
||||||
|
|
||||||
void av1_highbd_iht16x16_256_add_c(const tran_low_t *input, uint8_t *output, int pitch, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht16x16_256_add av1_highbd_iht16x16_256_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht16x32_512_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht16x32_512_add av1_highbd_iht16x32_512_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht16x4_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht16x4_64_add av1_highbd_iht16x4_64_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht16x8_128_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht16x8_128_add av1_highbd_iht16x8_128_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht32x16_512_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht32x16_512_add av1_highbd_iht32x16_512_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht32x8_256_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht32x8_256_add av1_highbd_iht32x8_256_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht4x16_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht4x16_64_add av1_highbd_iht4x16_64_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht4x4_16_add av1_highbd_iht4x4_16_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht4x8_32_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht4x8_32_add av1_highbd_iht4x8_32_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht8x16_128_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht8x16_128_add av1_highbd_iht8x16_128_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht8x32_256_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht8x32_256_add av1_highbd_iht8x32_256_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht8x4_32_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht8x4_32_add av1_highbd_iht8x4_32_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht8x8_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht8x8_64_add av1_highbd_iht8x8_64_add_c
|
|
||||||
|
|
||||||
void av1_highbd_quantize_fp_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan, int log_scale);
|
|
||||||
void av1_highbd_quantize_fp_sse4_1(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan, int log_scale);
|
|
||||||
void av1_highbd_quantize_fp_avx2(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan, int log_scale);
|
|
||||||
RTCD_EXTERN void (*av1_highbd_quantize_fp)(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan, int log_scale);
|
|
||||||
|
|
||||||
void av1_highbd_temporal_filter_apply_c(uint8_t *frame1, unsigned int stride, uint8_t *frame2, unsigned int block_width, unsigned int block_height, int strength, int filter_weight, unsigned int *accumulator, uint16_t *count);
|
|
||||||
#define av1_highbd_temporal_filter_apply av1_highbd_temporal_filter_apply_c
|
|
||||||
|
|
||||||
void av1_highbd_warp_affine_c(const int32_t *mat, const uint16_t *ref, int width, int height, int stride, uint16_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, int bd, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
|
||||||
void av1_highbd_warp_affine_ssse3(const int32_t *mat, const uint16_t *ref, int width, int height, int stride, uint16_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, int bd, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
|
||||||
RTCD_EXTERN void (*av1_highbd_warp_affine)(const int32_t *mat, const uint16_t *ref, int width, int height, int stride, uint16_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, int bd, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
|
||||||
|
|
||||||
void av1_highpass_filter_c(uint8_t *dgd, int width, int height, int stride, int32_t *dst, int dst_stride, int r, int eps);
|
|
||||||
void av1_highpass_filter_sse4_1(uint8_t *dgd, int width, int height, int stride, int32_t *dst, int dst_stride, int r, int eps);
|
|
||||||
RTCD_EXTERN void (*av1_highpass_filter)(uint8_t *dgd, int width, int height, int stride, int32_t *dst, int dst_stride, int r, int eps);
|
|
||||||
|
|
||||||
void av1_highpass_filter_highbd_c(uint16_t *dgd, int width, int height, int stride, int32_t *dst, int dst_stride, int r, int eps);
|
|
||||||
void av1_highpass_filter_highbd_sse4_1(uint16_t *dgd, int width, int height, int stride, int32_t *dst, int dst_stride, int r, int eps);
|
|
||||||
RTCD_EXTERN void (*av1_highpass_filter_highbd)(uint16_t *dgd, int width, int height, int stride, int32_t *dst, int dst_stride, int r, int eps);
|
|
||||||
|
|
||||||
void av1_iht16x16_256_add_c(const tran_low_t *input, uint8_t *output, int pitch, const struct txfm_param *param);
|
|
||||||
void av1_iht16x16_256_add_sse2(const tran_low_t *input, uint8_t *output, int pitch, const struct txfm_param *param);
|
|
||||||
void av1_iht16x16_256_add_avx2(const tran_low_t *input, uint8_t *output, int pitch, const struct txfm_param *param);
|
|
||||||
RTCD_EXTERN void (*av1_iht16x16_256_add)(const tran_low_t *input, uint8_t *output, int pitch, const struct txfm_param *param);
|
|
||||||
|
|
||||||
void av1_iht16x32_512_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
void av1_iht16x32_512_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_iht16x32_512_add av1_iht16x32_512_add_sse2
|
|
||||||
|
|
||||||
void av1_iht16x4_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_iht16x4_64_add av1_iht16x4_64_add_c
|
|
||||||
|
|
||||||
void av1_iht16x8_128_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
void av1_iht16x8_128_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_iht16x8_128_add av1_iht16x8_128_add_sse2
|
|
||||||
|
|
||||||
void av1_iht32x16_512_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
void av1_iht32x16_512_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_iht32x16_512_add av1_iht32x16_512_add_sse2
|
|
||||||
|
|
||||||
void av1_iht32x32_1024_add_c(const tran_low_t *input, uint8_t *output, int pitch, const struct txfm_param *param);
|
|
||||||
#define av1_iht32x32_1024_add av1_iht32x32_1024_add_c
|
|
||||||
|
|
||||||
void av1_iht32x8_256_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_iht32x8_256_add av1_iht32x8_256_add_c
|
|
||||||
|
|
||||||
void av1_iht4x16_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_iht4x16_64_add av1_iht4x16_64_add_c
|
|
||||||
|
|
||||||
void av1_iht4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
void av1_iht4x4_16_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_iht4x4_16_add av1_iht4x4_16_add_sse2
|
|
||||||
|
|
||||||
void av1_iht4x8_32_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
void av1_iht4x8_32_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_iht4x8_32_add av1_iht4x8_32_add_sse2
|
|
||||||
|
|
||||||
void av1_iht8x16_128_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
void av1_iht8x16_128_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_iht8x16_128_add av1_iht8x16_128_add_sse2
|
|
||||||
|
|
||||||
void av1_iht8x32_256_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_iht8x32_256_add av1_iht8x32_256_add_c
|
|
||||||
|
|
||||||
void av1_iht8x4_32_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
void av1_iht8x4_32_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_iht8x4_32_add av1_iht8x4_32_add_sse2
|
|
||||||
|
|
||||||
void av1_iht8x8_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
void av1_iht8x8_64_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_iht8x8_64_add av1_iht8x8_64_add_sse2
|
|
||||||
|
|
||||||
void av1_inv_txfm2d_add_16x16_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
void av1_inv_txfm2d_add_16x16_sse4_1(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_inv_txfm2d_add_16x16)(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
|
|
||||||
void av1_inv_txfm2d_add_16x32_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_inv_txfm2d_add_16x32 av1_inv_txfm2d_add_16x32_c
|
|
||||||
|
|
||||||
void av1_inv_txfm2d_add_16x8_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_inv_txfm2d_add_16x8 av1_inv_txfm2d_add_16x8_c
|
|
||||||
|
|
||||||
void av1_inv_txfm2d_add_32x16_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_inv_txfm2d_add_32x16 av1_inv_txfm2d_add_32x16_c
|
|
||||||
|
|
||||||
void av1_inv_txfm2d_add_32x32_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
void av1_inv_txfm2d_add_32x32_avx2(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_inv_txfm2d_add_32x32)(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
|
|
||||||
void av1_inv_txfm2d_add_4x4_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
void av1_inv_txfm2d_add_4x4_sse4_1(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_inv_txfm2d_add_4x4)(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
|
|
||||||
void av1_inv_txfm2d_add_4x8_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_inv_txfm2d_add_4x8 av1_inv_txfm2d_add_4x8_c
|
|
||||||
|
|
||||||
void av1_inv_txfm2d_add_8x16_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_inv_txfm2d_add_8x16 av1_inv_txfm2d_add_8x16_c
|
|
||||||
|
|
||||||
void av1_inv_txfm2d_add_8x4_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_inv_txfm2d_add_8x4 av1_inv_txfm2d_add_8x4_c
|
|
||||||
|
|
||||||
void av1_inv_txfm2d_add_8x8_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
void av1_inv_txfm2d_add_8x8_sse4_1(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_inv_txfm2d_add_8x8)(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
|
|
||||||
void av1_lowbd_convolve_init_c(void);
|
|
||||||
void av1_lowbd_convolve_init_ssse3(void);
|
|
||||||
RTCD_EXTERN void (*av1_lowbd_convolve_init)(void);
|
|
||||||
|
|
||||||
void av1_quantize_b_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan, const qm_val_t * qm_ptr, const qm_val_t * iqm_ptr, int log_scale);
|
|
||||||
#define av1_quantize_b av1_quantize_b_c
|
|
||||||
|
|
||||||
void av1_quantize_fp_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan);
|
|
||||||
void av1_quantize_fp_sse2(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan);
|
|
||||||
void av1_quantize_fp_avx2(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan);
|
|
||||||
RTCD_EXTERN void (*av1_quantize_fp)(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan);
|
|
||||||
|
|
||||||
void av1_quantize_fp_32x32_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan);
|
|
||||||
void av1_quantize_fp_32x32_avx2(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan);
|
|
||||||
RTCD_EXTERN void (*av1_quantize_fp_32x32)(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan);
|
|
||||||
|
|
||||||
void av1_selfguided_restoration_c(uint8_t *dgd, int width, int height, int stride, int32_t *dst, int dst_stride, int r, int eps);
|
|
||||||
void av1_selfguided_restoration_sse4_1(uint8_t *dgd, int width, int height, int stride, int32_t *dst, int dst_stride, int r, int eps);
|
|
||||||
RTCD_EXTERN void (*av1_selfguided_restoration)(uint8_t *dgd, int width, int height, int stride, int32_t *dst, int dst_stride, int r, int eps);
|
|
||||||
|
|
||||||
void av1_selfguided_restoration_highbd_c(uint16_t *dgd, int width, int height, int stride, int32_t *dst, int dst_stride, int bit_depth, int r, int eps);
|
|
||||||
void av1_selfguided_restoration_highbd_sse4_1(uint16_t *dgd, int width, int height, int stride, int32_t *dst, int dst_stride, int bit_depth, int r, int eps);
|
|
||||||
RTCD_EXTERN void (*av1_selfguided_restoration_highbd)(uint16_t *dgd, int width, int height, int stride, int32_t *dst, int dst_stride, int bit_depth, int r, int eps);
|
|
||||||
|
|
||||||
void av1_temporal_filter_apply_c(uint8_t *frame1, unsigned int stride, uint8_t *frame2, unsigned int block_width, unsigned int block_height, int strength, int filter_weight, unsigned int *accumulator, uint16_t *count);
|
|
||||||
void av1_temporal_filter_apply_sse2(uint8_t *frame1, unsigned int stride, uint8_t *frame2, unsigned int block_width, unsigned int block_height, int strength, int filter_weight, unsigned int *accumulator, uint16_t *count);
|
|
||||||
#define av1_temporal_filter_apply av1_temporal_filter_apply_sse2
|
|
||||||
|
|
||||||
void av1_upsample_intra_edge_c(uint8_t *p, int sz);
|
|
||||||
void av1_upsample_intra_edge_sse4_1(uint8_t *p, int sz);
|
|
||||||
RTCD_EXTERN void (*av1_upsample_intra_edge)(uint8_t *p, int sz);
|
|
||||||
|
|
||||||
void av1_upsample_intra_edge_high_c(uint16_t *p, int sz, int bd);
|
|
||||||
void av1_upsample_intra_edge_high_sse4_1(uint16_t *p, int sz, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_upsample_intra_edge_high)(uint16_t *p, int sz, int bd);
|
|
||||||
|
|
||||||
void av1_warp_affine_c(const int32_t *mat, const uint8_t *ref, int width, int height, int stride, uint8_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
|
||||||
void av1_warp_affine_sse2(const int32_t *mat, const uint8_t *ref, int width, int height, int stride, uint8_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
|
||||||
void av1_warp_affine_ssse3(const int32_t *mat, const uint8_t *ref, int width, int height, int stride, uint8_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
|
||||||
RTCD_EXTERN void (*av1_warp_affine)(const int32_t *mat, const uint8_t *ref, int width, int height, int stride, uint8_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
|
||||||
|
|
||||||
void av1_wedge_compute_delta_squares_c(int16_t *d, const int16_t *a, const int16_t *b, int N);
|
|
||||||
void av1_wedge_compute_delta_squares_sse2(int16_t *d, const int16_t *a, const int16_t *b, int N);
|
|
||||||
#define av1_wedge_compute_delta_squares av1_wedge_compute_delta_squares_sse2
|
|
||||||
|
|
||||||
int av1_wedge_sign_from_residuals_c(const int16_t *ds, const uint8_t *m, int N, int64_t limit);
|
|
||||||
int av1_wedge_sign_from_residuals_sse2(const int16_t *ds, const uint8_t *m, int N, int64_t limit);
|
|
||||||
#define av1_wedge_sign_from_residuals av1_wedge_sign_from_residuals_sse2
|
|
||||||
|
|
||||||
uint64_t av1_wedge_sse_from_residuals_c(const int16_t *r1, const int16_t *d, const uint8_t *m, int N);
|
|
||||||
uint64_t av1_wedge_sse_from_residuals_sse2(const int16_t *r1, const int16_t *d, const uint8_t *m, int N);
|
|
||||||
#define av1_wedge_sse_from_residuals av1_wedge_sse_from_residuals_sse2
|
|
||||||
|
|
||||||
void cdef_filter_block_c(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max);
|
|
||||||
void cdef_filter_block_sse2(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max);
|
|
||||||
void cdef_filter_block_ssse3(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max);
|
|
||||||
void cdef_filter_block_sse4_1(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max);
|
|
||||||
void cdef_filter_block_avx2(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max);
|
|
||||||
RTCD_EXTERN void (*cdef_filter_block)(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max);
|
|
||||||
|
|
||||||
int cdef_find_dir_c(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
|
||||||
int cdef_find_dir_sse2(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
|
||||||
int cdef_find_dir_ssse3(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
|
||||||
int cdef_find_dir_sse4_1(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
|
||||||
int cdef_find_dir_avx2(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
|
||||||
RTCD_EXTERN int (*cdef_find_dir)(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
|
||||||
|
|
||||||
double compute_cross_correlation_c(unsigned char *im1, int stride1, int x1, int y1, unsigned char *im2, int stride2, int x2, int y2);
|
|
||||||
double compute_cross_correlation_sse4_1(unsigned char *im1, int stride1, int x1, int y1, unsigned char *im2, int stride2, int x2, int y2);
|
|
||||||
RTCD_EXTERN double (*compute_cross_correlation)(unsigned char *im1, int stride1, int x1, int y1, unsigned char *im2, int stride2, int x2, int y2);
|
|
||||||
|
|
||||||
void copy_rect8_16bit_to_16bit_c(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
|
||||||
void copy_rect8_16bit_to_16bit_sse2(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
|
||||||
void copy_rect8_16bit_to_16bit_ssse3(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
|
||||||
void copy_rect8_16bit_to_16bit_sse4_1(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
|
||||||
void copy_rect8_16bit_to_16bit_avx2(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
|
||||||
RTCD_EXTERN void (*copy_rect8_16bit_to_16bit)(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
|
||||||
|
|
||||||
void copy_rect8_8bit_to_16bit_c(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
|
||||||
void copy_rect8_8bit_to_16bit_sse2(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
|
||||||
void copy_rect8_8bit_to_16bit_ssse3(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
|
||||||
void copy_rect8_8bit_to_16bit_sse4_1(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
|
||||||
void copy_rect8_8bit_to_16bit_avx2(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
|
||||||
RTCD_EXTERN void (*copy_rect8_8bit_to_16bit)(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
|
||||||
|
|
||||||
void aom_rtcd(void);
|
|
||||||
|
|
||||||
#ifdef RTCD_C
|
|
||||||
#include "aom_ports/x86.h"
|
|
||||||
static void setup_rtcd_internal(void)
|
|
||||||
{
|
|
||||||
int flags = x86_simd_caps();
|
|
||||||
|
|
||||||
(void)flags;
|
|
||||||
|
|
||||||
apply_selfguided_restoration = apply_selfguided_restoration_c;
|
|
||||||
if (flags & HAS_SSE4_1) apply_selfguided_restoration = apply_selfguided_restoration_sse4_1;
|
|
||||||
apply_selfguided_restoration_highbd = apply_selfguided_restoration_highbd_c;
|
|
||||||
if (flags & HAS_SSE4_1) apply_selfguided_restoration_highbd = apply_selfguided_restoration_highbd_sse4_1;
|
|
||||||
av1_block_error = av1_block_error_c;
|
|
||||||
if (flags & HAS_AVX2) av1_block_error = av1_block_error_avx2;
|
|
||||||
av1_convolve_2d_scale = av1_convolve_2d_scale_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_convolve_2d_scale = av1_convolve_2d_scale_sse4_1;
|
|
||||||
av1_convolve_horiz = av1_convolve_horiz_c;
|
|
||||||
if (flags & HAS_SSSE3) av1_convolve_horiz = av1_convolve_horiz_ssse3;
|
|
||||||
av1_convolve_rounding = av1_convolve_rounding_c;
|
|
||||||
if (flags & HAS_AVX2) av1_convolve_rounding = av1_convolve_rounding_avx2;
|
|
||||||
av1_convolve_vert = av1_convolve_vert_c;
|
|
||||||
if (flags & HAS_SSSE3) av1_convolve_vert = av1_convolve_vert_ssse3;
|
|
||||||
av1_fht16x16 = av1_fht16x16_sse2;
|
|
||||||
if (flags & HAS_AVX2) av1_fht16x16 = av1_fht16x16_avx2;
|
|
||||||
av1_fht32x32 = av1_fht32x32_sse2;
|
|
||||||
if (flags & HAS_AVX2) av1_fht32x32 = av1_fht32x32_avx2;
|
|
||||||
av1_filter_intra_edge = av1_filter_intra_edge_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_filter_intra_edge = av1_filter_intra_edge_sse4_1;
|
|
||||||
av1_filter_intra_edge_high = av1_filter_intra_edge_high_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_filter_intra_edge_high = av1_filter_intra_edge_high_sse4_1;
|
|
||||||
av1_full_search_sad = av1_full_search_sad_c;
|
|
||||||
if (flags & HAS_SSE3) av1_full_search_sad = av1_full_search_sadx3;
|
|
||||||
if (flags & HAS_SSE4_1) av1_full_search_sad = av1_full_search_sadx8;
|
|
||||||
av1_fwd_txfm2d_16x16 = av1_fwd_txfm2d_16x16_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_fwd_txfm2d_16x16 = av1_fwd_txfm2d_16x16_sse4_1;
|
|
||||||
av1_fwd_txfm2d_32x32 = av1_fwd_txfm2d_32x32_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_fwd_txfm2d_32x32 = av1_fwd_txfm2d_32x32_sse4_1;
|
|
||||||
av1_fwd_txfm2d_4x4 = av1_fwd_txfm2d_4x4_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_fwd_txfm2d_4x4 = av1_fwd_txfm2d_4x4_sse4_1;
|
|
||||||
av1_fwd_txfm2d_8x8 = av1_fwd_txfm2d_8x8_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_fwd_txfm2d_8x8 = av1_fwd_txfm2d_8x8_sse4_1;
|
|
||||||
av1_highbd_convolve_2d = av1_highbd_convolve_2d_c;
|
|
||||||
if (flags & HAS_SSSE3) av1_highbd_convolve_2d = av1_highbd_convolve_2d_ssse3;
|
|
||||||
av1_highbd_convolve_2d_scale = av1_highbd_convolve_2d_scale_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_highbd_convolve_2d_scale = av1_highbd_convolve_2d_scale_sse4_1;
|
|
||||||
av1_highbd_convolve_horiz = av1_highbd_convolve_horiz_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_highbd_convolve_horiz = av1_highbd_convolve_horiz_sse4_1;
|
|
||||||
av1_highbd_convolve_init = av1_highbd_convolve_init_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_highbd_convolve_init = av1_highbd_convolve_init_sse4_1;
|
|
||||||
av1_highbd_convolve_rounding = av1_highbd_convolve_rounding_c;
|
|
||||||
if (flags & HAS_AVX2) av1_highbd_convolve_rounding = av1_highbd_convolve_rounding_avx2;
|
|
||||||
av1_highbd_convolve_vert = av1_highbd_convolve_vert_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_highbd_convolve_vert = av1_highbd_convolve_vert_sse4_1;
|
|
||||||
av1_highbd_quantize_fp = av1_highbd_quantize_fp_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_highbd_quantize_fp = av1_highbd_quantize_fp_sse4_1;
|
|
||||||
if (flags & HAS_AVX2) av1_highbd_quantize_fp = av1_highbd_quantize_fp_avx2;
|
|
||||||
av1_highbd_warp_affine = av1_highbd_warp_affine_c;
|
|
||||||
if (flags & HAS_SSSE3) av1_highbd_warp_affine = av1_highbd_warp_affine_ssse3;
|
|
||||||
av1_highpass_filter = av1_highpass_filter_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_highpass_filter = av1_highpass_filter_sse4_1;
|
|
||||||
av1_highpass_filter_highbd = av1_highpass_filter_highbd_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_highpass_filter_highbd = av1_highpass_filter_highbd_sse4_1;
|
|
||||||
av1_iht16x16_256_add = av1_iht16x16_256_add_sse2;
|
|
||||||
if (flags & HAS_AVX2) av1_iht16x16_256_add = av1_iht16x16_256_add_avx2;
|
|
||||||
av1_inv_txfm2d_add_16x16 = av1_inv_txfm2d_add_16x16_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_inv_txfm2d_add_16x16 = av1_inv_txfm2d_add_16x16_sse4_1;
|
|
||||||
av1_inv_txfm2d_add_32x32 = av1_inv_txfm2d_add_32x32_c;
|
|
||||||
if (flags & HAS_AVX2) av1_inv_txfm2d_add_32x32 = av1_inv_txfm2d_add_32x32_avx2;
|
|
||||||
av1_inv_txfm2d_add_4x4 = av1_inv_txfm2d_add_4x4_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_inv_txfm2d_add_4x4 = av1_inv_txfm2d_add_4x4_sse4_1;
|
|
||||||
av1_inv_txfm2d_add_8x8 = av1_inv_txfm2d_add_8x8_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_inv_txfm2d_add_8x8 = av1_inv_txfm2d_add_8x8_sse4_1;
|
|
||||||
av1_lowbd_convolve_init = av1_lowbd_convolve_init_c;
|
|
||||||
if (flags & HAS_SSSE3) av1_lowbd_convolve_init = av1_lowbd_convolve_init_ssse3;
|
|
||||||
av1_quantize_fp = av1_quantize_fp_sse2;
|
|
||||||
if (flags & HAS_AVX2) av1_quantize_fp = av1_quantize_fp_avx2;
|
|
||||||
av1_quantize_fp_32x32 = av1_quantize_fp_32x32_c;
|
|
||||||
if (flags & HAS_AVX2) av1_quantize_fp_32x32 = av1_quantize_fp_32x32_avx2;
|
|
||||||
av1_selfguided_restoration = av1_selfguided_restoration_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_selfguided_restoration = av1_selfguided_restoration_sse4_1;
|
|
||||||
av1_selfguided_restoration_highbd = av1_selfguided_restoration_highbd_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_selfguided_restoration_highbd = av1_selfguided_restoration_highbd_sse4_1;
|
|
||||||
av1_upsample_intra_edge = av1_upsample_intra_edge_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_upsample_intra_edge = av1_upsample_intra_edge_sse4_1;
|
|
||||||
av1_upsample_intra_edge_high = av1_upsample_intra_edge_high_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_upsample_intra_edge_high = av1_upsample_intra_edge_high_sse4_1;
|
|
||||||
av1_warp_affine = av1_warp_affine_sse2;
|
|
||||||
if (flags & HAS_SSSE3) av1_warp_affine = av1_warp_affine_ssse3;
|
|
||||||
cdef_filter_block = cdef_filter_block_sse2;
|
|
||||||
if (flags & HAS_SSSE3) cdef_filter_block = cdef_filter_block_ssse3;
|
|
||||||
if (flags & HAS_SSE4_1) cdef_filter_block = cdef_filter_block_sse4_1;
|
|
||||||
if (flags & HAS_AVX2) cdef_filter_block = cdef_filter_block_avx2;
|
|
||||||
cdef_find_dir = cdef_find_dir_sse2;
|
|
||||||
if (flags & HAS_SSSE3) cdef_find_dir = cdef_find_dir_ssse3;
|
|
||||||
if (flags & HAS_SSE4_1) cdef_find_dir = cdef_find_dir_sse4_1;
|
|
||||||
if (flags & HAS_AVX2) cdef_find_dir = cdef_find_dir_avx2;
|
|
||||||
compute_cross_correlation = compute_cross_correlation_c;
|
|
||||||
if (flags & HAS_SSE4_1) compute_cross_correlation = compute_cross_correlation_sse4_1;
|
|
||||||
copy_rect8_16bit_to_16bit = copy_rect8_16bit_to_16bit_sse2;
|
|
||||||
if (flags & HAS_SSSE3) copy_rect8_16bit_to_16bit = copy_rect8_16bit_to_16bit_ssse3;
|
|
||||||
if (flags & HAS_SSE4_1) copy_rect8_16bit_to_16bit = copy_rect8_16bit_to_16bit_sse4_1;
|
|
||||||
if (flags & HAS_AVX2) copy_rect8_16bit_to_16bit = copy_rect8_16bit_to_16bit_avx2;
|
|
||||||
copy_rect8_8bit_to_16bit = copy_rect8_8bit_to_16bit_sse2;
|
|
||||||
if (flags & HAS_SSSE3) copy_rect8_8bit_to_16bit = copy_rect8_8bit_to_16bit_ssse3;
|
|
||||||
if (flags & HAS_SSE4_1) copy_rect8_8bit_to_16bit = copy_rect8_8bit_to_16bit_sse4_1;
|
|
||||||
if (flags & HAS_AVX2) copy_rect8_8bit_to_16bit = copy_rect8_8bit_to_16bit_avx2;
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
} // extern "C"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif
|
|
||||||
69
media/libaom/config/mac/x64/config/aom_config.asm
Normal file
69
media/libaom/config/mac/x64/config/aom_config.asm
Normal file
|
|
@ -0,0 +1,69 @@
|
||||||
|
;
|
||||||
|
; Copyright (c) 2018, Alliance for Open Media. All rights reserved
|
||||||
|
;
|
||||||
|
; This source code is subject to the terms of the BSD 2 Clause License and
|
||||||
|
; the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
|
||||||
|
; was not distributed with this source code in the LICENSE file, you can
|
||||||
|
; obtain it at www.aomedia.org/license/software. If the Alliance for Open
|
||||||
|
; Media Patent License 1.0 was not distributed with this source code in the
|
||||||
|
; PATENTS file, you can obtain it at www.aomedia.org/license/patent.
|
||||||
|
;
|
||||||
|
|
||||||
|
ARCH_ARM equ 0
|
||||||
|
ARCH_MIPS equ 0
|
||||||
|
ARCH_PPC equ 0
|
||||||
|
ARCH_X86 equ 0
|
||||||
|
ARCH_X86_64 equ 1
|
||||||
|
CONFIG_ACCOUNTING equ 0
|
||||||
|
CONFIG_ANALYZER equ 0
|
||||||
|
CONFIG_AV1_DECODER equ 1
|
||||||
|
CONFIG_AV1_ENCODER equ 0
|
||||||
|
CONFIG_BIG_ENDIAN equ 0
|
||||||
|
CONFIG_BITSTREAM_DEBUG equ 0
|
||||||
|
CONFIG_COEFFICIENT_RANGE_CHECKING equ 0
|
||||||
|
CONFIG_COLLECT_INTER_MODE_RD_STATS equ 1
|
||||||
|
CONFIG_COLLECT_RD_STATS equ 0
|
||||||
|
CONFIG_DEBUG equ 0
|
||||||
|
CONFIG_DIST_8X8 equ 1
|
||||||
|
CONFIG_ENTROPY_STATS equ 0
|
||||||
|
CONFIG_FILEOPTIONS equ 1
|
||||||
|
CONFIG_FP_MB_STATS equ 0
|
||||||
|
CONFIG_GCC equ 1
|
||||||
|
CONFIG_GCOV equ 0
|
||||||
|
CONFIG_GPROF equ 0
|
||||||
|
CONFIG_INSPECTION equ 0
|
||||||
|
CONFIG_INTERNAL_STATS equ 0
|
||||||
|
CONFIG_INTER_STATS_ONLY equ 0
|
||||||
|
CONFIG_LIBYUV equ 0
|
||||||
|
CONFIG_LOWBITDEPTH equ 0
|
||||||
|
CONFIG_MISMATCH_DEBUG equ 0
|
||||||
|
CONFIG_MSVS equ 0
|
||||||
|
CONFIG_MULTITHREAD equ 1
|
||||||
|
CONFIG_OS_SUPPORT equ 1
|
||||||
|
CONFIG_PIC equ 0
|
||||||
|
CONFIG_RD_DEBUG equ 0
|
||||||
|
CONFIG_RUNTIME_CPU_DETECT equ 1
|
||||||
|
CONFIG_SHARED equ 0
|
||||||
|
CONFIG_SIZE_LIMIT equ 0
|
||||||
|
CONFIG_SPATIAL_RESAMPLING equ 1
|
||||||
|
CONFIG_STATIC equ 1
|
||||||
|
CONFIG_WEBM_IO equ 0
|
||||||
|
DECODE_HEIGHT_LIMIT equ 0
|
||||||
|
DECODE_WIDTH_LIMIT equ 0
|
||||||
|
HAVE_AVX equ 1
|
||||||
|
HAVE_AVX2 equ 1
|
||||||
|
HAVE_DSPR2 equ 0
|
||||||
|
HAVE_FEXCEPT equ 1
|
||||||
|
HAVE_MIPS32 equ 0
|
||||||
|
HAVE_MIPS64 equ 0
|
||||||
|
HAVE_MMX equ 1
|
||||||
|
HAVE_MSA equ 0
|
||||||
|
HAVE_NEON equ 0
|
||||||
|
HAVE_SSE equ 1
|
||||||
|
HAVE_SSE2 equ 1
|
||||||
|
HAVE_SSE3 equ 1
|
||||||
|
HAVE_SSE4_1 equ 1
|
||||||
|
HAVE_SSE4_2 equ 1
|
||||||
|
HAVE_SSSE3 equ 1
|
||||||
|
HAVE_VSX equ 0
|
||||||
|
HAVE_WXWIDGETS equ 0
|
||||||
75
media/libaom/config/mac/x64/config/aom_config.h
Normal file
75
media/libaom/config/mac/x64/config/aom_config.h
Normal file
|
|
@ -0,0 +1,75 @@
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2018, Alliance for Open Media. All rights reserved
|
||||||
|
*
|
||||||
|
* This source code is subject to the terms of the BSD 2 Clause License and
|
||||||
|
* the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
|
||||||
|
* was not distributed with this source code in the LICENSE file, you can
|
||||||
|
* obtain it at www.aomedia.org/license/software. If the Alliance for Open
|
||||||
|
* Media Patent License 1.0 was not distributed with this source code in the
|
||||||
|
* PATENTS file, you can obtain it at www.aomedia.org/license/patent.
|
||||||
|
*/
|
||||||
|
#ifndef AOM_CONFIG_H_
|
||||||
|
#define AOM_CONFIG_H_
|
||||||
|
|
||||||
|
#define ARCH_ARM 0
|
||||||
|
#define ARCH_MIPS 0
|
||||||
|
#define ARCH_PPC 0
|
||||||
|
#define ARCH_X86 0
|
||||||
|
#define ARCH_X86_64 1
|
||||||
|
#define CONFIG_ACCOUNTING 0
|
||||||
|
#define CONFIG_ANALYZER 0
|
||||||
|
#define CONFIG_AV1_DECODER 1
|
||||||
|
#define CONFIG_AV1_ENCODER 0
|
||||||
|
#define CONFIG_BIG_ENDIAN 0
|
||||||
|
#define CONFIG_BITSTREAM_DEBUG 0
|
||||||
|
#define CONFIG_COEFFICIENT_RANGE_CHECKING 0
|
||||||
|
#define CONFIG_COLLECT_INTER_MODE_RD_STATS 1
|
||||||
|
#define CONFIG_COLLECT_RD_STATS 0
|
||||||
|
#define CONFIG_DEBUG 0
|
||||||
|
#define CONFIG_DIST_8X8 1
|
||||||
|
#define CONFIG_ENTROPY_STATS 0
|
||||||
|
#define CONFIG_FILEOPTIONS 1
|
||||||
|
#define CONFIG_FP_MB_STATS 0
|
||||||
|
#define CONFIG_GCC 1
|
||||||
|
#define CONFIG_GCOV 0
|
||||||
|
#define CONFIG_GPROF 0
|
||||||
|
#define CONFIG_INSPECTION 0
|
||||||
|
#define CONFIG_INTERNAL_STATS 0
|
||||||
|
#define CONFIG_INTER_STATS_ONLY 0
|
||||||
|
#define CONFIG_LIBYUV 0
|
||||||
|
#define CONFIG_LOWBITDEPTH 0
|
||||||
|
#define CONFIG_MISMATCH_DEBUG 0
|
||||||
|
#define CONFIG_MSVS 0
|
||||||
|
#define CONFIG_MULTITHREAD 1
|
||||||
|
#define CONFIG_OS_SUPPORT 1
|
||||||
|
#define CONFIG_PIC 0
|
||||||
|
#define CONFIG_RD_DEBUG 0
|
||||||
|
#define CONFIG_RUNTIME_CPU_DETECT 1
|
||||||
|
#define CONFIG_SHARED 0
|
||||||
|
#define CONFIG_SIZE_LIMIT 0
|
||||||
|
#define CONFIG_SPATIAL_RESAMPLING 1
|
||||||
|
#define CONFIG_STATIC 1
|
||||||
|
#define CONFIG_WEBM_IO 0
|
||||||
|
#define DECODE_HEIGHT_LIMIT 0
|
||||||
|
#define DECODE_WIDTH_LIMIT 0
|
||||||
|
#define HAVE_AVX 1
|
||||||
|
#define HAVE_AVX2 1
|
||||||
|
#define HAVE_DSPR2 0
|
||||||
|
#define HAVE_FEXCEPT 1
|
||||||
|
#define HAVE_MIPS32 0
|
||||||
|
#define HAVE_MIPS64 0
|
||||||
|
#define HAVE_MMX 1
|
||||||
|
#define HAVE_MSA 0
|
||||||
|
#define HAVE_NEON 0
|
||||||
|
#define HAVE_SSE 1
|
||||||
|
#define HAVE_SSE2 1
|
||||||
|
#define HAVE_SSE3 1
|
||||||
|
#define HAVE_SSE4_1 1
|
||||||
|
#define HAVE_SSE4_2 1
|
||||||
|
#define HAVE_SSSE3 1
|
||||||
|
#define HAVE_VSX 0
|
||||||
|
#define HAVE_WXWIDGETS 0
|
||||||
|
#define INCLUDE_INSTALL_DIR INSTALLDIR/include
|
||||||
|
#define INLINE inline
|
||||||
|
#define LIB_INSTALL_DIR INSTALLDIR/lib
|
||||||
|
#endif /* AOM_CONFIG_H_ */
|
||||||
1997
media/libaom/config/mac/x64/config/aom_dsp_rtcd.h
Normal file
1997
media/libaom/config/mac/x64/config/aom_dsp_rtcd.h
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -1,3 +1,4 @@
|
||||||
|
// This file is generated. Do not edit.
|
||||||
#ifndef AOM_SCALE_RTCD_H_
|
#ifndef AOM_SCALE_RTCD_H_
|
||||||
#define AOM_SCALE_RTCD_H_
|
#define AOM_SCALE_RTCD_H_
|
||||||
|
|
||||||
|
|
@ -13,13 +14,13 @@ struct yv12_buffer_config;
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void aom_extend_frame_borders_c(struct yv12_buffer_config *ybf);
|
void aom_extend_frame_borders_c(struct yv12_buffer_config *ybf, const int num_planes);
|
||||||
#define aom_extend_frame_borders aom_extend_frame_borders_c
|
#define aom_extend_frame_borders aom_extend_frame_borders_c
|
||||||
|
|
||||||
void aom_extend_frame_borders_y_c(struct yv12_buffer_config *ybf);
|
void aom_extend_frame_borders_y_c(struct yv12_buffer_config *ybf);
|
||||||
#define aom_extend_frame_borders_y aom_extend_frame_borders_y_c
|
#define aom_extend_frame_borders_y aom_extend_frame_borders_y_c
|
||||||
|
|
||||||
void aom_extend_frame_inner_borders_c(struct yv12_buffer_config *ybf);
|
void aom_extend_frame_inner_borders_c(struct yv12_buffer_config *ybf, const int num_planes);
|
||||||
#define aom_extend_frame_inner_borders aom_extend_frame_inner_borders_c
|
#define aom_extend_frame_inner_borders aom_extend_frame_inner_borders_c
|
||||||
|
|
||||||
void aom_horizontal_line_2_1_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
|
void aom_horizontal_line_2_1_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
|
||||||
|
|
@ -43,7 +44,7 @@ void aom_vertical_band_5_3_scale_c(unsigned char *source, int src_pitch, unsigne
|
||||||
void aom_vertical_band_5_4_scale_c(unsigned char *source, int src_pitch, unsigned char *dest, int dest_pitch, unsigned int dest_width);
|
void aom_vertical_band_5_4_scale_c(unsigned char *source, int src_pitch, unsigned char *dest, int dest_pitch, unsigned int dest_width);
|
||||||
#define aom_vertical_band_5_4_scale aom_vertical_band_5_4_scale_c
|
#define aom_vertical_band_5_4_scale aom_vertical_band_5_4_scale_c
|
||||||
|
|
||||||
void aom_yv12_copy_frame_c(const struct yv12_buffer_config *src_bc, struct yv12_buffer_config *dst_bc);
|
void aom_yv12_copy_frame_c(const struct yv12_buffer_config *src_bc, struct yv12_buffer_config *dst_bc, const int num_planes);
|
||||||
#define aom_yv12_copy_frame aom_yv12_copy_frame_c
|
#define aom_yv12_copy_frame aom_yv12_copy_frame_c
|
||||||
|
|
||||||
void aom_yv12_copy_u_c(const struct yv12_buffer_config *src_bc, struct yv12_buffer_config *dst_bc);
|
void aom_yv12_copy_u_c(const struct yv12_buffer_config *src_bc, struct yv12_buffer_config *dst_bc);
|
||||||
|
|
@ -55,9 +56,18 @@ void aom_yv12_copy_v_c(const struct yv12_buffer_config *src_bc, struct yv12_buff
|
||||||
void aom_yv12_copy_y_c(const struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc);
|
void aom_yv12_copy_y_c(const struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc);
|
||||||
#define aom_yv12_copy_y aom_yv12_copy_y_c
|
#define aom_yv12_copy_y aom_yv12_copy_y_c
|
||||||
|
|
||||||
void aom_yv12_extend_frame_borders_c(struct yv12_buffer_config *ybf);
|
void aom_yv12_extend_frame_borders_c(struct yv12_buffer_config *ybf, const int num_planes);
|
||||||
#define aom_yv12_extend_frame_borders aom_yv12_extend_frame_borders_c
|
#define aom_yv12_extend_frame_borders aom_yv12_extend_frame_borders_c
|
||||||
|
|
||||||
|
void aom_yv12_partial_copy_u_c(const struct yv12_buffer_config *src_bc, struct yv12_buffer_config *dst_bc, int hstart, int hend, int vstart, int vend);
|
||||||
|
#define aom_yv12_partial_copy_u aom_yv12_partial_copy_u_c
|
||||||
|
|
||||||
|
void aom_yv12_partial_copy_v_c(const struct yv12_buffer_config *src_bc, struct yv12_buffer_config *dst_bc, int hstart, int hend, int vstart, int vend);
|
||||||
|
#define aom_yv12_partial_copy_v aom_yv12_partial_copy_v_c
|
||||||
|
|
||||||
|
void aom_yv12_partial_copy_y_c(const struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc, int hstart, int hend, int vstart, int vend);
|
||||||
|
#define aom_yv12_partial_copy_y aom_yv12_partial_copy_y_c
|
||||||
|
|
||||||
void aom_scale_rtcd(void);
|
void aom_scale_rtcd(void);
|
||||||
|
|
||||||
#ifdef RTCD_C
|
#ifdef RTCD_C
|
||||||
553
media/libaom/config/mac/x64/config/av1_rtcd.h
Normal file
553
media/libaom/config/mac/x64/config/av1_rtcd.h
Normal file
|
|
@ -0,0 +1,553 @@
|
||||||
|
// This file is generated. Do not edit.
|
||||||
|
#ifndef AOM_RTCD_H_
|
||||||
|
#define AOM_RTCD_H_
|
||||||
|
|
||||||
|
#ifdef RTCD_C
|
||||||
|
#define RTCD_EXTERN
|
||||||
|
#else
|
||||||
|
#define RTCD_EXTERN extern
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/*
|
||||||
|
* AV1
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "aom/aom_integer.h"
|
||||||
|
#include "aom_dsp/txfm_common.h"
|
||||||
|
#include "av1/common/common.h"
|
||||||
|
#include "av1/common/enums.h"
|
||||||
|
#include "av1/common/quant_common.h"
|
||||||
|
#include "av1/common/filter.h"
|
||||||
|
#include "av1/common/convolve.h"
|
||||||
|
#include "av1/common/av1_txfm.h"
|
||||||
|
#include "av1/common/odintrin.h"
|
||||||
|
#include "av1/common/restoration.h"
|
||||||
|
|
||||||
|
struct macroblockd;
|
||||||
|
|
||||||
|
/* Encoder forward decls */
|
||||||
|
struct macroblock;
|
||||||
|
struct txfm_param;
|
||||||
|
struct aom_variance_vtable;
|
||||||
|
struct search_site_config;
|
||||||
|
struct yv12_buffer_config;
|
||||||
|
|
||||||
|
/* Function pointers return by CfL functions */
|
||||||
|
typedef void (*cfl_subsample_lbd_fn)(const uint8_t *input, int input_stride,
|
||||||
|
uint16_t *output_q3);
|
||||||
|
|
||||||
|
typedef void (*cfl_subsample_hbd_fn)(const uint16_t *input, int input_stride,
|
||||||
|
uint16_t *output_q3);
|
||||||
|
|
||||||
|
typedef void (*cfl_subtract_average_fn)(const uint16_t *src, int16_t *dst);
|
||||||
|
|
||||||
|
typedef void (*cfl_predict_lbd_fn)(const int16_t *src, uint8_t *dst,
|
||||||
|
int dst_stride, int alpha_q3);
|
||||||
|
|
||||||
|
typedef void (*cfl_predict_hbd_fn)(const int16_t *src, uint16_t *dst,
|
||||||
|
int dst_stride, int alpha_q3, int bd);
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
|
void apply_selfguided_restoration_c(const uint8_t *dat, int width, int height, int stride, int eps, const int *xqd, uint8_t *dst, int dst_stride, int32_t *tmpbuf, int bit_depth, int highbd);
|
||||||
|
void apply_selfguided_restoration_sse4_1(const uint8_t *dat, int width, int height, int stride, int eps, const int *xqd, uint8_t *dst, int dst_stride, int32_t *tmpbuf, int bit_depth, int highbd);
|
||||||
|
void apply_selfguided_restoration_avx2(const uint8_t *dat, int width, int height, int stride, int eps, const int *xqd, uint8_t *dst, int dst_stride, int32_t *tmpbuf, int bit_depth, int highbd);
|
||||||
|
RTCD_EXTERN void (*apply_selfguided_restoration)(const uint8_t *dat, int width, int height, int stride, int eps, const int *xqd, uint8_t *dst, int dst_stride, int32_t *tmpbuf, int bit_depth, int highbd);
|
||||||
|
|
||||||
|
void av1_build_compound_diffwtd_mask_c(uint8_t *mask, DIFFWTD_MASK_TYPE mask_type, const uint8_t *src0, int src0_stride, const uint8_t *src1, int src1_stride, int h, int w);
|
||||||
|
void av1_build_compound_diffwtd_mask_sse4_1(uint8_t *mask, DIFFWTD_MASK_TYPE mask_type, const uint8_t *src0, int src0_stride, const uint8_t *src1, int src1_stride, int h, int w);
|
||||||
|
RTCD_EXTERN void (*av1_build_compound_diffwtd_mask)(uint8_t *mask, DIFFWTD_MASK_TYPE mask_type, const uint8_t *src0, int src0_stride, const uint8_t *src1, int src1_stride, int h, int w);
|
||||||
|
|
||||||
|
void av1_build_compound_diffwtd_mask_d16_c(uint8_t *mask, DIFFWTD_MASK_TYPE mask_type, const CONV_BUF_TYPE *src0, int src0_stride, const CONV_BUF_TYPE *src1, int src1_stride, int h, int w, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_build_compound_diffwtd_mask_d16_sse4_1(uint8_t *mask, DIFFWTD_MASK_TYPE mask_type, const CONV_BUF_TYPE *src0, int src0_stride, const CONV_BUF_TYPE *src1, int src1_stride, int h, int w, ConvolveParams *conv_params, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_build_compound_diffwtd_mask_d16)(uint8_t *mask, DIFFWTD_MASK_TYPE mask_type, const CONV_BUF_TYPE *src0, int src0_stride, const CONV_BUF_TYPE *src1, int src1_stride, int h, int w, ConvolveParams *conv_params, int bd);
|
||||||
|
|
||||||
|
void av1_build_compound_diffwtd_mask_highbd_c(uint8_t *mask, DIFFWTD_MASK_TYPE mask_type, const uint8_t *src0, int src0_stride, const uint8_t *src1, int src1_stride, int h, int w, int bd);
|
||||||
|
void av1_build_compound_diffwtd_mask_highbd_ssse3(uint8_t *mask, DIFFWTD_MASK_TYPE mask_type, const uint8_t *src0, int src0_stride, const uint8_t *src1, int src1_stride, int h, int w, int bd);
|
||||||
|
void av1_build_compound_diffwtd_mask_highbd_avx2(uint8_t *mask, DIFFWTD_MASK_TYPE mask_type, const uint8_t *src0, int src0_stride, const uint8_t *src1, int src1_stride, int h, int w, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_build_compound_diffwtd_mask_highbd)(uint8_t *mask, DIFFWTD_MASK_TYPE mask_type, const uint8_t *src0, int src0_stride, const uint8_t *src1, int src1_stride, int h, int w, int bd);
|
||||||
|
|
||||||
|
void av1_convolve_2d_copy_sr_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_convolve_2d_copy_sr_sse2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_convolve_2d_copy_sr_avx2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
RTCD_EXTERN void (*av1_convolve_2d_copy_sr)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
|
||||||
|
void av1_convolve_2d_scale_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_qn, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params);
|
||||||
|
void av1_convolve_2d_scale_sse4_1(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_qn, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params);
|
||||||
|
RTCD_EXTERN void (*av1_convolve_2d_scale)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_qn, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params);
|
||||||
|
|
||||||
|
void av1_convolve_2d_sr_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_convolve_2d_sr_sse2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_convolve_2d_sr_avx2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
RTCD_EXTERN void (*av1_convolve_2d_sr)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
|
||||||
|
void av1_convolve_horiz_rs_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const int16_t *x_filters, int x0_qn, int x_step_qn);
|
||||||
|
void av1_convolve_horiz_rs_sse4_1(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const int16_t *x_filters, int x0_qn, int x_step_qn);
|
||||||
|
RTCD_EXTERN void (*av1_convolve_horiz_rs)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const int16_t *x_filters, int x0_qn, int x_step_qn);
|
||||||
|
|
||||||
|
void av1_convolve_x_sr_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_convolve_x_sr_sse2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_convolve_x_sr_avx2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
RTCD_EXTERN void (*av1_convolve_x_sr)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
|
||||||
|
void av1_convolve_y_sr_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_convolve_y_sr_sse2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_convolve_y_sr_avx2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
RTCD_EXTERN void (*av1_convolve_y_sr)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
|
||||||
|
void av1_dr_prediction_z1_c(uint8_t *dst, ptrdiff_t stride, int bw, int bh, const uint8_t *above, const uint8_t *left, int upsample_above, int dx, int dy);
|
||||||
|
#define av1_dr_prediction_z1 av1_dr_prediction_z1_c
|
||||||
|
|
||||||
|
void av1_dr_prediction_z2_c(uint8_t *dst, ptrdiff_t stride, int bw, int bh, const uint8_t *above, const uint8_t *left, int upsample_above, int upsample_left, int dx, int dy);
|
||||||
|
#define av1_dr_prediction_z2 av1_dr_prediction_z2_c
|
||||||
|
|
||||||
|
void av1_dr_prediction_z3_c(uint8_t *dst, ptrdiff_t stride, int bw, int bh, const uint8_t *above, const uint8_t *left, int upsample_left, int dx, int dy);
|
||||||
|
#define av1_dr_prediction_z3 av1_dr_prediction_z3_c
|
||||||
|
|
||||||
|
void av1_filter_intra_edge_c(uint8_t *p, int sz, int strength);
|
||||||
|
void av1_filter_intra_edge_sse4_1(uint8_t *p, int sz, int strength);
|
||||||
|
RTCD_EXTERN void (*av1_filter_intra_edge)(uint8_t *p, int sz, int strength);
|
||||||
|
|
||||||
|
void av1_filter_intra_edge_high_c(uint16_t *p, int sz, int strength);
|
||||||
|
void av1_filter_intra_edge_high_sse4_1(uint16_t *p, int sz, int strength);
|
||||||
|
RTCD_EXTERN void (*av1_filter_intra_edge_high)(uint16_t *p, int sz, int strength);
|
||||||
|
|
||||||
|
void av1_filter_intra_predictor_c(uint8_t *dst, ptrdiff_t stride, TX_SIZE tx_size, const uint8_t *above, const uint8_t *left, int mode);
|
||||||
|
void av1_filter_intra_predictor_sse4_1(uint8_t *dst, ptrdiff_t stride, TX_SIZE tx_size, const uint8_t *above, const uint8_t *left, int mode);
|
||||||
|
RTCD_EXTERN void (*av1_filter_intra_predictor)(uint8_t *dst, ptrdiff_t stride, TX_SIZE tx_size, const uint8_t *above, const uint8_t *left, int mode);
|
||||||
|
|
||||||
|
void av1_highbd_convolve8_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
||||||
|
void av1_highbd_convolve8_sse2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
||||||
|
#define av1_highbd_convolve8 av1_highbd_convolve8_sse2
|
||||||
|
|
||||||
|
void av1_highbd_convolve8_horiz_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
||||||
|
void av1_highbd_convolve8_horiz_sse2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
||||||
|
#define av1_highbd_convolve8_horiz av1_highbd_convolve8_horiz_sse2
|
||||||
|
|
||||||
|
void av1_highbd_convolve8_vert_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
||||||
|
void av1_highbd_convolve8_vert_sse2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
||||||
|
#define av1_highbd_convolve8_vert av1_highbd_convolve8_vert_sse2
|
||||||
|
|
||||||
|
void av1_highbd_convolve_2d_copy_sr_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_convolve_2d_copy_sr_sse2(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_convolve_2d_copy_sr_avx2(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_convolve_2d_copy_sr)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
|
||||||
|
void av1_highbd_convolve_2d_scale_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_convolve_2d_scale_sse4_1(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_convolve_2d_scale)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params, int bd);
|
||||||
|
|
||||||
|
void av1_highbd_convolve_2d_sr_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_convolve_2d_sr_ssse3(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_convolve_2d_sr_avx2(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_convolve_2d_sr)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
|
||||||
|
void av1_highbd_convolve_avg_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
||||||
|
#define av1_highbd_convolve_avg av1_highbd_convolve_avg_c
|
||||||
|
|
||||||
|
void av1_highbd_convolve_copy_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
||||||
|
#define av1_highbd_convolve_copy av1_highbd_convolve_copy_c
|
||||||
|
|
||||||
|
void av1_highbd_convolve_horiz_rs_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, const int16_t *x_filters, int x0_qn, int x_step_qn, int bd);
|
||||||
|
void av1_highbd_convolve_horiz_rs_sse4_1(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, const int16_t *x_filters, int x0_qn, int x_step_qn, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_convolve_horiz_rs)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, const int16_t *x_filters, int x0_qn, int x_step_qn, int bd);
|
||||||
|
|
||||||
|
void av1_highbd_convolve_x_sr_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_convolve_x_sr_ssse3(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_convolve_x_sr_avx2(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_convolve_x_sr)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
|
||||||
|
void av1_highbd_convolve_y_sr_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_convolve_y_sr_ssse3(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_convolve_y_sr_avx2(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_convolve_y_sr)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
|
||||||
|
void av1_highbd_dr_prediction_z1_c(uint16_t *dst, ptrdiff_t stride, int bw, int bh, const uint16_t *above, const uint16_t *left, int upsample_above, int dx, int dy, int bd);
|
||||||
|
#define av1_highbd_dr_prediction_z1 av1_highbd_dr_prediction_z1_c
|
||||||
|
|
||||||
|
void av1_highbd_dr_prediction_z2_c(uint16_t *dst, ptrdiff_t stride, int bw, int bh, const uint16_t *above, const uint16_t *left, int upsample_above, int upsample_left, int dx, int dy, int bd);
|
||||||
|
#define av1_highbd_dr_prediction_z2 av1_highbd_dr_prediction_z2_c
|
||||||
|
|
||||||
|
void av1_highbd_dr_prediction_z3_c(uint16_t *dst, ptrdiff_t stride, int bw, int bh, const uint16_t *above, const uint16_t *left, int upsample_left, int dx, int dy, int bd);
|
||||||
|
#define av1_highbd_dr_prediction_z3 av1_highbd_dr_prediction_z3_c
|
||||||
|
|
||||||
|
void av1_highbd_iwht4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, int bd);
|
||||||
|
#define av1_highbd_iwht4x4_16_add av1_highbd_iwht4x4_16_add_c
|
||||||
|
|
||||||
|
void av1_highbd_iwht4x4_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, int bd);
|
||||||
|
#define av1_highbd_iwht4x4_1_add av1_highbd_iwht4x4_1_add_c
|
||||||
|
|
||||||
|
void av1_highbd_jnt_convolve_2d_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_jnt_convolve_2d_sse4_1(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_jnt_convolve_2d_avx2(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_jnt_convolve_2d)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
|
||||||
|
void av1_highbd_jnt_convolve_2d_copy_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_jnt_convolve_2d_copy_sse4_1(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_jnt_convolve_2d_copy_avx2(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_jnt_convolve_2d_copy)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
|
||||||
|
void av1_highbd_jnt_convolve_x_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_jnt_convolve_x_sse4_1(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_jnt_convolve_x_avx2(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_jnt_convolve_x)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
|
||||||
|
void av1_highbd_jnt_convolve_y_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_jnt_convolve_y_sse4_1(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_jnt_convolve_y_avx2(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_jnt_convolve_y)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
|
||||||
|
void av1_highbd_warp_affine_c(const int32_t *mat, const uint16_t *ref, int width, int height, int stride, uint16_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, int bd, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
||||||
|
void av1_highbd_warp_affine_sse4_1(const int32_t *mat, const uint16_t *ref, int width, int height, int stride, uint16_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, int bd, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_warp_affine)(const int32_t *mat, const uint16_t *ref, int width, int height, int stride, uint16_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, int bd, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
||||||
|
|
||||||
|
void av1_highbd_wiener_convolve_add_src_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, const ConvolveParams *conv_params, int bps);
|
||||||
|
void av1_highbd_wiener_convolve_add_src_ssse3(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, const ConvolveParams *conv_params, int bps);
|
||||||
|
void av1_highbd_wiener_convolve_add_src_avx2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, const ConvolveParams *conv_params, int bps);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_wiener_convolve_add_src)(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, const ConvolveParams *conv_params, int bps);
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_16x16_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
void av1_inv_txfm2d_add_16x16_sse4_1(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_inv_txfm2d_add_16x16)(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_16x32_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_16x32 av1_inv_txfm2d_add_16x32_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_16x4_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_16x4 av1_inv_txfm2d_add_16x4_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_16x64_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_16x64 av1_inv_txfm2d_add_16x64_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_16x8_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_16x8 av1_inv_txfm2d_add_16x8_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_32x16_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_32x16 av1_inv_txfm2d_add_32x16_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_32x32_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
void av1_inv_txfm2d_add_32x32_avx2(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_inv_txfm2d_add_32x32)(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_32x64_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_32x64 av1_inv_txfm2d_add_32x64_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_32x8_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_32x8 av1_inv_txfm2d_add_32x8_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_4x16_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_4x16 av1_inv_txfm2d_add_4x16_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_4x4_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
void av1_inv_txfm2d_add_4x4_sse4_1(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_inv_txfm2d_add_4x4)(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_4x8_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_4x8 av1_inv_txfm2d_add_4x8_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_64x16_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_64x16 av1_inv_txfm2d_add_64x16_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_64x32_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_64x32 av1_inv_txfm2d_add_64x32_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_64x64_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
void av1_inv_txfm2d_add_64x64_sse4_1(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_inv_txfm2d_add_64x64)(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_8x16_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_8x16 av1_inv_txfm2d_add_8x16_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_8x32_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_8x32 av1_inv_txfm2d_add_8x32_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_8x4_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_8x4 av1_inv_txfm2d_add_8x4_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_8x8_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
void av1_inv_txfm2d_add_8x8_sse4_1(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_inv_txfm2d_add_8x8)(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
|
||||||
|
void av1_inv_txfm_add_c(const tran_low_t *dqcoeff, uint8_t *dst, int stride, const TxfmParam *txfm_param);
|
||||||
|
void av1_inv_txfm_add_ssse3(const tran_low_t *dqcoeff, uint8_t *dst, int stride, const TxfmParam *txfm_param);
|
||||||
|
void av1_inv_txfm_add_avx2(const tran_low_t *dqcoeff, uint8_t *dst, int stride, const TxfmParam *txfm_param);
|
||||||
|
RTCD_EXTERN void (*av1_inv_txfm_add)(const tran_low_t *dqcoeff, uint8_t *dst, int stride, const TxfmParam *txfm_param);
|
||||||
|
|
||||||
|
void av1_jnt_convolve_2d_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_jnt_convolve_2d_ssse3(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_jnt_convolve_2d_avx2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
RTCD_EXTERN void (*av1_jnt_convolve_2d)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
|
||||||
|
void av1_jnt_convolve_2d_copy_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_jnt_convolve_2d_copy_sse2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_jnt_convolve_2d_copy_avx2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
RTCD_EXTERN void (*av1_jnt_convolve_2d_copy)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
|
||||||
|
void av1_jnt_convolve_x_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_jnt_convolve_x_sse2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_jnt_convolve_x_avx2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
RTCD_EXTERN void (*av1_jnt_convolve_x)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
|
||||||
|
void av1_jnt_convolve_y_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_jnt_convolve_y_sse2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_jnt_convolve_y_avx2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
RTCD_EXTERN void (*av1_jnt_convolve_y)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
|
||||||
|
void av1_selfguided_restoration_c(const uint8_t *dgd8, int width, int height,
|
||||||
|
int dgd_stride, int32_t *flt0, int32_t *flt1, int flt_stride,
|
||||||
|
int sgr_params_idx, int bit_depth, int highbd);
|
||||||
|
void av1_selfguided_restoration_sse4_1(const uint8_t *dgd8, int width, int height,
|
||||||
|
int dgd_stride, int32_t *flt0, int32_t *flt1, int flt_stride,
|
||||||
|
int sgr_params_idx, int bit_depth, int highbd);
|
||||||
|
void av1_selfguided_restoration_avx2(const uint8_t *dgd8, int width, int height,
|
||||||
|
int dgd_stride, int32_t *flt0, int32_t *flt1, int flt_stride,
|
||||||
|
int sgr_params_idx, int bit_depth, int highbd);
|
||||||
|
RTCD_EXTERN void (*av1_selfguided_restoration)(const uint8_t *dgd8, int width, int height,
|
||||||
|
int dgd_stride, int32_t *flt0, int32_t *flt1, int flt_stride,
|
||||||
|
int sgr_params_idx, int bit_depth, int highbd);
|
||||||
|
|
||||||
|
void av1_upsample_intra_edge_c(uint8_t *p, int sz);
|
||||||
|
void av1_upsample_intra_edge_sse4_1(uint8_t *p, int sz);
|
||||||
|
RTCD_EXTERN void (*av1_upsample_intra_edge)(uint8_t *p, int sz);
|
||||||
|
|
||||||
|
void av1_upsample_intra_edge_high_c(uint16_t *p, int sz, int bd);
|
||||||
|
void av1_upsample_intra_edge_high_sse4_1(uint16_t *p, int sz, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_upsample_intra_edge_high)(uint16_t *p, int sz, int bd);
|
||||||
|
|
||||||
|
void av1_warp_affine_c(const int32_t *mat, const uint8_t *ref, int width, int height, int stride, uint8_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
||||||
|
void av1_warp_affine_sse4_1(const int32_t *mat, const uint8_t *ref, int width, int height, int stride, uint8_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
||||||
|
RTCD_EXTERN void (*av1_warp_affine)(const int32_t *mat, const uint8_t *ref, int width, int height, int stride, uint8_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
||||||
|
|
||||||
|
void av1_wiener_convolve_add_src_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, const ConvolveParams *conv_params);
|
||||||
|
void av1_wiener_convolve_add_src_sse2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, const ConvolveParams *conv_params);
|
||||||
|
void av1_wiener_convolve_add_src_avx2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, const ConvolveParams *conv_params);
|
||||||
|
RTCD_EXTERN void (*av1_wiener_convolve_add_src)(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, const ConvolveParams *conv_params);
|
||||||
|
|
||||||
|
void cdef_filter_block_c(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max, int coeff_shift);
|
||||||
|
void cdef_filter_block_sse2(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max, int coeff_shift);
|
||||||
|
void cdef_filter_block_ssse3(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max, int coeff_shift);
|
||||||
|
void cdef_filter_block_sse4_1(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max, int coeff_shift);
|
||||||
|
void cdef_filter_block_avx2(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max, int coeff_shift);
|
||||||
|
RTCD_EXTERN void (*cdef_filter_block)(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max, int coeff_shift);
|
||||||
|
|
||||||
|
int cdef_find_dir_c(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
||||||
|
int cdef_find_dir_sse2(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
||||||
|
int cdef_find_dir_ssse3(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
||||||
|
int cdef_find_dir_sse4_1(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
||||||
|
int cdef_find_dir_avx2(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
||||||
|
RTCD_EXTERN int (*cdef_find_dir)(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
||||||
|
|
||||||
|
cfl_subsample_hbd_fn cfl_get_luma_subsampling_420_hbd_c(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_hbd_fn cfl_get_luma_subsampling_420_hbd_ssse3(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_hbd_fn cfl_get_luma_subsampling_420_hbd_avx2(TX_SIZE tx_size);
|
||||||
|
RTCD_EXTERN cfl_subsample_hbd_fn (*cfl_get_luma_subsampling_420_hbd)(TX_SIZE tx_size);
|
||||||
|
|
||||||
|
cfl_subsample_lbd_fn cfl_get_luma_subsampling_420_lbd_c(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_lbd_fn cfl_get_luma_subsampling_420_lbd_ssse3(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_lbd_fn cfl_get_luma_subsampling_420_lbd_avx2(TX_SIZE tx_size);
|
||||||
|
RTCD_EXTERN cfl_subsample_lbd_fn (*cfl_get_luma_subsampling_420_lbd)(TX_SIZE tx_size);
|
||||||
|
|
||||||
|
cfl_subsample_hbd_fn cfl_get_luma_subsampling_422_hbd_c(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_hbd_fn cfl_get_luma_subsampling_422_hbd_ssse3(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_hbd_fn cfl_get_luma_subsampling_422_hbd_avx2(TX_SIZE tx_size);
|
||||||
|
RTCD_EXTERN cfl_subsample_hbd_fn (*cfl_get_luma_subsampling_422_hbd)(TX_SIZE tx_size);
|
||||||
|
|
||||||
|
cfl_subsample_lbd_fn cfl_get_luma_subsampling_422_lbd_c(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_lbd_fn cfl_get_luma_subsampling_422_lbd_ssse3(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_lbd_fn cfl_get_luma_subsampling_422_lbd_avx2(TX_SIZE tx_size);
|
||||||
|
RTCD_EXTERN cfl_subsample_lbd_fn (*cfl_get_luma_subsampling_422_lbd)(TX_SIZE tx_size);
|
||||||
|
|
||||||
|
cfl_subsample_hbd_fn cfl_get_luma_subsampling_444_hbd_c(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_hbd_fn cfl_get_luma_subsampling_444_hbd_ssse3(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_hbd_fn cfl_get_luma_subsampling_444_hbd_avx2(TX_SIZE tx_size);
|
||||||
|
RTCD_EXTERN cfl_subsample_hbd_fn (*cfl_get_luma_subsampling_444_hbd)(TX_SIZE tx_size);
|
||||||
|
|
||||||
|
cfl_subsample_lbd_fn cfl_get_luma_subsampling_444_lbd_c(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_lbd_fn cfl_get_luma_subsampling_444_lbd_ssse3(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_lbd_fn cfl_get_luma_subsampling_444_lbd_avx2(TX_SIZE tx_size);
|
||||||
|
RTCD_EXTERN cfl_subsample_lbd_fn (*cfl_get_luma_subsampling_444_lbd)(TX_SIZE tx_size);
|
||||||
|
|
||||||
|
void copy_rect8_16bit_to_16bit_c(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
||||||
|
void copy_rect8_16bit_to_16bit_sse2(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
||||||
|
void copy_rect8_16bit_to_16bit_ssse3(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
||||||
|
void copy_rect8_16bit_to_16bit_sse4_1(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
||||||
|
void copy_rect8_16bit_to_16bit_avx2(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
||||||
|
RTCD_EXTERN void (*copy_rect8_16bit_to_16bit)(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
||||||
|
|
||||||
|
void copy_rect8_8bit_to_16bit_c(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
||||||
|
void copy_rect8_8bit_to_16bit_sse2(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
||||||
|
void copy_rect8_8bit_to_16bit_ssse3(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
||||||
|
void copy_rect8_8bit_to_16bit_sse4_1(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
||||||
|
void copy_rect8_8bit_to_16bit_avx2(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
||||||
|
RTCD_EXTERN void (*copy_rect8_8bit_to_16bit)(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
||||||
|
|
||||||
|
cfl_predict_hbd_fn get_predict_hbd_fn_c(TX_SIZE tx_size);
|
||||||
|
cfl_predict_hbd_fn get_predict_hbd_fn_ssse3(TX_SIZE tx_size);
|
||||||
|
cfl_predict_hbd_fn get_predict_hbd_fn_avx2(TX_SIZE tx_size);
|
||||||
|
RTCD_EXTERN cfl_predict_hbd_fn (*get_predict_hbd_fn)(TX_SIZE tx_size);
|
||||||
|
|
||||||
|
cfl_predict_lbd_fn get_predict_lbd_fn_c(TX_SIZE tx_size);
|
||||||
|
cfl_predict_lbd_fn get_predict_lbd_fn_ssse3(TX_SIZE tx_size);
|
||||||
|
cfl_predict_lbd_fn get_predict_lbd_fn_avx2(TX_SIZE tx_size);
|
||||||
|
RTCD_EXTERN cfl_predict_lbd_fn (*get_predict_lbd_fn)(TX_SIZE tx_size);
|
||||||
|
|
||||||
|
cfl_subtract_average_fn get_subtract_average_fn_c(TX_SIZE tx_size);
|
||||||
|
cfl_subtract_average_fn get_subtract_average_fn_sse2(TX_SIZE tx_size);
|
||||||
|
cfl_subtract_average_fn get_subtract_average_fn_avx2(TX_SIZE tx_size);
|
||||||
|
RTCD_EXTERN cfl_subtract_average_fn (*get_subtract_average_fn)(TX_SIZE tx_size);
|
||||||
|
|
||||||
|
void aom_rtcd(void);
|
||||||
|
|
||||||
|
#ifdef RTCD_C
|
||||||
|
#include "aom_ports/x86.h"
|
||||||
|
static void setup_rtcd_internal(void)
|
||||||
|
{
|
||||||
|
int flags = x86_simd_caps();
|
||||||
|
|
||||||
|
(void)flags;
|
||||||
|
|
||||||
|
apply_selfguided_restoration = apply_selfguided_restoration_c;
|
||||||
|
if (flags & HAS_SSE4_1) apply_selfguided_restoration = apply_selfguided_restoration_sse4_1;
|
||||||
|
if (flags & HAS_AVX2) apply_selfguided_restoration = apply_selfguided_restoration_avx2;
|
||||||
|
av1_build_compound_diffwtd_mask = av1_build_compound_diffwtd_mask_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_build_compound_diffwtd_mask = av1_build_compound_diffwtd_mask_sse4_1;
|
||||||
|
av1_build_compound_diffwtd_mask_d16 = av1_build_compound_diffwtd_mask_d16_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_build_compound_diffwtd_mask_d16 = av1_build_compound_diffwtd_mask_d16_sse4_1;
|
||||||
|
av1_build_compound_diffwtd_mask_highbd = av1_build_compound_diffwtd_mask_highbd_c;
|
||||||
|
if (flags & HAS_SSSE3) av1_build_compound_diffwtd_mask_highbd = av1_build_compound_diffwtd_mask_highbd_ssse3;
|
||||||
|
if (flags & HAS_AVX2) av1_build_compound_diffwtd_mask_highbd = av1_build_compound_diffwtd_mask_highbd_avx2;
|
||||||
|
av1_convolve_2d_copy_sr = av1_convolve_2d_copy_sr_sse2;
|
||||||
|
if (flags & HAS_AVX2) av1_convolve_2d_copy_sr = av1_convolve_2d_copy_sr_avx2;
|
||||||
|
av1_convolve_2d_scale = av1_convolve_2d_scale_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_convolve_2d_scale = av1_convolve_2d_scale_sse4_1;
|
||||||
|
av1_convolve_2d_sr = av1_convolve_2d_sr_sse2;
|
||||||
|
if (flags & HAS_AVX2) av1_convolve_2d_sr = av1_convolve_2d_sr_avx2;
|
||||||
|
av1_convolve_horiz_rs = av1_convolve_horiz_rs_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_convolve_horiz_rs = av1_convolve_horiz_rs_sse4_1;
|
||||||
|
av1_convolve_x_sr = av1_convolve_x_sr_sse2;
|
||||||
|
if (flags & HAS_AVX2) av1_convolve_x_sr = av1_convolve_x_sr_avx2;
|
||||||
|
av1_convolve_y_sr = av1_convolve_y_sr_sse2;
|
||||||
|
if (flags & HAS_AVX2) av1_convolve_y_sr = av1_convolve_y_sr_avx2;
|
||||||
|
av1_filter_intra_edge = av1_filter_intra_edge_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_filter_intra_edge = av1_filter_intra_edge_sse4_1;
|
||||||
|
av1_filter_intra_edge_high = av1_filter_intra_edge_high_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_filter_intra_edge_high = av1_filter_intra_edge_high_sse4_1;
|
||||||
|
av1_filter_intra_predictor = av1_filter_intra_predictor_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_filter_intra_predictor = av1_filter_intra_predictor_sse4_1;
|
||||||
|
av1_highbd_convolve_2d_copy_sr = av1_highbd_convolve_2d_copy_sr_sse2;
|
||||||
|
if (flags & HAS_AVX2) av1_highbd_convolve_2d_copy_sr = av1_highbd_convolve_2d_copy_sr_avx2;
|
||||||
|
av1_highbd_convolve_2d_scale = av1_highbd_convolve_2d_scale_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_highbd_convolve_2d_scale = av1_highbd_convolve_2d_scale_sse4_1;
|
||||||
|
av1_highbd_convolve_2d_sr = av1_highbd_convolve_2d_sr_c;
|
||||||
|
if (flags & HAS_SSSE3) av1_highbd_convolve_2d_sr = av1_highbd_convolve_2d_sr_ssse3;
|
||||||
|
if (flags & HAS_AVX2) av1_highbd_convolve_2d_sr = av1_highbd_convolve_2d_sr_avx2;
|
||||||
|
av1_highbd_convolve_horiz_rs = av1_highbd_convolve_horiz_rs_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_highbd_convolve_horiz_rs = av1_highbd_convolve_horiz_rs_sse4_1;
|
||||||
|
av1_highbd_convolve_x_sr = av1_highbd_convolve_x_sr_c;
|
||||||
|
if (flags & HAS_SSSE3) av1_highbd_convolve_x_sr = av1_highbd_convolve_x_sr_ssse3;
|
||||||
|
if (flags & HAS_AVX2) av1_highbd_convolve_x_sr = av1_highbd_convolve_x_sr_avx2;
|
||||||
|
av1_highbd_convolve_y_sr = av1_highbd_convolve_y_sr_c;
|
||||||
|
if (flags & HAS_SSSE3) av1_highbd_convolve_y_sr = av1_highbd_convolve_y_sr_ssse3;
|
||||||
|
if (flags & HAS_AVX2) av1_highbd_convolve_y_sr = av1_highbd_convolve_y_sr_avx2;
|
||||||
|
av1_highbd_jnt_convolve_2d = av1_highbd_jnt_convolve_2d_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_highbd_jnt_convolve_2d = av1_highbd_jnt_convolve_2d_sse4_1;
|
||||||
|
if (flags & HAS_AVX2) av1_highbd_jnt_convolve_2d = av1_highbd_jnt_convolve_2d_avx2;
|
||||||
|
av1_highbd_jnt_convolve_2d_copy = av1_highbd_jnt_convolve_2d_copy_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_highbd_jnt_convolve_2d_copy = av1_highbd_jnt_convolve_2d_copy_sse4_1;
|
||||||
|
if (flags & HAS_AVX2) av1_highbd_jnt_convolve_2d_copy = av1_highbd_jnt_convolve_2d_copy_avx2;
|
||||||
|
av1_highbd_jnt_convolve_x = av1_highbd_jnt_convolve_x_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_highbd_jnt_convolve_x = av1_highbd_jnt_convolve_x_sse4_1;
|
||||||
|
if (flags & HAS_AVX2) av1_highbd_jnt_convolve_x = av1_highbd_jnt_convolve_x_avx2;
|
||||||
|
av1_highbd_jnt_convolve_y = av1_highbd_jnt_convolve_y_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_highbd_jnt_convolve_y = av1_highbd_jnt_convolve_y_sse4_1;
|
||||||
|
if (flags & HAS_AVX2) av1_highbd_jnt_convolve_y = av1_highbd_jnt_convolve_y_avx2;
|
||||||
|
av1_highbd_warp_affine = av1_highbd_warp_affine_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_highbd_warp_affine = av1_highbd_warp_affine_sse4_1;
|
||||||
|
av1_highbd_wiener_convolve_add_src = av1_highbd_wiener_convolve_add_src_c;
|
||||||
|
if (flags & HAS_SSSE3) av1_highbd_wiener_convolve_add_src = av1_highbd_wiener_convolve_add_src_ssse3;
|
||||||
|
if (flags & HAS_AVX2) av1_highbd_wiener_convolve_add_src = av1_highbd_wiener_convolve_add_src_avx2;
|
||||||
|
av1_inv_txfm2d_add_16x16 = av1_inv_txfm2d_add_16x16_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_inv_txfm2d_add_16x16 = av1_inv_txfm2d_add_16x16_sse4_1;
|
||||||
|
av1_inv_txfm2d_add_32x32 = av1_inv_txfm2d_add_32x32_c;
|
||||||
|
if (flags & HAS_AVX2) av1_inv_txfm2d_add_32x32 = av1_inv_txfm2d_add_32x32_avx2;
|
||||||
|
av1_inv_txfm2d_add_4x4 = av1_inv_txfm2d_add_4x4_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_inv_txfm2d_add_4x4 = av1_inv_txfm2d_add_4x4_sse4_1;
|
||||||
|
av1_inv_txfm2d_add_64x64 = av1_inv_txfm2d_add_64x64_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_inv_txfm2d_add_64x64 = av1_inv_txfm2d_add_64x64_sse4_1;
|
||||||
|
av1_inv_txfm2d_add_8x8 = av1_inv_txfm2d_add_8x8_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_inv_txfm2d_add_8x8 = av1_inv_txfm2d_add_8x8_sse4_1;
|
||||||
|
av1_inv_txfm_add = av1_inv_txfm_add_c;
|
||||||
|
if (flags & HAS_SSSE3) av1_inv_txfm_add = av1_inv_txfm_add_ssse3;
|
||||||
|
if (flags & HAS_AVX2) av1_inv_txfm_add = av1_inv_txfm_add_avx2;
|
||||||
|
av1_jnt_convolve_2d = av1_jnt_convolve_2d_c;
|
||||||
|
if (flags & HAS_SSSE3) av1_jnt_convolve_2d = av1_jnt_convolve_2d_ssse3;
|
||||||
|
if (flags & HAS_AVX2) av1_jnt_convolve_2d = av1_jnt_convolve_2d_avx2;
|
||||||
|
av1_jnt_convolve_2d_copy = av1_jnt_convolve_2d_copy_sse2;
|
||||||
|
if (flags & HAS_AVX2) av1_jnt_convolve_2d_copy = av1_jnt_convolve_2d_copy_avx2;
|
||||||
|
av1_jnt_convolve_x = av1_jnt_convolve_x_sse2;
|
||||||
|
if (flags & HAS_AVX2) av1_jnt_convolve_x = av1_jnt_convolve_x_avx2;
|
||||||
|
av1_jnt_convolve_y = av1_jnt_convolve_y_sse2;
|
||||||
|
if (flags & HAS_AVX2) av1_jnt_convolve_y = av1_jnt_convolve_y_avx2;
|
||||||
|
av1_selfguided_restoration = av1_selfguided_restoration_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_selfguided_restoration = av1_selfguided_restoration_sse4_1;
|
||||||
|
if (flags & HAS_AVX2) av1_selfguided_restoration = av1_selfguided_restoration_avx2;
|
||||||
|
av1_upsample_intra_edge = av1_upsample_intra_edge_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_upsample_intra_edge = av1_upsample_intra_edge_sse4_1;
|
||||||
|
av1_upsample_intra_edge_high = av1_upsample_intra_edge_high_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_upsample_intra_edge_high = av1_upsample_intra_edge_high_sse4_1;
|
||||||
|
av1_warp_affine = av1_warp_affine_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_warp_affine = av1_warp_affine_sse4_1;
|
||||||
|
av1_wiener_convolve_add_src = av1_wiener_convolve_add_src_sse2;
|
||||||
|
if (flags & HAS_AVX2) av1_wiener_convolve_add_src = av1_wiener_convolve_add_src_avx2;
|
||||||
|
cdef_filter_block = cdef_filter_block_sse2;
|
||||||
|
if (flags & HAS_SSSE3) cdef_filter_block = cdef_filter_block_ssse3;
|
||||||
|
if (flags & HAS_SSE4_1) cdef_filter_block = cdef_filter_block_sse4_1;
|
||||||
|
if (flags & HAS_AVX2) cdef_filter_block = cdef_filter_block_avx2;
|
||||||
|
cdef_find_dir = cdef_find_dir_sse2;
|
||||||
|
if (flags & HAS_SSSE3) cdef_find_dir = cdef_find_dir_ssse3;
|
||||||
|
if (flags & HAS_SSE4_1) cdef_find_dir = cdef_find_dir_sse4_1;
|
||||||
|
if (flags & HAS_AVX2) cdef_find_dir = cdef_find_dir_avx2;
|
||||||
|
cfl_get_luma_subsampling_420_hbd = cfl_get_luma_subsampling_420_hbd_c;
|
||||||
|
if (flags & HAS_SSSE3) cfl_get_luma_subsampling_420_hbd = cfl_get_luma_subsampling_420_hbd_ssse3;
|
||||||
|
if (flags & HAS_AVX2) cfl_get_luma_subsampling_420_hbd = cfl_get_luma_subsampling_420_hbd_avx2;
|
||||||
|
cfl_get_luma_subsampling_420_lbd = cfl_get_luma_subsampling_420_lbd_c;
|
||||||
|
if (flags & HAS_SSSE3) cfl_get_luma_subsampling_420_lbd = cfl_get_luma_subsampling_420_lbd_ssse3;
|
||||||
|
if (flags & HAS_AVX2) cfl_get_luma_subsampling_420_lbd = cfl_get_luma_subsampling_420_lbd_avx2;
|
||||||
|
cfl_get_luma_subsampling_422_hbd = cfl_get_luma_subsampling_422_hbd_c;
|
||||||
|
if (flags & HAS_SSSE3) cfl_get_luma_subsampling_422_hbd = cfl_get_luma_subsampling_422_hbd_ssse3;
|
||||||
|
if (flags & HAS_AVX2) cfl_get_luma_subsampling_422_hbd = cfl_get_luma_subsampling_422_hbd_avx2;
|
||||||
|
cfl_get_luma_subsampling_422_lbd = cfl_get_luma_subsampling_422_lbd_c;
|
||||||
|
if (flags & HAS_SSSE3) cfl_get_luma_subsampling_422_lbd = cfl_get_luma_subsampling_422_lbd_ssse3;
|
||||||
|
if (flags & HAS_AVX2) cfl_get_luma_subsampling_422_lbd = cfl_get_luma_subsampling_422_lbd_avx2;
|
||||||
|
cfl_get_luma_subsampling_444_hbd = cfl_get_luma_subsampling_444_hbd_c;
|
||||||
|
if (flags & HAS_SSSE3) cfl_get_luma_subsampling_444_hbd = cfl_get_luma_subsampling_444_hbd_ssse3;
|
||||||
|
if (flags & HAS_AVX2) cfl_get_luma_subsampling_444_hbd = cfl_get_luma_subsampling_444_hbd_avx2;
|
||||||
|
cfl_get_luma_subsampling_444_lbd = cfl_get_luma_subsampling_444_lbd_c;
|
||||||
|
if (flags & HAS_SSSE3) cfl_get_luma_subsampling_444_lbd = cfl_get_luma_subsampling_444_lbd_ssse3;
|
||||||
|
if (flags & HAS_AVX2) cfl_get_luma_subsampling_444_lbd = cfl_get_luma_subsampling_444_lbd_avx2;
|
||||||
|
copy_rect8_16bit_to_16bit = copy_rect8_16bit_to_16bit_sse2;
|
||||||
|
if (flags & HAS_SSSE3) copy_rect8_16bit_to_16bit = copy_rect8_16bit_to_16bit_ssse3;
|
||||||
|
if (flags & HAS_SSE4_1) copy_rect8_16bit_to_16bit = copy_rect8_16bit_to_16bit_sse4_1;
|
||||||
|
if (flags & HAS_AVX2) copy_rect8_16bit_to_16bit = copy_rect8_16bit_to_16bit_avx2;
|
||||||
|
copy_rect8_8bit_to_16bit = copy_rect8_8bit_to_16bit_sse2;
|
||||||
|
if (flags & HAS_SSSE3) copy_rect8_8bit_to_16bit = copy_rect8_8bit_to_16bit_ssse3;
|
||||||
|
if (flags & HAS_SSE4_1) copy_rect8_8bit_to_16bit = copy_rect8_8bit_to_16bit_sse4_1;
|
||||||
|
if (flags & HAS_AVX2) copy_rect8_8bit_to_16bit = copy_rect8_8bit_to_16bit_avx2;
|
||||||
|
get_predict_hbd_fn = get_predict_hbd_fn_c;
|
||||||
|
if (flags & HAS_SSSE3) get_predict_hbd_fn = get_predict_hbd_fn_ssse3;
|
||||||
|
if (flags & HAS_AVX2) get_predict_hbd_fn = get_predict_hbd_fn_avx2;
|
||||||
|
get_predict_lbd_fn = get_predict_lbd_fn_c;
|
||||||
|
if (flags & HAS_SSSE3) get_predict_lbd_fn = get_predict_lbd_fn_ssse3;
|
||||||
|
if (flags & HAS_AVX2) get_predict_lbd_fn = get_predict_lbd_fn_avx2;
|
||||||
|
get_subtract_average_fn = get_subtract_average_fn_sse2;
|
||||||
|
if (flags & HAS_AVX2) get_subtract_average_fn = get_subtract_average_fn_avx2;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
} // extern "C"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
@ -1,176 +0,0 @@
|
||||||
ARCH_ARM equ 0
|
|
||||||
ARCH_MIPS equ 0
|
|
||||||
ARCH_X86 equ 1
|
|
||||||
ARCH_X86_64 equ 0
|
|
||||||
HAVE_NEON equ 0
|
|
||||||
HAVE_NEON_ASM equ 0
|
|
||||||
HAVE_MIPS32 equ 0
|
|
||||||
HAVE_DSPR2 equ 0
|
|
||||||
HAVE_MSA equ 0
|
|
||||||
HAVE_MIPS64 equ 0
|
|
||||||
HAVE_MMX equ 1
|
|
||||||
HAVE_SSE equ 1
|
|
||||||
HAVE_SSE2 equ 1
|
|
||||||
HAVE_SSE3 equ 1
|
|
||||||
HAVE_SSSE3 equ 1
|
|
||||||
HAVE_SSE4_1 equ 1
|
|
||||||
HAVE_AVX equ 1
|
|
||||||
HAVE_AVX2 equ 1
|
|
||||||
HAVE_AOM_PORTS equ 1
|
|
||||||
HAVE_FEXCEPT equ 1
|
|
||||||
HAVE_PTHREAD_H equ 0
|
|
||||||
HAVE_WXWIDGETS equ 0
|
|
||||||
CONFIG_DEPENDENCY_TRACKING equ 1
|
|
||||||
CONFIG_EXTERNAL_BUILD equ 1
|
|
||||||
CONFIG_INSTALL_DOCS equ 1
|
|
||||||
CONFIG_INSTALL_BINS equ 1
|
|
||||||
CONFIG_INSTALL_LIBS equ 1
|
|
||||||
CONFIG_INSTALL_SRCS equ 0
|
|
||||||
CONFIG_DEBUG equ 0
|
|
||||||
CONFIG_GPROF equ 0
|
|
||||||
CONFIG_GCOV equ 0
|
|
||||||
CONFIG_RVCT equ 0
|
|
||||||
CONFIG_GCC equ 0
|
|
||||||
CONFIG_MSVS equ 1
|
|
||||||
CONFIG_PIC equ 1
|
|
||||||
CONFIG_BIG_ENDIAN equ 0
|
|
||||||
CONFIG_CODEC_SRCS equ 0
|
|
||||||
CONFIG_DEBUG_LIBS equ 0
|
|
||||||
CONFIG_RUNTIME_CPU_DETECT equ 1
|
|
||||||
CONFIG_POSTPROC equ 1
|
|
||||||
CONFIG_MULTITHREAD equ 1
|
|
||||||
CONFIG_INTERNAL_STATS equ 0
|
|
||||||
CONFIG_AV1_ENCODER equ 1
|
|
||||||
CONFIG_AV1_DECODER equ 1
|
|
||||||
CONFIG_AV1 equ 1
|
|
||||||
CONFIG_STATIC_MSVCRT equ 0
|
|
||||||
CONFIG_SPATIAL_RESAMPLING equ 1
|
|
||||||
CONFIG_REALTIME_ONLY equ 0
|
|
||||||
CONFIG_SHARED equ 0
|
|
||||||
CONFIG_STATIC equ 1
|
|
||||||
CONFIG_SMALL equ 0
|
|
||||||
CONFIG_POSTPROC_VISUALIZER equ 0
|
|
||||||
CONFIG_OS_SUPPORT equ 1
|
|
||||||
CONFIG_UNIT_TESTS equ 0
|
|
||||||
CONFIG_WEBM_IO equ 1
|
|
||||||
CONFIG_LIBYUV equ 1
|
|
||||||
CONFIG_ACCOUNTING equ 0
|
|
||||||
CONFIG_INSPECTION equ 0
|
|
||||||
CONFIG_DECODE_PERF_TESTS equ 0
|
|
||||||
CONFIG_ENCODE_PERF_TESTS equ 0
|
|
||||||
CONFIG_BITSTREAM_DEBUG equ 0
|
|
||||||
CONFIG_SYMBOLRATE equ 0
|
|
||||||
CONFIG_COEFFICIENT_RANGE_CHECKING equ 0
|
|
||||||
CONFIG_LOWBITDEPTH equ 1
|
|
||||||
CONFIG_HIGHBITDEPTH equ 1
|
|
||||||
CONFIG_EXPERIMENTAL equ 0
|
|
||||||
CONFIG_SIZE_LIMIT equ 1
|
|
||||||
CONFIG_FP_MB_STATS equ 0
|
|
||||||
CONFIG_CDEF equ 1
|
|
||||||
CONFIG_CDEF_SINGLEPASS equ 1
|
|
||||||
CONFIG_VAR_TX equ 1
|
|
||||||
CONFIG_RECT_TX equ 1
|
|
||||||
CONFIG_RECT_TX_EXT equ 0
|
|
||||||
CONFIG_TPL_MV equ 0
|
|
||||||
CONFIG_DUAL_FILTER equ 1
|
|
||||||
CONFIG_CONVOLVE_ROUND equ 1
|
|
||||||
CONFIG_COMPOUND_ROUND equ 0
|
|
||||||
CONFIG_EXT_TX equ 1
|
|
||||||
CONFIG_TX64X64 equ 0
|
|
||||||
CONFIG_EXT_INTRA equ 1
|
|
||||||
CONFIG_INTRA_INTERP equ 0
|
|
||||||
CONFIG_FILTER_INTRA equ 0
|
|
||||||
CONFIG_INTRA_EDGE equ 1
|
|
||||||
CONFIG_INTRABC equ 0
|
|
||||||
CONFIG_INTERINTRA equ 1
|
|
||||||
CONFIG_WEDGE equ 1
|
|
||||||
CONFIG_COMPOUND_SEGMENT equ 1
|
|
||||||
CONFIG_EXT_REFS equ 1
|
|
||||||
CONFIG_GLOBAL_MOTION equ 1
|
|
||||||
CONFIG_NEW_QUANT equ 0
|
|
||||||
CONFIG_SUPERTX equ 0
|
|
||||||
CONFIG_ANS equ 0
|
|
||||||
CONFIG_LOOP_RESTORATION equ 1
|
|
||||||
CONFIG_STRIPED_LOOP_RESTORATION equ 0
|
|
||||||
CONFIG_EXT_PARTITION equ 0
|
|
||||||
CONFIG_EXT_PARTITION_TYPES equ 0
|
|
||||||
CONFIG_EXT_PARTITION_TYPES_AB equ 0
|
|
||||||
CONFIG_UNPOISON_PARTITION_CTX equ 0
|
|
||||||
CONFIG_EXT_TILE equ 0
|
|
||||||
CONFIG_MOTION_VAR equ 1
|
|
||||||
CONFIG_NCOBMC equ 0
|
|
||||||
CONFIG_WARPED_MOTION equ 1
|
|
||||||
CONFIG_Q_ADAPT_PROBS equ 0
|
|
||||||
CONFIG_INTER_STATS_ONLY equ 0
|
|
||||||
CONFIG_PALETTE_DELTA_ENCODING equ 0
|
|
||||||
CONFIG_RAWBITS equ 0
|
|
||||||
CONFIG_KF_CTX equ 0
|
|
||||||
CONFIG_PVQ equ 0
|
|
||||||
CONFIG_CFL equ 0
|
|
||||||
CONFIG_XIPHRC equ 0
|
|
||||||
CONFIG_DCT_ONLY equ 0
|
|
||||||
CONFIG_DAALA_TX equ 0
|
|
||||||
CONFIG_DAALA_DCT4 equ 0
|
|
||||||
CONFIG_DAALA_DCT8 equ 0
|
|
||||||
CONFIG_DAALA_DCT16 equ 0
|
|
||||||
CONFIG_DAALA_DCT32 equ 0
|
|
||||||
CONFIG_DAALA_DCT64 equ 0
|
|
||||||
CONFIG_CB4X4 equ 1
|
|
||||||
CONFIG_CHROMA_2X2 equ 0
|
|
||||||
CONFIG_CHROMA_SUB8X8 equ 1
|
|
||||||
CONFIG_FRAME_SIZE equ 0
|
|
||||||
CONFIG_EXT_DELTA_Q equ 1
|
|
||||||
CONFIG_ADAPT_SCAN equ 0
|
|
||||||
CONFIG_PARALLEL_DEBLOCKING equ 1
|
|
||||||
CONFIG_DEBLOCK_13TAP equ 0
|
|
||||||
CONFIG_LOOPFILTERING_ACROSS_TILES equ 1
|
|
||||||
CONFIG_TEMPMV_SIGNALING equ 1
|
|
||||||
CONFIG_RD_DEBUG equ 0
|
|
||||||
CONFIG_REFERENCE_BUFFER equ 1
|
|
||||||
CONFIG_COEF_INTERLEAVE equ 0
|
|
||||||
CONFIG_ENTROPY_STATS equ 0
|
|
||||||
CONFIG_MASKED_TX equ 0
|
|
||||||
CONFIG_DEPENDENT_HORZTILES equ 0
|
|
||||||
CONFIG_DIST_8X8 equ 1
|
|
||||||
CONFIG_PALETTE_THROUGHPUT equ 1
|
|
||||||
CONFIG_REF_ADAPT equ 0
|
|
||||||
CONFIG_LV_MAP equ 0
|
|
||||||
CONFIG_CTX1D equ 0
|
|
||||||
CONFIG_TXK_SEL equ 0
|
|
||||||
CONFIG_MV_COMPRESS equ 1
|
|
||||||
CONFIG_SEGMENT_ZEROMV equ 0
|
|
||||||
CONFIG_FRAME_SUPERRES equ 0
|
|
||||||
CONFIG_NEW_MULTISYMBOL equ 0
|
|
||||||
CONFIG_COMPOUND_SINGLEREF equ 0
|
|
||||||
CONFIG_AOM_QM equ 1
|
|
||||||
CONFIG_ONE_SIDED_COMPOUND equ 1
|
|
||||||
CONFIG_EXT_COMP_REFS equ 1
|
|
||||||
CONFIG_SMOOTH_HV equ 1
|
|
||||||
CONFIG_VAR_REFS equ 0
|
|
||||||
CONFIG_LGT equ 0
|
|
||||||
CONFIG_LGT_FROM_PRED equ 0
|
|
||||||
CONFIG_SBL_SYMBOL equ 0
|
|
||||||
CONFIG_NCOBMC_ADAPT_WEIGHT equ 0
|
|
||||||
CONFIG_BGSPRITE equ 0
|
|
||||||
CONFIG_VAR_TX_NO_TX_MODE equ 0
|
|
||||||
CONFIG_MRC_TX equ 0
|
|
||||||
CONFIG_LPF_DIRECT equ 0
|
|
||||||
CONFIG_LOOPFILTER_LEVEL equ 0
|
|
||||||
CONFIG_NO_FRAME_CONTEXT_SIGNALING equ 0
|
|
||||||
CONFIG_TXMG equ 1
|
|
||||||
CONFIG_MAX_TILE equ 0
|
|
||||||
CONFIG_HASH_ME equ 0
|
|
||||||
CONFIG_COLORSPACE_HEADERS equ 0
|
|
||||||
CONFIG_MFMV equ 0
|
|
||||||
CONFIG_FRAME_MARKER equ 0
|
|
||||||
CONFIG_JNT_COMP equ 0
|
|
||||||
CONFIG_FRAME_SIGN_BIAS equ 0
|
|
||||||
CONFIG_EXT_SKIP equ 0
|
|
||||||
CONFIG_OBU equ 0
|
|
||||||
CONFIG_AMVR equ 0
|
|
||||||
CONFIG_LPF_SB equ 0
|
|
||||||
CONFIG_OPT_REF_MV equ 0
|
|
||||||
CONFIG_TMV equ 0
|
|
||||||
CONFIG_RESTRICT_COMPRESSED_HDR equ 0
|
|
||||||
CONFIG_HORZONLY_FRAME_SUPERRES equ 0
|
|
||||||
CONFIG_ANALYZER equ 0
|
|
||||||
|
|
@ -1,11 +0,0 @@
|
||||||
/* Copyright (c) 2016, Alliance for Open Media. All rights reserved. */
|
|
||||||
/* */
|
|
||||||
/* This source code is subject to the terms of the BSD 2 Clause License and */
|
|
||||||
/* the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License */
|
|
||||||
/* was not distributed with this source code in the LICENSE file, you can */
|
|
||||||
/* obtain it at www.aomedia.org/license/software. If the Alliance for Open */
|
|
||||||
/* Media Patent License 1.0 was not distributed with this source code in the */
|
|
||||||
/* PATENTS file, you can obtain it at www.aomedia.org/license/patent. */
|
|
||||||
#include "aom/aom_codec.h"
|
|
||||||
static const char* const cfg = "--target=x86-win32-gcc --enable-external-build --disable-examples --disable-docs --disable-unit-tests --size-limit=8192x4608 --enable-pic --enable-postproc --as=yasm";
|
|
||||||
const char *aom_codec_build_config(void) {return cfg;}
|
|
||||||
|
|
@ -1,192 +0,0 @@
|
||||||
/* Copyright (c) 2016, Alliance for Open Media. All rights reserved. */
|
|
||||||
/* */
|
|
||||||
/* This source code is subject to the terms of the BSD 2 Clause License and */
|
|
||||||
/* the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License */
|
|
||||||
/* was not distributed with this source code in the LICENSE file, you can */
|
|
||||||
/* obtain it at www.aomedia.org/license/software. If the Alliance for Open */
|
|
||||||
/* Media Patent License 1.0 was not distributed with this source code in the */
|
|
||||||
/* PATENTS file, you can obtain it at www.aomedia.org/license/patent. */
|
|
||||||
/* This file automatically generated by configure. Do not edit! */
|
|
||||||
#ifndef AOM_CONFIG_H
|
|
||||||
#define AOM_CONFIG_H
|
|
||||||
#define RESTRICT
|
|
||||||
#define INLINE __forceinline
|
|
||||||
#define ARCH_ARM 0
|
|
||||||
#define ARCH_MIPS 0
|
|
||||||
#define ARCH_X86 1
|
|
||||||
#define ARCH_X86_64 0
|
|
||||||
#define HAVE_NEON 0
|
|
||||||
#define HAVE_NEON_ASM 0
|
|
||||||
#define HAVE_MIPS32 0
|
|
||||||
#define HAVE_DSPR2 0
|
|
||||||
#define HAVE_MSA 0
|
|
||||||
#define HAVE_MIPS64 0
|
|
||||||
#define HAVE_MMX 1
|
|
||||||
#define HAVE_SSE 1
|
|
||||||
#define HAVE_SSE2 1
|
|
||||||
#define HAVE_SSE3 1
|
|
||||||
#define HAVE_SSSE3 1
|
|
||||||
#define HAVE_SSE4_1 1
|
|
||||||
#define HAVE_AVX 1
|
|
||||||
#define HAVE_AVX2 1
|
|
||||||
#define HAVE_AOM_PORTS 1
|
|
||||||
#define HAVE_FEXCEPT 1
|
|
||||||
#define HAVE_PTHREAD_H 0
|
|
||||||
#define HAVE_WXWIDGETS 0
|
|
||||||
#define CONFIG_DEPENDENCY_TRACKING 1
|
|
||||||
#define CONFIG_EXTERNAL_BUILD 1
|
|
||||||
#define CONFIG_INSTALL_DOCS 1
|
|
||||||
#define CONFIG_INSTALL_BINS 1
|
|
||||||
#define CONFIG_INSTALL_LIBS 1
|
|
||||||
#define CONFIG_INSTALL_SRCS 0
|
|
||||||
#define CONFIG_DEBUG 0
|
|
||||||
#define CONFIG_GPROF 0
|
|
||||||
#define CONFIG_GCOV 0
|
|
||||||
#define CONFIG_RVCT 0
|
|
||||||
#define CONFIG_GCC 0
|
|
||||||
#define CONFIG_MSVS 1
|
|
||||||
#define CONFIG_PIC 1
|
|
||||||
#define CONFIG_BIG_ENDIAN 0
|
|
||||||
#define CONFIG_CODEC_SRCS 0
|
|
||||||
#define CONFIG_DEBUG_LIBS 0
|
|
||||||
#define CONFIG_RUNTIME_CPU_DETECT 1
|
|
||||||
#define CONFIG_POSTPROC 1
|
|
||||||
#define CONFIG_MULTITHREAD 1
|
|
||||||
#define CONFIG_INTERNAL_STATS 0
|
|
||||||
#define CONFIG_AV1_ENCODER 1
|
|
||||||
#define CONFIG_AV1_DECODER 1
|
|
||||||
#define CONFIG_AV1 1
|
|
||||||
#define CONFIG_STATIC_MSVCRT 0
|
|
||||||
#define CONFIG_SPATIAL_RESAMPLING 1
|
|
||||||
#define CONFIG_REALTIME_ONLY 0
|
|
||||||
#define CONFIG_SHARED 0
|
|
||||||
#define CONFIG_STATIC 1
|
|
||||||
#define CONFIG_SMALL 0
|
|
||||||
#define CONFIG_POSTPROC_VISUALIZER 0
|
|
||||||
#define CONFIG_OS_SUPPORT 1
|
|
||||||
#define CONFIG_UNIT_TESTS 0
|
|
||||||
#define CONFIG_WEBM_IO 1
|
|
||||||
#define CONFIG_LIBYUV 1
|
|
||||||
#define CONFIG_ACCOUNTING 0
|
|
||||||
#define CONFIG_INSPECTION 0
|
|
||||||
#define CONFIG_DECODE_PERF_TESTS 0
|
|
||||||
#define CONFIG_ENCODE_PERF_TESTS 0
|
|
||||||
#define CONFIG_BITSTREAM_DEBUG 0
|
|
||||||
#define CONFIG_SYMBOLRATE 0
|
|
||||||
#define CONFIG_COEFFICIENT_RANGE_CHECKING 0
|
|
||||||
#define CONFIG_LOWBITDEPTH 1
|
|
||||||
#define CONFIG_HIGHBITDEPTH 1
|
|
||||||
#define CONFIG_EXPERIMENTAL 0
|
|
||||||
#define CONFIG_SIZE_LIMIT 1
|
|
||||||
#define CONFIG_FP_MB_STATS 0
|
|
||||||
#define CONFIG_CDEF 1
|
|
||||||
#define CONFIG_CDEF_SINGLEPASS 1
|
|
||||||
#define CONFIG_VAR_TX 1
|
|
||||||
#define CONFIG_RECT_TX 1
|
|
||||||
#define CONFIG_RECT_TX_EXT 0
|
|
||||||
#define CONFIG_TPL_MV 0
|
|
||||||
#define CONFIG_DUAL_FILTER 1
|
|
||||||
#define CONFIG_CONVOLVE_ROUND 1
|
|
||||||
#define CONFIG_COMPOUND_ROUND 0
|
|
||||||
#define CONFIG_EXT_TX 1
|
|
||||||
#define CONFIG_TX64X64 0
|
|
||||||
#define CONFIG_EXT_INTRA 1
|
|
||||||
#define CONFIG_INTRA_INTERP 0
|
|
||||||
#define CONFIG_FILTER_INTRA 0
|
|
||||||
#define CONFIG_INTRA_EDGE 1
|
|
||||||
#define CONFIG_INTRABC 0
|
|
||||||
#define CONFIG_INTERINTRA 1
|
|
||||||
#define CONFIG_WEDGE 1
|
|
||||||
#define CONFIG_COMPOUND_SEGMENT 1
|
|
||||||
#define CONFIG_EXT_REFS 1
|
|
||||||
#define CONFIG_GLOBAL_MOTION 1
|
|
||||||
#define CONFIG_NEW_QUANT 0
|
|
||||||
#define CONFIG_SUPERTX 0
|
|
||||||
#define CONFIG_ANS 0
|
|
||||||
#define CONFIG_LOOP_RESTORATION 1
|
|
||||||
#define CONFIG_STRIPED_LOOP_RESTORATION 0
|
|
||||||
#define CONFIG_EXT_PARTITION 0
|
|
||||||
#define CONFIG_EXT_PARTITION_TYPES 0
|
|
||||||
#define CONFIG_EXT_PARTITION_TYPES_AB 0
|
|
||||||
#define CONFIG_UNPOISON_PARTITION_CTX 0
|
|
||||||
#define CONFIG_EXT_TILE 0
|
|
||||||
#define CONFIG_MOTION_VAR 1
|
|
||||||
#define CONFIG_NCOBMC 0
|
|
||||||
#define CONFIG_WARPED_MOTION 1
|
|
||||||
#define CONFIG_Q_ADAPT_PROBS 0
|
|
||||||
#define CONFIG_INTER_STATS_ONLY 0
|
|
||||||
#define CONFIG_PALETTE_DELTA_ENCODING 0
|
|
||||||
#define CONFIG_RAWBITS 0
|
|
||||||
#define CONFIG_KF_CTX 0
|
|
||||||
#define CONFIG_PVQ 0
|
|
||||||
#define CONFIG_CFL 0
|
|
||||||
#define CONFIG_XIPHRC 0
|
|
||||||
#define CONFIG_DCT_ONLY 0
|
|
||||||
#define CONFIG_DAALA_TX 0
|
|
||||||
#define CONFIG_DAALA_DCT4 0
|
|
||||||
#define CONFIG_DAALA_DCT8 0
|
|
||||||
#define CONFIG_DAALA_DCT16 0
|
|
||||||
#define CONFIG_DAALA_DCT32 0
|
|
||||||
#define CONFIG_DAALA_DCT64 0
|
|
||||||
#define CONFIG_CB4X4 1
|
|
||||||
#define CONFIG_CHROMA_2X2 0
|
|
||||||
#define CONFIG_CHROMA_SUB8X8 1
|
|
||||||
#define CONFIG_FRAME_SIZE 0
|
|
||||||
#define CONFIG_EXT_DELTA_Q 1
|
|
||||||
#define CONFIG_ADAPT_SCAN 0
|
|
||||||
#define CONFIG_PARALLEL_DEBLOCKING 1
|
|
||||||
#define CONFIG_DEBLOCK_13TAP 0
|
|
||||||
#define CONFIG_LOOPFILTERING_ACROSS_TILES 1
|
|
||||||
#define CONFIG_TEMPMV_SIGNALING 1
|
|
||||||
#define CONFIG_RD_DEBUG 0
|
|
||||||
#define CONFIG_REFERENCE_BUFFER 1
|
|
||||||
#define CONFIG_COEF_INTERLEAVE 0
|
|
||||||
#define CONFIG_ENTROPY_STATS 0
|
|
||||||
#define CONFIG_MASKED_TX 0
|
|
||||||
#define CONFIG_DEPENDENT_HORZTILES 0
|
|
||||||
#define CONFIG_DIST_8X8 1
|
|
||||||
#define CONFIG_PALETTE_THROUGHPUT 1
|
|
||||||
#define CONFIG_REF_ADAPT 0
|
|
||||||
#define CONFIG_LV_MAP 0
|
|
||||||
#define CONFIG_CTX1D 0
|
|
||||||
#define CONFIG_TXK_SEL 0
|
|
||||||
#define CONFIG_MV_COMPRESS 1
|
|
||||||
#define CONFIG_SEGMENT_ZEROMV 0
|
|
||||||
#define CONFIG_FRAME_SUPERRES 0
|
|
||||||
#define CONFIG_NEW_MULTISYMBOL 0
|
|
||||||
#define CONFIG_COMPOUND_SINGLEREF 0
|
|
||||||
#define CONFIG_AOM_QM 1
|
|
||||||
#define CONFIG_ONE_SIDED_COMPOUND 1
|
|
||||||
#define CONFIG_EXT_COMP_REFS 1
|
|
||||||
#define CONFIG_SMOOTH_HV 1
|
|
||||||
#define CONFIG_VAR_REFS 0
|
|
||||||
#define CONFIG_LGT 0
|
|
||||||
#define CONFIG_LGT_FROM_PRED 0
|
|
||||||
#define CONFIG_SBL_SYMBOL 0
|
|
||||||
#define CONFIG_NCOBMC_ADAPT_WEIGHT 0
|
|
||||||
#define CONFIG_BGSPRITE 0
|
|
||||||
#define CONFIG_VAR_TX_NO_TX_MODE 0
|
|
||||||
#define CONFIG_MRC_TX 0
|
|
||||||
#define CONFIG_LPF_DIRECT 0
|
|
||||||
#define CONFIG_LOOPFILTER_LEVEL 0
|
|
||||||
#define CONFIG_NO_FRAME_CONTEXT_SIGNALING 0
|
|
||||||
#define CONFIG_TXMG 1
|
|
||||||
#define CONFIG_MAX_TILE 0
|
|
||||||
#define CONFIG_HASH_ME 0
|
|
||||||
#define CONFIG_COLORSPACE_HEADERS 0
|
|
||||||
#define CONFIG_MFMV 0
|
|
||||||
#define CONFIG_FRAME_MARKER 0
|
|
||||||
#define CONFIG_JNT_COMP 0
|
|
||||||
#define CONFIG_FRAME_SIGN_BIAS 0
|
|
||||||
#define CONFIG_EXT_SKIP 0
|
|
||||||
#define CONFIG_OBU 0
|
|
||||||
#define CONFIG_AMVR 0
|
|
||||||
#define CONFIG_LPF_SB 0
|
|
||||||
#define CONFIG_OPT_REF_MV 0
|
|
||||||
#define CONFIG_TMV 0
|
|
||||||
#define CONFIG_RESTRICT_COMPRESSED_HDR 0
|
|
||||||
#define CONFIG_HORZONLY_FRAME_SUPERRES 0
|
|
||||||
#define CONFIG_ANALYZER 0
|
|
||||||
#define DECODE_WIDTH_LIMIT 8192
|
|
||||||
#define DECODE_HEIGHT_LIMIT 4608
|
|
||||||
#endif /* AOM_CONFIG_H */
|
|
||||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,637 +0,0 @@
|
||||||
#ifndef AOM_RTCD_H_
|
|
||||||
#define AOM_RTCD_H_
|
|
||||||
|
|
||||||
#ifdef RTCD_C
|
|
||||||
#define RTCD_EXTERN
|
|
||||||
#else
|
|
||||||
#define RTCD_EXTERN extern
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*
|
|
||||||
* AV1
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include "aom/aom_integer.h"
|
|
||||||
#include "aom_dsp/txfm_common.h"
|
|
||||||
#include "av1/common/common.h"
|
|
||||||
#include "av1/common/enums.h"
|
|
||||||
#include "av1/common/quant_common.h"
|
|
||||||
#include "av1/common/filter.h"
|
|
||||||
#include "av1/common/convolve.h"
|
|
||||||
#include "av1/common/av1_txfm.h"
|
|
||||||
#include "av1/common/odintrin.h"
|
|
||||||
|
|
||||||
struct macroblockd;
|
|
||||||
|
|
||||||
/* Encoder forward decls */
|
|
||||||
struct macroblock;
|
|
||||||
struct txfm_param;
|
|
||||||
struct aom_variance_vtable;
|
|
||||||
struct search_site_config;
|
|
||||||
struct mv;
|
|
||||||
union int_mv;
|
|
||||||
struct yv12_buffer_config;
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
void apply_selfguided_restoration_c(uint8_t *dat, int width, int height, int stride, int eps, int *xqd, uint8_t *dst, int dst_stride, int32_t *tmpbuf);
|
|
||||||
void apply_selfguided_restoration_sse4_1(uint8_t *dat, int width, int height, int stride, int eps, int *xqd, uint8_t *dst, int dst_stride, int32_t *tmpbuf);
|
|
||||||
RTCD_EXTERN void (*apply_selfguided_restoration)(uint8_t *dat, int width, int height, int stride, int eps, int *xqd, uint8_t *dst, int dst_stride, int32_t *tmpbuf);
|
|
||||||
|
|
||||||
void apply_selfguided_restoration_highbd_c(uint16_t *dat, int width, int height, int stride, int bit_depth, int eps, int *xqd, uint16_t *dst, int dst_stride, int32_t *tmpbuf);
|
|
||||||
void apply_selfguided_restoration_highbd_sse4_1(uint16_t *dat, int width, int height, int stride, int bit_depth, int eps, int *xqd, uint16_t *dst, int dst_stride, int32_t *tmpbuf);
|
|
||||||
RTCD_EXTERN void (*apply_selfguided_restoration_highbd)(uint16_t *dat, int width, int height, int stride, int bit_depth, int eps, int *xqd, uint16_t *dst, int dst_stride, int32_t *tmpbuf);
|
|
||||||
|
|
||||||
int64_t av1_block_error_c(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block_size, int64_t *ssz);
|
|
||||||
int64_t av1_block_error_avx2(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block_size, int64_t *ssz);
|
|
||||||
RTCD_EXTERN int64_t (*av1_block_error)(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block_size, int64_t *ssz);
|
|
||||||
|
|
||||||
void av1_convolve_2d_c(const uint8_t *src, int src_stride, CONV_BUF_TYPE *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
|
||||||
void av1_convolve_2d_sse2(const uint8_t *src, int src_stride, CONV_BUF_TYPE *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
|
||||||
RTCD_EXTERN void (*av1_convolve_2d)(const uint8_t *src, int src_stride, CONV_BUF_TYPE *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
|
||||||
|
|
||||||
void av1_convolve_2d_scale_c(const uint8_t *src, int src_stride, CONV_BUF_TYPE *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_qn, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params);
|
|
||||||
void av1_convolve_2d_scale_sse4_1(const uint8_t *src, int src_stride, CONV_BUF_TYPE *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_qn, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params);
|
|
||||||
RTCD_EXTERN void (*av1_convolve_2d_scale)(const uint8_t *src, int src_stride, CONV_BUF_TYPE *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_qn, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params);
|
|
||||||
|
|
||||||
void av1_convolve_horiz_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, ConvolveParams *conv_params);
|
|
||||||
void av1_convolve_horiz_ssse3(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, ConvolveParams *conv_params);
|
|
||||||
RTCD_EXTERN void (*av1_convolve_horiz)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, ConvolveParams *conv_params);
|
|
||||||
|
|
||||||
void av1_convolve_rounding_c(const int32_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, int bits);
|
|
||||||
void av1_convolve_rounding_avx2(const int32_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, int bits);
|
|
||||||
RTCD_EXTERN void (*av1_convolve_rounding)(const int32_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, int bits);
|
|
||||||
|
|
||||||
void av1_convolve_vert_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, ConvolveParams *conv_params);
|
|
||||||
void av1_convolve_vert_ssse3(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, ConvolveParams *conv_params);
|
|
||||||
RTCD_EXTERN void (*av1_convolve_vert)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, ConvolveParams *conv_params);
|
|
||||||
|
|
||||||
int av1_diamond_search_sad_c(struct macroblock *x, const struct search_site_config *cfg, struct mv *ref_mv, struct mv *best_mv, int search_param, int sad_per_bit, int *num00, const struct aom_variance_vtable *fn_ptr, const struct mv *center_mv);
|
|
||||||
#define av1_diamond_search_sad av1_diamond_search_sad_c
|
|
||||||
|
|
||||||
void av1_fht16x16_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
void av1_fht16x16_sse2(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
void av1_fht16x16_avx2(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
RTCD_EXTERN void (*av1_fht16x16)(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
|
|
||||||
void av1_fht16x32_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
void av1_fht16x32_sse2(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
RTCD_EXTERN void (*av1_fht16x32)(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
|
|
||||||
void av1_fht16x4_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
#define av1_fht16x4 av1_fht16x4_c
|
|
||||||
|
|
||||||
void av1_fht16x8_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
void av1_fht16x8_sse2(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
RTCD_EXTERN void (*av1_fht16x8)(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
|
|
||||||
void av1_fht32x16_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
void av1_fht32x16_sse2(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
RTCD_EXTERN void (*av1_fht32x16)(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
|
|
||||||
void av1_fht32x32_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
void av1_fht32x32_sse2(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
void av1_fht32x32_avx2(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
RTCD_EXTERN void (*av1_fht32x32)(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
|
|
||||||
void av1_fht32x8_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
#define av1_fht32x8 av1_fht32x8_c
|
|
||||||
|
|
||||||
void av1_fht4x16_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
#define av1_fht4x16 av1_fht4x16_c
|
|
||||||
|
|
||||||
void av1_fht4x4_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
void av1_fht4x4_sse2(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
RTCD_EXTERN void (*av1_fht4x4)(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
|
|
||||||
void av1_fht4x8_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
void av1_fht4x8_sse2(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
RTCD_EXTERN void (*av1_fht4x8)(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
|
|
||||||
void av1_fht8x16_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
void av1_fht8x16_sse2(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
RTCD_EXTERN void (*av1_fht8x16)(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
|
|
||||||
void av1_fht8x32_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
#define av1_fht8x32 av1_fht8x32_c
|
|
||||||
|
|
||||||
void av1_fht8x4_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
void av1_fht8x4_sse2(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
RTCD_EXTERN void (*av1_fht8x4)(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
|
|
||||||
void av1_fht8x8_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
void av1_fht8x8_sse2(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
RTCD_EXTERN void (*av1_fht8x8)(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
|
|
||||||
void av1_filter_intra_edge_c(uint8_t *p, int sz, int strength);
|
|
||||||
void av1_filter_intra_edge_sse4_1(uint8_t *p, int sz, int strength);
|
|
||||||
RTCD_EXTERN void (*av1_filter_intra_edge)(uint8_t *p, int sz, int strength);
|
|
||||||
|
|
||||||
void av1_filter_intra_edge_high_c(uint16_t *p, int sz, int strength);
|
|
||||||
void av1_filter_intra_edge_high_sse4_1(uint16_t *p, int sz, int strength);
|
|
||||||
RTCD_EXTERN void (*av1_filter_intra_edge_high)(uint16_t *p, int sz, int strength);
|
|
||||||
|
|
||||||
int av1_full_range_search_c(const struct macroblock *x, const struct search_site_config *cfg, struct mv *ref_mv, struct mv *best_mv, int search_param, int sad_per_bit, int *num00, const struct aom_variance_vtable *fn_ptr, const struct mv *center_mv);
|
|
||||||
#define av1_full_range_search av1_full_range_search_c
|
|
||||||
|
|
||||||
int av1_full_search_sad_c(const struct macroblock *x, const struct mv *ref_mv, int sad_per_bit, int distance, const struct aom_variance_vtable *fn_ptr, const struct mv *center_mv, struct mv *best_mv);
|
|
||||||
int av1_full_search_sadx3(const struct macroblock *x, const struct mv *ref_mv, int sad_per_bit, int distance, const struct aom_variance_vtable *fn_ptr, const struct mv *center_mv, struct mv *best_mv);
|
|
||||||
int av1_full_search_sadx8(const struct macroblock *x, const struct mv *ref_mv, int sad_per_bit, int distance, const struct aom_variance_vtable *fn_ptr, const struct mv *center_mv, struct mv *best_mv);
|
|
||||||
RTCD_EXTERN int (*av1_full_search_sad)(const struct macroblock *x, const struct mv *ref_mv, int sad_per_bit, int distance, const struct aom_variance_vtable *fn_ptr, const struct mv *center_mv, struct mv *best_mv);
|
|
||||||
|
|
||||||
void av1_fwd_idtx_c(const int16_t *src_diff, tran_low_t *coeff, int stride, int bsx, int bsy, TX_TYPE tx_type);
|
|
||||||
#define av1_fwd_idtx av1_fwd_idtx_c
|
|
||||||
|
|
||||||
void av1_fwd_txfm2d_16x16_c(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
void av1_fwd_txfm2d_16x16_sse4_1(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_fwd_txfm2d_16x16)(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
|
|
||||||
void av1_fwd_txfm2d_16x32_c(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_fwd_txfm2d_16x32 av1_fwd_txfm2d_16x32_c
|
|
||||||
|
|
||||||
void av1_fwd_txfm2d_16x8_c(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_fwd_txfm2d_16x8 av1_fwd_txfm2d_16x8_c
|
|
||||||
|
|
||||||
void av1_fwd_txfm2d_32x16_c(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_fwd_txfm2d_32x16 av1_fwd_txfm2d_32x16_c
|
|
||||||
|
|
||||||
void av1_fwd_txfm2d_32x32_c(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
void av1_fwd_txfm2d_32x32_sse4_1(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_fwd_txfm2d_32x32)(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
|
|
||||||
void av1_fwd_txfm2d_4x4_c(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
void av1_fwd_txfm2d_4x4_sse4_1(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_fwd_txfm2d_4x4)(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
|
|
||||||
void av1_fwd_txfm2d_4x8_c(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_fwd_txfm2d_4x8 av1_fwd_txfm2d_4x8_c
|
|
||||||
|
|
||||||
void av1_fwd_txfm2d_8x16_c(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_fwd_txfm2d_8x16 av1_fwd_txfm2d_8x16_c
|
|
||||||
|
|
||||||
void av1_fwd_txfm2d_8x4_c(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_fwd_txfm2d_8x4 av1_fwd_txfm2d_8x4_c
|
|
||||||
|
|
||||||
void av1_fwd_txfm2d_8x8_c(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
void av1_fwd_txfm2d_8x8_sse4_1(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_fwd_txfm2d_8x8)(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
|
|
||||||
void av1_fwht4x4_c(const int16_t *input, tran_low_t *output, int stride);
|
|
||||||
#define av1_fwht4x4 av1_fwht4x4_c
|
|
||||||
|
|
||||||
int64_t av1_highbd_block_error_c(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block_size, int64_t *ssz, int bd);
|
|
||||||
int64_t av1_highbd_block_error_sse2(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block_size, int64_t *ssz, int bd);
|
|
||||||
RTCD_EXTERN int64_t (*av1_highbd_block_error)(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block_size, int64_t *ssz, int bd);
|
|
||||||
|
|
||||||
void av1_highbd_convolve8_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
#define av1_highbd_convolve8 av1_highbd_convolve8_c
|
|
||||||
|
|
||||||
void av1_highbd_convolve8_avg_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
#define av1_highbd_convolve8_avg av1_highbd_convolve8_avg_c
|
|
||||||
|
|
||||||
void av1_highbd_convolve8_avg_horiz_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
#define av1_highbd_convolve8_avg_horiz av1_highbd_convolve8_avg_horiz_c
|
|
||||||
|
|
||||||
void av1_highbd_convolve8_avg_vert_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
#define av1_highbd_convolve8_avg_vert av1_highbd_convolve8_avg_vert_c
|
|
||||||
|
|
||||||
void av1_highbd_convolve8_horiz_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
#define av1_highbd_convolve8_horiz av1_highbd_convolve8_horiz_c
|
|
||||||
|
|
||||||
void av1_highbd_convolve8_vert_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
#define av1_highbd_convolve8_vert av1_highbd_convolve8_vert_c
|
|
||||||
|
|
||||||
void av1_highbd_convolve_2d_c(const uint16_t *src, int src_stride, CONV_BUF_TYPE *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
|
||||||
void av1_highbd_convolve_2d_ssse3(const uint16_t *src, int src_stride, CONV_BUF_TYPE *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_highbd_convolve_2d)(const uint16_t *src, int src_stride, CONV_BUF_TYPE *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
|
||||||
|
|
||||||
void av1_highbd_convolve_2d_scale_c(const uint16_t *src, int src_stride, CONV_BUF_TYPE *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params, int bd);
|
|
||||||
void av1_highbd_convolve_2d_scale_sse4_1(const uint16_t *src, int src_stride, CONV_BUF_TYPE *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_highbd_convolve_2d_scale)(const uint16_t *src, int src_stride, CONV_BUF_TYPE *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params, int bd);
|
|
||||||
|
|
||||||
void av1_highbd_convolve_avg_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
#define av1_highbd_convolve_avg av1_highbd_convolve_avg_c
|
|
||||||
|
|
||||||
void av1_highbd_convolve_copy_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
#define av1_highbd_convolve_copy av1_highbd_convolve_copy_c
|
|
||||||
|
|
||||||
void av1_highbd_convolve_horiz_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, int avg, int bd);
|
|
||||||
void av1_highbd_convolve_horiz_sse4_1(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, int avg, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_highbd_convolve_horiz)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, int avg, int bd);
|
|
||||||
|
|
||||||
void av1_highbd_convolve_init_c(void);
|
|
||||||
void av1_highbd_convolve_init_sse4_1(void);
|
|
||||||
RTCD_EXTERN void (*av1_highbd_convolve_init)(void);
|
|
||||||
|
|
||||||
void av1_highbd_convolve_rounding_c(const int32_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, int bits, int bd);
|
|
||||||
void av1_highbd_convolve_rounding_avx2(const int32_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, int bits, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_highbd_convolve_rounding)(const int32_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, int bits, int bd);
|
|
||||||
|
|
||||||
void av1_highbd_convolve_vert_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, int avg, int bd);
|
|
||||||
void av1_highbd_convolve_vert_sse4_1(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, int avg, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_highbd_convolve_vert)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, int avg, int bd);
|
|
||||||
|
|
||||||
void av1_highbd_fwht4x4_c(const int16_t *input, tran_low_t *output, int stride);
|
|
||||||
#define av1_highbd_fwht4x4 av1_highbd_fwht4x4_c
|
|
||||||
|
|
||||||
void av1_highbd_iht16x16_256_add_c(const tran_low_t *input, uint8_t *output, int pitch, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht16x16_256_add av1_highbd_iht16x16_256_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht16x32_512_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht16x32_512_add av1_highbd_iht16x32_512_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht16x4_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht16x4_64_add av1_highbd_iht16x4_64_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht16x8_128_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht16x8_128_add av1_highbd_iht16x8_128_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht32x16_512_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht32x16_512_add av1_highbd_iht32x16_512_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht32x8_256_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht32x8_256_add av1_highbd_iht32x8_256_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht4x16_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht4x16_64_add av1_highbd_iht4x16_64_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht4x4_16_add av1_highbd_iht4x4_16_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht4x8_32_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht4x8_32_add av1_highbd_iht4x8_32_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht8x16_128_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht8x16_128_add av1_highbd_iht8x16_128_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht8x32_256_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht8x32_256_add av1_highbd_iht8x32_256_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht8x4_32_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht8x4_32_add av1_highbd_iht8x4_32_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht8x8_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht8x8_64_add av1_highbd_iht8x8_64_add_c
|
|
||||||
|
|
||||||
void av1_highbd_quantize_fp_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan, int log_scale);
|
|
||||||
void av1_highbd_quantize_fp_sse4_1(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan, int log_scale);
|
|
||||||
void av1_highbd_quantize_fp_avx2(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan, int log_scale);
|
|
||||||
RTCD_EXTERN void (*av1_highbd_quantize_fp)(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan, int log_scale);
|
|
||||||
|
|
||||||
void av1_highbd_temporal_filter_apply_c(uint8_t *frame1, unsigned int stride, uint8_t *frame2, unsigned int block_width, unsigned int block_height, int strength, int filter_weight, unsigned int *accumulator, uint16_t *count);
|
|
||||||
#define av1_highbd_temporal_filter_apply av1_highbd_temporal_filter_apply_c
|
|
||||||
|
|
||||||
void av1_highbd_warp_affine_c(const int32_t *mat, const uint16_t *ref, int width, int height, int stride, uint16_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, int bd, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
|
||||||
void av1_highbd_warp_affine_ssse3(const int32_t *mat, const uint16_t *ref, int width, int height, int stride, uint16_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, int bd, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
|
||||||
RTCD_EXTERN void (*av1_highbd_warp_affine)(const int32_t *mat, const uint16_t *ref, int width, int height, int stride, uint16_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, int bd, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
|
||||||
|
|
||||||
void av1_highpass_filter_c(uint8_t *dgd, int width, int height, int stride, int32_t *dst, int dst_stride, int r, int eps);
|
|
||||||
void av1_highpass_filter_sse4_1(uint8_t *dgd, int width, int height, int stride, int32_t *dst, int dst_stride, int r, int eps);
|
|
||||||
RTCD_EXTERN void (*av1_highpass_filter)(uint8_t *dgd, int width, int height, int stride, int32_t *dst, int dst_stride, int r, int eps);
|
|
||||||
|
|
||||||
void av1_highpass_filter_highbd_c(uint16_t *dgd, int width, int height, int stride, int32_t *dst, int dst_stride, int r, int eps);
|
|
||||||
void av1_highpass_filter_highbd_sse4_1(uint16_t *dgd, int width, int height, int stride, int32_t *dst, int dst_stride, int r, int eps);
|
|
||||||
RTCD_EXTERN void (*av1_highpass_filter_highbd)(uint16_t *dgd, int width, int height, int stride, int32_t *dst, int dst_stride, int r, int eps);
|
|
||||||
|
|
||||||
void av1_iht16x16_256_add_c(const tran_low_t *input, uint8_t *output, int pitch, const struct txfm_param *param);
|
|
||||||
void av1_iht16x16_256_add_sse2(const tran_low_t *input, uint8_t *output, int pitch, const struct txfm_param *param);
|
|
||||||
void av1_iht16x16_256_add_avx2(const tran_low_t *input, uint8_t *output, int pitch, const struct txfm_param *param);
|
|
||||||
RTCD_EXTERN void (*av1_iht16x16_256_add)(const tran_low_t *input, uint8_t *output, int pitch, const struct txfm_param *param);
|
|
||||||
|
|
||||||
void av1_iht16x32_512_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
void av1_iht16x32_512_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
RTCD_EXTERN void (*av1_iht16x32_512_add)(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
|
|
||||||
void av1_iht16x4_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_iht16x4_64_add av1_iht16x4_64_add_c
|
|
||||||
|
|
||||||
void av1_iht16x8_128_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
void av1_iht16x8_128_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
RTCD_EXTERN void (*av1_iht16x8_128_add)(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
|
|
||||||
void av1_iht32x16_512_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
void av1_iht32x16_512_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
RTCD_EXTERN void (*av1_iht32x16_512_add)(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
|
|
||||||
void av1_iht32x32_1024_add_c(const tran_low_t *input, uint8_t *output, int pitch, const struct txfm_param *param);
|
|
||||||
#define av1_iht32x32_1024_add av1_iht32x32_1024_add_c
|
|
||||||
|
|
||||||
void av1_iht32x8_256_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_iht32x8_256_add av1_iht32x8_256_add_c
|
|
||||||
|
|
||||||
void av1_iht4x16_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_iht4x16_64_add av1_iht4x16_64_add_c
|
|
||||||
|
|
||||||
void av1_iht4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
void av1_iht4x4_16_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
RTCD_EXTERN void (*av1_iht4x4_16_add)(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
|
|
||||||
void av1_iht4x8_32_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
void av1_iht4x8_32_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
RTCD_EXTERN void (*av1_iht4x8_32_add)(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
|
|
||||||
void av1_iht8x16_128_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
void av1_iht8x16_128_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
RTCD_EXTERN void (*av1_iht8x16_128_add)(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
|
|
||||||
void av1_iht8x32_256_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_iht8x32_256_add av1_iht8x32_256_add_c
|
|
||||||
|
|
||||||
void av1_iht8x4_32_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
void av1_iht8x4_32_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
RTCD_EXTERN void (*av1_iht8x4_32_add)(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
|
|
||||||
void av1_iht8x8_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
void av1_iht8x8_64_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
RTCD_EXTERN void (*av1_iht8x8_64_add)(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
|
|
||||||
void av1_inv_txfm2d_add_16x16_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
void av1_inv_txfm2d_add_16x16_sse4_1(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_inv_txfm2d_add_16x16)(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
|
|
||||||
void av1_inv_txfm2d_add_16x32_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_inv_txfm2d_add_16x32 av1_inv_txfm2d_add_16x32_c
|
|
||||||
|
|
||||||
void av1_inv_txfm2d_add_16x8_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_inv_txfm2d_add_16x8 av1_inv_txfm2d_add_16x8_c
|
|
||||||
|
|
||||||
void av1_inv_txfm2d_add_32x16_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_inv_txfm2d_add_32x16 av1_inv_txfm2d_add_32x16_c
|
|
||||||
|
|
||||||
void av1_inv_txfm2d_add_32x32_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
void av1_inv_txfm2d_add_32x32_avx2(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_inv_txfm2d_add_32x32)(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
|
|
||||||
void av1_inv_txfm2d_add_4x4_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
void av1_inv_txfm2d_add_4x4_sse4_1(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_inv_txfm2d_add_4x4)(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
|
|
||||||
void av1_inv_txfm2d_add_4x8_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_inv_txfm2d_add_4x8 av1_inv_txfm2d_add_4x8_c
|
|
||||||
|
|
||||||
void av1_inv_txfm2d_add_8x16_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_inv_txfm2d_add_8x16 av1_inv_txfm2d_add_8x16_c
|
|
||||||
|
|
||||||
void av1_inv_txfm2d_add_8x4_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_inv_txfm2d_add_8x4 av1_inv_txfm2d_add_8x4_c
|
|
||||||
|
|
||||||
void av1_inv_txfm2d_add_8x8_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
void av1_inv_txfm2d_add_8x8_sse4_1(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_inv_txfm2d_add_8x8)(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
|
|
||||||
void av1_lowbd_convolve_init_c(void);
|
|
||||||
void av1_lowbd_convolve_init_ssse3(void);
|
|
||||||
RTCD_EXTERN void (*av1_lowbd_convolve_init)(void);
|
|
||||||
|
|
||||||
void av1_quantize_b_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan, const qm_val_t * qm_ptr, const qm_val_t * iqm_ptr, int log_scale);
|
|
||||||
#define av1_quantize_b av1_quantize_b_c
|
|
||||||
|
|
||||||
void av1_quantize_fp_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan);
|
|
||||||
void av1_quantize_fp_sse2(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan);
|
|
||||||
void av1_quantize_fp_avx2(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan);
|
|
||||||
RTCD_EXTERN void (*av1_quantize_fp)(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan);
|
|
||||||
|
|
||||||
void av1_quantize_fp_32x32_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan);
|
|
||||||
void av1_quantize_fp_32x32_avx2(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan);
|
|
||||||
RTCD_EXTERN void (*av1_quantize_fp_32x32)(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan);
|
|
||||||
|
|
||||||
void av1_selfguided_restoration_c(uint8_t *dgd, int width, int height, int stride, int32_t *dst, int dst_stride, int r, int eps);
|
|
||||||
void av1_selfguided_restoration_sse4_1(uint8_t *dgd, int width, int height, int stride, int32_t *dst, int dst_stride, int r, int eps);
|
|
||||||
RTCD_EXTERN void (*av1_selfguided_restoration)(uint8_t *dgd, int width, int height, int stride, int32_t *dst, int dst_stride, int r, int eps);
|
|
||||||
|
|
||||||
void av1_selfguided_restoration_highbd_c(uint16_t *dgd, int width, int height, int stride, int32_t *dst, int dst_stride, int bit_depth, int r, int eps);
|
|
||||||
void av1_selfguided_restoration_highbd_sse4_1(uint16_t *dgd, int width, int height, int stride, int32_t *dst, int dst_stride, int bit_depth, int r, int eps);
|
|
||||||
RTCD_EXTERN void (*av1_selfguided_restoration_highbd)(uint16_t *dgd, int width, int height, int stride, int32_t *dst, int dst_stride, int bit_depth, int r, int eps);
|
|
||||||
|
|
||||||
void av1_temporal_filter_apply_c(uint8_t *frame1, unsigned int stride, uint8_t *frame2, unsigned int block_width, unsigned int block_height, int strength, int filter_weight, unsigned int *accumulator, uint16_t *count);
|
|
||||||
void av1_temporal_filter_apply_sse2(uint8_t *frame1, unsigned int stride, uint8_t *frame2, unsigned int block_width, unsigned int block_height, int strength, int filter_weight, unsigned int *accumulator, uint16_t *count);
|
|
||||||
RTCD_EXTERN void (*av1_temporal_filter_apply)(uint8_t *frame1, unsigned int stride, uint8_t *frame2, unsigned int block_width, unsigned int block_height, int strength, int filter_weight, unsigned int *accumulator, uint16_t *count);
|
|
||||||
|
|
||||||
void av1_upsample_intra_edge_c(uint8_t *p, int sz);
|
|
||||||
void av1_upsample_intra_edge_sse4_1(uint8_t *p, int sz);
|
|
||||||
RTCD_EXTERN void (*av1_upsample_intra_edge)(uint8_t *p, int sz);
|
|
||||||
|
|
||||||
void av1_upsample_intra_edge_high_c(uint16_t *p, int sz, int bd);
|
|
||||||
void av1_upsample_intra_edge_high_sse4_1(uint16_t *p, int sz, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_upsample_intra_edge_high)(uint16_t *p, int sz, int bd);
|
|
||||||
|
|
||||||
void av1_warp_affine_c(const int32_t *mat, const uint8_t *ref, int width, int height, int stride, uint8_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
|
||||||
void av1_warp_affine_sse2(const int32_t *mat, const uint8_t *ref, int width, int height, int stride, uint8_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
|
||||||
void av1_warp_affine_ssse3(const int32_t *mat, const uint8_t *ref, int width, int height, int stride, uint8_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
|
||||||
RTCD_EXTERN void (*av1_warp_affine)(const int32_t *mat, const uint8_t *ref, int width, int height, int stride, uint8_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
|
||||||
|
|
||||||
void av1_wedge_compute_delta_squares_c(int16_t *d, const int16_t *a, const int16_t *b, int N);
|
|
||||||
void av1_wedge_compute_delta_squares_sse2(int16_t *d, const int16_t *a, const int16_t *b, int N);
|
|
||||||
RTCD_EXTERN void (*av1_wedge_compute_delta_squares)(int16_t *d, const int16_t *a, const int16_t *b, int N);
|
|
||||||
|
|
||||||
int av1_wedge_sign_from_residuals_c(const int16_t *ds, const uint8_t *m, int N, int64_t limit);
|
|
||||||
int av1_wedge_sign_from_residuals_sse2(const int16_t *ds, const uint8_t *m, int N, int64_t limit);
|
|
||||||
RTCD_EXTERN int (*av1_wedge_sign_from_residuals)(const int16_t *ds, const uint8_t *m, int N, int64_t limit);
|
|
||||||
|
|
||||||
uint64_t av1_wedge_sse_from_residuals_c(const int16_t *r1, const int16_t *d, const uint8_t *m, int N);
|
|
||||||
uint64_t av1_wedge_sse_from_residuals_sse2(const int16_t *r1, const int16_t *d, const uint8_t *m, int N);
|
|
||||||
RTCD_EXTERN uint64_t (*av1_wedge_sse_from_residuals)(const int16_t *r1, const int16_t *d, const uint8_t *m, int N);
|
|
||||||
|
|
||||||
void cdef_filter_block_c(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max);
|
|
||||||
void cdef_filter_block_sse2(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max);
|
|
||||||
void cdef_filter_block_ssse3(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max);
|
|
||||||
void cdef_filter_block_sse4_1(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max);
|
|
||||||
void cdef_filter_block_avx2(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max);
|
|
||||||
RTCD_EXTERN void (*cdef_filter_block)(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max);
|
|
||||||
|
|
||||||
int cdef_find_dir_c(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
|
||||||
int cdef_find_dir_sse2(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
|
||||||
int cdef_find_dir_ssse3(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
|
||||||
int cdef_find_dir_sse4_1(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
|
||||||
int cdef_find_dir_avx2(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
|
||||||
RTCD_EXTERN int (*cdef_find_dir)(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
|
||||||
|
|
||||||
double compute_cross_correlation_c(unsigned char *im1, int stride1, int x1, int y1, unsigned char *im2, int stride2, int x2, int y2);
|
|
||||||
double compute_cross_correlation_sse4_1(unsigned char *im1, int stride1, int x1, int y1, unsigned char *im2, int stride2, int x2, int y2);
|
|
||||||
RTCD_EXTERN double (*compute_cross_correlation)(unsigned char *im1, int stride1, int x1, int y1, unsigned char *im2, int stride2, int x2, int y2);
|
|
||||||
|
|
||||||
void copy_rect8_16bit_to_16bit_c(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
|
||||||
void copy_rect8_16bit_to_16bit_sse2(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
|
||||||
void copy_rect8_16bit_to_16bit_ssse3(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
|
||||||
void copy_rect8_16bit_to_16bit_sse4_1(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
|
||||||
void copy_rect8_16bit_to_16bit_avx2(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
|
||||||
RTCD_EXTERN void (*copy_rect8_16bit_to_16bit)(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
|
||||||
|
|
||||||
void copy_rect8_8bit_to_16bit_c(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
|
||||||
void copy_rect8_8bit_to_16bit_sse2(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
|
||||||
void copy_rect8_8bit_to_16bit_ssse3(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
|
||||||
void copy_rect8_8bit_to_16bit_sse4_1(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
|
||||||
void copy_rect8_8bit_to_16bit_avx2(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
|
||||||
RTCD_EXTERN void (*copy_rect8_8bit_to_16bit)(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
|
||||||
|
|
||||||
void aom_rtcd(void);
|
|
||||||
|
|
||||||
#ifdef RTCD_C
|
|
||||||
#include "aom_ports/x86.h"
|
|
||||||
static void setup_rtcd_internal(void)
|
|
||||||
{
|
|
||||||
int flags = x86_simd_caps();
|
|
||||||
|
|
||||||
(void)flags;
|
|
||||||
|
|
||||||
apply_selfguided_restoration = apply_selfguided_restoration_c;
|
|
||||||
if (flags & HAS_SSE4_1) apply_selfguided_restoration = apply_selfguided_restoration_sse4_1;
|
|
||||||
apply_selfguided_restoration_highbd = apply_selfguided_restoration_highbd_c;
|
|
||||||
if (flags & HAS_SSE4_1) apply_selfguided_restoration_highbd = apply_selfguided_restoration_highbd_sse4_1;
|
|
||||||
av1_block_error = av1_block_error_c;
|
|
||||||
if (flags & HAS_AVX2) av1_block_error = av1_block_error_avx2;
|
|
||||||
av1_convolve_2d = av1_convolve_2d_c;
|
|
||||||
if (flags & HAS_SSE2) av1_convolve_2d = av1_convolve_2d_sse2;
|
|
||||||
av1_convolve_2d_scale = av1_convolve_2d_scale_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_convolve_2d_scale = av1_convolve_2d_scale_sse4_1;
|
|
||||||
av1_convolve_horiz = av1_convolve_horiz_c;
|
|
||||||
if (flags & HAS_SSSE3) av1_convolve_horiz = av1_convolve_horiz_ssse3;
|
|
||||||
av1_convolve_rounding = av1_convolve_rounding_c;
|
|
||||||
if (flags & HAS_AVX2) av1_convolve_rounding = av1_convolve_rounding_avx2;
|
|
||||||
av1_convolve_vert = av1_convolve_vert_c;
|
|
||||||
if (flags & HAS_SSSE3) av1_convolve_vert = av1_convolve_vert_ssse3;
|
|
||||||
av1_fht16x16 = av1_fht16x16_c;
|
|
||||||
if (flags & HAS_SSE2) av1_fht16x16 = av1_fht16x16_sse2;
|
|
||||||
if (flags & HAS_AVX2) av1_fht16x16 = av1_fht16x16_avx2;
|
|
||||||
av1_fht16x32 = av1_fht16x32_c;
|
|
||||||
if (flags & HAS_SSE2) av1_fht16x32 = av1_fht16x32_sse2;
|
|
||||||
av1_fht16x8 = av1_fht16x8_c;
|
|
||||||
if (flags & HAS_SSE2) av1_fht16x8 = av1_fht16x8_sse2;
|
|
||||||
av1_fht32x16 = av1_fht32x16_c;
|
|
||||||
if (flags & HAS_SSE2) av1_fht32x16 = av1_fht32x16_sse2;
|
|
||||||
av1_fht32x32 = av1_fht32x32_c;
|
|
||||||
if (flags & HAS_SSE2) av1_fht32x32 = av1_fht32x32_sse2;
|
|
||||||
if (flags & HAS_AVX2) av1_fht32x32 = av1_fht32x32_avx2;
|
|
||||||
av1_fht4x4 = av1_fht4x4_c;
|
|
||||||
if (flags & HAS_SSE2) av1_fht4x4 = av1_fht4x4_sse2;
|
|
||||||
av1_fht4x8 = av1_fht4x8_c;
|
|
||||||
if (flags & HAS_SSE2) av1_fht4x8 = av1_fht4x8_sse2;
|
|
||||||
av1_fht8x16 = av1_fht8x16_c;
|
|
||||||
if (flags & HAS_SSE2) av1_fht8x16 = av1_fht8x16_sse2;
|
|
||||||
av1_fht8x4 = av1_fht8x4_c;
|
|
||||||
if (flags & HAS_SSE2) av1_fht8x4 = av1_fht8x4_sse2;
|
|
||||||
av1_fht8x8 = av1_fht8x8_c;
|
|
||||||
if (flags & HAS_SSE2) av1_fht8x8 = av1_fht8x8_sse2;
|
|
||||||
av1_filter_intra_edge = av1_filter_intra_edge_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_filter_intra_edge = av1_filter_intra_edge_sse4_1;
|
|
||||||
av1_filter_intra_edge_high = av1_filter_intra_edge_high_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_filter_intra_edge_high = av1_filter_intra_edge_high_sse4_1;
|
|
||||||
av1_full_search_sad = av1_full_search_sad_c;
|
|
||||||
if (flags & HAS_SSE3) av1_full_search_sad = av1_full_search_sadx3;
|
|
||||||
if (flags & HAS_SSE4_1) av1_full_search_sad = av1_full_search_sadx8;
|
|
||||||
av1_fwd_txfm2d_16x16 = av1_fwd_txfm2d_16x16_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_fwd_txfm2d_16x16 = av1_fwd_txfm2d_16x16_sse4_1;
|
|
||||||
av1_fwd_txfm2d_32x32 = av1_fwd_txfm2d_32x32_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_fwd_txfm2d_32x32 = av1_fwd_txfm2d_32x32_sse4_1;
|
|
||||||
av1_fwd_txfm2d_4x4 = av1_fwd_txfm2d_4x4_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_fwd_txfm2d_4x4 = av1_fwd_txfm2d_4x4_sse4_1;
|
|
||||||
av1_fwd_txfm2d_8x8 = av1_fwd_txfm2d_8x8_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_fwd_txfm2d_8x8 = av1_fwd_txfm2d_8x8_sse4_1;
|
|
||||||
av1_highbd_block_error = av1_highbd_block_error_c;
|
|
||||||
if (flags & HAS_SSE2) av1_highbd_block_error = av1_highbd_block_error_sse2;
|
|
||||||
av1_highbd_convolve_2d = av1_highbd_convolve_2d_c;
|
|
||||||
if (flags & HAS_SSSE3) av1_highbd_convolve_2d = av1_highbd_convolve_2d_ssse3;
|
|
||||||
av1_highbd_convolve_2d_scale = av1_highbd_convolve_2d_scale_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_highbd_convolve_2d_scale = av1_highbd_convolve_2d_scale_sse4_1;
|
|
||||||
av1_highbd_convolve_horiz = av1_highbd_convolve_horiz_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_highbd_convolve_horiz = av1_highbd_convolve_horiz_sse4_1;
|
|
||||||
av1_highbd_convolve_init = av1_highbd_convolve_init_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_highbd_convolve_init = av1_highbd_convolve_init_sse4_1;
|
|
||||||
av1_highbd_convolve_rounding = av1_highbd_convolve_rounding_c;
|
|
||||||
if (flags & HAS_AVX2) av1_highbd_convolve_rounding = av1_highbd_convolve_rounding_avx2;
|
|
||||||
av1_highbd_convolve_vert = av1_highbd_convolve_vert_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_highbd_convolve_vert = av1_highbd_convolve_vert_sse4_1;
|
|
||||||
av1_highbd_quantize_fp = av1_highbd_quantize_fp_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_highbd_quantize_fp = av1_highbd_quantize_fp_sse4_1;
|
|
||||||
if (flags & HAS_AVX2) av1_highbd_quantize_fp = av1_highbd_quantize_fp_avx2;
|
|
||||||
av1_highbd_warp_affine = av1_highbd_warp_affine_c;
|
|
||||||
if (flags & HAS_SSSE3) av1_highbd_warp_affine = av1_highbd_warp_affine_ssse3;
|
|
||||||
av1_highpass_filter = av1_highpass_filter_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_highpass_filter = av1_highpass_filter_sse4_1;
|
|
||||||
av1_highpass_filter_highbd = av1_highpass_filter_highbd_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_highpass_filter_highbd = av1_highpass_filter_highbd_sse4_1;
|
|
||||||
av1_iht16x16_256_add = av1_iht16x16_256_add_c;
|
|
||||||
if (flags & HAS_SSE2) av1_iht16x16_256_add = av1_iht16x16_256_add_sse2;
|
|
||||||
if (flags & HAS_AVX2) av1_iht16x16_256_add = av1_iht16x16_256_add_avx2;
|
|
||||||
av1_iht16x32_512_add = av1_iht16x32_512_add_c;
|
|
||||||
if (flags & HAS_SSE2) av1_iht16x32_512_add = av1_iht16x32_512_add_sse2;
|
|
||||||
av1_iht16x8_128_add = av1_iht16x8_128_add_c;
|
|
||||||
if (flags & HAS_SSE2) av1_iht16x8_128_add = av1_iht16x8_128_add_sse2;
|
|
||||||
av1_iht32x16_512_add = av1_iht32x16_512_add_c;
|
|
||||||
if (flags & HAS_SSE2) av1_iht32x16_512_add = av1_iht32x16_512_add_sse2;
|
|
||||||
av1_iht4x4_16_add = av1_iht4x4_16_add_c;
|
|
||||||
if (flags & HAS_SSE2) av1_iht4x4_16_add = av1_iht4x4_16_add_sse2;
|
|
||||||
av1_iht4x8_32_add = av1_iht4x8_32_add_c;
|
|
||||||
if (flags & HAS_SSE2) av1_iht4x8_32_add = av1_iht4x8_32_add_sse2;
|
|
||||||
av1_iht8x16_128_add = av1_iht8x16_128_add_c;
|
|
||||||
if (flags & HAS_SSE2) av1_iht8x16_128_add = av1_iht8x16_128_add_sse2;
|
|
||||||
av1_iht8x4_32_add = av1_iht8x4_32_add_c;
|
|
||||||
if (flags & HAS_SSE2) av1_iht8x4_32_add = av1_iht8x4_32_add_sse2;
|
|
||||||
av1_iht8x8_64_add = av1_iht8x8_64_add_c;
|
|
||||||
if (flags & HAS_SSE2) av1_iht8x8_64_add = av1_iht8x8_64_add_sse2;
|
|
||||||
av1_inv_txfm2d_add_16x16 = av1_inv_txfm2d_add_16x16_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_inv_txfm2d_add_16x16 = av1_inv_txfm2d_add_16x16_sse4_1;
|
|
||||||
av1_inv_txfm2d_add_32x32 = av1_inv_txfm2d_add_32x32_c;
|
|
||||||
if (flags & HAS_AVX2) av1_inv_txfm2d_add_32x32 = av1_inv_txfm2d_add_32x32_avx2;
|
|
||||||
av1_inv_txfm2d_add_4x4 = av1_inv_txfm2d_add_4x4_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_inv_txfm2d_add_4x4 = av1_inv_txfm2d_add_4x4_sse4_1;
|
|
||||||
av1_inv_txfm2d_add_8x8 = av1_inv_txfm2d_add_8x8_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_inv_txfm2d_add_8x8 = av1_inv_txfm2d_add_8x8_sse4_1;
|
|
||||||
av1_lowbd_convolve_init = av1_lowbd_convolve_init_c;
|
|
||||||
if (flags & HAS_SSSE3) av1_lowbd_convolve_init = av1_lowbd_convolve_init_ssse3;
|
|
||||||
av1_quantize_fp = av1_quantize_fp_c;
|
|
||||||
if (flags & HAS_SSE2) av1_quantize_fp = av1_quantize_fp_sse2;
|
|
||||||
if (flags & HAS_AVX2) av1_quantize_fp = av1_quantize_fp_avx2;
|
|
||||||
av1_quantize_fp_32x32 = av1_quantize_fp_32x32_c;
|
|
||||||
if (flags & HAS_AVX2) av1_quantize_fp_32x32 = av1_quantize_fp_32x32_avx2;
|
|
||||||
av1_selfguided_restoration = av1_selfguided_restoration_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_selfguided_restoration = av1_selfguided_restoration_sse4_1;
|
|
||||||
av1_selfguided_restoration_highbd = av1_selfguided_restoration_highbd_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_selfguided_restoration_highbd = av1_selfguided_restoration_highbd_sse4_1;
|
|
||||||
av1_temporal_filter_apply = av1_temporal_filter_apply_c;
|
|
||||||
if (flags & HAS_SSE2) av1_temporal_filter_apply = av1_temporal_filter_apply_sse2;
|
|
||||||
av1_upsample_intra_edge = av1_upsample_intra_edge_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_upsample_intra_edge = av1_upsample_intra_edge_sse4_1;
|
|
||||||
av1_upsample_intra_edge_high = av1_upsample_intra_edge_high_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_upsample_intra_edge_high = av1_upsample_intra_edge_high_sse4_1;
|
|
||||||
av1_warp_affine = av1_warp_affine_c;
|
|
||||||
if (flags & HAS_SSE2) av1_warp_affine = av1_warp_affine_sse2;
|
|
||||||
if (flags & HAS_SSSE3) av1_warp_affine = av1_warp_affine_ssse3;
|
|
||||||
av1_wedge_compute_delta_squares = av1_wedge_compute_delta_squares_c;
|
|
||||||
if (flags & HAS_SSE2) av1_wedge_compute_delta_squares = av1_wedge_compute_delta_squares_sse2;
|
|
||||||
av1_wedge_sign_from_residuals = av1_wedge_sign_from_residuals_c;
|
|
||||||
if (flags & HAS_SSE2) av1_wedge_sign_from_residuals = av1_wedge_sign_from_residuals_sse2;
|
|
||||||
av1_wedge_sse_from_residuals = av1_wedge_sse_from_residuals_c;
|
|
||||||
if (flags & HAS_SSE2) av1_wedge_sse_from_residuals = av1_wedge_sse_from_residuals_sse2;
|
|
||||||
cdef_filter_block = cdef_filter_block_c;
|
|
||||||
if (flags & HAS_SSE2) cdef_filter_block = cdef_filter_block_sse2;
|
|
||||||
if (flags & HAS_SSSE3) cdef_filter_block = cdef_filter_block_ssse3;
|
|
||||||
if (flags & HAS_SSE4_1) cdef_filter_block = cdef_filter_block_sse4_1;
|
|
||||||
if (flags & HAS_AVX2) cdef_filter_block = cdef_filter_block_avx2;
|
|
||||||
cdef_find_dir = cdef_find_dir_c;
|
|
||||||
if (flags & HAS_SSE2) cdef_find_dir = cdef_find_dir_sse2;
|
|
||||||
if (flags & HAS_SSSE3) cdef_find_dir = cdef_find_dir_ssse3;
|
|
||||||
if (flags & HAS_SSE4_1) cdef_find_dir = cdef_find_dir_sse4_1;
|
|
||||||
if (flags & HAS_AVX2) cdef_find_dir = cdef_find_dir_avx2;
|
|
||||||
compute_cross_correlation = compute_cross_correlation_c;
|
|
||||||
if (flags & HAS_SSE4_1) compute_cross_correlation = compute_cross_correlation_sse4_1;
|
|
||||||
copy_rect8_16bit_to_16bit = copy_rect8_16bit_to_16bit_c;
|
|
||||||
if (flags & HAS_SSE2) copy_rect8_16bit_to_16bit = copy_rect8_16bit_to_16bit_sse2;
|
|
||||||
if (flags & HAS_SSSE3) copy_rect8_16bit_to_16bit = copy_rect8_16bit_to_16bit_ssse3;
|
|
||||||
if (flags & HAS_SSE4_1) copy_rect8_16bit_to_16bit = copy_rect8_16bit_to_16bit_sse4_1;
|
|
||||||
if (flags & HAS_AVX2) copy_rect8_16bit_to_16bit = copy_rect8_16bit_to_16bit_avx2;
|
|
||||||
copy_rect8_8bit_to_16bit = copy_rect8_8bit_to_16bit_c;
|
|
||||||
if (flags & HAS_SSE2) copy_rect8_8bit_to_16bit = copy_rect8_8bit_to_16bit_sse2;
|
|
||||||
if (flags & HAS_SSSE3) copy_rect8_8bit_to_16bit = copy_rect8_8bit_to_16bit_ssse3;
|
|
||||||
if (flags & HAS_SSE4_1) copy_rect8_8bit_to_16bit = copy_rect8_8bit_to_16bit_sse4_1;
|
|
||||||
if (flags & HAS_AVX2) copy_rect8_8bit_to_16bit = copy_rect8_8bit_to_16bit_avx2;
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
} // extern "C"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif
|
|
||||||
69
media/libaom/config/win/ia32/config/aom_config.asm
Normal file
69
media/libaom/config/win/ia32/config/aom_config.asm
Normal file
|
|
@ -0,0 +1,69 @@
|
||||||
|
;
|
||||||
|
; Copyright (c) 2018, Alliance for Open Media. All rights reserved
|
||||||
|
;
|
||||||
|
; This source code is subject to the terms of the BSD 2 Clause License and
|
||||||
|
; the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
|
||||||
|
; was not distributed with this source code in the LICENSE file, you can
|
||||||
|
; obtain it at www.aomedia.org/license/software. If the Alliance for Open
|
||||||
|
; Media Patent License 1.0 was not distributed with this source code in the
|
||||||
|
; PATENTS file, you can obtain it at www.aomedia.org/license/patent.
|
||||||
|
;
|
||||||
|
|
||||||
|
ARCH_ARM equ 0
|
||||||
|
ARCH_MIPS equ 0
|
||||||
|
ARCH_PPC equ 0
|
||||||
|
ARCH_X86 equ 1
|
||||||
|
ARCH_X86_64 equ 0
|
||||||
|
CONFIG_ACCOUNTING equ 0
|
||||||
|
CONFIG_ANALYZER equ 0
|
||||||
|
CONFIG_AV1_DECODER equ 1
|
||||||
|
CONFIG_AV1_ENCODER equ 0
|
||||||
|
CONFIG_BIG_ENDIAN equ 0
|
||||||
|
CONFIG_BITSTREAM_DEBUG equ 0
|
||||||
|
CONFIG_COEFFICIENT_RANGE_CHECKING equ 0
|
||||||
|
CONFIG_COLLECT_INTER_MODE_RD_STATS equ 1
|
||||||
|
CONFIG_COLLECT_RD_STATS equ 0
|
||||||
|
CONFIG_DEBUG equ 0
|
||||||
|
CONFIG_DIST_8X8 equ 1
|
||||||
|
CONFIG_ENTROPY_STATS equ 0
|
||||||
|
CONFIG_FILEOPTIONS equ 1
|
||||||
|
CONFIG_FP_MB_STATS equ 0
|
||||||
|
CONFIG_GCC equ 1
|
||||||
|
CONFIG_GCOV equ 0
|
||||||
|
CONFIG_GPROF equ 0
|
||||||
|
CONFIG_INSPECTION equ 0
|
||||||
|
CONFIG_INTERNAL_STATS equ 0
|
||||||
|
CONFIG_INTER_STATS_ONLY equ 0
|
||||||
|
CONFIG_LIBYUV equ 0
|
||||||
|
CONFIG_LOWBITDEPTH equ 0
|
||||||
|
CONFIG_MISMATCH_DEBUG equ 0
|
||||||
|
CONFIG_MSVS equ 1
|
||||||
|
CONFIG_MULTITHREAD equ 1
|
||||||
|
CONFIG_OS_SUPPORT equ 1
|
||||||
|
CONFIG_PIC equ 0
|
||||||
|
CONFIG_RD_DEBUG equ 0
|
||||||
|
CONFIG_RUNTIME_CPU_DETECT equ 1
|
||||||
|
CONFIG_SHARED equ 0
|
||||||
|
CONFIG_SIZE_LIMIT equ 0
|
||||||
|
CONFIG_SPATIAL_RESAMPLING equ 1
|
||||||
|
CONFIG_STATIC equ 1
|
||||||
|
CONFIG_WEBM_IO equ 0
|
||||||
|
DECODE_HEIGHT_LIMIT equ 0
|
||||||
|
DECODE_WIDTH_LIMIT equ 0
|
||||||
|
HAVE_AVX equ 1
|
||||||
|
HAVE_AVX2 equ 1
|
||||||
|
HAVE_DSPR2 equ 0
|
||||||
|
HAVE_FEXCEPT equ 1
|
||||||
|
HAVE_MIPS32 equ 0
|
||||||
|
HAVE_MIPS64 equ 0
|
||||||
|
HAVE_MMX equ 1
|
||||||
|
HAVE_MSA equ 0
|
||||||
|
HAVE_NEON equ 0
|
||||||
|
HAVE_SSE equ 1
|
||||||
|
HAVE_SSE2 equ 1
|
||||||
|
HAVE_SSE3 equ 1
|
||||||
|
HAVE_SSE4_1 equ 1
|
||||||
|
HAVE_SSE4_2 equ 1
|
||||||
|
HAVE_SSSE3 equ 1
|
||||||
|
HAVE_VSX equ 0
|
||||||
|
HAVE_WXWIDGETS equ 0
|
||||||
75
media/libaom/config/win/ia32/config/aom_config.h
Normal file
75
media/libaom/config/win/ia32/config/aom_config.h
Normal file
|
|
@ -0,0 +1,75 @@
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2018, Alliance for Open Media. All rights reserved
|
||||||
|
*
|
||||||
|
* This source code is subject to the terms of the BSD 2 Clause License and
|
||||||
|
* the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
|
||||||
|
* was not distributed with this source code in the LICENSE file, you can
|
||||||
|
* obtain it at www.aomedia.org/license/software. If the Alliance for Open
|
||||||
|
* Media Patent License 1.0 was not distributed with this source code in the
|
||||||
|
* PATENTS file, you can obtain it at www.aomedia.org/license/patent.
|
||||||
|
*/
|
||||||
|
#ifndef AOM_CONFIG_H_
|
||||||
|
#define AOM_CONFIG_H_
|
||||||
|
|
||||||
|
#define ARCH_ARM 0
|
||||||
|
#define ARCH_MIPS 0
|
||||||
|
#define ARCH_PPC 0
|
||||||
|
#define ARCH_X86 1
|
||||||
|
#define ARCH_X86_64 0
|
||||||
|
#define CONFIG_ACCOUNTING 0
|
||||||
|
#define CONFIG_ANALYZER 0
|
||||||
|
#define CONFIG_AV1_DECODER 1
|
||||||
|
#define CONFIG_AV1_ENCODER 0
|
||||||
|
#define CONFIG_BIG_ENDIAN 0
|
||||||
|
#define CONFIG_BITSTREAM_DEBUG 0
|
||||||
|
#define CONFIG_COEFFICIENT_RANGE_CHECKING 0
|
||||||
|
#define CONFIG_COLLECT_INTER_MODE_RD_STATS 1
|
||||||
|
#define CONFIG_COLLECT_RD_STATS 0
|
||||||
|
#define CONFIG_DEBUG 0
|
||||||
|
#define CONFIG_DIST_8X8 1
|
||||||
|
#define CONFIG_ENTROPY_STATS 0
|
||||||
|
#define CONFIG_FILEOPTIONS 1
|
||||||
|
#define CONFIG_FP_MB_STATS 0
|
||||||
|
#define CONFIG_GCC 1
|
||||||
|
#define CONFIG_GCOV 0
|
||||||
|
#define CONFIG_GPROF 0
|
||||||
|
#define CONFIG_INSPECTION 0
|
||||||
|
#define CONFIG_INTERNAL_STATS 0
|
||||||
|
#define CONFIG_INTER_STATS_ONLY 0
|
||||||
|
#define CONFIG_LIBYUV 0
|
||||||
|
#define CONFIG_LOWBITDEPTH 0
|
||||||
|
#define CONFIG_MISMATCH_DEBUG 0
|
||||||
|
#define CONFIG_MSVS 1
|
||||||
|
#define CONFIG_MULTITHREAD 1
|
||||||
|
#define CONFIG_OS_SUPPORT 1
|
||||||
|
#define CONFIG_PIC 0
|
||||||
|
#define CONFIG_RD_DEBUG 0
|
||||||
|
#define CONFIG_RUNTIME_CPU_DETECT 1
|
||||||
|
#define CONFIG_SHARED 0
|
||||||
|
#define CONFIG_SIZE_LIMIT 0
|
||||||
|
#define CONFIG_SPATIAL_RESAMPLING 1
|
||||||
|
#define CONFIG_STATIC 1
|
||||||
|
#define CONFIG_WEBM_IO 0
|
||||||
|
#define DECODE_HEIGHT_LIMIT 0
|
||||||
|
#define DECODE_WIDTH_LIMIT 0
|
||||||
|
#define HAVE_AVX 1
|
||||||
|
#define HAVE_AVX2 1
|
||||||
|
#define HAVE_DSPR2 0
|
||||||
|
#define HAVE_FEXCEPT 1
|
||||||
|
#define HAVE_MIPS32 0
|
||||||
|
#define HAVE_MIPS64 0
|
||||||
|
#define HAVE_MMX 1
|
||||||
|
#define HAVE_MSA 0
|
||||||
|
#define HAVE_NEON 0
|
||||||
|
#define HAVE_SSE 1
|
||||||
|
#define HAVE_SSE2 1
|
||||||
|
#define HAVE_SSE3 1
|
||||||
|
#define HAVE_SSE4_1 1
|
||||||
|
#define HAVE_SSE4_2 1
|
||||||
|
#define HAVE_SSSE3 1
|
||||||
|
#define HAVE_VSX 0
|
||||||
|
#define HAVE_WXWIDGETS 0
|
||||||
|
#define INCLUDE_INSTALL_DIR INSTALLDIR/include
|
||||||
|
#define INLINE inline
|
||||||
|
#define LIB_INSTALL_DIR INSTALLDIR/lib
|
||||||
|
#endif /* AOM_CONFIG_H_ */
|
||||||
2375
media/libaom/config/win/ia32/config/aom_dsp_rtcd.h
Normal file
2375
media/libaom/config/win/ia32/config/aom_dsp_rtcd.h
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -1,3 +1,4 @@
|
||||||
|
// This file is generated. Do not edit.
|
||||||
#ifndef AOM_SCALE_RTCD_H_
|
#ifndef AOM_SCALE_RTCD_H_
|
||||||
#define AOM_SCALE_RTCD_H_
|
#define AOM_SCALE_RTCD_H_
|
||||||
|
|
||||||
|
|
@ -13,13 +14,13 @@ struct yv12_buffer_config;
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void aom_extend_frame_borders_c(struct yv12_buffer_config *ybf);
|
void aom_extend_frame_borders_c(struct yv12_buffer_config *ybf, const int num_planes);
|
||||||
#define aom_extend_frame_borders aom_extend_frame_borders_c
|
#define aom_extend_frame_borders aom_extend_frame_borders_c
|
||||||
|
|
||||||
void aom_extend_frame_borders_y_c(struct yv12_buffer_config *ybf);
|
void aom_extend_frame_borders_y_c(struct yv12_buffer_config *ybf);
|
||||||
#define aom_extend_frame_borders_y aom_extend_frame_borders_y_c
|
#define aom_extend_frame_borders_y aom_extend_frame_borders_y_c
|
||||||
|
|
||||||
void aom_extend_frame_inner_borders_c(struct yv12_buffer_config *ybf);
|
void aom_extend_frame_inner_borders_c(struct yv12_buffer_config *ybf, const int num_planes);
|
||||||
#define aom_extend_frame_inner_borders aom_extend_frame_inner_borders_c
|
#define aom_extend_frame_inner_borders aom_extend_frame_inner_borders_c
|
||||||
|
|
||||||
void aom_horizontal_line_2_1_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
|
void aom_horizontal_line_2_1_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
|
||||||
|
|
@ -43,7 +44,7 @@ void aom_vertical_band_5_3_scale_c(unsigned char *source, int src_pitch, unsigne
|
||||||
void aom_vertical_band_5_4_scale_c(unsigned char *source, int src_pitch, unsigned char *dest, int dest_pitch, unsigned int dest_width);
|
void aom_vertical_band_5_4_scale_c(unsigned char *source, int src_pitch, unsigned char *dest, int dest_pitch, unsigned int dest_width);
|
||||||
#define aom_vertical_band_5_4_scale aom_vertical_band_5_4_scale_c
|
#define aom_vertical_band_5_4_scale aom_vertical_band_5_4_scale_c
|
||||||
|
|
||||||
void aom_yv12_copy_frame_c(const struct yv12_buffer_config *src_bc, struct yv12_buffer_config *dst_bc);
|
void aom_yv12_copy_frame_c(const struct yv12_buffer_config *src_bc, struct yv12_buffer_config *dst_bc, const int num_planes);
|
||||||
#define aom_yv12_copy_frame aom_yv12_copy_frame_c
|
#define aom_yv12_copy_frame aom_yv12_copy_frame_c
|
||||||
|
|
||||||
void aom_yv12_copy_u_c(const struct yv12_buffer_config *src_bc, struct yv12_buffer_config *dst_bc);
|
void aom_yv12_copy_u_c(const struct yv12_buffer_config *src_bc, struct yv12_buffer_config *dst_bc);
|
||||||
|
|
@ -55,9 +56,18 @@ void aom_yv12_copy_v_c(const struct yv12_buffer_config *src_bc, struct yv12_buff
|
||||||
void aom_yv12_copy_y_c(const struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc);
|
void aom_yv12_copy_y_c(const struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc);
|
||||||
#define aom_yv12_copy_y aom_yv12_copy_y_c
|
#define aom_yv12_copy_y aom_yv12_copy_y_c
|
||||||
|
|
||||||
void aom_yv12_extend_frame_borders_c(struct yv12_buffer_config *ybf);
|
void aom_yv12_extend_frame_borders_c(struct yv12_buffer_config *ybf, const int num_planes);
|
||||||
#define aom_yv12_extend_frame_borders aom_yv12_extend_frame_borders_c
|
#define aom_yv12_extend_frame_borders aom_yv12_extend_frame_borders_c
|
||||||
|
|
||||||
|
void aom_yv12_partial_copy_u_c(const struct yv12_buffer_config *src_bc, struct yv12_buffer_config *dst_bc, int hstart, int hend, int vstart, int vend);
|
||||||
|
#define aom_yv12_partial_copy_u aom_yv12_partial_copy_u_c
|
||||||
|
|
||||||
|
void aom_yv12_partial_copy_v_c(const struct yv12_buffer_config *src_bc, struct yv12_buffer_config *dst_bc, int hstart, int hend, int vstart, int vend);
|
||||||
|
#define aom_yv12_partial_copy_v aom_yv12_partial_copy_v_c
|
||||||
|
|
||||||
|
void aom_yv12_partial_copy_y_c(const struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc, int hstart, int hend, int vstart, int vend);
|
||||||
|
#define aom_yv12_partial_copy_y aom_yv12_partial_copy_y_c
|
||||||
|
|
||||||
void aom_scale_rtcd(void);
|
void aom_scale_rtcd(void);
|
||||||
|
|
||||||
#ifdef RTCD_C
|
#ifdef RTCD_C
|
||||||
564
media/libaom/config/win/ia32/config/av1_rtcd.h
Normal file
564
media/libaom/config/win/ia32/config/av1_rtcd.h
Normal file
|
|
@ -0,0 +1,564 @@
|
||||||
|
// This file is generated. Do not edit.
|
||||||
|
#ifndef AOM_RTCD_H_
|
||||||
|
#define AOM_RTCD_H_
|
||||||
|
|
||||||
|
#ifdef RTCD_C
|
||||||
|
#define RTCD_EXTERN
|
||||||
|
#else
|
||||||
|
#define RTCD_EXTERN extern
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/*
|
||||||
|
* AV1
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "aom/aom_integer.h"
|
||||||
|
#include "aom_dsp/txfm_common.h"
|
||||||
|
#include "av1/common/common.h"
|
||||||
|
#include "av1/common/enums.h"
|
||||||
|
#include "av1/common/quant_common.h"
|
||||||
|
#include "av1/common/filter.h"
|
||||||
|
#include "av1/common/convolve.h"
|
||||||
|
#include "av1/common/av1_txfm.h"
|
||||||
|
#include "av1/common/odintrin.h"
|
||||||
|
#include "av1/common/restoration.h"
|
||||||
|
|
||||||
|
struct macroblockd;
|
||||||
|
|
||||||
|
/* Encoder forward decls */
|
||||||
|
struct macroblock;
|
||||||
|
struct txfm_param;
|
||||||
|
struct aom_variance_vtable;
|
||||||
|
struct search_site_config;
|
||||||
|
struct yv12_buffer_config;
|
||||||
|
|
||||||
|
/* Function pointers return by CfL functions */
|
||||||
|
typedef void (*cfl_subsample_lbd_fn)(const uint8_t *input, int input_stride,
|
||||||
|
uint16_t *output_q3);
|
||||||
|
|
||||||
|
typedef void (*cfl_subsample_hbd_fn)(const uint16_t *input, int input_stride,
|
||||||
|
uint16_t *output_q3);
|
||||||
|
|
||||||
|
typedef void (*cfl_subtract_average_fn)(const uint16_t *src, int16_t *dst);
|
||||||
|
|
||||||
|
typedef void (*cfl_predict_lbd_fn)(const int16_t *src, uint8_t *dst,
|
||||||
|
int dst_stride, int alpha_q3);
|
||||||
|
|
||||||
|
typedef void (*cfl_predict_hbd_fn)(const int16_t *src, uint16_t *dst,
|
||||||
|
int dst_stride, int alpha_q3, int bd);
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
|
void apply_selfguided_restoration_c(const uint8_t *dat, int width, int height, int stride, int eps, const int *xqd, uint8_t *dst, int dst_stride, int32_t *tmpbuf, int bit_depth, int highbd);
|
||||||
|
void apply_selfguided_restoration_sse4_1(const uint8_t *dat, int width, int height, int stride, int eps, const int *xqd, uint8_t *dst, int dst_stride, int32_t *tmpbuf, int bit_depth, int highbd);
|
||||||
|
void apply_selfguided_restoration_avx2(const uint8_t *dat, int width, int height, int stride, int eps, const int *xqd, uint8_t *dst, int dst_stride, int32_t *tmpbuf, int bit_depth, int highbd);
|
||||||
|
RTCD_EXTERN void (*apply_selfguided_restoration)(const uint8_t *dat, int width, int height, int stride, int eps, const int *xqd, uint8_t *dst, int dst_stride, int32_t *tmpbuf, int bit_depth, int highbd);
|
||||||
|
|
||||||
|
void av1_build_compound_diffwtd_mask_c(uint8_t *mask, DIFFWTD_MASK_TYPE mask_type, const uint8_t *src0, int src0_stride, const uint8_t *src1, int src1_stride, int h, int w);
|
||||||
|
void av1_build_compound_diffwtd_mask_sse4_1(uint8_t *mask, DIFFWTD_MASK_TYPE mask_type, const uint8_t *src0, int src0_stride, const uint8_t *src1, int src1_stride, int h, int w);
|
||||||
|
RTCD_EXTERN void (*av1_build_compound_diffwtd_mask)(uint8_t *mask, DIFFWTD_MASK_TYPE mask_type, const uint8_t *src0, int src0_stride, const uint8_t *src1, int src1_stride, int h, int w);
|
||||||
|
|
||||||
|
void av1_build_compound_diffwtd_mask_d16_c(uint8_t *mask, DIFFWTD_MASK_TYPE mask_type, const CONV_BUF_TYPE *src0, int src0_stride, const CONV_BUF_TYPE *src1, int src1_stride, int h, int w, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_build_compound_diffwtd_mask_d16_sse4_1(uint8_t *mask, DIFFWTD_MASK_TYPE mask_type, const CONV_BUF_TYPE *src0, int src0_stride, const CONV_BUF_TYPE *src1, int src1_stride, int h, int w, ConvolveParams *conv_params, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_build_compound_diffwtd_mask_d16)(uint8_t *mask, DIFFWTD_MASK_TYPE mask_type, const CONV_BUF_TYPE *src0, int src0_stride, const CONV_BUF_TYPE *src1, int src1_stride, int h, int w, ConvolveParams *conv_params, int bd);
|
||||||
|
|
||||||
|
void av1_build_compound_diffwtd_mask_highbd_c(uint8_t *mask, DIFFWTD_MASK_TYPE mask_type, const uint8_t *src0, int src0_stride, const uint8_t *src1, int src1_stride, int h, int w, int bd);
|
||||||
|
void av1_build_compound_diffwtd_mask_highbd_ssse3(uint8_t *mask, DIFFWTD_MASK_TYPE mask_type, const uint8_t *src0, int src0_stride, const uint8_t *src1, int src1_stride, int h, int w, int bd);
|
||||||
|
void av1_build_compound_diffwtd_mask_highbd_avx2(uint8_t *mask, DIFFWTD_MASK_TYPE mask_type, const uint8_t *src0, int src0_stride, const uint8_t *src1, int src1_stride, int h, int w, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_build_compound_diffwtd_mask_highbd)(uint8_t *mask, DIFFWTD_MASK_TYPE mask_type, const uint8_t *src0, int src0_stride, const uint8_t *src1, int src1_stride, int h, int w, int bd);
|
||||||
|
|
||||||
|
void av1_convolve_2d_copy_sr_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_convolve_2d_copy_sr_sse2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_convolve_2d_copy_sr_avx2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
RTCD_EXTERN void (*av1_convolve_2d_copy_sr)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
|
||||||
|
void av1_convolve_2d_scale_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_qn, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params);
|
||||||
|
void av1_convolve_2d_scale_sse4_1(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_qn, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params);
|
||||||
|
RTCD_EXTERN void (*av1_convolve_2d_scale)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_qn, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params);
|
||||||
|
|
||||||
|
void av1_convolve_2d_sr_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_convolve_2d_sr_sse2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_convolve_2d_sr_avx2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
RTCD_EXTERN void (*av1_convolve_2d_sr)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
|
||||||
|
void av1_convolve_horiz_rs_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const int16_t *x_filters, int x0_qn, int x_step_qn);
|
||||||
|
void av1_convolve_horiz_rs_sse4_1(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const int16_t *x_filters, int x0_qn, int x_step_qn);
|
||||||
|
RTCD_EXTERN void (*av1_convolve_horiz_rs)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const int16_t *x_filters, int x0_qn, int x_step_qn);
|
||||||
|
|
||||||
|
void av1_convolve_x_sr_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_convolve_x_sr_sse2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_convolve_x_sr_avx2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
RTCD_EXTERN void (*av1_convolve_x_sr)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
|
||||||
|
void av1_convolve_y_sr_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_convolve_y_sr_sse2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_convolve_y_sr_avx2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
RTCD_EXTERN void (*av1_convolve_y_sr)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
|
||||||
|
void av1_dr_prediction_z1_c(uint8_t *dst, ptrdiff_t stride, int bw, int bh, const uint8_t *above, const uint8_t *left, int upsample_above, int dx, int dy);
|
||||||
|
#define av1_dr_prediction_z1 av1_dr_prediction_z1_c
|
||||||
|
|
||||||
|
void av1_dr_prediction_z2_c(uint8_t *dst, ptrdiff_t stride, int bw, int bh, const uint8_t *above, const uint8_t *left, int upsample_above, int upsample_left, int dx, int dy);
|
||||||
|
#define av1_dr_prediction_z2 av1_dr_prediction_z2_c
|
||||||
|
|
||||||
|
void av1_dr_prediction_z3_c(uint8_t *dst, ptrdiff_t stride, int bw, int bh, const uint8_t *above, const uint8_t *left, int upsample_left, int dx, int dy);
|
||||||
|
#define av1_dr_prediction_z3 av1_dr_prediction_z3_c
|
||||||
|
|
||||||
|
void av1_filter_intra_edge_c(uint8_t *p, int sz, int strength);
|
||||||
|
void av1_filter_intra_edge_sse4_1(uint8_t *p, int sz, int strength);
|
||||||
|
RTCD_EXTERN void (*av1_filter_intra_edge)(uint8_t *p, int sz, int strength);
|
||||||
|
|
||||||
|
void av1_filter_intra_edge_high_c(uint16_t *p, int sz, int strength);
|
||||||
|
void av1_filter_intra_edge_high_sse4_1(uint16_t *p, int sz, int strength);
|
||||||
|
RTCD_EXTERN void (*av1_filter_intra_edge_high)(uint16_t *p, int sz, int strength);
|
||||||
|
|
||||||
|
void av1_filter_intra_predictor_c(uint8_t *dst, ptrdiff_t stride, TX_SIZE tx_size, const uint8_t *above, const uint8_t *left, int mode);
|
||||||
|
void av1_filter_intra_predictor_sse4_1(uint8_t *dst, ptrdiff_t stride, TX_SIZE tx_size, const uint8_t *above, const uint8_t *left, int mode);
|
||||||
|
RTCD_EXTERN void (*av1_filter_intra_predictor)(uint8_t *dst, ptrdiff_t stride, TX_SIZE tx_size, const uint8_t *above, const uint8_t *left, int mode);
|
||||||
|
|
||||||
|
void av1_highbd_convolve8_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
||||||
|
#define av1_highbd_convolve8 av1_highbd_convolve8_c
|
||||||
|
|
||||||
|
void av1_highbd_convolve8_horiz_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
||||||
|
#define av1_highbd_convolve8_horiz av1_highbd_convolve8_horiz_c
|
||||||
|
|
||||||
|
void av1_highbd_convolve8_vert_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
||||||
|
#define av1_highbd_convolve8_vert av1_highbd_convolve8_vert_c
|
||||||
|
|
||||||
|
void av1_highbd_convolve_2d_copy_sr_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_convolve_2d_copy_sr_sse2(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_convolve_2d_copy_sr_avx2(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_convolve_2d_copy_sr)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
|
||||||
|
void av1_highbd_convolve_2d_scale_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_convolve_2d_scale_sse4_1(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_convolve_2d_scale)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params, int bd);
|
||||||
|
|
||||||
|
void av1_highbd_convolve_2d_sr_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_convolve_2d_sr_ssse3(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_convolve_2d_sr_avx2(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_convolve_2d_sr)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
|
||||||
|
void av1_highbd_convolve_avg_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
||||||
|
#define av1_highbd_convolve_avg av1_highbd_convolve_avg_c
|
||||||
|
|
||||||
|
void av1_highbd_convolve_copy_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
||||||
|
#define av1_highbd_convolve_copy av1_highbd_convolve_copy_c
|
||||||
|
|
||||||
|
void av1_highbd_convolve_horiz_rs_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, const int16_t *x_filters, int x0_qn, int x_step_qn, int bd);
|
||||||
|
void av1_highbd_convolve_horiz_rs_sse4_1(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, const int16_t *x_filters, int x0_qn, int x_step_qn, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_convolve_horiz_rs)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, const int16_t *x_filters, int x0_qn, int x_step_qn, int bd);
|
||||||
|
|
||||||
|
void av1_highbd_convolve_x_sr_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_convolve_x_sr_ssse3(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_convolve_x_sr_avx2(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_convolve_x_sr)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
|
||||||
|
void av1_highbd_convolve_y_sr_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_convolve_y_sr_ssse3(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_convolve_y_sr_avx2(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_convolve_y_sr)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
|
||||||
|
void av1_highbd_dr_prediction_z1_c(uint16_t *dst, ptrdiff_t stride, int bw, int bh, const uint16_t *above, const uint16_t *left, int upsample_above, int dx, int dy, int bd);
|
||||||
|
#define av1_highbd_dr_prediction_z1 av1_highbd_dr_prediction_z1_c
|
||||||
|
|
||||||
|
void av1_highbd_dr_prediction_z2_c(uint16_t *dst, ptrdiff_t stride, int bw, int bh, const uint16_t *above, const uint16_t *left, int upsample_above, int upsample_left, int dx, int dy, int bd);
|
||||||
|
#define av1_highbd_dr_prediction_z2 av1_highbd_dr_prediction_z2_c
|
||||||
|
|
||||||
|
void av1_highbd_dr_prediction_z3_c(uint16_t *dst, ptrdiff_t stride, int bw, int bh, const uint16_t *above, const uint16_t *left, int upsample_left, int dx, int dy, int bd);
|
||||||
|
#define av1_highbd_dr_prediction_z3 av1_highbd_dr_prediction_z3_c
|
||||||
|
|
||||||
|
void av1_highbd_iwht4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, int bd);
|
||||||
|
#define av1_highbd_iwht4x4_16_add av1_highbd_iwht4x4_16_add_c
|
||||||
|
|
||||||
|
void av1_highbd_iwht4x4_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, int bd);
|
||||||
|
#define av1_highbd_iwht4x4_1_add av1_highbd_iwht4x4_1_add_c
|
||||||
|
|
||||||
|
void av1_highbd_jnt_convolve_2d_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_jnt_convolve_2d_sse4_1(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_jnt_convolve_2d_avx2(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_jnt_convolve_2d)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
|
||||||
|
void av1_highbd_jnt_convolve_2d_copy_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_jnt_convolve_2d_copy_sse4_1(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_jnt_convolve_2d_copy_avx2(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_jnt_convolve_2d_copy)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
|
||||||
|
void av1_highbd_jnt_convolve_x_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_jnt_convolve_x_sse4_1(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_jnt_convolve_x_avx2(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_jnt_convolve_x)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
|
||||||
|
void av1_highbd_jnt_convolve_y_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_jnt_convolve_y_sse4_1(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_jnt_convolve_y_avx2(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_jnt_convolve_y)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
|
||||||
|
void av1_highbd_warp_affine_c(const int32_t *mat, const uint16_t *ref, int width, int height, int stride, uint16_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, int bd, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
||||||
|
void av1_highbd_warp_affine_sse4_1(const int32_t *mat, const uint16_t *ref, int width, int height, int stride, uint16_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, int bd, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_warp_affine)(const int32_t *mat, const uint16_t *ref, int width, int height, int stride, uint16_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, int bd, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
||||||
|
|
||||||
|
void av1_highbd_wiener_convolve_add_src_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, const ConvolveParams *conv_params, int bps);
|
||||||
|
void av1_highbd_wiener_convolve_add_src_ssse3(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, const ConvolveParams *conv_params, int bps);
|
||||||
|
void av1_highbd_wiener_convolve_add_src_avx2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, const ConvolveParams *conv_params, int bps);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_wiener_convolve_add_src)(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, const ConvolveParams *conv_params, int bps);
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_16x16_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
void av1_inv_txfm2d_add_16x16_sse4_1(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_inv_txfm2d_add_16x16)(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_16x32_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_16x32 av1_inv_txfm2d_add_16x32_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_16x4_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_16x4 av1_inv_txfm2d_add_16x4_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_16x64_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_16x64 av1_inv_txfm2d_add_16x64_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_16x8_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_16x8 av1_inv_txfm2d_add_16x8_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_32x16_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_32x16 av1_inv_txfm2d_add_32x16_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_32x32_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
void av1_inv_txfm2d_add_32x32_avx2(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_inv_txfm2d_add_32x32)(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_32x64_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_32x64 av1_inv_txfm2d_add_32x64_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_32x8_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_32x8 av1_inv_txfm2d_add_32x8_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_4x16_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_4x16 av1_inv_txfm2d_add_4x16_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_4x4_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
void av1_inv_txfm2d_add_4x4_sse4_1(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_inv_txfm2d_add_4x4)(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_4x8_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_4x8 av1_inv_txfm2d_add_4x8_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_64x16_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_64x16 av1_inv_txfm2d_add_64x16_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_64x32_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_64x32 av1_inv_txfm2d_add_64x32_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_64x64_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
void av1_inv_txfm2d_add_64x64_sse4_1(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_inv_txfm2d_add_64x64)(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_8x16_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_8x16 av1_inv_txfm2d_add_8x16_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_8x32_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_8x32 av1_inv_txfm2d_add_8x32_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_8x4_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_8x4 av1_inv_txfm2d_add_8x4_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_8x8_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
void av1_inv_txfm2d_add_8x8_sse4_1(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_inv_txfm2d_add_8x8)(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
|
||||||
|
void av1_inv_txfm_add_c(const tran_low_t *dqcoeff, uint8_t *dst, int stride, const TxfmParam *txfm_param);
|
||||||
|
void av1_inv_txfm_add_ssse3(const tran_low_t *dqcoeff, uint8_t *dst, int stride, const TxfmParam *txfm_param);
|
||||||
|
void av1_inv_txfm_add_avx2(const tran_low_t *dqcoeff, uint8_t *dst, int stride, const TxfmParam *txfm_param);
|
||||||
|
RTCD_EXTERN void (*av1_inv_txfm_add)(const tran_low_t *dqcoeff, uint8_t *dst, int stride, const TxfmParam *txfm_param);
|
||||||
|
|
||||||
|
void av1_jnt_convolve_2d_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_jnt_convolve_2d_ssse3(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_jnt_convolve_2d_avx2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
RTCD_EXTERN void (*av1_jnt_convolve_2d)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
|
||||||
|
void av1_jnt_convolve_2d_copy_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_jnt_convolve_2d_copy_sse2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_jnt_convolve_2d_copy_avx2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
RTCD_EXTERN void (*av1_jnt_convolve_2d_copy)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
|
||||||
|
void av1_jnt_convolve_x_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_jnt_convolve_x_sse2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_jnt_convolve_x_avx2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
RTCD_EXTERN void (*av1_jnt_convolve_x)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
|
||||||
|
void av1_jnt_convolve_y_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_jnt_convolve_y_sse2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_jnt_convolve_y_avx2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
RTCD_EXTERN void (*av1_jnt_convolve_y)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
|
||||||
|
void av1_selfguided_restoration_c(const uint8_t *dgd8, int width, int height,
|
||||||
|
int dgd_stride, int32_t *flt0, int32_t *flt1, int flt_stride,
|
||||||
|
int sgr_params_idx, int bit_depth, int highbd);
|
||||||
|
void av1_selfguided_restoration_sse4_1(const uint8_t *dgd8, int width, int height,
|
||||||
|
int dgd_stride, int32_t *flt0, int32_t *flt1, int flt_stride,
|
||||||
|
int sgr_params_idx, int bit_depth, int highbd);
|
||||||
|
void av1_selfguided_restoration_avx2(const uint8_t *dgd8, int width, int height,
|
||||||
|
int dgd_stride, int32_t *flt0, int32_t *flt1, int flt_stride,
|
||||||
|
int sgr_params_idx, int bit_depth, int highbd);
|
||||||
|
RTCD_EXTERN void (*av1_selfguided_restoration)(const uint8_t *dgd8, int width, int height,
|
||||||
|
int dgd_stride, int32_t *flt0, int32_t *flt1, int flt_stride,
|
||||||
|
int sgr_params_idx, int bit_depth, int highbd);
|
||||||
|
|
||||||
|
void av1_upsample_intra_edge_c(uint8_t *p, int sz);
|
||||||
|
void av1_upsample_intra_edge_sse4_1(uint8_t *p, int sz);
|
||||||
|
RTCD_EXTERN void (*av1_upsample_intra_edge)(uint8_t *p, int sz);
|
||||||
|
|
||||||
|
void av1_upsample_intra_edge_high_c(uint16_t *p, int sz, int bd);
|
||||||
|
void av1_upsample_intra_edge_high_sse4_1(uint16_t *p, int sz, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_upsample_intra_edge_high)(uint16_t *p, int sz, int bd);
|
||||||
|
|
||||||
|
void av1_warp_affine_c(const int32_t *mat, const uint8_t *ref, int width, int height, int stride, uint8_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
||||||
|
void av1_warp_affine_sse4_1(const int32_t *mat, const uint8_t *ref, int width, int height, int stride, uint8_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
||||||
|
RTCD_EXTERN void (*av1_warp_affine)(const int32_t *mat, const uint8_t *ref, int width, int height, int stride, uint8_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
||||||
|
|
||||||
|
void av1_wiener_convolve_add_src_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, const ConvolveParams *conv_params);
|
||||||
|
void av1_wiener_convolve_add_src_sse2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, const ConvolveParams *conv_params);
|
||||||
|
void av1_wiener_convolve_add_src_avx2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, const ConvolveParams *conv_params);
|
||||||
|
RTCD_EXTERN void (*av1_wiener_convolve_add_src)(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, const ConvolveParams *conv_params);
|
||||||
|
|
||||||
|
void cdef_filter_block_c(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max, int coeff_shift);
|
||||||
|
void cdef_filter_block_sse2(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max, int coeff_shift);
|
||||||
|
void cdef_filter_block_ssse3(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max, int coeff_shift);
|
||||||
|
void cdef_filter_block_sse4_1(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max, int coeff_shift);
|
||||||
|
void cdef_filter_block_avx2(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max, int coeff_shift);
|
||||||
|
RTCD_EXTERN void (*cdef_filter_block)(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max, int coeff_shift);
|
||||||
|
|
||||||
|
int cdef_find_dir_c(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
||||||
|
int cdef_find_dir_sse2(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
||||||
|
int cdef_find_dir_ssse3(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
||||||
|
int cdef_find_dir_sse4_1(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
||||||
|
int cdef_find_dir_avx2(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
||||||
|
RTCD_EXTERN int (*cdef_find_dir)(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
||||||
|
|
||||||
|
cfl_subsample_hbd_fn cfl_get_luma_subsampling_420_hbd_c(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_hbd_fn cfl_get_luma_subsampling_420_hbd_ssse3(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_hbd_fn cfl_get_luma_subsampling_420_hbd_avx2(TX_SIZE tx_size);
|
||||||
|
RTCD_EXTERN cfl_subsample_hbd_fn (*cfl_get_luma_subsampling_420_hbd)(TX_SIZE tx_size);
|
||||||
|
|
||||||
|
cfl_subsample_lbd_fn cfl_get_luma_subsampling_420_lbd_c(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_lbd_fn cfl_get_luma_subsampling_420_lbd_ssse3(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_lbd_fn cfl_get_luma_subsampling_420_lbd_avx2(TX_SIZE tx_size);
|
||||||
|
RTCD_EXTERN cfl_subsample_lbd_fn (*cfl_get_luma_subsampling_420_lbd)(TX_SIZE tx_size);
|
||||||
|
|
||||||
|
cfl_subsample_hbd_fn cfl_get_luma_subsampling_422_hbd_c(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_hbd_fn cfl_get_luma_subsampling_422_hbd_ssse3(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_hbd_fn cfl_get_luma_subsampling_422_hbd_avx2(TX_SIZE tx_size);
|
||||||
|
RTCD_EXTERN cfl_subsample_hbd_fn (*cfl_get_luma_subsampling_422_hbd)(TX_SIZE tx_size);
|
||||||
|
|
||||||
|
cfl_subsample_lbd_fn cfl_get_luma_subsampling_422_lbd_c(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_lbd_fn cfl_get_luma_subsampling_422_lbd_ssse3(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_lbd_fn cfl_get_luma_subsampling_422_lbd_avx2(TX_SIZE tx_size);
|
||||||
|
RTCD_EXTERN cfl_subsample_lbd_fn (*cfl_get_luma_subsampling_422_lbd)(TX_SIZE tx_size);
|
||||||
|
|
||||||
|
cfl_subsample_hbd_fn cfl_get_luma_subsampling_444_hbd_c(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_hbd_fn cfl_get_luma_subsampling_444_hbd_ssse3(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_hbd_fn cfl_get_luma_subsampling_444_hbd_avx2(TX_SIZE tx_size);
|
||||||
|
RTCD_EXTERN cfl_subsample_hbd_fn (*cfl_get_luma_subsampling_444_hbd)(TX_SIZE tx_size);
|
||||||
|
|
||||||
|
cfl_subsample_lbd_fn cfl_get_luma_subsampling_444_lbd_c(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_lbd_fn cfl_get_luma_subsampling_444_lbd_ssse3(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_lbd_fn cfl_get_luma_subsampling_444_lbd_avx2(TX_SIZE tx_size);
|
||||||
|
RTCD_EXTERN cfl_subsample_lbd_fn (*cfl_get_luma_subsampling_444_lbd)(TX_SIZE tx_size);
|
||||||
|
|
||||||
|
void copy_rect8_16bit_to_16bit_c(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
||||||
|
void copy_rect8_16bit_to_16bit_sse2(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
||||||
|
void copy_rect8_16bit_to_16bit_ssse3(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
||||||
|
void copy_rect8_16bit_to_16bit_sse4_1(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
||||||
|
void copy_rect8_16bit_to_16bit_avx2(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
||||||
|
RTCD_EXTERN void (*copy_rect8_16bit_to_16bit)(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
||||||
|
|
||||||
|
void copy_rect8_8bit_to_16bit_c(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
||||||
|
void copy_rect8_8bit_to_16bit_sse2(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
||||||
|
void copy_rect8_8bit_to_16bit_ssse3(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
||||||
|
void copy_rect8_8bit_to_16bit_sse4_1(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
||||||
|
void copy_rect8_8bit_to_16bit_avx2(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
||||||
|
RTCD_EXTERN void (*copy_rect8_8bit_to_16bit)(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
||||||
|
|
||||||
|
cfl_predict_hbd_fn get_predict_hbd_fn_c(TX_SIZE tx_size);
|
||||||
|
cfl_predict_hbd_fn get_predict_hbd_fn_ssse3(TX_SIZE tx_size);
|
||||||
|
cfl_predict_hbd_fn get_predict_hbd_fn_avx2(TX_SIZE tx_size);
|
||||||
|
RTCD_EXTERN cfl_predict_hbd_fn (*get_predict_hbd_fn)(TX_SIZE tx_size);
|
||||||
|
|
||||||
|
cfl_predict_lbd_fn get_predict_lbd_fn_c(TX_SIZE tx_size);
|
||||||
|
cfl_predict_lbd_fn get_predict_lbd_fn_ssse3(TX_SIZE tx_size);
|
||||||
|
cfl_predict_lbd_fn get_predict_lbd_fn_avx2(TX_SIZE tx_size);
|
||||||
|
RTCD_EXTERN cfl_predict_lbd_fn (*get_predict_lbd_fn)(TX_SIZE tx_size);
|
||||||
|
|
||||||
|
cfl_subtract_average_fn get_subtract_average_fn_c(TX_SIZE tx_size);
|
||||||
|
cfl_subtract_average_fn get_subtract_average_fn_sse2(TX_SIZE tx_size);
|
||||||
|
cfl_subtract_average_fn get_subtract_average_fn_avx2(TX_SIZE tx_size);
|
||||||
|
RTCD_EXTERN cfl_subtract_average_fn (*get_subtract_average_fn)(TX_SIZE tx_size);
|
||||||
|
|
||||||
|
void aom_rtcd(void);
|
||||||
|
|
||||||
|
#ifdef RTCD_C
|
||||||
|
#include "aom_ports/x86.h"
|
||||||
|
static void setup_rtcd_internal(void)
|
||||||
|
{
|
||||||
|
int flags = x86_simd_caps();
|
||||||
|
|
||||||
|
(void)flags;
|
||||||
|
|
||||||
|
apply_selfguided_restoration = apply_selfguided_restoration_c;
|
||||||
|
if (flags & HAS_SSE4_1) apply_selfguided_restoration = apply_selfguided_restoration_sse4_1;
|
||||||
|
if (flags & HAS_AVX2) apply_selfguided_restoration = apply_selfguided_restoration_avx2;
|
||||||
|
av1_build_compound_diffwtd_mask = av1_build_compound_diffwtd_mask_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_build_compound_diffwtd_mask = av1_build_compound_diffwtd_mask_sse4_1;
|
||||||
|
av1_build_compound_diffwtd_mask_d16 = av1_build_compound_diffwtd_mask_d16_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_build_compound_diffwtd_mask_d16 = av1_build_compound_diffwtd_mask_d16_sse4_1;
|
||||||
|
av1_build_compound_diffwtd_mask_highbd = av1_build_compound_diffwtd_mask_highbd_c;
|
||||||
|
if (flags & HAS_SSSE3) av1_build_compound_diffwtd_mask_highbd = av1_build_compound_diffwtd_mask_highbd_ssse3;
|
||||||
|
if (flags & HAS_AVX2) av1_build_compound_diffwtd_mask_highbd = av1_build_compound_diffwtd_mask_highbd_avx2;
|
||||||
|
av1_convolve_2d_copy_sr = av1_convolve_2d_copy_sr_c;
|
||||||
|
if (flags & HAS_SSE2) av1_convolve_2d_copy_sr = av1_convolve_2d_copy_sr_sse2;
|
||||||
|
if (flags & HAS_AVX2) av1_convolve_2d_copy_sr = av1_convolve_2d_copy_sr_avx2;
|
||||||
|
av1_convolve_2d_scale = av1_convolve_2d_scale_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_convolve_2d_scale = av1_convolve_2d_scale_sse4_1;
|
||||||
|
av1_convolve_2d_sr = av1_convolve_2d_sr_c;
|
||||||
|
if (flags & HAS_SSE2) av1_convolve_2d_sr = av1_convolve_2d_sr_sse2;
|
||||||
|
if (flags & HAS_AVX2) av1_convolve_2d_sr = av1_convolve_2d_sr_avx2;
|
||||||
|
av1_convolve_horiz_rs = av1_convolve_horiz_rs_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_convolve_horiz_rs = av1_convolve_horiz_rs_sse4_1;
|
||||||
|
av1_convolve_x_sr = av1_convolve_x_sr_c;
|
||||||
|
if (flags & HAS_SSE2) av1_convolve_x_sr = av1_convolve_x_sr_sse2;
|
||||||
|
if (flags & HAS_AVX2) av1_convolve_x_sr = av1_convolve_x_sr_avx2;
|
||||||
|
av1_convolve_y_sr = av1_convolve_y_sr_c;
|
||||||
|
if (flags & HAS_SSE2) av1_convolve_y_sr = av1_convolve_y_sr_sse2;
|
||||||
|
if (flags & HAS_AVX2) av1_convolve_y_sr = av1_convolve_y_sr_avx2;
|
||||||
|
av1_filter_intra_edge = av1_filter_intra_edge_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_filter_intra_edge = av1_filter_intra_edge_sse4_1;
|
||||||
|
av1_filter_intra_edge_high = av1_filter_intra_edge_high_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_filter_intra_edge_high = av1_filter_intra_edge_high_sse4_1;
|
||||||
|
av1_filter_intra_predictor = av1_filter_intra_predictor_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_filter_intra_predictor = av1_filter_intra_predictor_sse4_1;
|
||||||
|
av1_highbd_convolve_2d_copy_sr = av1_highbd_convolve_2d_copy_sr_c;
|
||||||
|
if (flags & HAS_SSE2) av1_highbd_convolve_2d_copy_sr = av1_highbd_convolve_2d_copy_sr_sse2;
|
||||||
|
if (flags & HAS_AVX2) av1_highbd_convolve_2d_copy_sr = av1_highbd_convolve_2d_copy_sr_avx2;
|
||||||
|
av1_highbd_convolve_2d_scale = av1_highbd_convolve_2d_scale_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_highbd_convolve_2d_scale = av1_highbd_convolve_2d_scale_sse4_1;
|
||||||
|
av1_highbd_convolve_2d_sr = av1_highbd_convolve_2d_sr_c;
|
||||||
|
if (flags & HAS_SSSE3) av1_highbd_convolve_2d_sr = av1_highbd_convolve_2d_sr_ssse3;
|
||||||
|
if (flags & HAS_AVX2) av1_highbd_convolve_2d_sr = av1_highbd_convolve_2d_sr_avx2;
|
||||||
|
av1_highbd_convolve_horiz_rs = av1_highbd_convolve_horiz_rs_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_highbd_convolve_horiz_rs = av1_highbd_convolve_horiz_rs_sse4_1;
|
||||||
|
av1_highbd_convolve_x_sr = av1_highbd_convolve_x_sr_c;
|
||||||
|
if (flags & HAS_SSSE3) av1_highbd_convolve_x_sr = av1_highbd_convolve_x_sr_ssse3;
|
||||||
|
if (flags & HAS_AVX2) av1_highbd_convolve_x_sr = av1_highbd_convolve_x_sr_avx2;
|
||||||
|
av1_highbd_convolve_y_sr = av1_highbd_convolve_y_sr_c;
|
||||||
|
if (flags & HAS_SSSE3) av1_highbd_convolve_y_sr = av1_highbd_convolve_y_sr_ssse3;
|
||||||
|
if (flags & HAS_AVX2) av1_highbd_convolve_y_sr = av1_highbd_convolve_y_sr_avx2;
|
||||||
|
av1_highbd_jnt_convolve_2d = av1_highbd_jnt_convolve_2d_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_highbd_jnt_convolve_2d = av1_highbd_jnt_convolve_2d_sse4_1;
|
||||||
|
if (flags & HAS_AVX2) av1_highbd_jnt_convolve_2d = av1_highbd_jnt_convolve_2d_avx2;
|
||||||
|
av1_highbd_jnt_convolve_2d_copy = av1_highbd_jnt_convolve_2d_copy_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_highbd_jnt_convolve_2d_copy = av1_highbd_jnt_convolve_2d_copy_sse4_1;
|
||||||
|
if (flags & HAS_AVX2) av1_highbd_jnt_convolve_2d_copy = av1_highbd_jnt_convolve_2d_copy_avx2;
|
||||||
|
av1_highbd_jnt_convolve_x = av1_highbd_jnt_convolve_x_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_highbd_jnt_convolve_x = av1_highbd_jnt_convolve_x_sse4_1;
|
||||||
|
if (flags & HAS_AVX2) av1_highbd_jnt_convolve_x = av1_highbd_jnt_convolve_x_avx2;
|
||||||
|
av1_highbd_jnt_convolve_y = av1_highbd_jnt_convolve_y_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_highbd_jnt_convolve_y = av1_highbd_jnt_convolve_y_sse4_1;
|
||||||
|
if (flags & HAS_AVX2) av1_highbd_jnt_convolve_y = av1_highbd_jnt_convolve_y_avx2;
|
||||||
|
av1_highbd_warp_affine = av1_highbd_warp_affine_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_highbd_warp_affine = av1_highbd_warp_affine_sse4_1;
|
||||||
|
av1_highbd_wiener_convolve_add_src = av1_highbd_wiener_convolve_add_src_c;
|
||||||
|
if (flags & HAS_SSSE3) av1_highbd_wiener_convolve_add_src = av1_highbd_wiener_convolve_add_src_ssse3;
|
||||||
|
if (flags & HAS_AVX2) av1_highbd_wiener_convolve_add_src = av1_highbd_wiener_convolve_add_src_avx2;
|
||||||
|
av1_inv_txfm2d_add_16x16 = av1_inv_txfm2d_add_16x16_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_inv_txfm2d_add_16x16 = av1_inv_txfm2d_add_16x16_sse4_1;
|
||||||
|
av1_inv_txfm2d_add_32x32 = av1_inv_txfm2d_add_32x32_c;
|
||||||
|
if (flags & HAS_AVX2) av1_inv_txfm2d_add_32x32 = av1_inv_txfm2d_add_32x32_avx2;
|
||||||
|
av1_inv_txfm2d_add_4x4 = av1_inv_txfm2d_add_4x4_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_inv_txfm2d_add_4x4 = av1_inv_txfm2d_add_4x4_sse4_1;
|
||||||
|
av1_inv_txfm2d_add_64x64 = av1_inv_txfm2d_add_64x64_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_inv_txfm2d_add_64x64 = av1_inv_txfm2d_add_64x64_sse4_1;
|
||||||
|
av1_inv_txfm2d_add_8x8 = av1_inv_txfm2d_add_8x8_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_inv_txfm2d_add_8x8 = av1_inv_txfm2d_add_8x8_sse4_1;
|
||||||
|
av1_inv_txfm_add = av1_inv_txfm_add_c;
|
||||||
|
if (flags & HAS_SSSE3) av1_inv_txfm_add = av1_inv_txfm_add_ssse3;
|
||||||
|
if (flags & HAS_AVX2) av1_inv_txfm_add = av1_inv_txfm_add_avx2;
|
||||||
|
av1_jnt_convolve_2d = av1_jnt_convolve_2d_c;
|
||||||
|
if (flags & HAS_SSSE3) av1_jnt_convolve_2d = av1_jnt_convolve_2d_ssse3;
|
||||||
|
if (flags & HAS_AVX2) av1_jnt_convolve_2d = av1_jnt_convolve_2d_avx2;
|
||||||
|
av1_jnt_convolve_2d_copy = av1_jnt_convolve_2d_copy_c;
|
||||||
|
if (flags & HAS_SSE2) av1_jnt_convolve_2d_copy = av1_jnt_convolve_2d_copy_sse2;
|
||||||
|
if (flags & HAS_AVX2) av1_jnt_convolve_2d_copy = av1_jnt_convolve_2d_copy_avx2;
|
||||||
|
av1_jnt_convolve_x = av1_jnt_convolve_x_c;
|
||||||
|
if (flags & HAS_SSE2) av1_jnt_convolve_x = av1_jnt_convolve_x_sse2;
|
||||||
|
if (flags & HAS_AVX2) av1_jnt_convolve_x = av1_jnt_convolve_x_avx2;
|
||||||
|
av1_jnt_convolve_y = av1_jnt_convolve_y_c;
|
||||||
|
if (flags & HAS_SSE2) av1_jnt_convolve_y = av1_jnt_convolve_y_sse2;
|
||||||
|
if (flags & HAS_AVX2) av1_jnt_convolve_y = av1_jnt_convolve_y_avx2;
|
||||||
|
av1_selfguided_restoration = av1_selfguided_restoration_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_selfguided_restoration = av1_selfguided_restoration_sse4_1;
|
||||||
|
if (flags & HAS_AVX2) av1_selfguided_restoration = av1_selfguided_restoration_avx2;
|
||||||
|
av1_upsample_intra_edge = av1_upsample_intra_edge_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_upsample_intra_edge = av1_upsample_intra_edge_sse4_1;
|
||||||
|
av1_upsample_intra_edge_high = av1_upsample_intra_edge_high_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_upsample_intra_edge_high = av1_upsample_intra_edge_high_sse4_1;
|
||||||
|
av1_warp_affine = av1_warp_affine_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_warp_affine = av1_warp_affine_sse4_1;
|
||||||
|
av1_wiener_convolve_add_src = av1_wiener_convolve_add_src_c;
|
||||||
|
if (flags & HAS_SSE2) av1_wiener_convolve_add_src = av1_wiener_convolve_add_src_sse2;
|
||||||
|
if (flags & HAS_AVX2) av1_wiener_convolve_add_src = av1_wiener_convolve_add_src_avx2;
|
||||||
|
cdef_filter_block = cdef_filter_block_c;
|
||||||
|
if (flags & HAS_SSE2) cdef_filter_block = cdef_filter_block_sse2;
|
||||||
|
if (flags & HAS_SSSE3) cdef_filter_block = cdef_filter_block_ssse3;
|
||||||
|
if (flags & HAS_SSE4_1) cdef_filter_block = cdef_filter_block_sse4_1;
|
||||||
|
if (flags & HAS_AVX2) cdef_filter_block = cdef_filter_block_avx2;
|
||||||
|
cdef_find_dir = cdef_find_dir_c;
|
||||||
|
if (flags & HAS_SSE2) cdef_find_dir = cdef_find_dir_sse2;
|
||||||
|
if (flags & HAS_SSSE3) cdef_find_dir = cdef_find_dir_ssse3;
|
||||||
|
if (flags & HAS_SSE4_1) cdef_find_dir = cdef_find_dir_sse4_1;
|
||||||
|
if (flags & HAS_AVX2) cdef_find_dir = cdef_find_dir_avx2;
|
||||||
|
cfl_get_luma_subsampling_420_hbd = cfl_get_luma_subsampling_420_hbd_c;
|
||||||
|
if (flags & HAS_SSSE3) cfl_get_luma_subsampling_420_hbd = cfl_get_luma_subsampling_420_hbd_ssse3;
|
||||||
|
if (flags & HAS_AVX2) cfl_get_luma_subsampling_420_hbd = cfl_get_luma_subsampling_420_hbd_avx2;
|
||||||
|
cfl_get_luma_subsampling_420_lbd = cfl_get_luma_subsampling_420_lbd_c;
|
||||||
|
if (flags & HAS_SSSE3) cfl_get_luma_subsampling_420_lbd = cfl_get_luma_subsampling_420_lbd_ssse3;
|
||||||
|
if (flags & HAS_AVX2) cfl_get_luma_subsampling_420_lbd = cfl_get_luma_subsampling_420_lbd_avx2;
|
||||||
|
cfl_get_luma_subsampling_422_hbd = cfl_get_luma_subsampling_422_hbd_c;
|
||||||
|
if (flags & HAS_SSSE3) cfl_get_luma_subsampling_422_hbd = cfl_get_luma_subsampling_422_hbd_ssse3;
|
||||||
|
if (flags & HAS_AVX2) cfl_get_luma_subsampling_422_hbd = cfl_get_luma_subsampling_422_hbd_avx2;
|
||||||
|
cfl_get_luma_subsampling_422_lbd = cfl_get_luma_subsampling_422_lbd_c;
|
||||||
|
if (flags & HAS_SSSE3) cfl_get_luma_subsampling_422_lbd = cfl_get_luma_subsampling_422_lbd_ssse3;
|
||||||
|
if (flags & HAS_AVX2) cfl_get_luma_subsampling_422_lbd = cfl_get_luma_subsampling_422_lbd_avx2;
|
||||||
|
cfl_get_luma_subsampling_444_hbd = cfl_get_luma_subsampling_444_hbd_c;
|
||||||
|
if (flags & HAS_SSSE3) cfl_get_luma_subsampling_444_hbd = cfl_get_luma_subsampling_444_hbd_ssse3;
|
||||||
|
if (flags & HAS_AVX2) cfl_get_luma_subsampling_444_hbd = cfl_get_luma_subsampling_444_hbd_avx2;
|
||||||
|
cfl_get_luma_subsampling_444_lbd = cfl_get_luma_subsampling_444_lbd_c;
|
||||||
|
if (flags & HAS_SSSE3) cfl_get_luma_subsampling_444_lbd = cfl_get_luma_subsampling_444_lbd_ssse3;
|
||||||
|
if (flags & HAS_AVX2) cfl_get_luma_subsampling_444_lbd = cfl_get_luma_subsampling_444_lbd_avx2;
|
||||||
|
copy_rect8_16bit_to_16bit = copy_rect8_16bit_to_16bit_c;
|
||||||
|
if (flags & HAS_SSE2) copy_rect8_16bit_to_16bit = copy_rect8_16bit_to_16bit_sse2;
|
||||||
|
if (flags & HAS_SSSE3) copy_rect8_16bit_to_16bit = copy_rect8_16bit_to_16bit_ssse3;
|
||||||
|
if (flags & HAS_SSE4_1) copy_rect8_16bit_to_16bit = copy_rect8_16bit_to_16bit_sse4_1;
|
||||||
|
if (flags & HAS_AVX2) copy_rect8_16bit_to_16bit = copy_rect8_16bit_to_16bit_avx2;
|
||||||
|
copy_rect8_8bit_to_16bit = copy_rect8_8bit_to_16bit_c;
|
||||||
|
if (flags & HAS_SSE2) copy_rect8_8bit_to_16bit = copy_rect8_8bit_to_16bit_sse2;
|
||||||
|
if (flags & HAS_SSSE3) copy_rect8_8bit_to_16bit = copy_rect8_8bit_to_16bit_ssse3;
|
||||||
|
if (flags & HAS_SSE4_1) copy_rect8_8bit_to_16bit = copy_rect8_8bit_to_16bit_sse4_1;
|
||||||
|
if (flags & HAS_AVX2) copy_rect8_8bit_to_16bit = copy_rect8_8bit_to_16bit_avx2;
|
||||||
|
get_predict_hbd_fn = get_predict_hbd_fn_c;
|
||||||
|
if (flags & HAS_SSSE3) get_predict_hbd_fn = get_predict_hbd_fn_ssse3;
|
||||||
|
if (flags & HAS_AVX2) get_predict_hbd_fn = get_predict_hbd_fn_avx2;
|
||||||
|
get_predict_lbd_fn = get_predict_lbd_fn_c;
|
||||||
|
if (flags & HAS_SSSE3) get_predict_lbd_fn = get_predict_lbd_fn_ssse3;
|
||||||
|
if (flags & HAS_AVX2) get_predict_lbd_fn = get_predict_lbd_fn_avx2;
|
||||||
|
get_subtract_average_fn = get_subtract_average_fn_c;
|
||||||
|
if (flags & HAS_SSE2) get_subtract_average_fn = get_subtract_average_fn_sse2;
|
||||||
|
if (flags & HAS_AVX2) get_subtract_average_fn = get_subtract_average_fn_avx2;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
} // extern "C"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
@ -1,176 +0,0 @@
|
||||||
ARCH_ARM equ 0
|
|
||||||
ARCH_MIPS equ 0
|
|
||||||
ARCH_X86 equ 1
|
|
||||||
ARCH_X86_64 equ 0
|
|
||||||
HAVE_NEON equ 0
|
|
||||||
HAVE_NEON_ASM equ 0
|
|
||||||
HAVE_MIPS32 equ 0
|
|
||||||
HAVE_DSPR2 equ 0
|
|
||||||
HAVE_MSA equ 0
|
|
||||||
HAVE_MIPS64 equ 0
|
|
||||||
HAVE_MMX equ 1
|
|
||||||
HAVE_SSE equ 1
|
|
||||||
HAVE_SSE2 equ 1
|
|
||||||
HAVE_SSE3 equ 1
|
|
||||||
HAVE_SSSE3 equ 1
|
|
||||||
HAVE_SSE4_1 equ 1
|
|
||||||
HAVE_AVX equ 1
|
|
||||||
HAVE_AVX2 equ 1
|
|
||||||
HAVE_AOM_PORTS equ 1
|
|
||||||
HAVE_FEXCEPT equ 1
|
|
||||||
HAVE_PTHREAD_H equ 1
|
|
||||||
HAVE_WXWIDGETS equ 0
|
|
||||||
CONFIG_DEPENDENCY_TRACKING equ 1
|
|
||||||
CONFIG_EXTERNAL_BUILD equ 1
|
|
||||||
CONFIG_INSTALL_DOCS equ 1
|
|
||||||
CONFIG_INSTALL_BINS equ 1
|
|
||||||
CONFIG_INSTALL_LIBS equ 1
|
|
||||||
CONFIG_INSTALL_SRCS equ 0
|
|
||||||
CONFIG_DEBUG equ 0
|
|
||||||
CONFIG_GPROF equ 0
|
|
||||||
CONFIG_GCOV equ 0
|
|
||||||
CONFIG_RVCT equ 0
|
|
||||||
CONFIG_GCC equ 1
|
|
||||||
CONFIG_MSVS equ 0
|
|
||||||
CONFIG_PIC equ 1
|
|
||||||
CONFIG_BIG_ENDIAN equ 0
|
|
||||||
CONFIG_CODEC_SRCS equ 0
|
|
||||||
CONFIG_DEBUG_LIBS equ 0
|
|
||||||
CONFIG_RUNTIME_CPU_DETECT equ 1
|
|
||||||
CONFIG_POSTPROC equ 1
|
|
||||||
CONFIG_MULTITHREAD equ 1
|
|
||||||
CONFIG_INTERNAL_STATS equ 0
|
|
||||||
CONFIG_AV1_ENCODER equ 1
|
|
||||||
CONFIG_AV1_DECODER equ 1
|
|
||||||
CONFIG_AV1 equ 1
|
|
||||||
CONFIG_STATIC_MSVCRT equ 0
|
|
||||||
CONFIG_SPATIAL_RESAMPLING equ 1
|
|
||||||
CONFIG_REALTIME_ONLY equ 0
|
|
||||||
CONFIG_SHARED equ 0
|
|
||||||
CONFIG_STATIC equ 1
|
|
||||||
CONFIG_SMALL equ 0
|
|
||||||
CONFIG_POSTPROC_VISUALIZER equ 0
|
|
||||||
CONFIG_OS_SUPPORT equ 1
|
|
||||||
CONFIG_UNIT_TESTS equ 0
|
|
||||||
CONFIG_WEBM_IO equ 1
|
|
||||||
CONFIG_LIBYUV equ 1
|
|
||||||
CONFIG_ACCOUNTING equ 0
|
|
||||||
CONFIG_INSPECTION equ 0
|
|
||||||
CONFIG_DECODE_PERF_TESTS equ 0
|
|
||||||
CONFIG_ENCODE_PERF_TESTS equ 0
|
|
||||||
CONFIG_BITSTREAM_DEBUG equ 0
|
|
||||||
CONFIG_SYMBOLRATE equ 0
|
|
||||||
CONFIG_COEFFICIENT_RANGE_CHECKING equ 0
|
|
||||||
CONFIG_LOWBITDEPTH equ 1
|
|
||||||
CONFIG_HIGHBITDEPTH equ 1
|
|
||||||
CONFIG_EXPERIMENTAL equ 0
|
|
||||||
CONFIG_SIZE_LIMIT equ 1
|
|
||||||
CONFIG_FP_MB_STATS equ 0
|
|
||||||
CONFIG_CDEF equ 1
|
|
||||||
CONFIG_CDEF_SINGLEPASS equ 1
|
|
||||||
CONFIG_VAR_TX equ 1
|
|
||||||
CONFIG_RECT_TX equ 1
|
|
||||||
CONFIG_RECT_TX_EXT equ 0
|
|
||||||
CONFIG_TPL_MV equ 0
|
|
||||||
CONFIG_DUAL_FILTER equ 1
|
|
||||||
CONFIG_CONVOLVE_ROUND equ 1
|
|
||||||
CONFIG_COMPOUND_ROUND equ 0
|
|
||||||
CONFIG_EXT_TX equ 1
|
|
||||||
CONFIG_TX64X64 equ 0
|
|
||||||
CONFIG_EXT_INTRA equ 1
|
|
||||||
CONFIG_INTRA_INTERP equ 0
|
|
||||||
CONFIG_FILTER_INTRA equ 0
|
|
||||||
CONFIG_INTRA_EDGE equ 1
|
|
||||||
CONFIG_INTRABC equ 0
|
|
||||||
CONFIG_INTERINTRA equ 1
|
|
||||||
CONFIG_WEDGE equ 1
|
|
||||||
CONFIG_COMPOUND_SEGMENT equ 1
|
|
||||||
CONFIG_EXT_REFS equ 1
|
|
||||||
CONFIG_GLOBAL_MOTION equ 1
|
|
||||||
CONFIG_NEW_QUANT equ 0
|
|
||||||
CONFIG_SUPERTX equ 0
|
|
||||||
CONFIG_ANS equ 0
|
|
||||||
CONFIG_LOOP_RESTORATION equ 1
|
|
||||||
CONFIG_STRIPED_LOOP_RESTORATION equ 0
|
|
||||||
CONFIG_EXT_PARTITION equ 0
|
|
||||||
CONFIG_EXT_PARTITION_TYPES equ 0
|
|
||||||
CONFIG_EXT_PARTITION_TYPES_AB equ 0
|
|
||||||
CONFIG_UNPOISON_PARTITION_CTX equ 0
|
|
||||||
CONFIG_EXT_TILE equ 0
|
|
||||||
CONFIG_MOTION_VAR equ 1
|
|
||||||
CONFIG_NCOBMC equ 0
|
|
||||||
CONFIG_WARPED_MOTION equ 1
|
|
||||||
CONFIG_Q_ADAPT_PROBS equ 0
|
|
||||||
CONFIG_INTER_STATS_ONLY equ 0
|
|
||||||
CONFIG_PALETTE_DELTA_ENCODING equ 0
|
|
||||||
CONFIG_RAWBITS equ 0
|
|
||||||
CONFIG_KF_CTX equ 0
|
|
||||||
CONFIG_PVQ equ 0
|
|
||||||
CONFIG_CFL equ 0
|
|
||||||
CONFIG_XIPHRC equ 0
|
|
||||||
CONFIG_DCT_ONLY equ 0
|
|
||||||
CONFIG_DAALA_TX equ 0
|
|
||||||
CONFIG_DAALA_DCT4 equ 0
|
|
||||||
CONFIG_DAALA_DCT8 equ 0
|
|
||||||
CONFIG_DAALA_DCT16 equ 0
|
|
||||||
CONFIG_DAALA_DCT32 equ 0
|
|
||||||
CONFIG_DAALA_DCT64 equ 0
|
|
||||||
CONFIG_CB4X4 equ 1
|
|
||||||
CONFIG_CHROMA_2X2 equ 0
|
|
||||||
CONFIG_CHROMA_SUB8X8 equ 1
|
|
||||||
CONFIG_FRAME_SIZE equ 0
|
|
||||||
CONFIG_EXT_DELTA_Q equ 1
|
|
||||||
CONFIG_ADAPT_SCAN equ 0
|
|
||||||
CONFIG_PARALLEL_DEBLOCKING equ 1
|
|
||||||
CONFIG_DEBLOCK_13TAP equ 0
|
|
||||||
CONFIG_LOOPFILTERING_ACROSS_TILES equ 1
|
|
||||||
CONFIG_TEMPMV_SIGNALING equ 1
|
|
||||||
CONFIG_RD_DEBUG equ 0
|
|
||||||
CONFIG_REFERENCE_BUFFER equ 1
|
|
||||||
CONFIG_COEF_INTERLEAVE equ 0
|
|
||||||
CONFIG_ENTROPY_STATS equ 0
|
|
||||||
CONFIG_MASKED_TX equ 0
|
|
||||||
CONFIG_DEPENDENT_HORZTILES equ 0
|
|
||||||
CONFIG_DIST_8X8 equ 1
|
|
||||||
CONFIG_PALETTE_THROUGHPUT equ 1
|
|
||||||
CONFIG_REF_ADAPT equ 0
|
|
||||||
CONFIG_LV_MAP equ 0
|
|
||||||
CONFIG_CTX1D equ 0
|
|
||||||
CONFIG_TXK_SEL equ 0
|
|
||||||
CONFIG_MV_COMPRESS equ 1
|
|
||||||
CONFIG_SEGMENT_ZEROMV equ 0
|
|
||||||
CONFIG_FRAME_SUPERRES equ 0
|
|
||||||
CONFIG_NEW_MULTISYMBOL equ 0
|
|
||||||
CONFIG_COMPOUND_SINGLEREF equ 0
|
|
||||||
CONFIG_AOM_QM equ 1
|
|
||||||
CONFIG_ONE_SIDED_COMPOUND equ 1
|
|
||||||
CONFIG_EXT_COMP_REFS equ 1
|
|
||||||
CONFIG_SMOOTH_HV equ 1
|
|
||||||
CONFIG_VAR_REFS equ 0
|
|
||||||
CONFIG_LGT equ 0
|
|
||||||
CONFIG_LGT_FROM_PRED equ 0
|
|
||||||
CONFIG_SBL_SYMBOL equ 0
|
|
||||||
CONFIG_NCOBMC_ADAPT_WEIGHT equ 0
|
|
||||||
CONFIG_BGSPRITE equ 0
|
|
||||||
CONFIG_VAR_TX_NO_TX_MODE equ 0
|
|
||||||
CONFIG_MRC_TX equ 0
|
|
||||||
CONFIG_LPF_DIRECT equ 0
|
|
||||||
CONFIG_LOOPFILTER_LEVEL equ 0
|
|
||||||
CONFIG_NO_FRAME_CONTEXT_SIGNALING equ 0
|
|
||||||
CONFIG_TXMG equ 1
|
|
||||||
CONFIG_MAX_TILE equ 0
|
|
||||||
CONFIG_HASH_ME equ 0
|
|
||||||
CONFIG_COLORSPACE_HEADERS equ 0
|
|
||||||
CONFIG_MFMV equ 0
|
|
||||||
CONFIG_FRAME_MARKER equ 0
|
|
||||||
CONFIG_JNT_COMP equ 0
|
|
||||||
CONFIG_FRAME_SIGN_BIAS equ 0
|
|
||||||
CONFIG_EXT_SKIP equ 0
|
|
||||||
CONFIG_OBU equ 0
|
|
||||||
CONFIG_AMVR equ 0
|
|
||||||
CONFIG_LPF_SB equ 0
|
|
||||||
CONFIG_OPT_REF_MV equ 0
|
|
||||||
CONFIG_TMV equ 0
|
|
||||||
CONFIG_RESTRICT_COMPRESSED_HDR equ 0
|
|
||||||
CONFIG_HORZONLY_FRAME_SUPERRES equ 0
|
|
||||||
CONFIG_ANALYZER equ 0
|
|
||||||
|
|
@ -1,11 +0,0 @@
|
||||||
/* Copyright (c) 2016, Alliance for Open Media. All rights reserved. */
|
|
||||||
/* */
|
|
||||||
/* This source code is subject to the terms of the BSD 2 Clause License and */
|
|
||||||
/* the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License */
|
|
||||||
/* was not distributed with this source code in the LICENSE file, you can */
|
|
||||||
/* obtain it at www.aomedia.org/license/software. If the Alliance for Open */
|
|
||||||
/* Media Patent License 1.0 was not distributed with this source code in the */
|
|
||||||
/* PATENTS file, you can obtain it at www.aomedia.org/license/patent. */
|
|
||||||
#include "aom/aom_codec.h"
|
|
||||||
static const char* const cfg = "--target=x86-win32-gcc --enable-external-build --disable-examples --disable-docs --disable-unit-tests --size-limit=8192x4608 --enable-pic --enable-postproc --as=yasm";
|
|
||||||
const char *aom_codec_build_config(void) {return cfg;}
|
|
||||||
|
|
@ -1,192 +0,0 @@
|
||||||
/* Copyright (c) 2016, Alliance for Open Media. All rights reserved. */
|
|
||||||
/* */
|
|
||||||
/* This source code is subject to the terms of the BSD 2 Clause License and */
|
|
||||||
/* the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License */
|
|
||||||
/* was not distributed with this source code in the LICENSE file, you can */
|
|
||||||
/* obtain it at www.aomedia.org/license/software. If the Alliance for Open */
|
|
||||||
/* Media Patent License 1.0 was not distributed with this source code in the */
|
|
||||||
/* PATENTS file, you can obtain it at www.aomedia.org/license/patent. */
|
|
||||||
/* This file automatically generated by configure. Do not edit! */
|
|
||||||
#ifndef AOM_CONFIG_H
|
|
||||||
#define AOM_CONFIG_H
|
|
||||||
#define RESTRICT
|
|
||||||
#define INLINE inline
|
|
||||||
#define ARCH_ARM 0
|
|
||||||
#define ARCH_MIPS 0
|
|
||||||
#define ARCH_X86 1
|
|
||||||
#define ARCH_X86_64 0
|
|
||||||
#define HAVE_NEON 0
|
|
||||||
#define HAVE_NEON_ASM 0
|
|
||||||
#define HAVE_MIPS32 0
|
|
||||||
#define HAVE_DSPR2 0
|
|
||||||
#define HAVE_MSA 0
|
|
||||||
#define HAVE_MIPS64 0
|
|
||||||
#define HAVE_MMX 1
|
|
||||||
#define HAVE_SSE 1
|
|
||||||
#define HAVE_SSE2 1
|
|
||||||
#define HAVE_SSE3 1
|
|
||||||
#define HAVE_SSSE3 1
|
|
||||||
#define HAVE_SSE4_1 1
|
|
||||||
#define HAVE_AVX 1
|
|
||||||
#define HAVE_AVX2 1
|
|
||||||
#define HAVE_AOM_PORTS 1
|
|
||||||
#define HAVE_FEXCEPT 1
|
|
||||||
#define HAVE_PTHREAD_H 1
|
|
||||||
#define HAVE_WXWIDGETS 0
|
|
||||||
#define CONFIG_DEPENDENCY_TRACKING 1
|
|
||||||
#define CONFIG_EXTERNAL_BUILD 1
|
|
||||||
#define CONFIG_INSTALL_DOCS 1
|
|
||||||
#define CONFIG_INSTALL_BINS 1
|
|
||||||
#define CONFIG_INSTALL_LIBS 1
|
|
||||||
#define CONFIG_INSTALL_SRCS 0
|
|
||||||
#define CONFIG_DEBUG 0
|
|
||||||
#define CONFIG_GPROF 0
|
|
||||||
#define CONFIG_GCOV 0
|
|
||||||
#define CONFIG_RVCT 0
|
|
||||||
#define CONFIG_GCC 1
|
|
||||||
#define CONFIG_MSVS 0
|
|
||||||
#define CONFIG_PIC 1
|
|
||||||
#define CONFIG_BIG_ENDIAN 0
|
|
||||||
#define CONFIG_CODEC_SRCS 0
|
|
||||||
#define CONFIG_DEBUG_LIBS 0
|
|
||||||
#define CONFIG_RUNTIME_CPU_DETECT 1
|
|
||||||
#define CONFIG_POSTPROC 1
|
|
||||||
#define CONFIG_MULTITHREAD 1
|
|
||||||
#define CONFIG_INTERNAL_STATS 0
|
|
||||||
#define CONFIG_AV1_ENCODER 1
|
|
||||||
#define CONFIG_AV1_DECODER 1
|
|
||||||
#define CONFIG_AV1 1
|
|
||||||
#define CONFIG_STATIC_MSVCRT 0
|
|
||||||
#define CONFIG_SPATIAL_RESAMPLING 1
|
|
||||||
#define CONFIG_REALTIME_ONLY 0
|
|
||||||
#define CONFIG_SHARED 0
|
|
||||||
#define CONFIG_STATIC 1
|
|
||||||
#define CONFIG_SMALL 0
|
|
||||||
#define CONFIG_POSTPROC_VISUALIZER 0
|
|
||||||
#define CONFIG_OS_SUPPORT 1
|
|
||||||
#define CONFIG_UNIT_TESTS 0
|
|
||||||
#define CONFIG_WEBM_IO 1
|
|
||||||
#define CONFIG_LIBYUV 1
|
|
||||||
#define CONFIG_ACCOUNTING 0
|
|
||||||
#define CONFIG_INSPECTION 0
|
|
||||||
#define CONFIG_DECODE_PERF_TESTS 0
|
|
||||||
#define CONFIG_ENCODE_PERF_TESTS 0
|
|
||||||
#define CONFIG_BITSTREAM_DEBUG 0
|
|
||||||
#define CONFIG_SYMBOLRATE 0
|
|
||||||
#define CONFIG_COEFFICIENT_RANGE_CHECKING 0
|
|
||||||
#define CONFIG_LOWBITDEPTH 1
|
|
||||||
#define CONFIG_HIGHBITDEPTH 1
|
|
||||||
#define CONFIG_EXPERIMENTAL 0
|
|
||||||
#define CONFIG_SIZE_LIMIT 1
|
|
||||||
#define CONFIG_FP_MB_STATS 0
|
|
||||||
#define CONFIG_CDEF 1
|
|
||||||
#define CONFIG_CDEF_SINGLEPASS 1
|
|
||||||
#define CONFIG_VAR_TX 1
|
|
||||||
#define CONFIG_RECT_TX 1
|
|
||||||
#define CONFIG_RECT_TX_EXT 0
|
|
||||||
#define CONFIG_TPL_MV 0
|
|
||||||
#define CONFIG_DUAL_FILTER 1
|
|
||||||
#define CONFIG_CONVOLVE_ROUND 1
|
|
||||||
#define CONFIG_COMPOUND_ROUND 0
|
|
||||||
#define CONFIG_EXT_TX 1
|
|
||||||
#define CONFIG_TX64X64 0
|
|
||||||
#define CONFIG_EXT_INTRA 1
|
|
||||||
#define CONFIG_INTRA_INTERP 0
|
|
||||||
#define CONFIG_FILTER_INTRA 0
|
|
||||||
#define CONFIG_INTRA_EDGE 1
|
|
||||||
#define CONFIG_INTRABC 0
|
|
||||||
#define CONFIG_INTERINTRA 1
|
|
||||||
#define CONFIG_WEDGE 1
|
|
||||||
#define CONFIG_COMPOUND_SEGMENT 1
|
|
||||||
#define CONFIG_EXT_REFS 1
|
|
||||||
#define CONFIG_GLOBAL_MOTION 1
|
|
||||||
#define CONFIG_NEW_QUANT 0
|
|
||||||
#define CONFIG_SUPERTX 0
|
|
||||||
#define CONFIG_ANS 0
|
|
||||||
#define CONFIG_LOOP_RESTORATION 1
|
|
||||||
#define CONFIG_STRIPED_LOOP_RESTORATION 0
|
|
||||||
#define CONFIG_EXT_PARTITION 0
|
|
||||||
#define CONFIG_EXT_PARTITION_TYPES 0
|
|
||||||
#define CONFIG_EXT_PARTITION_TYPES_AB 0
|
|
||||||
#define CONFIG_UNPOISON_PARTITION_CTX 0
|
|
||||||
#define CONFIG_EXT_TILE 0
|
|
||||||
#define CONFIG_MOTION_VAR 1
|
|
||||||
#define CONFIG_NCOBMC 0
|
|
||||||
#define CONFIG_WARPED_MOTION 1
|
|
||||||
#define CONFIG_Q_ADAPT_PROBS 0
|
|
||||||
#define CONFIG_INTER_STATS_ONLY 0
|
|
||||||
#define CONFIG_PALETTE_DELTA_ENCODING 0
|
|
||||||
#define CONFIG_RAWBITS 0
|
|
||||||
#define CONFIG_KF_CTX 0
|
|
||||||
#define CONFIG_PVQ 0
|
|
||||||
#define CONFIG_CFL 0
|
|
||||||
#define CONFIG_XIPHRC 0
|
|
||||||
#define CONFIG_DCT_ONLY 0
|
|
||||||
#define CONFIG_DAALA_TX 0
|
|
||||||
#define CONFIG_DAALA_DCT4 0
|
|
||||||
#define CONFIG_DAALA_DCT8 0
|
|
||||||
#define CONFIG_DAALA_DCT16 0
|
|
||||||
#define CONFIG_DAALA_DCT32 0
|
|
||||||
#define CONFIG_DAALA_DCT64 0
|
|
||||||
#define CONFIG_CB4X4 1
|
|
||||||
#define CONFIG_CHROMA_2X2 0
|
|
||||||
#define CONFIG_CHROMA_SUB8X8 1
|
|
||||||
#define CONFIG_FRAME_SIZE 0
|
|
||||||
#define CONFIG_EXT_DELTA_Q 1
|
|
||||||
#define CONFIG_ADAPT_SCAN 0
|
|
||||||
#define CONFIG_PARALLEL_DEBLOCKING 1
|
|
||||||
#define CONFIG_DEBLOCK_13TAP 0
|
|
||||||
#define CONFIG_LOOPFILTERING_ACROSS_TILES 1
|
|
||||||
#define CONFIG_TEMPMV_SIGNALING 1
|
|
||||||
#define CONFIG_RD_DEBUG 0
|
|
||||||
#define CONFIG_REFERENCE_BUFFER 1
|
|
||||||
#define CONFIG_COEF_INTERLEAVE 0
|
|
||||||
#define CONFIG_ENTROPY_STATS 0
|
|
||||||
#define CONFIG_MASKED_TX 0
|
|
||||||
#define CONFIG_DEPENDENT_HORZTILES 0
|
|
||||||
#define CONFIG_DIST_8X8 1
|
|
||||||
#define CONFIG_PALETTE_THROUGHPUT 1
|
|
||||||
#define CONFIG_REF_ADAPT 0
|
|
||||||
#define CONFIG_LV_MAP 0
|
|
||||||
#define CONFIG_CTX1D 0
|
|
||||||
#define CONFIG_TXK_SEL 0
|
|
||||||
#define CONFIG_MV_COMPRESS 1
|
|
||||||
#define CONFIG_SEGMENT_ZEROMV 0
|
|
||||||
#define CONFIG_FRAME_SUPERRES 0
|
|
||||||
#define CONFIG_NEW_MULTISYMBOL 0
|
|
||||||
#define CONFIG_COMPOUND_SINGLEREF 0
|
|
||||||
#define CONFIG_AOM_QM 1
|
|
||||||
#define CONFIG_ONE_SIDED_COMPOUND 1
|
|
||||||
#define CONFIG_EXT_COMP_REFS 1
|
|
||||||
#define CONFIG_SMOOTH_HV 1
|
|
||||||
#define CONFIG_VAR_REFS 0
|
|
||||||
#define CONFIG_LGT 0
|
|
||||||
#define CONFIG_LGT_FROM_PRED 0
|
|
||||||
#define CONFIG_SBL_SYMBOL 0
|
|
||||||
#define CONFIG_NCOBMC_ADAPT_WEIGHT 0
|
|
||||||
#define CONFIG_BGSPRITE 0
|
|
||||||
#define CONFIG_VAR_TX_NO_TX_MODE 0
|
|
||||||
#define CONFIG_MRC_TX 0
|
|
||||||
#define CONFIG_LPF_DIRECT 0
|
|
||||||
#define CONFIG_LOOPFILTER_LEVEL 0
|
|
||||||
#define CONFIG_NO_FRAME_CONTEXT_SIGNALING 0
|
|
||||||
#define CONFIG_TXMG 1
|
|
||||||
#define CONFIG_MAX_TILE 0
|
|
||||||
#define CONFIG_HASH_ME 0
|
|
||||||
#define CONFIG_COLORSPACE_HEADERS 0
|
|
||||||
#define CONFIG_MFMV 0
|
|
||||||
#define CONFIG_FRAME_MARKER 0
|
|
||||||
#define CONFIG_JNT_COMP 0
|
|
||||||
#define CONFIG_FRAME_SIGN_BIAS 0
|
|
||||||
#define CONFIG_EXT_SKIP 0
|
|
||||||
#define CONFIG_OBU 0
|
|
||||||
#define CONFIG_AMVR 0
|
|
||||||
#define CONFIG_LPF_SB 0
|
|
||||||
#define CONFIG_OPT_REF_MV 0
|
|
||||||
#define CONFIG_TMV 0
|
|
||||||
#define CONFIG_RESTRICT_COMPRESSED_HDR 0
|
|
||||||
#define CONFIG_HORZONLY_FRAME_SUPERRES 0
|
|
||||||
#define CONFIG_ANALYZER 0
|
|
||||||
#define DECODE_WIDTH_LIMIT 8192
|
|
||||||
#define DECODE_HEIGHT_LIMIT 4608
|
|
||||||
#endif /* AOM_CONFIG_H */
|
|
||||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,78 +0,0 @@
|
||||||
#ifndef AOM_SCALE_RTCD_H_
|
|
||||||
#define AOM_SCALE_RTCD_H_
|
|
||||||
|
|
||||||
#ifdef RTCD_C
|
|
||||||
#define RTCD_EXTERN
|
|
||||||
#else
|
|
||||||
#define RTCD_EXTERN extern
|
|
||||||
#endif
|
|
||||||
|
|
||||||
struct yv12_buffer_config;
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
void aom_extend_frame_borders_c(struct yv12_buffer_config *ybf);
|
|
||||||
#define aom_extend_frame_borders aom_extend_frame_borders_c
|
|
||||||
|
|
||||||
void aom_extend_frame_borders_y_c(struct yv12_buffer_config *ybf);
|
|
||||||
#define aom_extend_frame_borders_y aom_extend_frame_borders_y_c
|
|
||||||
|
|
||||||
void aom_extend_frame_inner_borders_c(struct yv12_buffer_config *ybf);
|
|
||||||
#define aom_extend_frame_inner_borders aom_extend_frame_inner_borders_c
|
|
||||||
|
|
||||||
void aom_horizontal_line_2_1_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
|
|
||||||
#define aom_horizontal_line_2_1_scale aom_horizontal_line_2_1_scale_c
|
|
||||||
|
|
||||||
void aom_horizontal_line_5_3_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
|
|
||||||
#define aom_horizontal_line_5_3_scale aom_horizontal_line_5_3_scale_c
|
|
||||||
|
|
||||||
void aom_horizontal_line_5_4_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
|
|
||||||
#define aom_horizontal_line_5_4_scale aom_horizontal_line_5_4_scale_c
|
|
||||||
|
|
||||||
void aom_vertical_band_2_1_scale_c(unsigned char *source, int src_pitch, unsigned char *dest, int dest_pitch, unsigned int dest_width);
|
|
||||||
#define aom_vertical_band_2_1_scale aom_vertical_band_2_1_scale_c
|
|
||||||
|
|
||||||
void aom_vertical_band_2_1_scale_i_c(unsigned char *source, int src_pitch, unsigned char *dest, int dest_pitch, unsigned int dest_width);
|
|
||||||
#define aom_vertical_band_2_1_scale_i aom_vertical_band_2_1_scale_i_c
|
|
||||||
|
|
||||||
void aom_vertical_band_5_3_scale_c(unsigned char *source, int src_pitch, unsigned char *dest, int dest_pitch, unsigned int dest_width);
|
|
||||||
#define aom_vertical_band_5_3_scale aom_vertical_band_5_3_scale_c
|
|
||||||
|
|
||||||
void aom_vertical_band_5_4_scale_c(unsigned char *source, int src_pitch, unsigned char *dest, int dest_pitch, unsigned int dest_width);
|
|
||||||
#define aom_vertical_band_5_4_scale aom_vertical_band_5_4_scale_c
|
|
||||||
|
|
||||||
void aom_yv12_copy_frame_c(const struct yv12_buffer_config *src_bc, struct yv12_buffer_config *dst_bc);
|
|
||||||
#define aom_yv12_copy_frame aom_yv12_copy_frame_c
|
|
||||||
|
|
||||||
void aom_yv12_copy_u_c(const struct yv12_buffer_config *src_bc, struct yv12_buffer_config *dst_bc);
|
|
||||||
#define aom_yv12_copy_u aom_yv12_copy_u_c
|
|
||||||
|
|
||||||
void aom_yv12_copy_v_c(const struct yv12_buffer_config *src_bc, struct yv12_buffer_config *dst_bc);
|
|
||||||
#define aom_yv12_copy_v aom_yv12_copy_v_c
|
|
||||||
|
|
||||||
void aom_yv12_copy_y_c(const struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc);
|
|
||||||
#define aom_yv12_copy_y aom_yv12_copy_y_c
|
|
||||||
|
|
||||||
void aom_yv12_extend_frame_borders_c(struct yv12_buffer_config *ybf);
|
|
||||||
#define aom_yv12_extend_frame_borders aom_yv12_extend_frame_borders_c
|
|
||||||
|
|
||||||
void aom_scale_rtcd(void);
|
|
||||||
|
|
||||||
#ifdef RTCD_C
|
|
||||||
#include "aom_ports/x86.h"
|
|
||||||
static void setup_rtcd_internal(void)
|
|
||||||
{
|
|
||||||
int flags = x86_simd_caps();
|
|
||||||
|
|
||||||
(void)flags;
|
|
||||||
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
} // extern "C"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
@ -1,637 +0,0 @@
|
||||||
#ifndef AOM_RTCD_H_
|
|
||||||
#define AOM_RTCD_H_
|
|
||||||
|
|
||||||
#ifdef RTCD_C
|
|
||||||
#define RTCD_EXTERN
|
|
||||||
#else
|
|
||||||
#define RTCD_EXTERN extern
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*
|
|
||||||
* AV1
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include "aom/aom_integer.h"
|
|
||||||
#include "aom_dsp/txfm_common.h"
|
|
||||||
#include "av1/common/common.h"
|
|
||||||
#include "av1/common/enums.h"
|
|
||||||
#include "av1/common/quant_common.h"
|
|
||||||
#include "av1/common/filter.h"
|
|
||||||
#include "av1/common/convolve.h"
|
|
||||||
#include "av1/common/av1_txfm.h"
|
|
||||||
#include "av1/common/odintrin.h"
|
|
||||||
|
|
||||||
struct macroblockd;
|
|
||||||
|
|
||||||
/* Encoder forward decls */
|
|
||||||
struct macroblock;
|
|
||||||
struct txfm_param;
|
|
||||||
struct aom_variance_vtable;
|
|
||||||
struct search_site_config;
|
|
||||||
struct mv;
|
|
||||||
union int_mv;
|
|
||||||
struct yv12_buffer_config;
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
void apply_selfguided_restoration_c(uint8_t *dat, int width, int height, int stride, int eps, int *xqd, uint8_t *dst, int dst_stride, int32_t *tmpbuf);
|
|
||||||
void apply_selfguided_restoration_sse4_1(uint8_t *dat, int width, int height, int stride, int eps, int *xqd, uint8_t *dst, int dst_stride, int32_t *tmpbuf);
|
|
||||||
RTCD_EXTERN void (*apply_selfguided_restoration)(uint8_t *dat, int width, int height, int stride, int eps, int *xqd, uint8_t *dst, int dst_stride, int32_t *tmpbuf);
|
|
||||||
|
|
||||||
void apply_selfguided_restoration_highbd_c(uint16_t *dat, int width, int height, int stride, int bit_depth, int eps, int *xqd, uint16_t *dst, int dst_stride, int32_t *tmpbuf);
|
|
||||||
void apply_selfguided_restoration_highbd_sse4_1(uint16_t *dat, int width, int height, int stride, int bit_depth, int eps, int *xqd, uint16_t *dst, int dst_stride, int32_t *tmpbuf);
|
|
||||||
RTCD_EXTERN void (*apply_selfguided_restoration_highbd)(uint16_t *dat, int width, int height, int stride, int bit_depth, int eps, int *xqd, uint16_t *dst, int dst_stride, int32_t *tmpbuf);
|
|
||||||
|
|
||||||
int64_t av1_block_error_c(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block_size, int64_t *ssz);
|
|
||||||
int64_t av1_block_error_avx2(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block_size, int64_t *ssz);
|
|
||||||
RTCD_EXTERN int64_t (*av1_block_error)(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block_size, int64_t *ssz);
|
|
||||||
|
|
||||||
void av1_convolve_2d_c(const uint8_t *src, int src_stride, CONV_BUF_TYPE *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
|
||||||
void av1_convolve_2d_sse2(const uint8_t *src, int src_stride, CONV_BUF_TYPE *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
|
||||||
RTCD_EXTERN void (*av1_convolve_2d)(const uint8_t *src, int src_stride, CONV_BUF_TYPE *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
|
||||||
|
|
||||||
void av1_convolve_2d_scale_c(const uint8_t *src, int src_stride, CONV_BUF_TYPE *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_qn, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params);
|
|
||||||
void av1_convolve_2d_scale_sse4_1(const uint8_t *src, int src_stride, CONV_BUF_TYPE *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_qn, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params);
|
|
||||||
RTCD_EXTERN void (*av1_convolve_2d_scale)(const uint8_t *src, int src_stride, CONV_BUF_TYPE *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_qn, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params);
|
|
||||||
|
|
||||||
void av1_convolve_horiz_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, ConvolveParams *conv_params);
|
|
||||||
void av1_convolve_horiz_ssse3(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, ConvolveParams *conv_params);
|
|
||||||
RTCD_EXTERN void (*av1_convolve_horiz)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, ConvolveParams *conv_params);
|
|
||||||
|
|
||||||
void av1_convolve_rounding_c(const int32_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, int bits);
|
|
||||||
void av1_convolve_rounding_avx2(const int32_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, int bits);
|
|
||||||
RTCD_EXTERN void (*av1_convolve_rounding)(const int32_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, int bits);
|
|
||||||
|
|
||||||
void av1_convolve_vert_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, ConvolveParams *conv_params);
|
|
||||||
void av1_convolve_vert_ssse3(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, ConvolveParams *conv_params);
|
|
||||||
RTCD_EXTERN void (*av1_convolve_vert)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, ConvolveParams *conv_params);
|
|
||||||
|
|
||||||
int av1_diamond_search_sad_c(struct macroblock *x, const struct search_site_config *cfg, struct mv *ref_mv, struct mv *best_mv, int search_param, int sad_per_bit, int *num00, const struct aom_variance_vtable *fn_ptr, const struct mv *center_mv);
|
|
||||||
#define av1_diamond_search_sad av1_diamond_search_sad_c
|
|
||||||
|
|
||||||
void av1_fht16x16_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
void av1_fht16x16_sse2(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
void av1_fht16x16_avx2(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
RTCD_EXTERN void (*av1_fht16x16)(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
|
|
||||||
void av1_fht16x32_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
void av1_fht16x32_sse2(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
RTCD_EXTERN void (*av1_fht16x32)(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
|
|
||||||
void av1_fht16x4_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
#define av1_fht16x4 av1_fht16x4_c
|
|
||||||
|
|
||||||
void av1_fht16x8_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
void av1_fht16x8_sse2(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
RTCD_EXTERN void (*av1_fht16x8)(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
|
|
||||||
void av1_fht32x16_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
void av1_fht32x16_sse2(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
RTCD_EXTERN void (*av1_fht32x16)(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
|
|
||||||
void av1_fht32x32_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
void av1_fht32x32_sse2(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
void av1_fht32x32_avx2(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
RTCD_EXTERN void (*av1_fht32x32)(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
|
|
||||||
void av1_fht32x8_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
#define av1_fht32x8 av1_fht32x8_c
|
|
||||||
|
|
||||||
void av1_fht4x16_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
#define av1_fht4x16 av1_fht4x16_c
|
|
||||||
|
|
||||||
void av1_fht4x4_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
void av1_fht4x4_sse2(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
RTCD_EXTERN void (*av1_fht4x4)(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
|
|
||||||
void av1_fht4x8_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
void av1_fht4x8_sse2(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
RTCD_EXTERN void (*av1_fht4x8)(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
|
|
||||||
void av1_fht8x16_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
void av1_fht8x16_sse2(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
RTCD_EXTERN void (*av1_fht8x16)(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
|
|
||||||
void av1_fht8x32_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
#define av1_fht8x32 av1_fht8x32_c
|
|
||||||
|
|
||||||
void av1_fht8x4_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
void av1_fht8x4_sse2(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
RTCD_EXTERN void (*av1_fht8x4)(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
|
|
||||||
void av1_fht8x8_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
void av1_fht8x8_sse2(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
RTCD_EXTERN void (*av1_fht8x8)(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
|
|
||||||
void av1_filter_intra_edge_c(uint8_t *p, int sz, int strength);
|
|
||||||
void av1_filter_intra_edge_sse4_1(uint8_t *p, int sz, int strength);
|
|
||||||
RTCD_EXTERN void (*av1_filter_intra_edge)(uint8_t *p, int sz, int strength);
|
|
||||||
|
|
||||||
void av1_filter_intra_edge_high_c(uint16_t *p, int sz, int strength);
|
|
||||||
void av1_filter_intra_edge_high_sse4_1(uint16_t *p, int sz, int strength);
|
|
||||||
RTCD_EXTERN void (*av1_filter_intra_edge_high)(uint16_t *p, int sz, int strength);
|
|
||||||
|
|
||||||
int av1_full_range_search_c(const struct macroblock *x, const struct search_site_config *cfg, struct mv *ref_mv, struct mv *best_mv, int search_param, int sad_per_bit, int *num00, const struct aom_variance_vtable *fn_ptr, const struct mv *center_mv);
|
|
||||||
#define av1_full_range_search av1_full_range_search_c
|
|
||||||
|
|
||||||
int av1_full_search_sad_c(const struct macroblock *x, const struct mv *ref_mv, int sad_per_bit, int distance, const struct aom_variance_vtable *fn_ptr, const struct mv *center_mv, struct mv *best_mv);
|
|
||||||
int av1_full_search_sadx3(const struct macroblock *x, const struct mv *ref_mv, int sad_per_bit, int distance, const struct aom_variance_vtable *fn_ptr, const struct mv *center_mv, struct mv *best_mv);
|
|
||||||
int av1_full_search_sadx8(const struct macroblock *x, const struct mv *ref_mv, int sad_per_bit, int distance, const struct aom_variance_vtable *fn_ptr, const struct mv *center_mv, struct mv *best_mv);
|
|
||||||
RTCD_EXTERN int (*av1_full_search_sad)(const struct macroblock *x, const struct mv *ref_mv, int sad_per_bit, int distance, const struct aom_variance_vtable *fn_ptr, const struct mv *center_mv, struct mv *best_mv);
|
|
||||||
|
|
||||||
void av1_fwd_idtx_c(const int16_t *src_diff, tran_low_t *coeff, int stride, int bsx, int bsy, TX_TYPE tx_type);
|
|
||||||
#define av1_fwd_idtx av1_fwd_idtx_c
|
|
||||||
|
|
||||||
void av1_fwd_txfm2d_16x16_c(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
void av1_fwd_txfm2d_16x16_sse4_1(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_fwd_txfm2d_16x16)(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
|
|
||||||
void av1_fwd_txfm2d_16x32_c(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_fwd_txfm2d_16x32 av1_fwd_txfm2d_16x32_c
|
|
||||||
|
|
||||||
void av1_fwd_txfm2d_16x8_c(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_fwd_txfm2d_16x8 av1_fwd_txfm2d_16x8_c
|
|
||||||
|
|
||||||
void av1_fwd_txfm2d_32x16_c(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_fwd_txfm2d_32x16 av1_fwd_txfm2d_32x16_c
|
|
||||||
|
|
||||||
void av1_fwd_txfm2d_32x32_c(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
void av1_fwd_txfm2d_32x32_sse4_1(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_fwd_txfm2d_32x32)(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
|
|
||||||
void av1_fwd_txfm2d_4x4_c(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
void av1_fwd_txfm2d_4x4_sse4_1(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_fwd_txfm2d_4x4)(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
|
|
||||||
void av1_fwd_txfm2d_4x8_c(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_fwd_txfm2d_4x8 av1_fwd_txfm2d_4x8_c
|
|
||||||
|
|
||||||
void av1_fwd_txfm2d_8x16_c(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_fwd_txfm2d_8x16 av1_fwd_txfm2d_8x16_c
|
|
||||||
|
|
||||||
void av1_fwd_txfm2d_8x4_c(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_fwd_txfm2d_8x4 av1_fwd_txfm2d_8x4_c
|
|
||||||
|
|
||||||
void av1_fwd_txfm2d_8x8_c(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
void av1_fwd_txfm2d_8x8_sse4_1(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_fwd_txfm2d_8x8)(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
|
|
||||||
void av1_fwht4x4_c(const int16_t *input, tran_low_t *output, int stride);
|
|
||||||
#define av1_fwht4x4 av1_fwht4x4_c
|
|
||||||
|
|
||||||
int64_t av1_highbd_block_error_c(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block_size, int64_t *ssz, int bd);
|
|
||||||
int64_t av1_highbd_block_error_sse2(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block_size, int64_t *ssz, int bd);
|
|
||||||
RTCD_EXTERN int64_t (*av1_highbd_block_error)(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block_size, int64_t *ssz, int bd);
|
|
||||||
|
|
||||||
void av1_highbd_convolve8_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
#define av1_highbd_convolve8 av1_highbd_convolve8_c
|
|
||||||
|
|
||||||
void av1_highbd_convolve8_avg_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
#define av1_highbd_convolve8_avg av1_highbd_convolve8_avg_c
|
|
||||||
|
|
||||||
void av1_highbd_convolve8_avg_horiz_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
#define av1_highbd_convolve8_avg_horiz av1_highbd_convolve8_avg_horiz_c
|
|
||||||
|
|
||||||
void av1_highbd_convolve8_avg_vert_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
#define av1_highbd_convolve8_avg_vert av1_highbd_convolve8_avg_vert_c
|
|
||||||
|
|
||||||
void av1_highbd_convolve8_horiz_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
#define av1_highbd_convolve8_horiz av1_highbd_convolve8_horiz_c
|
|
||||||
|
|
||||||
void av1_highbd_convolve8_vert_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
#define av1_highbd_convolve8_vert av1_highbd_convolve8_vert_c
|
|
||||||
|
|
||||||
void av1_highbd_convolve_2d_c(const uint16_t *src, int src_stride, CONV_BUF_TYPE *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
|
||||||
void av1_highbd_convolve_2d_ssse3(const uint16_t *src, int src_stride, CONV_BUF_TYPE *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_highbd_convolve_2d)(const uint16_t *src, int src_stride, CONV_BUF_TYPE *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
|
||||||
|
|
||||||
void av1_highbd_convolve_2d_scale_c(const uint16_t *src, int src_stride, CONV_BUF_TYPE *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params, int bd);
|
|
||||||
void av1_highbd_convolve_2d_scale_sse4_1(const uint16_t *src, int src_stride, CONV_BUF_TYPE *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_highbd_convolve_2d_scale)(const uint16_t *src, int src_stride, CONV_BUF_TYPE *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params, int bd);
|
|
||||||
|
|
||||||
void av1_highbd_convolve_avg_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
#define av1_highbd_convolve_avg av1_highbd_convolve_avg_c
|
|
||||||
|
|
||||||
void av1_highbd_convolve_copy_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
#define av1_highbd_convolve_copy av1_highbd_convolve_copy_c
|
|
||||||
|
|
||||||
void av1_highbd_convolve_horiz_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, int avg, int bd);
|
|
||||||
void av1_highbd_convolve_horiz_sse4_1(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, int avg, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_highbd_convolve_horiz)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, int avg, int bd);
|
|
||||||
|
|
||||||
void av1_highbd_convolve_init_c(void);
|
|
||||||
void av1_highbd_convolve_init_sse4_1(void);
|
|
||||||
RTCD_EXTERN void (*av1_highbd_convolve_init)(void);
|
|
||||||
|
|
||||||
void av1_highbd_convolve_rounding_c(const int32_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, int bits, int bd);
|
|
||||||
void av1_highbd_convolve_rounding_avx2(const int32_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, int bits, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_highbd_convolve_rounding)(const int32_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, int bits, int bd);
|
|
||||||
|
|
||||||
void av1_highbd_convolve_vert_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, int avg, int bd);
|
|
||||||
void av1_highbd_convolve_vert_sse4_1(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, int avg, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_highbd_convolve_vert)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, int avg, int bd);
|
|
||||||
|
|
||||||
void av1_highbd_fwht4x4_c(const int16_t *input, tran_low_t *output, int stride);
|
|
||||||
#define av1_highbd_fwht4x4 av1_highbd_fwht4x4_c
|
|
||||||
|
|
||||||
void av1_highbd_iht16x16_256_add_c(const tran_low_t *input, uint8_t *output, int pitch, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht16x16_256_add av1_highbd_iht16x16_256_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht16x32_512_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht16x32_512_add av1_highbd_iht16x32_512_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht16x4_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht16x4_64_add av1_highbd_iht16x4_64_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht16x8_128_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht16x8_128_add av1_highbd_iht16x8_128_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht32x16_512_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht32x16_512_add av1_highbd_iht32x16_512_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht32x8_256_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht32x8_256_add av1_highbd_iht32x8_256_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht4x16_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht4x16_64_add av1_highbd_iht4x16_64_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht4x4_16_add av1_highbd_iht4x4_16_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht4x8_32_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht4x8_32_add av1_highbd_iht4x8_32_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht8x16_128_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht8x16_128_add av1_highbd_iht8x16_128_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht8x32_256_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht8x32_256_add av1_highbd_iht8x32_256_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht8x4_32_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht8x4_32_add av1_highbd_iht8x4_32_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht8x8_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht8x8_64_add av1_highbd_iht8x8_64_add_c
|
|
||||||
|
|
||||||
void av1_highbd_quantize_fp_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan, int log_scale);
|
|
||||||
void av1_highbd_quantize_fp_sse4_1(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan, int log_scale);
|
|
||||||
void av1_highbd_quantize_fp_avx2(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan, int log_scale);
|
|
||||||
RTCD_EXTERN void (*av1_highbd_quantize_fp)(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan, int log_scale);
|
|
||||||
|
|
||||||
void av1_highbd_temporal_filter_apply_c(uint8_t *frame1, unsigned int stride, uint8_t *frame2, unsigned int block_width, unsigned int block_height, int strength, int filter_weight, unsigned int *accumulator, uint16_t *count);
|
|
||||||
#define av1_highbd_temporal_filter_apply av1_highbd_temporal_filter_apply_c
|
|
||||||
|
|
||||||
void av1_highbd_warp_affine_c(const int32_t *mat, const uint16_t *ref, int width, int height, int stride, uint16_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, int bd, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
|
||||||
void av1_highbd_warp_affine_ssse3(const int32_t *mat, const uint16_t *ref, int width, int height, int stride, uint16_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, int bd, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
|
||||||
RTCD_EXTERN void (*av1_highbd_warp_affine)(const int32_t *mat, const uint16_t *ref, int width, int height, int stride, uint16_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, int bd, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
|
||||||
|
|
||||||
void av1_highpass_filter_c(uint8_t *dgd, int width, int height, int stride, int32_t *dst, int dst_stride, int r, int eps);
|
|
||||||
void av1_highpass_filter_sse4_1(uint8_t *dgd, int width, int height, int stride, int32_t *dst, int dst_stride, int r, int eps);
|
|
||||||
RTCD_EXTERN void (*av1_highpass_filter)(uint8_t *dgd, int width, int height, int stride, int32_t *dst, int dst_stride, int r, int eps);
|
|
||||||
|
|
||||||
void av1_highpass_filter_highbd_c(uint16_t *dgd, int width, int height, int stride, int32_t *dst, int dst_stride, int r, int eps);
|
|
||||||
void av1_highpass_filter_highbd_sse4_1(uint16_t *dgd, int width, int height, int stride, int32_t *dst, int dst_stride, int r, int eps);
|
|
||||||
RTCD_EXTERN void (*av1_highpass_filter_highbd)(uint16_t *dgd, int width, int height, int stride, int32_t *dst, int dst_stride, int r, int eps);
|
|
||||||
|
|
||||||
void av1_iht16x16_256_add_c(const tran_low_t *input, uint8_t *output, int pitch, const struct txfm_param *param);
|
|
||||||
void av1_iht16x16_256_add_sse2(const tran_low_t *input, uint8_t *output, int pitch, const struct txfm_param *param);
|
|
||||||
void av1_iht16x16_256_add_avx2(const tran_low_t *input, uint8_t *output, int pitch, const struct txfm_param *param);
|
|
||||||
RTCD_EXTERN void (*av1_iht16x16_256_add)(const tran_low_t *input, uint8_t *output, int pitch, const struct txfm_param *param);
|
|
||||||
|
|
||||||
void av1_iht16x32_512_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
void av1_iht16x32_512_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
RTCD_EXTERN void (*av1_iht16x32_512_add)(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
|
|
||||||
void av1_iht16x4_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_iht16x4_64_add av1_iht16x4_64_add_c
|
|
||||||
|
|
||||||
void av1_iht16x8_128_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
void av1_iht16x8_128_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
RTCD_EXTERN void (*av1_iht16x8_128_add)(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
|
|
||||||
void av1_iht32x16_512_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
void av1_iht32x16_512_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
RTCD_EXTERN void (*av1_iht32x16_512_add)(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
|
|
||||||
void av1_iht32x32_1024_add_c(const tran_low_t *input, uint8_t *output, int pitch, const struct txfm_param *param);
|
|
||||||
#define av1_iht32x32_1024_add av1_iht32x32_1024_add_c
|
|
||||||
|
|
||||||
void av1_iht32x8_256_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_iht32x8_256_add av1_iht32x8_256_add_c
|
|
||||||
|
|
||||||
void av1_iht4x16_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_iht4x16_64_add av1_iht4x16_64_add_c
|
|
||||||
|
|
||||||
void av1_iht4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
void av1_iht4x4_16_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
RTCD_EXTERN void (*av1_iht4x4_16_add)(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
|
|
||||||
void av1_iht4x8_32_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
void av1_iht4x8_32_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
RTCD_EXTERN void (*av1_iht4x8_32_add)(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
|
|
||||||
void av1_iht8x16_128_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
void av1_iht8x16_128_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
RTCD_EXTERN void (*av1_iht8x16_128_add)(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
|
|
||||||
void av1_iht8x32_256_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_iht8x32_256_add av1_iht8x32_256_add_c
|
|
||||||
|
|
||||||
void av1_iht8x4_32_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
void av1_iht8x4_32_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
RTCD_EXTERN void (*av1_iht8x4_32_add)(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
|
|
||||||
void av1_iht8x8_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
void av1_iht8x8_64_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
RTCD_EXTERN void (*av1_iht8x8_64_add)(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
|
|
||||||
void av1_inv_txfm2d_add_16x16_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
void av1_inv_txfm2d_add_16x16_sse4_1(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_inv_txfm2d_add_16x16)(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
|
|
||||||
void av1_inv_txfm2d_add_16x32_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_inv_txfm2d_add_16x32 av1_inv_txfm2d_add_16x32_c
|
|
||||||
|
|
||||||
void av1_inv_txfm2d_add_16x8_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_inv_txfm2d_add_16x8 av1_inv_txfm2d_add_16x8_c
|
|
||||||
|
|
||||||
void av1_inv_txfm2d_add_32x16_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_inv_txfm2d_add_32x16 av1_inv_txfm2d_add_32x16_c
|
|
||||||
|
|
||||||
void av1_inv_txfm2d_add_32x32_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
void av1_inv_txfm2d_add_32x32_avx2(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_inv_txfm2d_add_32x32)(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
|
|
||||||
void av1_inv_txfm2d_add_4x4_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
void av1_inv_txfm2d_add_4x4_sse4_1(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_inv_txfm2d_add_4x4)(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
|
|
||||||
void av1_inv_txfm2d_add_4x8_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_inv_txfm2d_add_4x8 av1_inv_txfm2d_add_4x8_c
|
|
||||||
|
|
||||||
void av1_inv_txfm2d_add_8x16_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_inv_txfm2d_add_8x16 av1_inv_txfm2d_add_8x16_c
|
|
||||||
|
|
||||||
void av1_inv_txfm2d_add_8x4_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_inv_txfm2d_add_8x4 av1_inv_txfm2d_add_8x4_c
|
|
||||||
|
|
||||||
void av1_inv_txfm2d_add_8x8_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
void av1_inv_txfm2d_add_8x8_sse4_1(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_inv_txfm2d_add_8x8)(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
|
|
||||||
void av1_lowbd_convolve_init_c(void);
|
|
||||||
void av1_lowbd_convolve_init_ssse3(void);
|
|
||||||
RTCD_EXTERN void (*av1_lowbd_convolve_init)(void);
|
|
||||||
|
|
||||||
void av1_quantize_b_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan, const qm_val_t * qm_ptr, const qm_val_t * iqm_ptr, int log_scale);
|
|
||||||
#define av1_quantize_b av1_quantize_b_c
|
|
||||||
|
|
||||||
void av1_quantize_fp_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan);
|
|
||||||
void av1_quantize_fp_sse2(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan);
|
|
||||||
void av1_quantize_fp_avx2(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan);
|
|
||||||
RTCD_EXTERN void (*av1_quantize_fp)(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan);
|
|
||||||
|
|
||||||
void av1_quantize_fp_32x32_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan);
|
|
||||||
void av1_quantize_fp_32x32_avx2(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan);
|
|
||||||
RTCD_EXTERN void (*av1_quantize_fp_32x32)(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan);
|
|
||||||
|
|
||||||
void av1_selfguided_restoration_c(uint8_t *dgd, int width, int height, int stride, int32_t *dst, int dst_stride, int r, int eps);
|
|
||||||
void av1_selfguided_restoration_sse4_1(uint8_t *dgd, int width, int height, int stride, int32_t *dst, int dst_stride, int r, int eps);
|
|
||||||
RTCD_EXTERN void (*av1_selfguided_restoration)(uint8_t *dgd, int width, int height, int stride, int32_t *dst, int dst_stride, int r, int eps);
|
|
||||||
|
|
||||||
void av1_selfguided_restoration_highbd_c(uint16_t *dgd, int width, int height, int stride, int32_t *dst, int dst_stride, int bit_depth, int r, int eps);
|
|
||||||
void av1_selfguided_restoration_highbd_sse4_1(uint16_t *dgd, int width, int height, int stride, int32_t *dst, int dst_stride, int bit_depth, int r, int eps);
|
|
||||||
RTCD_EXTERN void (*av1_selfguided_restoration_highbd)(uint16_t *dgd, int width, int height, int stride, int32_t *dst, int dst_stride, int bit_depth, int r, int eps);
|
|
||||||
|
|
||||||
void av1_temporal_filter_apply_c(uint8_t *frame1, unsigned int stride, uint8_t *frame2, unsigned int block_width, unsigned int block_height, int strength, int filter_weight, unsigned int *accumulator, uint16_t *count);
|
|
||||||
void av1_temporal_filter_apply_sse2(uint8_t *frame1, unsigned int stride, uint8_t *frame2, unsigned int block_width, unsigned int block_height, int strength, int filter_weight, unsigned int *accumulator, uint16_t *count);
|
|
||||||
RTCD_EXTERN void (*av1_temporal_filter_apply)(uint8_t *frame1, unsigned int stride, uint8_t *frame2, unsigned int block_width, unsigned int block_height, int strength, int filter_weight, unsigned int *accumulator, uint16_t *count);
|
|
||||||
|
|
||||||
void av1_upsample_intra_edge_c(uint8_t *p, int sz);
|
|
||||||
void av1_upsample_intra_edge_sse4_1(uint8_t *p, int sz);
|
|
||||||
RTCD_EXTERN void (*av1_upsample_intra_edge)(uint8_t *p, int sz);
|
|
||||||
|
|
||||||
void av1_upsample_intra_edge_high_c(uint16_t *p, int sz, int bd);
|
|
||||||
void av1_upsample_intra_edge_high_sse4_1(uint16_t *p, int sz, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_upsample_intra_edge_high)(uint16_t *p, int sz, int bd);
|
|
||||||
|
|
||||||
void av1_warp_affine_c(const int32_t *mat, const uint8_t *ref, int width, int height, int stride, uint8_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
|
||||||
void av1_warp_affine_sse2(const int32_t *mat, const uint8_t *ref, int width, int height, int stride, uint8_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
|
||||||
void av1_warp_affine_ssse3(const int32_t *mat, const uint8_t *ref, int width, int height, int stride, uint8_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
|
||||||
RTCD_EXTERN void (*av1_warp_affine)(const int32_t *mat, const uint8_t *ref, int width, int height, int stride, uint8_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
|
||||||
|
|
||||||
void av1_wedge_compute_delta_squares_c(int16_t *d, const int16_t *a, const int16_t *b, int N);
|
|
||||||
void av1_wedge_compute_delta_squares_sse2(int16_t *d, const int16_t *a, const int16_t *b, int N);
|
|
||||||
RTCD_EXTERN void (*av1_wedge_compute_delta_squares)(int16_t *d, const int16_t *a, const int16_t *b, int N);
|
|
||||||
|
|
||||||
int av1_wedge_sign_from_residuals_c(const int16_t *ds, const uint8_t *m, int N, int64_t limit);
|
|
||||||
int av1_wedge_sign_from_residuals_sse2(const int16_t *ds, const uint8_t *m, int N, int64_t limit);
|
|
||||||
RTCD_EXTERN int (*av1_wedge_sign_from_residuals)(const int16_t *ds, const uint8_t *m, int N, int64_t limit);
|
|
||||||
|
|
||||||
uint64_t av1_wedge_sse_from_residuals_c(const int16_t *r1, const int16_t *d, const uint8_t *m, int N);
|
|
||||||
uint64_t av1_wedge_sse_from_residuals_sse2(const int16_t *r1, const int16_t *d, const uint8_t *m, int N);
|
|
||||||
RTCD_EXTERN uint64_t (*av1_wedge_sse_from_residuals)(const int16_t *r1, const int16_t *d, const uint8_t *m, int N);
|
|
||||||
|
|
||||||
void cdef_filter_block_c(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max);
|
|
||||||
void cdef_filter_block_sse2(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max);
|
|
||||||
void cdef_filter_block_ssse3(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max);
|
|
||||||
void cdef_filter_block_sse4_1(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max);
|
|
||||||
void cdef_filter_block_avx2(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max);
|
|
||||||
RTCD_EXTERN void (*cdef_filter_block)(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max);
|
|
||||||
|
|
||||||
int cdef_find_dir_c(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
|
||||||
int cdef_find_dir_sse2(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
|
||||||
int cdef_find_dir_ssse3(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
|
||||||
int cdef_find_dir_sse4_1(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
|
||||||
int cdef_find_dir_avx2(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
|
||||||
RTCD_EXTERN int (*cdef_find_dir)(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
|
||||||
|
|
||||||
double compute_cross_correlation_c(unsigned char *im1, int stride1, int x1, int y1, unsigned char *im2, int stride2, int x2, int y2);
|
|
||||||
double compute_cross_correlation_sse4_1(unsigned char *im1, int stride1, int x1, int y1, unsigned char *im2, int stride2, int x2, int y2);
|
|
||||||
RTCD_EXTERN double (*compute_cross_correlation)(unsigned char *im1, int stride1, int x1, int y1, unsigned char *im2, int stride2, int x2, int y2);
|
|
||||||
|
|
||||||
void copy_rect8_16bit_to_16bit_c(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
|
||||||
void copy_rect8_16bit_to_16bit_sse2(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
|
||||||
void copy_rect8_16bit_to_16bit_ssse3(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
|
||||||
void copy_rect8_16bit_to_16bit_sse4_1(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
|
||||||
void copy_rect8_16bit_to_16bit_avx2(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
|
||||||
RTCD_EXTERN void (*copy_rect8_16bit_to_16bit)(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
|
||||||
|
|
||||||
void copy_rect8_8bit_to_16bit_c(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
|
||||||
void copy_rect8_8bit_to_16bit_sse2(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
|
||||||
void copy_rect8_8bit_to_16bit_ssse3(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
|
||||||
void copy_rect8_8bit_to_16bit_sse4_1(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
|
||||||
void copy_rect8_8bit_to_16bit_avx2(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
|
||||||
RTCD_EXTERN void (*copy_rect8_8bit_to_16bit)(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
|
||||||
|
|
||||||
void aom_rtcd(void);
|
|
||||||
|
|
||||||
#ifdef RTCD_C
|
|
||||||
#include "aom_ports/x86.h"
|
|
||||||
static void setup_rtcd_internal(void)
|
|
||||||
{
|
|
||||||
int flags = x86_simd_caps();
|
|
||||||
|
|
||||||
(void)flags;
|
|
||||||
|
|
||||||
apply_selfguided_restoration = apply_selfguided_restoration_c;
|
|
||||||
if (flags & HAS_SSE4_1) apply_selfguided_restoration = apply_selfguided_restoration_sse4_1;
|
|
||||||
apply_selfguided_restoration_highbd = apply_selfguided_restoration_highbd_c;
|
|
||||||
if (flags & HAS_SSE4_1) apply_selfguided_restoration_highbd = apply_selfguided_restoration_highbd_sse4_1;
|
|
||||||
av1_block_error = av1_block_error_c;
|
|
||||||
if (flags & HAS_AVX2) av1_block_error = av1_block_error_avx2;
|
|
||||||
av1_convolve_2d = av1_convolve_2d_c;
|
|
||||||
if (flags & HAS_SSE2) av1_convolve_2d = av1_convolve_2d_sse2;
|
|
||||||
av1_convolve_2d_scale = av1_convolve_2d_scale_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_convolve_2d_scale = av1_convolve_2d_scale_sse4_1;
|
|
||||||
av1_convolve_horiz = av1_convolve_horiz_c;
|
|
||||||
if (flags & HAS_SSSE3) av1_convolve_horiz = av1_convolve_horiz_ssse3;
|
|
||||||
av1_convolve_rounding = av1_convolve_rounding_c;
|
|
||||||
if (flags & HAS_AVX2) av1_convolve_rounding = av1_convolve_rounding_avx2;
|
|
||||||
av1_convolve_vert = av1_convolve_vert_c;
|
|
||||||
if (flags & HAS_SSSE3) av1_convolve_vert = av1_convolve_vert_ssse3;
|
|
||||||
av1_fht16x16 = av1_fht16x16_c;
|
|
||||||
if (flags & HAS_SSE2) av1_fht16x16 = av1_fht16x16_sse2;
|
|
||||||
if (flags & HAS_AVX2) av1_fht16x16 = av1_fht16x16_avx2;
|
|
||||||
av1_fht16x32 = av1_fht16x32_c;
|
|
||||||
if (flags & HAS_SSE2) av1_fht16x32 = av1_fht16x32_sse2;
|
|
||||||
av1_fht16x8 = av1_fht16x8_c;
|
|
||||||
if (flags & HAS_SSE2) av1_fht16x8 = av1_fht16x8_sse2;
|
|
||||||
av1_fht32x16 = av1_fht32x16_c;
|
|
||||||
if (flags & HAS_SSE2) av1_fht32x16 = av1_fht32x16_sse2;
|
|
||||||
av1_fht32x32 = av1_fht32x32_c;
|
|
||||||
if (flags & HAS_SSE2) av1_fht32x32 = av1_fht32x32_sse2;
|
|
||||||
if (flags & HAS_AVX2) av1_fht32x32 = av1_fht32x32_avx2;
|
|
||||||
av1_fht4x4 = av1_fht4x4_c;
|
|
||||||
if (flags & HAS_SSE2) av1_fht4x4 = av1_fht4x4_sse2;
|
|
||||||
av1_fht4x8 = av1_fht4x8_c;
|
|
||||||
if (flags & HAS_SSE2) av1_fht4x8 = av1_fht4x8_sse2;
|
|
||||||
av1_fht8x16 = av1_fht8x16_c;
|
|
||||||
if (flags & HAS_SSE2) av1_fht8x16 = av1_fht8x16_sse2;
|
|
||||||
av1_fht8x4 = av1_fht8x4_c;
|
|
||||||
if (flags & HAS_SSE2) av1_fht8x4 = av1_fht8x4_sse2;
|
|
||||||
av1_fht8x8 = av1_fht8x8_c;
|
|
||||||
if (flags & HAS_SSE2) av1_fht8x8 = av1_fht8x8_sse2;
|
|
||||||
av1_filter_intra_edge = av1_filter_intra_edge_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_filter_intra_edge = av1_filter_intra_edge_sse4_1;
|
|
||||||
av1_filter_intra_edge_high = av1_filter_intra_edge_high_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_filter_intra_edge_high = av1_filter_intra_edge_high_sse4_1;
|
|
||||||
av1_full_search_sad = av1_full_search_sad_c;
|
|
||||||
if (flags & HAS_SSE3) av1_full_search_sad = av1_full_search_sadx3;
|
|
||||||
if (flags & HAS_SSE4_1) av1_full_search_sad = av1_full_search_sadx8;
|
|
||||||
av1_fwd_txfm2d_16x16 = av1_fwd_txfm2d_16x16_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_fwd_txfm2d_16x16 = av1_fwd_txfm2d_16x16_sse4_1;
|
|
||||||
av1_fwd_txfm2d_32x32 = av1_fwd_txfm2d_32x32_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_fwd_txfm2d_32x32 = av1_fwd_txfm2d_32x32_sse4_1;
|
|
||||||
av1_fwd_txfm2d_4x4 = av1_fwd_txfm2d_4x4_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_fwd_txfm2d_4x4 = av1_fwd_txfm2d_4x4_sse4_1;
|
|
||||||
av1_fwd_txfm2d_8x8 = av1_fwd_txfm2d_8x8_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_fwd_txfm2d_8x8 = av1_fwd_txfm2d_8x8_sse4_1;
|
|
||||||
av1_highbd_block_error = av1_highbd_block_error_c;
|
|
||||||
if (flags & HAS_SSE2) av1_highbd_block_error = av1_highbd_block_error_sse2;
|
|
||||||
av1_highbd_convolve_2d = av1_highbd_convolve_2d_c;
|
|
||||||
if (flags & HAS_SSSE3) av1_highbd_convolve_2d = av1_highbd_convolve_2d_ssse3;
|
|
||||||
av1_highbd_convolve_2d_scale = av1_highbd_convolve_2d_scale_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_highbd_convolve_2d_scale = av1_highbd_convolve_2d_scale_sse4_1;
|
|
||||||
av1_highbd_convolve_horiz = av1_highbd_convolve_horiz_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_highbd_convolve_horiz = av1_highbd_convolve_horiz_sse4_1;
|
|
||||||
av1_highbd_convolve_init = av1_highbd_convolve_init_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_highbd_convolve_init = av1_highbd_convolve_init_sse4_1;
|
|
||||||
av1_highbd_convolve_rounding = av1_highbd_convolve_rounding_c;
|
|
||||||
if (flags & HAS_AVX2) av1_highbd_convolve_rounding = av1_highbd_convolve_rounding_avx2;
|
|
||||||
av1_highbd_convolve_vert = av1_highbd_convolve_vert_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_highbd_convolve_vert = av1_highbd_convolve_vert_sse4_1;
|
|
||||||
av1_highbd_quantize_fp = av1_highbd_quantize_fp_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_highbd_quantize_fp = av1_highbd_quantize_fp_sse4_1;
|
|
||||||
if (flags & HAS_AVX2) av1_highbd_quantize_fp = av1_highbd_quantize_fp_avx2;
|
|
||||||
av1_highbd_warp_affine = av1_highbd_warp_affine_c;
|
|
||||||
if (flags & HAS_SSSE3) av1_highbd_warp_affine = av1_highbd_warp_affine_ssse3;
|
|
||||||
av1_highpass_filter = av1_highpass_filter_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_highpass_filter = av1_highpass_filter_sse4_1;
|
|
||||||
av1_highpass_filter_highbd = av1_highpass_filter_highbd_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_highpass_filter_highbd = av1_highpass_filter_highbd_sse4_1;
|
|
||||||
av1_iht16x16_256_add = av1_iht16x16_256_add_c;
|
|
||||||
if (flags & HAS_SSE2) av1_iht16x16_256_add = av1_iht16x16_256_add_sse2;
|
|
||||||
if (flags & HAS_AVX2) av1_iht16x16_256_add = av1_iht16x16_256_add_avx2;
|
|
||||||
av1_iht16x32_512_add = av1_iht16x32_512_add_c;
|
|
||||||
if (flags & HAS_SSE2) av1_iht16x32_512_add = av1_iht16x32_512_add_sse2;
|
|
||||||
av1_iht16x8_128_add = av1_iht16x8_128_add_c;
|
|
||||||
if (flags & HAS_SSE2) av1_iht16x8_128_add = av1_iht16x8_128_add_sse2;
|
|
||||||
av1_iht32x16_512_add = av1_iht32x16_512_add_c;
|
|
||||||
if (flags & HAS_SSE2) av1_iht32x16_512_add = av1_iht32x16_512_add_sse2;
|
|
||||||
av1_iht4x4_16_add = av1_iht4x4_16_add_c;
|
|
||||||
if (flags & HAS_SSE2) av1_iht4x4_16_add = av1_iht4x4_16_add_sse2;
|
|
||||||
av1_iht4x8_32_add = av1_iht4x8_32_add_c;
|
|
||||||
if (flags & HAS_SSE2) av1_iht4x8_32_add = av1_iht4x8_32_add_sse2;
|
|
||||||
av1_iht8x16_128_add = av1_iht8x16_128_add_c;
|
|
||||||
if (flags & HAS_SSE2) av1_iht8x16_128_add = av1_iht8x16_128_add_sse2;
|
|
||||||
av1_iht8x4_32_add = av1_iht8x4_32_add_c;
|
|
||||||
if (flags & HAS_SSE2) av1_iht8x4_32_add = av1_iht8x4_32_add_sse2;
|
|
||||||
av1_iht8x8_64_add = av1_iht8x8_64_add_c;
|
|
||||||
if (flags & HAS_SSE2) av1_iht8x8_64_add = av1_iht8x8_64_add_sse2;
|
|
||||||
av1_inv_txfm2d_add_16x16 = av1_inv_txfm2d_add_16x16_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_inv_txfm2d_add_16x16 = av1_inv_txfm2d_add_16x16_sse4_1;
|
|
||||||
av1_inv_txfm2d_add_32x32 = av1_inv_txfm2d_add_32x32_c;
|
|
||||||
if (flags & HAS_AVX2) av1_inv_txfm2d_add_32x32 = av1_inv_txfm2d_add_32x32_avx2;
|
|
||||||
av1_inv_txfm2d_add_4x4 = av1_inv_txfm2d_add_4x4_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_inv_txfm2d_add_4x4 = av1_inv_txfm2d_add_4x4_sse4_1;
|
|
||||||
av1_inv_txfm2d_add_8x8 = av1_inv_txfm2d_add_8x8_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_inv_txfm2d_add_8x8 = av1_inv_txfm2d_add_8x8_sse4_1;
|
|
||||||
av1_lowbd_convolve_init = av1_lowbd_convolve_init_c;
|
|
||||||
if (flags & HAS_SSSE3) av1_lowbd_convolve_init = av1_lowbd_convolve_init_ssse3;
|
|
||||||
av1_quantize_fp = av1_quantize_fp_c;
|
|
||||||
if (flags & HAS_SSE2) av1_quantize_fp = av1_quantize_fp_sse2;
|
|
||||||
if (flags & HAS_AVX2) av1_quantize_fp = av1_quantize_fp_avx2;
|
|
||||||
av1_quantize_fp_32x32 = av1_quantize_fp_32x32_c;
|
|
||||||
if (flags & HAS_AVX2) av1_quantize_fp_32x32 = av1_quantize_fp_32x32_avx2;
|
|
||||||
av1_selfguided_restoration = av1_selfguided_restoration_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_selfguided_restoration = av1_selfguided_restoration_sse4_1;
|
|
||||||
av1_selfguided_restoration_highbd = av1_selfguided_restoration_highbd_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_selfguided_restoration_highbd = av1_selfguided_restoration_highbd_sse4_1;
|
|
||||||
av1_temporal_filter_apply = av1_temporal_filter_apply_c;
|
|
||||||
if (flags & HAS_SSE2) av1_temporal_filter_apply = av1_temporal_filter_apply_sse2;
|
|
||||||
av1_upsample_intra_edge = av1_upsample_intra_edge_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_upsample_intra_edge = av1_upsample_intra_edge_sse4_1;
|
|
||||||
av1_upsample_intra_edge_high = av1_upsample_intra_edge_high_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_upsample_intra_edge_high = av1_upsample_intra_edge_high_sse4_1;
|
|
||||||
av1_warp_affine = av1_warp_affine_c;
|
|
||||||
if (flags & HAS_SSE2) av1_warp_affine = av1_warp_affine_sse2;
|
|
||||||
if (flags & HAS_SSSE3) av1_warp_affine = av1_warp_affine_ssse3;
|
|
||||||
av1_wedge_compute_delta_squares = av1_wedge_compute_delta_squares_c;
|
|
||||||
if (flags & HAS_SSE2) av1_wedge_compute_delta_squares = av1_wedge_compute_delta_squares_sse2;
|
|
||||||
av1_wedge_sign_from_residuals = av1_wedge_sign_from_residuals_c;
|
|
||||||
if (flags & HAS_SSE2) av1_wedge_sign_from_residuals = av1_wedge_sign_from_residuals_sse2;
|
|
||||||
av1_wedge_sse_from_residuals = av1_wedge_sse_from_residuals_c;
|
|
||||||
if (flags & HAS_SSE2) av1_wedge_sse_from_residuals = av1_wedge_sse_from_residuals_sse2;
|
|
||||||
cdef_filter_block = cdef_filter_block_c;
|
|
||||||
if (flags & HAS_SSE2) cdef_filter_block = cdef_filter_block_sse2;
|
|
||||||
if (flags & HAS_SSSE3) cdef_filter_block = cdef_filter_block_ssse3;
|
|
||||||
if (flags & HAS_SSE4_1) cdef_filter_block = cdef_filter_block_sse4_1;
|
|
||||||
if (flags & HAS_AVX2) cdef_filter_block = cdef_filter_block_avx2;
|
|
||||||
cdef_find_dir = cdef_find_dir_c;
|
|
||||||
if (flags & HAS_SSE2) cdef_find_dir = cdef_find_dir_sse2;
|
|
||||||
if (flags & HAS_SSSE3) cdef_find_dir = cdef_find_dir_ssse3;
|
|
||||||
if (flags & HAS_SSE4_1) cdef_find_dir = cdef_find_dir_sse4_1;
|
|
||||||
if (flags & HAS_AVX2) cdef_find_dir = cdef_find_dir_avx2;
|
|
||||||
compute_cross_correlation = compute_cross_correlation_c;
|
|
||||||
if (flags & HAS_SSE4_1) compute_cross_correlation = compute_cross_correlation_sse4_1;
|
|
||||||
copy_rect8_16bit_to_16bit = copy_rect8_16bit_to_16bit_c;
|
|
||||||
if (flags & HAS_SSE2) copy_rect8_16bit_to_16bit = copy_rect8_16bit_to_16bit_sse2;
|
|
||||||
if (flags & HAS_SSSE3) copy_rect8_16bit_to_16bit = copy_rect8_16bit_to_16bit_ssse3;
|
|
||||||
if (flags & HAS_SSE4_1) copy_rect8_16bit_to_16bit = copy_rect8_16bit_to_16bit_sse4_1;
|
|
||||||
if (flags & HAS_AVX2) copy_rect8_16bit_to_16bit = copy_rect8_16bit_to_16bit_avx2;
|
|
||||||
copy_rect8_8bit_to_16bit = copy_rect8_8bit_to_16bit_c;
|
|
||||||
if (flags & HAS_SSE2) copy_rect8_8bit_to_16bit = copy_rect8_8bit_to_16bit_sse2;
|
|
||||||
if (flags & HAS_SSSE3) copy_rect8_8bit_to_16bit = copy_rect8_8bit_to_16bit_ssse3;
|
|
||||||
if (flags & HAS_SSE4_1) copy_rect8_8bit_to_16bit = copy_rect8_8bit_to_16bit_sse4_1;
|
|
||||||
if (flags & HAS_AVX2) copy_rect8_8bit_to_16bit = copy_rect8_8bit_to_16bit_avx2;
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
} // extern "C"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif
|
|
||||||
69
media/libaom/config/win/mingw32/config/aom_config.asm
Normal file
69
media/libaom/config/win/mingw32/config/aom_config.asm
Normal file
|
|
@ -0,0 +1,69 @@
|
||||||
|
;
|
||||||
|
; Copyright (c) 2018, Alliance for Open Media. All rights reserved
|
||||||
|
;
|
||||||
|
; This source code is subject to the terms of the BSD 2 Clause License and
|
||||||
|
; the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
|
||||||
|
; was not distributed with this source code in the LICENSE file, you can
|
||||||
|
; obtain it at www.aomedia.org/license/software. If the Alliance for Open
|
||||||
|
; Media Patent License 1.0 was not distributed with this source code in the
|
||||||
|
; PATENTS file, you can obtain it at www.aomedia.org/license/patent.
|
||||||
|
;
|
||||||
|
|
||||||
|
ARCH_ARM equ 0
|
||||||
|
ARCH_MIPS equ 0
|
||||||
|
ARCH_PPC equ 0
|
||||||
|
ARCH_X86 equ 1
|
||||||
|
ARCH_X86_64 equ 0
|
||||||
|
CONFIG_ACCOUNTING equ 0
|
||||||
|
CONFIG_ANALYZER equ 0
|
||||||
|
CONFIG_AV1_DECODER equ 1
|
||||||
|
CONFIG_AV1_ENCODER equ 0
|
||||||
|
CONFIG_BIG_ENDIAN equ 0
|
||||||
|
CONFIG_BITSTREAM_DEBUG equ 0
|
||||||
|
CONFIG_COEFFICIENT_RANGE_CHECKING equ 0
|
||||||
|
CONFIG_COLLECT_INTER_MODE_RD_STATS equ 1
|
||||||
|
CONFIG_COLLECT_RD_STATS equ 0
|
||||||
|
CONFIG_DEBUG equ 0
|
||||||
|
CONFIG_DIST_8X8 equ 1
|
||||||
|
CONFIG_ENTROPY_STATS equ 0
|
||||||
|
CONFIG_FILEOPTIONS equ 1
|
||||||
|
CONFIG_FP_MB_STATS equ 0
|
||||||
|
CONFIG_GCC equ 1
|
||||||
|
CONFIG_GCOV equ 0
|
||||||
|
CONFIG_GPROF equ 0
|
||||||
|
CONFIG_INSPECTION equ 0
|
||||||
|
CONFIG_INTERNAL_STATS equ 0
|
||||||
|
CONFIG_INTER_STATS_ONLY equ 0
|
||||||
|
CONFIG_LIBYUV equ 0
|
||||||
|
CONFIG_LOWBITDEPTH equ 0
|
||||||
|
CONFIG_MISMATCH_DEBUG equ 0
|
||||||
|
CONFIG_MSVS equ 0
|
||||||
|
CONFIG_MULTITHREAD equ 1
|
||||||
|
CONFIG_OS_SUPPORT equ 1
|
||||||
|
CONFIG_PIC equ 0
|
||||||
|
CONFIG_RD_DEBUG equ 0
|
||||||
|
CONFIG_RUNTIME_CPU_DETECT equ 1
|
||||||
|
CONFIG_SHARED equ 0
|
||||||
|
CONFIG_SIZE_LIMIT equ 0
|
||||||
|
CONFIG_SPATIAL_RESAMPLING equ 1
|
||||||
|
CONFIG_STATIC equ 1
|
||||||
|
CONFIG_WEBM_IO equ 0
|
||||||
|
DECODE_HEIGHT_LIMIT equ 0
|
||||||
|
DECODE_WIDTH_LIMIT equ 0
|
||||||
|
HAVE_AVX equ 1
|
||||||
|
HAVE_AVX2 equ 1
|
||||||
|
HAVE_DSPR2 equ 0
|
||||||
|
HAVE_FEXCEPT equ 1
|
||||||
|
HAVE_MIPS32 equ 0
|
||||||
|
HAVE_MIPS64 equ 0
|
||||||
|
HAVE_MMX equ 1
|
||||||
|
HAVE_MSA equ 0
|
||||||
|
HAVE_NEON equ 0
|
||||||
|
HAVE_SSE equ 1
|
||||||
|
HAVE_SSE2 equ 1
|
||||||
|
HAVE_SSE3 equ 1
|
||||||
|
HAVE_SSE4_1 equ 1
|
||||||
|
HAVE_SSE4_2 equ 1
|
||||||
|
HAVE_SSSE3 equ 1
|
||||||
|
HAVE_VSX equ 0
|
||||||
|
HAVE_WXWIDGETS equ 0
|
||||||
75
media/libaom/config/win/mingw32/config/aom_config.h
Normal file
75
media/libaom/config/win/mingw32/config/aom_config.h
Normal file
|
|
@ -0,0 +1,75 @@
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2018, Alliance for Open Media. All rights reserved
|
||||||
|
*
|
||||||
|
* This source code is subject to the terms of the BSD 2 Clause License and
|
||||||
|
* the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
|
||||||
|
* was not distributed with this source code in the LICENSE file, you can
|
||||||
|
* obtain it at www.aomedia.org/license/software. If the Alliance for Open
|
||||||
|
* Media Patent License 1.0 was not distributed with this source code in the
|
||||||
|
* PATENTS file, you can obtain it at www.aomedia.org/license/patent.
|
||||||
|
*/
|
||||||
|
#ifndef AOM_CONFIG_H_
|
||||||
|
#define AOM_CONFIG_H_
|
||||||
|
|
||||||
|
#define ARCH_ARM 0
|
||||||
|
#define ARCH_MIPS 0
|
||||||
|
#define ARCH_PPC 0
|
||||||
|
#define ARCH_X86 1
|
||||||
|
#define ARCH_X86_64 0
|
||||||
|
#define CONFIG_ACCOUNTING 0
|
||||||
|
#define CONFIG_ANALYZER 0
|
||||||
|
#define CONFIG_AV1_DECODER 1
|
||||||
|
#define CONFIG_AV1_ENCODER 0
|
||||||
|
#define CONFIG_BIG_ENDIAN 0
|
||||||
|
#define CONFIG_BITSTREAM_DEBUG 0
|
||||||
|
#define CONFIG_COEFFICIENT_RANGE_CHECKING 0
|
||||||
|
#define CONFIG_COLLECT_INTER_MODE_RD_STATS 1
|
||||||
|
#define CONFIG_COLLECT_RD_STATS 0
|
||||||
|
#define CONFIG_DEBUG 0
|
||||||
|
#define CONFIG_DIST_8X8 1
|
||||||
|
#define CONFIG_ENTROPY_STATS 0
|
||||||
|
#define CONFIG_FILEOPTIONS 1
|
||||||
|
#define CONFIG_FP_MB_STATS 0
|
||||||
|
#define CONFIG_GCC 1
|
||||||
|
#define CONFIG_GCOV 0
|
||||||
|
#define CONFIG_GPROF 0
|
||||||
|
#define CONFIG_INSPECTION 0
|
||||||
|
#define CONFIG_INTERNAL_STATS 0
|
||||||
|
#define CONFIG_INTER_STATS_ONLY 0
|
||||||
|
#define CONFIG_LIBYUV 0
|
||||||
|
#define CONFIG_LOWBITDEPTH 0
|
||||||
|
#define CONFIG_MISMATCH_DEBUG 0
|
||||||
|
#define CONFIG_MSVS 0
|
||||||
|
#define CONFIG_MULTITHREAD 1
|
||||||
|
#define CONFIG_OS_SUPPORT 1
|
||||||
|
#define CONFIG_PIC 0
|
||||||
|
#define CONFIG_RD_DEBUG 0
|
||||||
|
#define CONFIG_RUNTIME_CPU_DETECT 1
|
||||||
|
#define CONFIG_SHARED 0
|
||||||
|
#define CONFIG_SIZE_LIMIT 0
|
||||||
|
#define CONFIG_SPATIAL_RESAMPLING 1
|
||||||
|
#define CONFIG_STATIC 1
|
||||||
|
#define CONFIG_WEBM_IO 0
|
||||||
|
#define DECODE_HEIGHT_LIMIT 0
|
||||||
|
#define DECODE_WIDTH_LIMIT 0
|
||||||
|
#define HAVE_AVX 1
|
||||||
|
#define HAVE_AVX2 1
|
||||||
|
#define HAVE_DSPR2 0
|
||||||
|
#define HAVE_FEXCEPT 1
|
||||||
|
#define HAVE_MIPS32 0
|
||||||
|
#define HAVE_MIPS64 0
|
||||||
|
#define HAVE_MMX 1
|
||||||
|
#define HAVE_MSA 0
|
||||||
|
#define HAVE_NEON 0
|
||||||
|
#define HAVE_SSE 1
|
||||||
|
#define HAVE_SSE2 1
|
||||||
|
#define HAVE_SSE3 1
|
||||||
|
#define HAVE_SSE4_1 1
|
||||||
|
#define HAVE_SSE4_2 1
|
||||||
|
#define HAVE_SSSE3 1
|
||||||
|
#define HAVE_VSX 0
|
||||||
|
#define HAVE_WXWIDGETS 0
|
||||||
|
#define INCLUDE_INSTALL_DIR INSTALLDIR/include
|
||||||
|
#define INLINE inline
|
||||||
|
#define LIB_INSTALL_DIR INSTALLDIR/lib
|
||||||
|
#endif /* AOM_CONFIG_H_ */
|
||||||
2375
media/libaom/config/win/mingw32/config/aom_dsp_rtcd.h
Normal file
2375
media/libaom/config/win/mingw32/config/aom_dsp_rtcd.h
Normal file
File diff suppressed because it is too large
Load diff
88
media/libaom/config/win/mingw32/config/aom_scale_rtcd.h
Normal file
88
media/libaom/config/win/mingw32/config/aom_scale_rtcd.h
Normal file
|
|
@ -0,0 +1,88 @@
|
||||||
|
// This file is generated. Do not edit.
|
||||||
|
#ifndef AOM_SCALE_RTCD_H_
|
||||||
|
#define AOM_SCALE_RTCD_H_
|
||||||
|
|
||||||
|
#ifdef RTCD_C
|
||||||
|
#define RTCD_EXTERN
|
||||||
|
#else
|
||||||
|
#define RTCD_EXTERN extern
|
||||||
|
#endif
|
||||||
|
|
||||||
|
struct yv12_buffer_config;
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
|
void aom_extend_frame_borders_c(struct yv12_buffer_config *ybf, const int num_planes);
|
||||||
|
#define aom_extend_frame_borders aom_extend_frame_borders_c
|
||||||
|
|
||||||
|
void aom_extend_frame_borders_y_c(struct yv12_buffer_config *ybf);
|
||||||
|
#define aom_extend_frame_borders_y aom_extend_frame_borders_y_c
|
||||||
|
|
||||||
|
void aom_extend_frame_inner_borders_c(struct yv12_buffer_config *ybf, const int num_planes);
|
||||||
|
#define aom_extend_frame_inner_borders aom_extend_frame_inner_borders_c
|
||||||
|
|
||||||
|
void aom_horizontal_line_2_1_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
|
||||||
|
#define aom_horizontal_line_2_1_scale aom_horizontal_line_2_1_scale_c
|
||||||
|
|
||||||
|
void aom_horizontal_line_5_3_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
|
||||||
|
#define aom_horizontal_line_5_3_scale aom_horizontal_line_5_3_scale_c
|
||||||
|
|
||||||
|
void aom_horizontal_line_5_4_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
|
||||||
|
#define aom_horizontal_line_5_4_scale aom_horizontal_line_5_4_scale_c
|
||||||
|
|
||||||
|
void aom_vertical_band_2_1_scale_c(unsigned char *source, int src_pitch, unsigned char *dest, int dest_pitch, unsigned int dest_width);
|
||||||
|
#define aom_vertical_band_2_1_scale aom_vertical_band_2_1_scale_c
|
||||||
|
|
||||||
|
void aom_vertical_band_2_1_scale_i_c(unsigned char *source, int src_pitch, unsigned char *dest, int dest_pitch, unsigned int dest_width);
|
||||||
|
#define aom_vertical_band_2_1_scale_i aom_vertical_band_2_1_scale_i_c
|
||||||
|
|
||||||
|
void aom_vertical_band_5_3_scale_c(unsigned char *source, int src_pitch, unsigned char *dest, int dest_pitch, unsigned int dest_width);
|
||||||
|
#define aom_vertical_band_5_3_scale aom_vertical_band_5_3_scale_c
|
||||||
|
|
||||||
|
void aom_vertical_band_5_4_scale_c(unsigned char *source, int src_pitch, unsigned char *dest, int dest_pitch, unsigned int dest_width);
|
||||||
|
#define aom_vertical_band_5_4_scale aom_vertical_band_5_4_scale_c
|
||||||
|
|
||||||
|
void aom_yv12_copy_frame_c(const struct yv12_buffer_config *src_bc, struct yv12_buffer_config *dst_bc, const int num_planes);
|
||||||
|
#define aom_yv12_copy_frame aom_yv12_copy_frame_c
|
||||||
|
|
||||||
|
void aom_yv12_copy_u_c(const struct yv12_buffer_config *src_bc, struct yv12_buffer_config *dst_bc);
|
||||||
|
#define aom_yv12_copy_u aom_yv12_copy_u_c
|
||||||
|
|
||||||
|
void aom_yv12_copy_v_c(const struct yv12_buffer_config *src_bc, struct yv12_buffer_config *dst_bc);
|
||||||
|
#define aom_yv12_copy_v aom_yv12_copy_v_c
|
||||||
|
|
||||||
|
void aom_yv12_copy_y_c(const struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc);
|
||||||
|
#define aom_yv12_copy_y aom_yv12_copy_y_c
|
||||||
|
|
||||||
|
void aom_yv12_extend_frame_borders_c(struct yv12_buffer_config *ybf, const int num_planes);
|
||||||
|
#define aom_yv12_extend_frame_borders aom_yv12_extend_frame_borders_c
|
||||||
|
|
||||||
|
void aom_yv12_partial_copy_u_c(const struct yv12_buffer_config *src_bc, struct yv12_buffer_config *dst_bc, int hstart, int hend, int vstart, int vend);
|
||||||
|
#define aom_yv12_partial_copy_u aom_yv12_partial_copy_u_c
|
||||||
|
|
||||||
|
void aom_yv12_partial_copy_v_c(const struct yv12_buffer_config *src_bc, struct yv12_buffer_config *dst_bc, int hstart, int hend, int vstart, int vend);
|
||||||
|
#define aom_yv12_partial_copy_v aom_yv12_partial_copy_v_c
|
||||||
|
|
||||||
|
void aom_yv12_partial_copy_y_c(const struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc, int hstart, int hend, int vstart, int vend);
|
||||||
|
#define aom_yv12_partial_copy_y aom_yv12_partial_copy_y_c
|
||||||
|
|
||||||
|
void aom_scale_rtcd(void);
|
||||||
|
|
||||||
|
#ifdef RTCD_C
|
||||||
|
#include "aom_ports/x86.h"
|
||||||
|
static void setup_rtcd_internal(void)
|
||||||
|
{
|
||||||
|
int flags = x86_simd_caps();
|
||||||
|
|
||||||
|
(void)flags;
|
||||||
|
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
} // extern "C"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif
|
||||||
564
media/libaom/config/win/mingw32/config/av1_rtcd.h
Normal file
564
media/libaom/config/win/mingw32/config/av1_rtcd.h
Normal file
|
|
@ -0,0 +1,564 @@
|
||||||
|
// This file is generated. Do not edit.
|
||||||
|
#ifndef AOM_RTCD_H_
|
||||||
|
#define AOM_RTCD_H_
|
||||||
|
|
||||||
|
#ifdef RTCD_C
|
||||||
|
#define RTCD_EXTERN
|
||||||
|
#else
|
||||||
|
#define RTCD_EXTERN extern
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/*
|
||||||
|
* AV1
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "aom/aom_integer.h"
|
||||||
|
#include "aom_dsp/txfm_common.h"
|
||||||
|
#include "av1/common/common.h"
|
||||||
|
#include "av1/common/enums.h"
|
||||||
|
#include "av1/common/quant_common.h"
|
||||||
|
#include "av1/common/filter.h"
|
||||||
|
#include "av1/common/convolve.h"
|
||||||
|
#include "av1/common/av1_txfm.h"
|
||||||
|
#include "av1/common/odintrin.h"
|
||||||
|
#include "av1/common/restoration.h"
|
||||||
|
|
||||||
|
struct macroblockd;
|
||||||
|
|
||||||
|
/* Encoder forward decls */
|
||||||
|
struct macroblock;
|
||||||
|
struct txfm_param;
|
||||||
|
struct aom_variance_vtable;
|
||||||
|
struct search_site_config;
|
||||||
|
struct yv12_buffer_config;
|
||||||
|
|
||||||
|
/* Function pointers return by CfL functions */
|
||||||
|
typedef void (*cfl_subsample_lbd_fn)(const uint8_t *input, int input_stride,
|
||||||
|
uint16_t *output_q3);
|
||||||
|
|
||||||
|
typedef void (*cfl_subsample_hbd_fn)(const uint16_t *input, int input_stride,
|
||||||
|
uint16_t *output_q3);
|
||||||
|
|
||||||
|
typedef void (*cfl_subtract_average_fn)(const uint16_t *src, int16_t *dst);
|
||||||
|
|
||||||
|
typedef void (*cfl_predict_lbd_fn)(const int16_t *src, uint8_t *dst,
|
||||||
|
int dst_stride, int alpha_q3);
|
||||||
|
|
||||||
|
typedef void (*cfl_predict_hbd_fn)(const int16_t *src, uint16_t *dst,
|
||||||
|
int dst_stride, int alpha_q3, int bd);
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
|
void apply_selfguided_restoration_c(const uint8_t *dat, int width, int height, int stride, int eps, const int *xqd, uint8_t *dst, int dst_stride, int32_t *tmpbuf, int bit_depth, int highbd);
|
||||||
|
void apply_selfguided_restoration_sse4_1(const uint8_t *dat, int width, int height, int stride, int eps, const int *xqd, uint8_t *dst, int dst_stride, int32_t *tmpbuf, int bit_depth, int highbd);
|
||||||
|
void apply_selfguided_restoration_avx2(const uint8_t *dat, int width, int height, int stride, int eps, const int *xqd, uint8_t *dst, int dst_stride, int32_t *tmpbuf, int bit_depth, int highbd);
|
||||||
|
RTCD_EXTERN void (*apply_selfguided_restoration)(const uint8_t *dat, int width, int height, int stride, int eps, const int *xqd, uint8_t *dst, int dst_stride, int32_t *tmpbuf, int bit_depth, int highbd);
|
||||||
|
|
||||||
|
void av1_build_compound_diffwtd_mask_c(uint8_t *mask, DIFFWTD_MASK_TYPE mask_type, const uint8_t *src0, int src0_stride, const uint8_t *src1, int src1_stride, int h, int w);
|
||||||
|
void av1_build_compound_diffwtd_mask_sse4_1(uint8_t *mask, DIFFWTD_MASK_TYPE mask_type, const uint8_t *src0, int src0_stride, const uint8_t *src1, int src1_stride, int h, int w);
|
||||||
|
RTCD_EXTERN void (*av1_build_compound_diffwtd_mask)(uint8_t *mask, DIFFWTD_MASK_TYPE mask_type, const uint8_t *src0, int src0_stride, const uint8_t *src1, int src1_stride, int h, int w);
|
||||||
|
|
||||||
|
void av1_build_compound_diffwtd_mask_d16_c(uint8_t *mask, DIFFWTD_MASK_TYPE mask_type, const CONV_BUF_TYPE *src0, int src0_stride, const CONV_BUF_TYPE *src1, int src1_stride, int h, int w, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_build_compound_diffwtd_mask_d16_sse4_1(uint8_t *mask, DIFFWTD_MASK_TYPE mask_type, const CONV_BUF_TYPE *src0, int src0_stride, const CONV_BUF_TYPE *src1, int src1_stride, int h, int w, ConvolveParams *conv_params, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_build_compound_diffwtd_mask_d16)(uint8_t *mask, DIFFWTD_MASK_TYPE mask_type, const CONV_BUF_TYPE *src0, int src0_stride, const CONV_BUF_TYPE *src1, int src1_stride, int h, int w, ConvolveParams *conv_params, int bd);
|
||||||
|
|
||||||
|
void av1_build_compound_diffwtd_mask_highbd_c(uint8_t *mask, DIFFWTD_MASK_TYPE mask_type, const uint8_t *src0, int src0_stride, const uint8_t *src1, int src1_stride, int h, int w, int bd);
|
||||||
|
void av1_build_compound_diffwtd_mask_highbd_ssse3(uint8_t *mask, DIFFWTD_MASK_TYPE mask_type, const uint8_t *src0, int src0_stride, const uint8_t *src1, int src1_stride, int h, int w, int bd);
|
||||||
|
void av1_build_compound_diffwtd_mask_highbd_avx2(uint8_t *mask, DIFFWTD_MASK_TYPE mask_type, const uint8_t *src0, int src0_stride, const uint8_t *src1, int src1_stride, int h, int w, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_build_compound_diffwtd_mask_highbd)(uint8_t *mask, DIFFWTD_MASK_TYPE mask_type, const uint8_t *src0, int src0_stride, const uint8_t *src1, int src1_stride, int h, int w, int bd);
|
||||||
|
|
||||||
|
void av1_convolve_2d_copy_sr_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_convolve_2d_copy_sr_sse2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_convolve_2d_copy_sr_avx2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
RTCD_EXTERN void (*av1_convolve_2d_copy_sr)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
|
||||||
|
void av1_convolve_2d_scale_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_qn, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params);
|
||||||
|
void av1_convolve_2d_scale_sse4_1(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_qn, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params);
|
||||||
|
RTCD_EXTERN void (*av1_convolve_2d_scale)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_qn, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params);
|
||||||
|
|
||||||
|
void av1_convolve_2d_sr_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_convolve_2d_sr_sse2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_convolve_2d_sr_avx2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
RTCD_EXTERN void (*av1_convolve_2d_sr)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
|
||||||
|
void av1_convolve_horiz_rs_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const int16_t *x_filters, int x0_qn, int x_step_qn);
|
||||||
|
void av1_convolve_horiz_rs_sse4_1(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const int16_t *x_filters, int x0_qn, int x_step_qn);
|
||||||
|
RTCD_EXTERN void (*av1_convolve_horiz_rs)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const int16_t *x_filters, int x0_qn, int x_step_qn);
|
||||||
|
|
||||||
|
void av1_convolve_x_sr_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_convolve_x_sr_sse2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_convolve_x_sr_avx2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
RTCD_EXTERN void (*av1_convolve_x_sr)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
|
||||||
|
void av1_convolve_y_sr_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_convolve_y_sr_sse2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_convolve_y_sr_avx2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
RTCD_EXTERN void (*av1_convolve_y_sr)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
|
||||||
|
void av1_dr_prediction_z1_c(uint8_t *dst, ptrdiff_t stride, int bw, int bh, const uint8_t *above, const uint8_t *left, int upsample_above, int dx, int dy);
|
||||||
|
#define av1_dr_prediction_z1 av1_dr_prediction_z1_c
|
||||||
|
|
||||||
|
void av1_dr_prediction_z2_c(uint8_t *dst, ptrdiff_t stride, int bw, int bh, const uint8_t *above, const uint8_t *left, int upsample_above, int upsample_left, int dx, int dy);
|
||||||
|
#define av1_dr_prediction_z2 av1_dr_prediction_z2_c
|
||||||
|
|
||||||
|
void av1_dr_prediction_z3_c(uint8_t *dst, ptrdiff_t stride, int bw, int bh, const uint8_t *above, const uint8_t *left, int upsample_left, int dx, int dy);
|
||||||
|
#define av1_dr_prediction_z3 av1_dr_prediction_z3_c
|
||||||
|
|
||||||
|
void av1_filter_intra_edge_c(uint8_t *p, int sz, int strength);
|
||||||
|
void av1_filter_intra_edge_sse4_1(uint8_t *p, int sz, int strength);
|
||||||
|
RTCD_EXTERN void (*av1_filter_intra_edge)(uint8_t *p, int sz, int strength);
|
||||||
|
|
||||||
|
void av1_filter_intra_edge_high_c(uint16_t *p, int sz, int strength);
|
||||||
|
void av1_filter_intra_edge_high_sse4_1(uint16_t *p, int sz, int strength);
|
||||||
|
RTCD_EXTERN void (*av1_filter_intra_edge_high)(uint16_t *p, int sz, int strength);
|
||||||
|
|
||||||
|
void av1_filter_intra_predictor_c(uint8_t *dst, ptrdiff_t stride, TX_SIZE tx_size, const uint8_t *above, const uint8_t *left, int mode);
|
||||||
|
void av1_filter_intra_predictor_sse4_1(uint8_t *dst, ptrdiff_t stride, TX_SIZE tx_size, const uint8_t *above, const uint8_t *left, int mode);
|
||||||
|
RTCD_EXTERN void (*av1_filter_intra_predictor)(uint8_t *dst, ptrdiff_t stride, TX_SIZE tx_size, const uint8_t *above, const uint8_t *left, int mode);
|
||||||
|
|
||||||
|
void av1_highbd_convolve8_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
||||||
|
#define av1_highbd_convolve8 av1_highbd_convolve8_c
|
||||||
|
|
||||||
|
void av1_highbd_convolve8_horiz_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
||||||
|
#define av1_highbd_convolve8_horiz av1_highbd_convolve8_horiz_c
|
||||||
|
|
||||||
|
void av1_highbd_convolve8_vert_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
||||||
|
#define av1_highbd_convolve8_vert av1_highbd_convolve8_vert_c
|
||||||
|
|
||||||
|
void av1_highbd_convolve_2d_copy_sr_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_convolve_2d_copy_sr_sse2(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_convolve_2d_copy_sr_avx2(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_convolve_2d_copy_sr)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
|
||||||
|
void av1_highbd_convolve_2d_scale_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_convolve_2d_scale_sse4_1(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_convolve_2d_scale)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params, int bd);
|
||||||
|
|
||||||
|
void av1_highbd_convolve_2d_sr_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_convolve_2d_sr_ssse3(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_convolve_2d_sr_avx2(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_convolve_2d_sr)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
|
||||||
|
void av1_highbd_convolve_avg_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
||||||
|
#define av1_highbd_convolve_avg av1_highbd_convolve_avg_c
|
||||||
|
|
||||||
|
void av1_highbd_convolve_copy_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
||||||
|
#define av1_highbd_convolve_copy av1_highbd_convolve_copy_c
|
||||||
|
|
||||||
|
void av1_highbd_convolve_horiz_rs_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, const int16_t *x_filters, int x0_qn, int x_step_qn, int bd);
|
||||||
|
void av1_highbd_convolve_horiz_rs_sse4_1(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, const int16_t *x_filters, int x0_qn, int x_step_qn, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_convolve_horiz_rs)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, const int16_t *x_filters, int x0_qn, int x_step_qn, int bd);
|
||||||
|
|
||||||
|
void av1_highbd_convolve_x_sr_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_convolve_x_sr_ssse3(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_convolve_x_sr_avx2(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_convolve_x_sr)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
|
||||||
|
void av1_highbd_convolve_y_sr_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_convolve_y_sr_ssse3(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_convolve_y_sr_avx2(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_convolve_y_sr)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
|
||||||
|
void av1_highbd_dr_prediction_z1_c(uint16_t *dst, ptrdiff_t stride, int bw, int bh, const uint16_t *above, const uint16_t *left, int upsample_above, int dx, int dy, int bd);
|
||||||
|
#define av1_highbd_dr_prediction_z1 av1_highbd_dr_prediction_z1_c
|
||||||
|
|
||||||
|
void av1_highbd_dr_prediction_z2_c(uint16_t *dst, ptrdiff_t stride, int bw, int bh, const uint16_t *above, const uint16_t *left, int upsample_above, int upsample_left, int dx, int dy, int bd);
|
||||||
|
#define av1_highbd_dr_prediction_z2 av1_highbd_dr_prediction_z2_c
|
||||||
|
|
||||||
|
void av1_highbd_dr_prediction_z3_c(uint16_t *dst, ptrdiff_t stride, int bw, int bh, const uint16_t *above, const uint16_t *left, int upsample_left, int dx, int dy, int bd);
|
||||||
|
#define av1_highbd_dr_prediction_z3 av1_highbd_dr_prediction_z3_c
|
||||||
|
|
||||||
|
void av1_highbd_iwht4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, int bd);
|
||||||
|
#define av1_highbd_iwht4x4_16_add av1_highbd_iwht4x4_16_add_c
|
||||||
|
|
||||||
|
void av1_highbd_iwht4x4_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, int bd);
|
||||||
|
#define av1_highbd_iwht4x4_1_add av1_highbd_iwht4x4_1_add_c
|
||||||
|
|
||||||
|
void av1_highbd_jnt_convolve_2d_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_jnt_convolve_2d_sse4_1(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_jnt_convolve_2d_avx2(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_jnt_convolve_2d)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
|
||||||
|
void av1_highbd_jnt_convolve_2d_copy_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_jnt_convolve_2d_copy_sse4_1(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_jnt_convolve_2d_copy_avx2(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_jnt_convolve_2d_copy)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
|
||||||
|
void av1_highbd_jnt_convolve_x_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_jnt_convolve_x_sse4_1(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_jnt_convolve_x_avx2(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_jnt_convolve_x)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
|
||||||
|
void av1_highbd_jnt_convolve_y_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_jnt_convolve_y_sse4_1(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_jnt_convolve_y_avx2(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_jnt_convolve_y)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
|
||||||
|
void av1_highbd_warp_affine_c(const int32_t *mat, const uint16_t *ref, int width, int height, int stride, uint16_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, int bd, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
||||||
|
void av1_highbd_warp_affine_sse4_1(const int32_t *mat, const uint16_t *ref, int width, int height, int stride, uint16_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, int bd, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_warp_affine)(const int32_t *mat, const uint16_t *ref, int width, int height, int stride, uint16_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, int bd, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
||||||
|
|
||||||
|
void av1_highbd_wiener_convolve_add_src_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, const ConvolveParams *conv_params, int bps);
|
||||||
|
void av1_highbd_wiener_convolve_add_src_ssse3(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, const ConvolveParams *conv_params, int bps);
|
||||||
|
void av1_highbd_wiener_convolve_add_src_avx2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, const ConvolveParams *conv_params, int bps);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_wiener_convolve_add_src)(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, const ConvolveParams *conv_params, int bps);
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_16x16_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
void av1_inv_txfm2d_add_16x16_sse4_1(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_inv_txfm2d_add_16x16)(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_16x32_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_16x32 av1_inv_txfm2d_add_16x32_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_16x4_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_16x4 av1_inv_txfm2d_add_16x4_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_16x64_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_16x64 av1_inv_txfm2d_add_16x64_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_16x8_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_16x8 av1_inv_txfm2d_add_16x8_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_32x16_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_32x16 av1_inv_txfm2d_add_32x16_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_32x32_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
void av1_inv_txfm2d_add_32x32_avx2(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_inv_txfm2d_add_32x32)(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_32x64_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_32x64 av1_inv_txfm2d_add_32x64_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_32x8_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_32x8 av1_inv_txfm2d_add_32x8_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_4x16_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_4x16 av1_inv_txfm2d_add_4x16_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_4x4_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
void av1_inv_txfm2d_add_4x4_sse4_1(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_inv_txfm2d_add_4x4)(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_4x8_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_4x8 av1_inv_txfm2d_add_4x8_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_64x16_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_64x16 av1_inv_txfm2d_add_64x16_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_64x32_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_64x32 av1_inv_txfm2d_add_64x32_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_64x64_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
void av1_inv_txfm2d_add_64x64_sse4_1(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_inv_txfm2d_add_64x64)(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_8x16_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_8x16 av1_inv_txfm2d_add_8x16_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_8x32_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_8x32 av1_inv_txfm2d_add_8x32_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_8x4_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_8x4 av1_inv_txfm2d_add_8x4_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_8x8_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
void av1_inv_txfm2d_add_8x8_sse4_1(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_inv_txfm2d_add_8x8)(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
|
||||||
|
void av1_inv_txfm_add_c(const tran_low_t *dqcoeff, uint8_t *dst, int stride, const TxfmParam *txfm_param);
|
||||||
|
void av1_inv_txfm_add_ssse3(const tran_low_t *dqcoeff, uint8_t *dst, int stride, const TxfmParam *txfm_param);
|
||||||
|
void av1_inv_txfm_add_avx2(const tran_low_t *dqcoeff, uint8_t *dst, int stride, const TxfmParam *txfm_param);
|
||||||
|
RTCD_EXTERN void (*av1_inv_txfm_add)(const tran_low_t *dqcoeff, uint8_t *dst, int stride, const TxfmParam *txfm_param);
|
||||||
|
|
||||||
|
void av1_jnt_convolve_2d_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_jnt_convolve_2d_ssse3(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_jnt_convolve_2d_avx2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
RTCD_EXTERN void (*av1_jnt_convolve_2d)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
|
||||||
|
void av1_jnt_convolve_2d_copy_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_jnt_convolve_2d_copy_sse2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_jnt_convolve_2d_copy_avx2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
RTCD_EXTERN void (*av1_jnt_convolve_2d_copy)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
|
||||||
|
void av1_jnt_convolve_x_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_jnt_convolve_x_sse2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_jnt_convolve_x_avx2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
RTCD_EXTERN void (*av1_jnt_convolve_x)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
|
||||||
|
void av1_jnt_convolve_y_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_jnt_convolve_y_sse2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_jnt_convolve_y_avx2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
RTCD_EXTERN void (*av1_jnt_convolve_y)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
|
||||||
|
void av1_selfguided_restoration_c(const uint8_t *dgd8, int width, int height,
|
||||||
|
int dgd_stride, int32_t *flt0, int32_t *flt1, int flt_stride,
|
||||||
|
int sgr_params_idx, int bit_depth, int highbd);
|
||||||
|
void av1_selfguided_restoration_sse4_1(const uint8_t *dgd8, int width, int height,
|
||||||
|
int dgd_stride, int32_t *flt0, int32_t *flt1, int flt_stride,
|
||||||
|
int sgr_params_idx, int bit_depth, int highbd);
|
||||||
|
void av1_selfguided_restoration_avx2(const uint8_t *dgd8, int width, int height,
|
||||||
|
int dgd_stride, int32_t *flt0, int32_t *flt1, int flt_stride,
|
||||||
|
int sgr_params_idx, int bit_depth, int highbd);
|
||||||
|
RTCD_EXTERN void (*av1_selfguided_restoration)(const uint8_t *dgd8, int width, int height,
|
||||||
|
int dgd_stride, int32_t *flt0, int32_t *flt1, int flt_stride,
|
||||||
|
int sgr_params_idx, int bit_depth, int highbd);
|
||||||
|
|
||||||
|
void av1_upsample_intra_edge_c(uint8_t *p, int sz);
|
||||||
|
void av1_upsample_intra_edge_sse4_1(uint8_t *p, int sz);
|
||||||
|
RTCD_EXTERN void (*av1_upsample_intra_edge)(uint8_t *p, int sz);
|
||||||
|
|
||||||
|
void av1_upsample_intra_edge_high_c(uint16_t *p, int sz, int bd);
|
||||||
|
void av1_upsample_intra_edge_high_sse4_1(uint16_t *p, int sz, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_upsample_intra_edge_high)(uint16_t *p, int sz, int bd);
|
||||||
|
|
||||||
|
void av1_warp_affine_c(const int32_t *mat, const uint8_t *ref, int width, int height, int stride, uint8_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
||||||
|
void av1_warp_affine_sse4_1(const int32_t *mat, const uint8_t *ref, int width, int height, int stride, uint8_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
||||||
|
RTCD_EXTERN void (*av1_warp_affine)(const int32_t *mat, const uint8_t *ref, int width, int height, int stride, uint8_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
||||||
|
|
||||||
|
void av1_wiener_convolve_add_src_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, const ConvolveParams *conv_params);
|
||||||
|
void av1_wiener_convolve_add_src_sse2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, const ConvolveParams *conv_params);
|
||||||
|
void av1_wiener_convolve_add_src_avx2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, const ConvolveParams *conv_params);
|
||||||
|
RTCD_EXTERN void (*av1_wiener_convolve_add_src)(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, const ConvolveParams *conv_params);
|
||||||
|
|
||||||
|
void cdef_filter_block_c(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max, int coeff_shift);
|
||||||
|
void cdef_filter_block_sse2(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max, int coeff_shift);
|
||||||
|
void cdef_filter_block_ssse3(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max, int coeff_shift);
|
||||||
|
void cdef_filter_block_sse4_1(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max, int coeff_shift);
|
||||||
|
void cdef_filter_block_avx2(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max, int coeff_shift);
|
||||||
|
RTCD_EXTERN void (*cdef_filter_block)(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max, int coeff_shift);
|
||||||
|
|
||||||
|
int cdef_find_dir_c(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
||||||
|
int cdef_find_dir_sse2(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
||||||
|
int cdef_find_dir_ssse3(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
||||||
|
int cdef_find_dir_sse4_1(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
||||||
|
int cdef_find_dir_avx2(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
||||||
|
RTCD_EXTERN int (*cdef_find_dir)(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
||||||
|
|
||||||
|
cfl_subsample_hbd_fn cfl_get_luma_subsampling_420_hbd_c(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_hbd_fn cfl_get_luma_subsampling_420_hbd_ssse3(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_hbd_fn cfl_get_luma_subsampling_420_hbd_avx2(TX_SIZE tx_size);
|
||||||
|
RTCD_EXTERN cfl_subsample_hbd_fn (*cfl_get_luma_subsampling_420_hbd)(TX_SIZE tx_size);
|
||||||
|
|
||||||
|
cfl_subsample_lbd_fn cfl_get_luma_subsampling_420_lbd_c(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_lbd_fn cfl_get_luma_subsampling_420_lbd_ssse3(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_lbd_fn cfl_get_luma_subsampling_420_lbd_avx2(TX_SIZE tx_size);
|
||||||
|
RTCD_EXTERN cfl_subsample_lbd_fn (*cfl_get_luma_subsampling_420_lbd)(TX_SIZE tx_size);
|
||||||
|
|
||||||
|
cfl_subsample_hbd_fn cfl_get_luma_subsampling_422_hbd_c(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_hbd_fn cfl_get_luma_subsampling_422_hbd_ssse3(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_hbd_fn cfl_get_luma_subsampling_422_hbd_avx2(TX_SIZE tx_size);
|
||||||
|
RTCD_EXTERN cfl_subsample_hbd_fn (*cfl_get_luma_subsampling_422_hbd)(TX_SIZE tx_size);
|
||||||
|
|
||||||
|
cfl_subsample_lbd_fn cfl_get_luma_subsampling_422_lbd_c(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_lbd_fn cfl_get_luma_subsampling_422_lbd_ssse3(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_lbd_fn cfl_get_luma_subsampling_422_lbd_avx2(TX_SIZE tx_size);
|
||||||
|
RTCD_EXTERN cfl_subsample_lbd_fn (*cfl_get_luma_subsampling_422_lbd)(TX_SIZE tx_size);
|
||||||
|
|
||||||
|
cfl_subsample_hbd_fn cfl_get_luma_subsampling_444_hbd_c(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_hbd_fn cfl_get_luma_subsampling_444_hbd_ssse3(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_hbd_fn cfl_get_luma_subsampling_444_hbd_avx2(TX_SIZE tx_size);
|
||||||
|
RTCD_EXTERN cfl_subsample_hbd_fn (*cfl_get_luma_subsampling_444_hbd)(TX_SIZE tx_size);
|
||||||
|
|
||||||
|
cfl_subsample_lbd_fn cfl_get_luma_subsampling_444_lbd_c(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_lbd_fn cfl_get_luma_subsampling_444_lbd_ssse3(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_lbd_fn cfl_get_luma_subsampling_444_lbd_avx2(TX_SIZE tx_size);
|
||||||
|
RTCD_EXTERN cfl_subsample_lbd_fn (*cfl_get_luma_subsampling_444_lbd)(TX_SIZE tx_size);
|
||||||
|
|
||||||
|
void copy_rect8_16bit_to_16bit_c(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
||||||
|
void copy_rect8_16bit_to_16bit_sse2(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
||||||
|
void copy_rect8_16bit_to_16bit_ssse3(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
||||||
|
void copy_rect8_16bit_to_16bit_sse4_1(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
||||||
|
void copy_rect8_16bit_to_16bit_avx2(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
||||||
|
RTCD_EXTERN void (*copy_rect8_16bit_to_16bit)(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
||||||
|
|
||||||
|
void copy_rect8_8bit_to_16bit_c(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
||||||
|
void copy_rect8_8bit_to_16bit_sse2(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
||||||
|
void copy_rect8_8bit_to_16bit_ssse3(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
||||||
|
void copy_rect8_8bit_to_16bit_sse4_1(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
||||||
|
void copy_rect8_8bit_to_16bit_avx2(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
||||||
|
RTCD_EXTERN void (*copy_rect8_8bit_to_16bit)(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
||||||
|
|
||||||
|
cfl_predict_hbd_fn get_predict_hbd_fn_c(TX_SIZE tx_size);
|
||||||
|
cfl_predict_hbd_fn get_predict_hbd_fn_ssse3(TX_SIZE tx_size);
|
||||||
|
cfl_predict_hbd_fn get_predict_hbd_fn_avx2(TX_SIZE tx_size);
|
||||||
|
RTCD_EXTERN cfl_predict_hbd_fn (*get_predict_hbd_fn)(TX_SIZE tx_size);
|
||||||
|
|
||||||
|
cfl_predict_lbd_fn get_predict_lbd_fn_c(TX_SIZE tx_size);
|
||||||
|
cfl_predict_lbd_fn get_predict_lbd_fn_ssse3(TX_SIZE tx_size);
|
||||||
|
cfl_predict_lbd_fn get_predict_lbd_fn_avx2(TX_SIZE tx_size);
|
||||||
|
RTCD_EXTERN cfl_predict_lbd_fn (*get_predict_lbd_fn)(TX_SIZE tx_size);
|
||||||
|
|
||||||
|
cfl_subtract_average_fn get_subtract_average_fn_c(TX_SIZE tx_size);
|
||||||
|
cfl_subtract_average_fn get_subtract_average_fn_sse2(TX_SIZE tx_size);
|
||||||
|
cfl_subtract_average_fn get_subtract_average_fn_avx2(TX_SIZE tx_size);
|
||||||
|
RTCD_EXTERN cfl_subtract_average_fn (*get_subtract_average_fn)(TX_SIZE tx_size);
|
||||||
|
|
||||||
|
void aom_rtcd(void);
|
||||||
|
|
||||||
|
#ifdef RTCD_C
|
||||||
|
#include "aom_ports/x86.h"
|
||||||
|
static void setup_rtcd_internal(void)
|
||||||
|
{
|
||||||
|
int flags = x86_simd_caps();
|
||||||
|
|
||||||
|
(void)flags;
|
||||||
|
|
||||||
|
apply_selfguided_restoration = apply_selfguided_restoration_c;
|
||||||
|
if (flags & HAS_SSE4_1) apply_selfguided_restoration = apply_selfguided_restoration_sse4_1;
|
||||||
|
if (flags & HAS_AVX2) apply_selfguided_restoration = apply_selfguided_restoration_avx2;
|
||||||
|
av1_build_compound_diffwtd_mask = av1_build_compound_diffwtd_mask_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_build_compound_diffwtd_mask = av1_build_compound_diffwtd_mask_sse4_1;
|
||||||
|
av1_build_compound_diffwtd_mask_d16 = av1_build_compound_diffwtd_mask_d16_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_build_compound_diffwtd_mask_d16 = av1_build_compound_diffwtd_mask_d16_sse4_1;
|
||||||
|
av1_build_compound_diffwtd_mask_highbd = av1_build_compound_diffwtd_mask_highbd_c;
|
||||||
|
if (flags & HAS_SSSE3) av1_build_compound_diffwtd_mask_highbd = av1_build_compound_diffwtd_mask_highbd_ssse3;
|
||||||
|
if (flags & HAS_AVX2) av1_build_compound_diffwtd_mask_highbd = av1_build_compound_diffwtd_mask_highbd_avx2;
|
||||||
|
av1_convolve_2d_copy_sr = av1_convolve_2d_copy_sr_c;
|
||||||
|
if (flags & HAS_SSE2) av1_convolve_2d_copy_sr = av1_convolve_2d_copy_sr_sse2;
|
||||||
|
if (flags & HAS_AVX2) av1_convolve_2d_copy_sr = av1_convolve_2d_copy_sr_avx2;
|
||||||
|
av1_convolve_2d_scale = av1_convolve_2d_scale_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_convolve_2d_scale = av1_convolve_2d_scale_sse4_1;
|
||||||
|
av1_convolve_2d_sr = av1_convolve_2d_sr_c;
|
||||||
|
if (flags & HAS_SSE2) av1_convolve_2d_sr = av1_convolve_2d_sr_sse2;
|
||||||
|
if (flags & HAS_AVX2) av1_convolve_2d_sr = av1_convolve_2d_sr_avx2;
|
||||||
|
av1_convolve_horiz_rs = av1_convolve_horiz_rs_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_convolve_horiz_rs = av1_convolve_horiz_rs_sse4_1;
|
||||||
|
av1_convolve_x_sr = av1_convolve_x_sr_c;
|
||||||
|
if (flags & HAS_SSE2) av1_convolve_x_sr = av1_convolve_x_sr_sse2;
|
||||||
|
if (flags & HAS_AVX2) av1_convolve_x_sr = av1_convolve_x_sr_avx2;
|
||||||
|
av1_convolve_y_sr = av1_convolve_y_sr_c;
|
||||||
|
if (flags & HAS_SSE2) av1_convolve_y_sr = av1_convolve_y_sr_sse2;
|
||||||
|
if (flags & HAS_AVX2) av1_convolve_y_sr = av1_convolve_y_sr_avx2;
|
||||||
|
av1_filter_intra_edge = av1_filter_intra_edge_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_filter_intra_edge = av1_filter_intra_edge_sse4_1;
|
||||||
|
av1_filter_intra_edge_high = av1_filter_intra_edge_high_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_filter_intra_edge_high = av1_filter_intra_edge_high_sse4_1;
|
||||||
|
av1_filter_intra_predictor = av1_filter_intra_predictor_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_filter_intra_predictor = av1_filter_intra_predictor_sse4_1;
|
||||||
|
av1_highbd_convolve_2d_copy_sr = av1_highbd_convolve_2d_copy_sr_c;
|
||||||
|
if (flags & HAS_SSE2) av1_highbd_convolve_2d_copy_sr = av1_highbd_convolve_2d_copy_sr_sse2;
|
||||||
|
if (flags & HAS_AVX2) av1_highbd_convolve_2d_copy_sr = av1_highbd_convolve_2d_copy_sr_avx2;
|
||||||
|
av1_highbd_convolve_2d_scale = av1_highbd_convolve_2d_scale_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_highbd_convolve_2d_scale = av1_highbd_convolve_2d_scale_sse4_1;
|
||||||
|
av1_highbd_convolve_2d_sr = av1_highbd_convolve_2d_sr_c;
|
||||||
|
if (flags & HAS_SSSE3) av1_highbd_convolve_2d_sr = av1_highbd_convolve_2d_sr_ssse3;
|
||||||
|
if (flags & HAS_AVX2) av1_highbd_convolve_2d_sr = av1_highbd_convolve_2d_sr_avx2;
|
||||||
|
av1_highbd_convolve_horiz_rs = av1_highbd_convolve_horiz_rs_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_highbd_convolve_horiz_rs = av1_highbd_convolve_horiz_rs_sse4_1;
|
||||||
|
av1_highbd_convolve_x_sr = av1_highbd_convolve_x_sr_c;
|
||||||
|
if (flags & HAS_SSSE3) av1_highbd_convolve_x_sr = av1_highbd_convolve_x_sr_ssse3;
|
||||||
|
if (flags & HAS_AVX2) av1_highbd_convolve_x_sr = av1_highbd_convolve_x_sr_avx2;
|
||||||
|
av1_highbd_convolve_y_sr = av1_highbd_convolve_y_sr_c;
|
||||||
|
if (flags & HAS_SSSE3) av1_highbd_convolve_y_sr = av1_highbd_convolve_y_sr_ssse3;
|
||||||
|
if (flags & HAS_AVX2) av1_highbd_convolve_y_sr = av1_highbd_convolve_y_sr_avx2;
|
||||||
|
av1_highbd_jnt_convolve_2d = av1_highbd_jnt_convolve_2d_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_highbd_jnt_convolve_2d = av1_highbd_jnt_convolve_2d_sse4_1;
|
||||||
|
if (flags & HAS_AVX2) av1_highbd_jnt_convolve_2d = av1_highbd_jnt_convolve_2d_avx2;
|
||||||
|
av1_highbd_jnt_convolve_2d_copy = av1_highbd_jnt_convolve_2d_copy_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_highbd_jnt_convolve_2d_copy = av1_highbd_jnt_convolve_2d_copy_sse4_1;
|
||||||
|
if (flags & HAS_AVX2) av1_highbd_jnt_convolve_2d_copy = av1_highbd_jnt_convolve_2d_copy_avx2;
|
||||||
|
av1_highbd_jnt_convolve_x = av1_highbd_jnt_convolve_x_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_highbd_jnt_convolve_x = av1_highbd_jnt_convolve_x_sse4_1;
|
||||||
|
if (flags & HAS_AVX2) av1_highbd_jnt_convolve_x = av1_highbd_jnt_convolve_x_avx2;
|
||||||
|
av1_highbd_jnt_convolve_y = av1_highbd_jnt_convolve_y_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_highbd_jnt_convolve_y = av1_highbd_jnt_convolve_y_sse4_1;
|
||||||
|
if (flags & HAS_AVX2) av1_highbd_jnt_convolve_y = av1_highbd_jnt_convolve_y_avx2;
|
||||||
|
av1_highbd_warp_affine = av1_highbd_warp_affine_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_highbd_warp_affine = av1_highbd_warp_affine_sse4_1;
|
||||||
|
av1_highbd_wiener_convolve_add_src = av1_highbd_wiener_convolve_add_src_c;
|
||||||
|
if (flags & HAS_SSSE3) av1_highbd_wiener_convolve_add_src = av1_highbd_wiener_convolve_add_src_ssse3;
|
||||||
|
if (flags & HAS_AVX2) av1_highbd_wiener_convolve_add_src = av1_highbd_wiener_convolve_add_src_avx2;
|
||||||
|
av1_inv_txfm2d_add_16x16 = av1_inv_txfm2d_add_16x16_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_inv_txfm2d_add_16x16 = av1_inv_txfm2d_add_16x16_sse4_1;
|
||||||
|
av1_inv_txfm2d_add_32x32 = av1_inv_txfm2d_add_32x32_c;
|
||||||
|
if (flags & HAS_AVX2) av1_inv_txfm2d_add_32x32 = av1_inv_txfm2d_add_32x32_avx2;
|
||||||
|
av1_inv_txfm2d_add_4x4 = av1_inv_txfm2d_add_4x4_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_inv_txfm2d_add_4x4 = av1_inv_txfm2d_add_4x4_sse4_1;
|
||||||
|
av1_inv_txfm2d_add_64x64 = av1_inv_txfm2d_add_64x64_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_inv_txfm2d_add_64x64 = av1_inv_txfm2d_add_64x64_sse4_1;
|
||||||
|
av1_inv_txfm2d_add_8x8 = av1_inv_txfm2d_add_8x8_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_inv_txfm2d_add_8x8 = av1_inv_txfm2d_add_8x8_sse4_1;
|
||||||
|
av1_inv_txfm_add = av1_inv_txfm_add_c;
|
||||||
|
if (flags & HAS_SSSE3) av1_inv_txfm_add = av1_inv_txfm_add_ssse3;
|
||||||
|
if (flags & HAS_AVX2) av1_inv_txfm_add = av1_inv_txfm_add_avx2;
|
||||||
|
av1_jnt_convolve_2d = av1_jnt_convolve_2d_c;
|
||||||
|
if (flags & HAS_SSSE3) av1_jnt_convolve_2d = av1_jnt_convolve_2d_ssse3;
|
||||||
|
if (flags & HAS_AVX2) av1_jnt_convolve_2d = av1_jnt_convolve_2d_avx2;
|
||||||
|
av1_jnt_convolve_2d_copy = av1_jnt_convolve_2d_copy_c;
|
||||||
|
if (flags & HAS_SSE2) av1_jnt_convolve_2d_copy = av1_jnt_convolve_2d_copy_sse2;
|
||||||
|
if (flags & HAS_AVX2) av1_jnt_convolve_2d_copy = av1_jnt_convolve_2d_copy_avx2;
|
||||||
|
av1_jnt_convolve_x = av1_jnt_convolve_x_c;
|
||||||
|
if (flags & HAS_SSE2) av1_jnt_convolve_x = av1_jnt_convolve_x_sse2;
|
||||||
|
if (flags & HAS_AVX2) av1_jnt_convolve_x = av1_jnt_convolve_x_avx2;
|
||||||
|
av1_jnt_convolve_y = av1_jnt_convolve_y_c;
|
||||||
|
if (flags & HAS_SSE2) av1_jnt_convolve_y = av1_jnt_convolve_y_sse2;
|
||||||
|
if (flags & HAS_AVX2) av1_jnt_convolve_y = av1_jnt_convolve_y_avx2;
|
||||||
|
av1_selfguided_restoration = av1_selfguided_restoration_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_selfguided_restoration = av1_selfguided_restoration_sse4_1;
|
||||||
|
if (flags & HAS_AVX2) av1_selfguided_restoration = av1_selfguided_restoration_avx2;
|
||||||
|
av1_upsample_intra_edge = av1_upsample_intra_edge_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_upsample_intra_edge = av1_upsample_intra_edge_sse4_1;
|
||||||
|
av1_upsample_intra_edge_high = av1_upsample_intra_edge_high_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_upsample_intra_edge_high = av1_upsample_intra_edge_high_sse4_1;
|
||||||
|
av1_warp_affine = av1_warp_affine_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_warp_affine = av1_warp_affine_sse4_1;
|
||||||
|
av1_wiener_convolve_add_src = av1_wiener_convolve_add_src_c;
|
||||||
|
if (flags & HAS_SSE2) av1_wiener_convolve_add_src = av1_wiener_convolve_add_src_sse2;
|
||||||
|
if (flags & HAS_AVX2) av1_wiener_convolve_add_src = av1_wiener_convolve_add_src_avx2;
|
||||||
|
cdef_filter_block = cdef_filter_block_c;
|
||||||
|
if (flags & HAS_SSE2) cdef_filter_block = cdef_filter_block_sse2;
|
||||||
|
if (flags & HAS_SSSE3) cdef_filter_block = cdef_filter_block_ssse3;
|
||||||
|
if (flags & HAS_SSE4_1) cdef_filter_block = cdef_filter_block_sse4_1;
|
||||||
|
if (flags & HAS_AVX2) cdef_filter_block = cdef_filter_block_avx2;
|
||||||
|
cdef_find_dir = cdef_find_dir_c;
|
||||||
|
if (flags & HAS_SSE2) cdef_find_dir = cdef_find_dir_sse2;
|
||||||
|
if (flags & HAS_SSSE3) cdef_find_dir = cdef_find_dir_ssse3;
|
||||||
|
if (flags & HAS_SSE4_1) cdef_find_dir = cdef_find_dir_sse4_1;
|
||||||
|
if (flags & HAS_AVX2) cdef_find_dir = cdef_find_dir_avx2;
|
||||||
|
cfl_get_luma_subsampling_420_hbd = cfl_get_luma_subsampling_420_hbd_c;
|
||||||
|
if (flags & HAS_SSSE3) cfl_get_luma_subsampling_420_hbd = cfl_get_luma_subsampling_420_hbd_ssse3;
|
||||||
|
if (flags & HAS_AVX2) cfl_get_luma_subsampling_420_hbd = cfl_get_luma_subsampling_420_hbd_avx2;
|
||||||
|
cfl_get_luma_subsampling_420_lbd = cfl_get_luma_subsampling_420_lbd_c;
|
||||||
|
if (flags & HAS_SSSE3) cfl_get_luma_subsampling_420_lbd = cfl_get_luma_subsampling_420_lbd_ssse3;
|
||||||
|
if (flags & HAS_AVX2) cfl_get_luma_subsampling_420_lbd = cfl_get_luma_subsampling_420_lbd_avx2;
|
||||||
|
cfl_get_luma_subsampling_422_hbd = cfl_get_luma_subsampling_422_hbd_c;
|
||||||
|
if (flags & HAS_SSSE3) cfl_get_luma_subsampling_422_hbd = cfl_get_luma_subsampling_422_hbd_ssse3;
|
||||||
|
if (flags & HAS_AVX2) cfl_get_luma_subsampling_422_hbd = cfl_get_luma_subsampling_422_hbd_avx2;
|
||||||
|
cfl_get_luma_subsampling_422_lbd = cfl_get_luma_subsampling_422_lbd_c;
|
||||||
|
if (flags & HAS_SSSE3) cfl_get_luma_subsampling_422_lbd = cfl_get_luma_subsampling_422_lbd_ssse3;
|
||||||
|
if (flags & HAS_AVX2) cfl_get_luma_subsampling_422_lbd = cfl_get_luma_subsampling_422_lbd_avx2;
|
||||||
|
cfl_get_luma_subsampling_444_hbd = cfl_get_luma_subsampling_444_hbd_c;
|
||||||
|
if (flags & HAS_SSSE3) cfl_get_luma_subsampling_444_hbd = cfl_get_luma_subsampling_444_hbd_ssse3;
|
||||||
|
if (flags & HAS_AVX2) cfl_get_luma_subsampling_444_hbd = cfl_get_luma_subsampling_444_hbd_avx2;
|
||||||
|
cfl_get_luma_subsampling_444_lbd = cfl_get_luma_subsampling_444_lbd_c;
|
||||||
|
if (flags & HAS_SSSE3) cfl_get_luma_subsampling_444_lbd = cfl_get_luma_subsampling_444_lbd_ssse3;
|
||||||
|
if (flags & HAS_AVX2) cfl_get_luma_subsampling_444_lbd = cfl_get_luma_subsampling_444_lbd_avx2;
|
||||||
|
copy_rect8_16bit_to_16bit = copy_rect8_16bit_to_16bit_c;
|
||||||
|
if (flags & HAS_SSE2) copy_rect8_16bit_to_16bit = copy_rect8_16bit_to_16bit_sse2;
|
||||||
|
if (flags & HAS_SSSE3) copy_rect8_16bit_to_16bit = copy_rect8_16bit_to_16bit_ssse3;
|
||||||
|
if (flags & HAS_SSE4_1) copy_rect8_16bit_to_16bit = copy_rect8_16bit_to_16bit_sse4_1;
|
||||||
|
if (flags & HAS_AVX2) copy_rect8_16bit_to_16bit = copy_rect8_16bit_to_16bit_avx2;
|
||||||
|
copy_rect8_8bit_to_16bit = copy_rect8_8bit_to_16bit_c;
|
||||||
|
if (flags & HAS_SSE2) copy_rect8_8bit_to_16bit = copy_rect8_8bit_to_16bit_sse2;
|
||||||
|
if (flags & HAS_SSSE3) copy_rect8_8bit_to_16bit = copy_rect8_8bit_to_16bit_ssse3;
|
||||||
|
if (flags & HAS_SSE4_1) copy_rect8_8bit_to_16bit = copy_rect8_8bit_to_16bit_sse4_1;
|
||||||
|
if (flags & HAS_AVX2) copy_rect8_8bit_to_16bit = copy_rect8_8bit_to_16bit_avx2;
|
||||||
|
get_predict_hbd_fn = get_predict_hbd_fn_c;
|
||||||
|
if (flags & HAS_SSSE3) get_predict_hbd_fn = get_predict_hbd_fn_ssse3;
|
||||||
|
if (flags & HAS_AVX2) get_predict_hbd_fn = get_predict_hbd_fn_avx2;
|
||||||
|
get_predict_lbd_fn = get_predict_lbd_fn_c;
|
||||||
|
if (flags & HAS_SSSE3) get_predict_lbd_fn = get_predict_lbd_fn_ssse3;
|
||||||
|
if (flags & HAS_AVX2) get_predict_lbd_fn = get_predict_lbd_fn_avx2;
|
||||||
|
get_subtract_average_fn = get_subtract_average_fn_c;
|
||||||
|
if (flags & HAS_SSE2) get_subtract_average_fn = get_subtract_average_fn_sse2;
|
||||||
|
if (flags & HAS_AVX2) get_subtract_average_fn = get_subtract_average_fn_avx2;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
} // extern "C"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif
|
||||||
69
media/libaom/config/win/mingw64/config/aom_config.asm
Normal file
69
media/libaom/config/win/mingw64/config/aom_config.asm
Normal file
|
|
@ -0,0 +1,69 @@
|
||||||
|
;
|
||||||
|
; Copyright (c) 2018, Alliance for Open Media. All rights reserved
|
||||||
|
;
|
||||||
|
; This source code is subject to the terms of the BSD 2 Clause License and
|
||||||
|
; the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
|
||||||
|
; was not distributed with this source code in the LICENSE file, you can
|
||||||
|
; obtain it at www.aomedia.org/license/software. If the Alliance for Open
|
||||||
|
; Media Patent License 1.0 was not distributed with this source code in the
|
||||||
|
; PATENTS file, you can obtain it at www.aomedia.org/license/patent.
|
||||||
|
;
|
||||||
|
|
||||||
|
ARCH_ARM equ 0
|
||||||
|
ARCH_MIPS equ 0
|
||||||
|
ARCH_PPC equ 0
|
||||||
|
ARCH_X86 equ 0
|
||||||
|
ARCH_X86_64 equ 1
|
||||||
|
CONFIG_ACCOUNTING equ 0
|
||||||
|
CONFIG_ANALYZER equ 0
|
||||||
|
CONFIG_AV1_DECODER equ 1
|
||||||
|
CONFIG_AV1_ENCODER equ 0
|
||||||
|
CONFIG_BIG_ENDIAN equ 0
|
||||||
|
CONFIG_BITSTREAM_DEBUG equ 0
|
||||||
|
CONFIG_COEFFICIENT_RANGE_CHECKING equ 0
|
||||||
|
CONFIG_COLLECT_INTER_MODE_RD_STATS equ 1
|
||||||
|
CONFIG_COLLECT_RD_STATS equ 0
|
||||||
|
CONFIG_DEBUG equ 0
|
||||||
|
CONFIG_DIST_8X8 equ 1
|
||||||
|
CONFIG_ENTROPY_STATS equ 0
|
||||||
|
CONFIG_FILEOPTIONS equ 1
|
||||||
|
CONFIG_FP_MB_STATS equ 0
|
||||||
|
CONFIG_GCC equ 1
|
||||||
|
CONFIG_GCOV equ 0
|
||||||
|
CONFIG_GPROF equ 0
|
||||||
|
CONFIG_INSPECTION equ 0
|
||||||
|
CONFIG_INTERNAL_STATS equ 0
|
||||||
|
CONFIG_INTER_STATS_ONLY equ 0
|
||||||
|
CONFIG_LIBYUV equ 0
|
||||||
|
CONFIG_LOWBITDEPTH equ 0
|
||||||
|
CONFIG_MISMATCH_DEBUG equ 0
|
||||||
|
CONFIG_MSVS equ 0
|
||||||
|
CONFIG_MULTITHREAD equ 1
|
||||||
|
CONFIG_OS_SUPPORT equ 1
|
||||||
|
CONFIG_PIC equ 0
|
||||||
|
CONFIG_RD_DEBUG equ 0
|
||||||
|
CONFIG_RUNTIME_CPU_DETECT equ 1
|
||||||
|
CONFIG_SHARED equ 0
|
||||||
|
CONFIG_SIZE_LIMIT equ 0
|
||||||
|
CONFIG_SPATIAL_RESAMPLING equ 1
|
||||||
|
CONFIG_STATIC equ 1
|
||||||
|
CONFIG_WEBM_IO equ 0
|
||||||
|
DECODE_HEIGHT_LIMIT equ 0
|
||||||
|
DECODE_WIDTH_LIMIT equ 0
|
||||||
|
HAVE_AVX equ 1
|
||||||
|
HAVE_AVX2 equ 1
|
||||||
|
HAVE_DSPR2 equ 0
|
||||||
|
HAVE_FEXCEPT equ 1
|
||||||
|
HAVE_MIPS32 equ 0
|
||||||
|
HAVE_MIPS64 equ 0
|
||||||
|
HAVE_MMX equ 1
|
||||||
|
HAVE_MSA equ 0
|
||||||
|
HAVE_NEON equ 0
|
||||||
|
HAVE_SSE equ 1
|
||||||
|
HAVE_SSE2 equ 1
|
||||||
|
HAVE_SSE3 equ 1
|
||||||
|
HAVE_SSE4_1 equ 1
|
||||||
|
HAVE_SSE4_2 equ 1
|
||||||
|
HAVE_SSSE3 equ 1
|
||||||
|
HAVE_VSX equ 0
|
||||||
|
HAVE_WXWIDGETS equ 0
|
||||||
75
media/libaom/config/win/mingw64/config/aom_config.h
Normal file
75
media/libaom/config/win/mingw64/config/aom_config.h
Normal file
|
|
@ -0,0 +1,75 @@
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2018, Alliance for Open Media. All rights reserved
|
||||||
|
*
|
||||||
|
* This source code is subject to the terms of the BSD 2 Clause License and
|
||||||
|
* the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
|
||||||
|
* was not distributed with this source code in the LICENSE file, you can
|
||||||
|
* obtain it at www.aomedia.org/license/software. If the Alliance for Open
|
||||||
|
* Media Patent License 1.0 was not distributed with this source code in the
|
||||||
|
* PATENTS file, you can obtain it at www.aomedia.org/license/patent.
|
||||||
|
*/
|
||||||
|
#ifndef AOM_CONFIG_H_
|
||||||
|
#define AOM_CONFIG_H_
|
||||||
|
|
||||||
|
#define ARCH_ARM 0
|
||||||
|
#define ARCH_MIPS 0
|
||||||
|
#define ARCH_PPC 0
|
||||||
|
#define ARCH_X86 0
|
||||||
|
#define ARCH_X86_64 1
|
||||||
|
#define CONFIG_ACCOUNTING 0
|
||||||
|
#define CONFIG_ANALYZER 0
|
||||||
|
#define CONFIG_AV1_DECODER 1
|
||||||
|
#define CONFIG_AV1_ENCODER 0
|
||||||
|
#define CONFIG_BIG_ENDIAN 0
|
||||||
|
#define CONFIG_BITSTREAM_DEBUG 0
|
||||||
|
#define CONFIG_COEFFICIENT_RANGE_CHECKING 0
|
||||||
|
#define CONFIG_COLLECT_INTER_MODE_RD_STATS 1
|
||||||
|
#define CONFIG_COLLECT_RD_STATS 0
|
||||||
|
#define CONFIG_DEBUG 0
|
||||||
|
#define CONFIG_DIST_8X8 1
|
||||||
|
#define CONFIG_ENTROPY_STATS 0
|
||||||
|
#define CONFIG_FILEOPTIONS 1
|
||||||
|
#define CONFIG_FP_MB_STATS 0
|
||||||
|
#define CONFIG_GCC 1
|
||||||
|
#define CONFIG_GCOV 0
|
||||||
|
#define CONFIG_GPROF 0
|
||||||
|
#define CONFIG_INSPECTION 0
|
||||||
|
#define CONFIG_INTERNAL_STATS 0
|
||||||
|
#define CONFIG_INTER_STATS_ONLY 0
|
||||||
|
#define CONFIG_LIBYUV 0
|
||||||
|
#define CONFIG_LOWBITDEPTH 0
|
||||||
|
#define CONFIG_MISMATCH_DEBUG 0
|
||||||
|
#define CONFIG_MSVS 0
|
||||||
|
#define CONFIG_MULTITHREAD 1
|
||||||
|
#define CONFIG_OS_SUPPORT 1
|
||||||
|
#define CONFIG_PIC 0
|
||||||
|
#define CONFIG_RD_DEBUG 0
|
||||||
|
#define CONFIG_RUNTIME_CPU_DETECT 1
|
||||||
|
#define CONFIG_SHARED 0
|
||||||
|
#define CONFIG_SIZE_LIMIT 0
|
||||||
|
#define CONFIG_SPATIAL_RESAMPLING 1
|
||||||
|
#define CONFIG_STATIC 1
|
||||||
|
#define CONFIG_WEBM_IO 0
|
||||||
|
#define DECODE_HEIGHT_LIMIT 0
|
||||||
|
#define DECODE_WIDTH_LIMIT 0
|
||||||
|
#define HAVE_AVX 1
|
||||||
|
#define HAVE_AVX2 1
|
||||||
|
#define HAVE_DSPR2 0
|
||||||
|
#define HAVE_FEXCEPT 1
|
||||||
|
#define HAVE_MIPS32 0
|
||||||
|
#define HAVE_MIPS64 0
|
||||||
|
#define HAVE_MMX 1
|
||||||
|
#define HAVE_MSA 0
|
||||||
|
#define HAVE_NEON 0
|
||||||
|
#define HAVE_SSE 1
|
||||||
|
#define HAVE_SSE2 1
|
||||||
|
#define HAVE_SSE3 1
|
||||||
|
#define HAVE_SSE4_1 1
|
||||||
|
#define HAVE_SSE4_2 1
|
||||||
|
#define HAVE_SSSE3 1
|
||||||
|
#define HAVE_VSX 0
|
||||||
|
#define HAVE_WXWIDGETS 0
|
||||||
|
#define INCLUDE_INSTALL_DIR INSTALLDIR/include
|
||||||
|
#define INLINE inline
|
||||||
|
#define LIB_INSTALL_DIR INSTALLDIR/lib
|
||||||
|
#endif /* AOM_CONFIG_H_ */
|
||||||
1997
media/libaom/config/win/mingw64/config/aom_dsp_rtcd.h
Normal file
1997
media/libaom/config/win/mingw64/config/aom_dsp_rtcd.h
Normal file
File diff suppressed because it is too large
Load diff
88
media/libaom/config/win/mingw64/config/aom_scale_rtcd.h
Normal file
88
media/libaom/config/win/mingw64/config/aom_scale_rtcd.h
Normal file
|
|
@ -0,0 +1,88 @@
|
||||||
|
// This file is generated. Do not edit.
|
||||||
|
#ifndef AOM_SCALE_RTCD_H_
|
||||||
|
#define AOM_SCALE_RTCD_H_
|
||||||
|
|
||||||
|
#ifdef RTCD_C
|
||||||
|
#define RTCD_EXTERN
|
||||||
|
#else
|
||||||
|
#define RTCD_EXTERN extern
|
||||||
|
#endif
|
||||||
|
|
||||||
|
struct yv12_buffer_config;
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
|
void aom_extend_frame_borders_c(struct yv12_buffer_config *ybf, const int num_planes);
|
||||||
|
#define aom_extend_frame_borders aom_extend_frame_borders_c
|
||||||
|
|
||||||
|
void aom_extend_frame_borders_y_c(struct yv12_buffer_config *ybf);
|
||||||
|
#define aom_extend_frame_borders_y aom_extend_frame_borders_y_c
|
||||||
|
|
||||||
|
void aom_extend_frame_inner_borders_c(struct yv12_buffer_config *ybf, const int num_planes);
|
||||||
|
#define aom_extend_frame_inner_borders aom_extend_frame_inner_borders_c
|
||||||
|
|
||||||
|
void aom_horizontal_line_2_1_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
|
||||||
|
#define aom_horizontal_line_2_1_scale aom_horizontal_line_2_1_scale_c
|
||||||
|
|
||||||
|
void aom_horizontal_line_5_3_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
|
||||||
|
#define aom_horizontal_line_5_3_scale aom_horizontal_line_5_3_scale_c
|
||||||
|
|
||||||
|
void aom_horizontal_line_5_4_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
|
||||||
|
#define aom_horizontal_line_5_4_scale aom_horizontal_line_5_4_scale_c
|
||||||
|
|
||||||
|
void aom_vertical_band_2_1_scale_c(unsigned char *source, int src_pitch, unsigned char *dest, int dest_pitch, unsigned int dest_width);
|
||||||
|
#define aom_vertical_band_2_1_scale aom_vertical_band_2_1_scale_c
|
||||||
|
|
||||||
|
void aom_vertical_band_2_1_scale_i_c(unsigned char *source, int src_pitch, unsigned char *dest, int dest_pitch, unsigned int dest_width);
|
||||||
|
#define aom_vertical_band_2_1_scale_i aom_vertical_band_2_1_scale_i_c
|
||||||
|
|
||||||
|
void aom_vertical_band_5_3_scale_c(unsigned char *source, int src_pitch, unsigned char *dest, int dest_pitch, unsigned int dest_width);
|
||||||
|
#define aom_vertical_band_5_3_scale aom_vertical_band_5_3_scale_c
|
||||||
|
|
||||||
|
void aom_vertical_band_5_4_scale_c(unsigned char *source, int src_pitch, unsigned char *dest, int dest_pitch, unsigned int dest_width);
|
||||||
|
#define aom_vertical_band_5_4_scale aom_vertical_band_5_4_scale_c
|
||||||
|
|
||||||
|
void aom_yv12_copy_frame_c(const struct yv12_buffer_config *src_bc, struct yv12_buffer_config *dst_bc, const int num_planes);
|
||||||
|
#define aom_yv12_copy_frame aom_yv12_copy_frame_c
|
||||||
|
|
||||||
|
void aom_yv12_copy_u_c(const struct yv12_buffer_config *src_bc, struct yv12_buffer_config *dst_bc);
|
||||||
|
#define aom_yv12_copy_u aom_yv12_copy_u_c
|
||||||
|
|
||||||
|
void aom_yv12_copy_v_c(const struct yv12_buffer_config *src_bc, struct yv12_buffer_config *dst_bc);
|
||||||
|
#define aom_yv12_copy_v aom_yv12_copy_v_c
|
||||||
|
|
||||||
|
void aom_yv12_copy_y_c(const struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc);
|
||||||
|
#define aom_yv12_copy_y aom_yv12_copy_y_c
|
||||||
|
|
||||||
|
void aom_yv12_extend_frame_borders_c(struct yv12_buffer_config *ybf, const int num_planes);
|
||||||
|
#define aom_yv12_extend_frame_borders aom_yv12_extend_frame_borders_c
|
||||||
|
|
||||||
|
void aom_yv12_partial_copy_u_c(const struct yv12_buffer_config *src_bc, struct yv12_buffer_config *dst_bc, int hstart, int hend, int vstart, int vend);
|
||||||
|
#define aom_yv12_partial_copy_u aom_yv12_partial_copy_u_c
|
||||||
|
|
||||||
|
void aom_yv12_partial_copy_v_c(const struct yv12_buffer_config *src_bc, struct yv12_buffer_config *dst_bc, int hstart, int hend, int vstart, int vend);
|
||||||
|
#define aom_yv12_partial_copy_v aom_yv12_partial_copy_v_c
|
||||||
|
|
||||||
|
void aom_yv12_partial_copy_y_c(const struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc, int hstart, int hend, int vstart, int vend);
|
||||||
|
#define aom_yv12_partial_copy_y aom_yv12_partial_copy_y_c
|
||||||
|
|
||||||
|
void aom_scale_rtcd(void);
|
||||||
|
|
||||||
|
#ifdef RTCD_C
|
||||||
|
#include "aom_ports/x86.h"
|
||||||
|
static void setup_rtcd_internal(void)
|
||||||
|
{
|
||||||
|
int flags = x86_simd_caps();
|
||||||
|
|
||||||
|
(void)flags;
|
||||||
|
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
} // extern "C"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif
|
||||||
553
media/libaom/config/win/mingw64/config/av1_rtcd.h
Normal file
553
media/libaom/config/win/mingw64/config/av1_rtcd.h
Normal file
|
|
@ -0,0 +1,553 @@
|
||||||
|
// This file is generated. Do not edit.
|
||||||
|
#ifndef AOM_RTCD_H_
|
||||||
|
#define AOM_RTCD_H_
|
||||||
|
|
||||||
|
#ifdef RTCD_C
|
||||||
|
#define RTCD_EXTERN
|
||||||
|
#else
|
||||||
|
#define RTCD_EXTERN extern
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/*
|
||||||
|
* AV1
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "aom/aom_integer.h"
|
||||||
|
#include "aom_dsp/txfm_common.h"
|
||||||
|
#include "av1/common/common.h"
|
||||||
|
#include "av1/common/enums.h"
|
||||||
|
#include "av1/common/quant_common.h"
|
||||||
|
#include "av1/common/filter.h"
|
||||||
|
#include "av1/common/convolve.h"
|
||||||
|
#include "av1/common/av1_txfm.h"
|
||||||
|
#include "av1/common/odintrin.h"
|
||||||
|
#include "av1/common/restoration.h"
|
||||||
|
|
||||||
|
struct macroblockd;
|
||||||
|
|
||||||
|
/* Encoder forward decls */
|
||||||
|
struct macroblock;
|
||||||
|
struct txfm_param;
|
||||||
|
struct aom_variance_vtable;
|
||||||
|
struct search_site_config;
|
||||||
|
struct yv12_buffer_config;
|
||||||
|
|
||||||
|
/* Function pointers return by CfL functions */
|
||||||
|
typedef void (*cfl_subsample_lbd_fn)(const uint8_t *input, int input_stride,
|
||||||
|
uint16_t *output_q3);
|
||||||
|
|
||||||
|
typedef void (*cfl_subsample_hbd_fn)(const uint16_t *input, int input_stride,
|
||||||
|
uint16_t *output_q3);
|
||||||
|
|
||||||
|
typedef void (*cfl_subtract_average_fn)(const uint16_t *src, int16_t *dst);
|
||||||
|
|
||||||
|
typedef void (*cfl_predict_lbd_fn)(const int16_t *src, uint8_t *dst,
|
||||||
|
int dst_stride, int alpha_q3);
|
||||||
|
|
||||||
|
typedef void (*cfl_predict_hbd_fn)(const int16_t *src, uint16_t *dst,
|
||||||
|
int dst_stride, int alpha_q3, int bd);
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
|
void apply_selfguided_restoration_c(const uint8_t *dat, int width, int height, int stride, int eps, const int *xqd, uint8_t *dst, int dst_stride, int32_t *tmpbuf, int bit_depth, int highbd);
|
||||||
|
void apply_selfguided_restoration_sse4_1(const uint8_t *dat, int width, int height, int stride, int eps, const int *xqd, uint8_t *dst, int dst_stride, int32_t *tmpbuf, int bit_depth, int highbd);
|
||||||
|
void apply_selfguided_restoration_avx2(const uint8_t *dat, int width, int height, int stride, int eps, const int *xqd, uint8_t *dst, int dst_stride, int32_t *tmpbuf, int bit_depth, int highbd);
|
||||||
|
RTCD_EXTERN void (*apply_selfguided_restoration)(const uint8_t *dat, int width, int height, int stride, int eps, const int *xqd, uint8_t *dst, int dst_stride, int32_t *tmpbuf, int bit_depth, int highbd);
|
||||||
|
|
||||||
|
void av1_build_compound_diffwtd_mask_c(uint8_t *mask, DIFFWTD_MASK_TYPE mask_type, const uint8_t *src0, int src0_stride, const uint8_t *src1, int src1_stride, int h, int w);
|
||||||
|
void av1_build_compound_diffwtd_mask_sse4_1(uint8_t *mask, DIFFWTD_MASK_TYPE mask_type, const uint8_t *src0, int src0_stride, const uint8_t *src1, int src1_stride, int h, int w);
|
||||||
|
RTCD_EXTERN void (*av1_build_compound_diffwtd_mask)(uint8_t *mask, DIFFWTD_MASK_TYPE mask_type, const uint8_t *src0, int src0_stride, const uint8_t *src1, int src1_stride, int h, int w);
|
||||||
|
|
||||||
|
void av1_build_compound_diffwtd_mask_d16_c(uint8_t *mask, DIFFWTD_MASK_TYPE mask_type, const CONV_BUF_TYPE *src0, int src0_stride, const CONV_BUF_TYPE *src1, int src1_stride, int h, int w, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_build_compound_diffwtd_mask_d16_sse4_1(uint8_t *mask, DIFFWTD_MASK_TYPE mask_type, const CONV_BUF_TYPE *src0, int src0_stride, const CONV_BUF_TYPE *src1, int src1_stride, int h, int w, ConvolveParams *conv_params, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_build_compound_diffwtd_mask_d16)(uint8_t *mask, DIFFWTD_MASK_TYPE mask_type, const CONV_BUF_TYPE *src0, int src0_stride, const CONV_BUF_TYPE *src1, int src1_stride, int h, int w, ConvolveParams *conv_params, int bd);
|
||||||
|
|
||||||
|
void av1_build_compound_diffwtd_mask_highbd_c(uint8_t *mask, DIFFWTD_MASK_TYPE mask_type, const uint8_t *src0, int src0_stride, const uint8_t *src1, int src1_stride, int h, int w, int bd);
|
||||||
|
void av1_build_compound_diffwtd_mask_highbd_ssse3(uint8_t *mask, DIFFWTD_MASK_TYPE mask_type, const uint8_t *src0, int src0_stride, const uint8_t *src1, int src1_stride, int h, int w, int bd);
|
||||||
|
void av1_build_compound_diffwtd_mask_highbd_avx2(uint8_t *mask, DIFFWTD_MASK_TYPE mask_type, const uint8_t *src0, int src0_stride, const uint8_t *src1, int src1_stride, int h, int w, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_build_compound_diffwtd_mask_highbd)(uint8_t *mask, DIFFWTD_MASK_TYPE mask_type, const uint8_t *src0, int src0_stride, const uint8_t *src1, int src1_stride, int h, int w, int bd);
|
||||||
|
|
||||||
|
void av1_convolve_2d_copy_sr_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_convolve_2d_copy_sr_sse2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_convolve_2d_copy_sr_avx2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
RTCD_EXTERN void (*av1_convolve_2d_copy_sr)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
|
||||||
|
void av1_convolve_2d_scale_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_qn, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params);
|
||||||
|
void av1_convolve_2d_scale_sse4_1(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_qn, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params);
|
||||||
|
RTCD_EXTERN void (*av1_convolve_2d_scale)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_qn, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params);
|
||||||
|
|
||||||
|
void av1_convolve_2d_sr_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_convolve_2d_sr_sse2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_convolve_2d_sr_avx2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
RTCD_EXTERN void (*av1_convolve_2d_sr)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
|
||||||
|
void av1_convolve_horiz_rs_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const int16_t *x_filters, int x0_qn, int x_step_qn);
|
||||||
|
void av1_convolve_horiz_rs_sse4_1(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const int16_t *x_filters, int x0_qn, int x_step_qn);
|
||||||
|
RTCD_EXTERN void (*av1_convolve_horiz_rs)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const int16_t *x_filters, int x0_qn, int x_step_qn);
|
||||||
|
|
||||||
|
void av1_convolve_x_sr_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_convolve_x_sr_sse2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_convolve_x_sr_avx2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
RTCD_EXTERN void (*av1_convolve_x_sr)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
|
||||||
|
void av1_convolve_y_sr_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_convolve_y_sr_sse2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_convolve_y_sr_avx2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
RTCD_EXTERN void (*av1_convolve_y_sr)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
|
||||||
|
void av1_dr_prediction_z1_c(uint8_t *dst, ptrdiff_t stride, int bw, int bh, const uint8_t *above, const uint8_t *left, int upsample_above, int dx, int dy);
|
||||||
|
#define av1_dr_prediction_z1 av1_dr_prediction_z1_c
|
||||||
|
|
||||||
|
void av1_dr_prediction_z2_c(uint8_t *dst, ptrdiff_t stride, int bw, int bh, const uint8_t *above, const uint8_t *left, int upsample_above, int upsample_left, int dx, int dy);
|
||||||
|
#define av1_dr_prediction_z2 av1_dr_prediction_z2_c
|
||||||
|
|
||||||
|
void av1_dr_prediction_z3_c(uint8_t *dst, ptrdiff_t stride, int bw, int bh, const uint8_t *above, const uint8_t *left, int upsample_left, int dx, int dy);
|
||||||
|
#define av1_dr_prediction_z3 av1_dr_prediction_z3_c
|
||||||
|
|
||||||
|
void av1_filter_intra_edge_c(uint8_t *p, int sz, int strength);
|
||||||
|
void av1_filter_intra_edge_sse4_1(uint8_t *p, int sz, int strength);
|
||||||
|
RTCD_EXTERN void (*av1_filter_intra_edge)(uint8_t *p, int sz, int strength);
|
||||||
|
|
||||||
|
void av1_filter_intra_edge_high_c(uint16_t *p, int sz, int strength);
|
||||||
|
void av1_filter_intra_edge_high_sse4_1(uint16_t *p, int sz, int strength);
|
||||||
|
RTCD_EXTERN void (*av1_filter_intra_edge_high)(uint16_t *p, int sz, int strength);
|
||||||
|
|
||||||
|
void av1_filter_intra_predictor_c(uint8_t *dst, ptrdiff_t stride, TX_SIZE tx_size, const uint8_t *above, const uint8_t *left, int mode);
|
||||||
|
void av1_filter_intra_predictor_sse4_1(uint8_t *dst, ptrdiff_t stride, TX_SIZE tx_size, const uint8_t *above, const uint8_t *left, int mode);
|
||||||
|
RTCD_EXTERN void (*av1_filter_intra_predictor)(uint8_t *dst, ptrdiff_t stride, TX_SIZE tx_size, const uint8_t *above, const uint8_t *left, int mode);
|
||||||
|
|
||||||
|
void av1_highbd_convolve8_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
||||||
|
void av1_highbd_convolve8_sse2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
||||||
|
#define av1_highbd_convolve8 av1_highbd_convolve8_sse2
|
||||||
|
|
||||||
|
void av1_highbd_convolve8_horiz_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
||||||
|
void av1_highbd_convolve8_horiz_sse2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
||||||
|
#define av1_highbd_convolve8_horiz av1_highbd_convolve8_horiz_sse2
|
||||||
|
|
||||||
|
void av1_highbd_convolve8_vert_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
||||||
|
void av1_highbd_convolve8_vert_sse2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
||||||
|
#define av1_highbd_convolve8_vert av1_highbd_convolve8_vert_sse2
|
||||||
|
|
||||||
|
void av1_highbd_convolve_2d_copy_sr_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_convolve_2d_copy_sr_sse2(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_convolve_2d_copy_sr_avx2(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_convolve_2d_copy_sr)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
|
||||||
|
void av1_highbd_convolve_2d_scale_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_convolve_2d_scale_sse4_1(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_convolve_2d_scale)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params, int bd);
|
||||||
|
|
||||||
|
void av1_highbd_convolve_2d_sr_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_convolve_2d_sr_ssse3(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_convolve_2d_sr_avx2(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_convolve_2d_sr)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
|
||||||
|
void av1_highbd_convolve_avg_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
||||||
|
#define av1_highbd_convolve_avg av1_highbd_convolve_avg_c
|
||||||
|
|
||||||
|
void av1_highbd_convolve_copy_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
||||||
|
#define av1_highbd_convolve_copy av1_highbd_convolve_copy_c
|
||||||
|
|
||||||
|
void av1_highbd_convolve_horiz_rs_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, const int16_t *x_filters, int x0_qn, int x_step_qn, int bd);
|
||||||
|
void av1_highbd_convolve_horiz_rs_sse4_1(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, const int16_t *x_filters, int x0_qn, int x_step_qn, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_convolve_horiz_rs)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, const int16_t *x_filters, int x0_qn, int x_step_qn, int bd);
|
||||||
|
|
||||||
|
void av1_highbd_convolve_x_sr_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_convolve_x_sr_ssse3(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_convolve_x_sr_avx2(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_convolve_x_sr)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
|
||||||
|
void av1_highbd_convolve_y_sr_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_convolve_y_sr_ssse3(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_convolve_y_sr_avx2(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_convolve_y_sr)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
|
||||||
|
void av1_highbd_dr_prediction_z1_c(uint16_t *dst, ptrdiff_t stride, int bw, int bh, const uint16_t *above, const uint16_t *left, int upsample_above, int dx, int dy, int bd);
|
||||||
|
#define av1_highbd_dr_prediction_z1 av1_highbd_dr_prediction_z1_c
|
||||||
|
|
||||||
|
void av1_highbd_dr_prediction_z2_c(uint16_t *dst, ptrdiff_t stride, int bw, int bh, const uint16_t *above, const uint16_t *left, int upsample_above, int upsample_left, int dx, int dy, int bd);
|
||||||
|
#define av1_highbd_dr_prediction_z2 av1_highbd_dr_prediction_z2_c
|
||||||
|
|
||||||
|
void av1_highbd_dr_prediction_z3_c(uint16_t *dst, ptrdiff_t stride, int bw, int bh, const uint16_t *above, const uint16_t *left, int upsample_left, int dx, int dy, int bd);
|
||||||
|
#define av1_highbd_dr_prediction_z3 av1_highbd_dr_prediction_z3_c
|
||||||
|
|
||||||
|
void av1_highbd_iwht4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, int bd);
|
||||||
|
#define av1_highbd_iwht4x4_16_add av1_highbd_iwht4x4_16_add_c
|
||||||
|
|
||||||
|
void av1_highbd_iwht4x4_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, int bd);
|
||||||
|
#define av1_highbd_iwht4x4_1_add av1_highbd_iwht4x4_1_add_c
|
||||||
|
|
||||||
|
void av1_highbd_jnt_convolve_2d_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_jnt_convolve_2d_sse4_1(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_jnt_convolve_2d_avx2(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_jnt_convolve_2d)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
|
||||||
|
void av1_highbd_jnt_convolve_2d_copy_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_jnt_convolve_2d_copy_sse4_1(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_jnt_convolve_2d_copy_avx2(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_jnt_convolve_2d_copy)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
|
||||||
|
void av1_highbd_jnt_convolve_x_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_jnt_convolve_x_sse4_1(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_jnt_convolve_x_avx2(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_jnt_convolve_x)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
|
||||||
|
void av1_highbd_jnt_convolve_y_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_jnt_convolve_y_sse4_1(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_jnt_convolve_y_avx2(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_jnt_convolve_y)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
|
||||||
|
void av1_highbd_warp_affine_c(const int32_t *mat, const uint16_t *ref, int width, int height, int stride, uint16_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, int bd, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
||||||
|
void av1_highbd_warp_affine_sse4_1(const int32_t *mat, const uint16_t *ref, int width, int height, int stride, uint16_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, int bd, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_warp_affine)(const int32_t *mat, const uint16_t *ref, int width, int height, int stride, uint16_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, int bd, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
||||||
|
|
||||||
|
void av1_highbd_wiener_convolve_add_src_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, const ConvolveParams *conv_params, int bps);
|
||||||
|
void av1_highbd_wiener_convolve_add_src_ssse3(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, const ConvolveParams *conv_params, int bps);
|
||||||
|
void av1_highbd_wiener_convolve_add_src_avx2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, const ConvolveParams *conv_params, int bps);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_wiener_convolve_add_src)(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, const ConvolveParams *conv_params, int bps);
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_16x16_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
void av1_inv_txfm2d_add_16x16_sse4_1(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_inv_txfm2d_add_16x16)(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_16x32_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_16x32 av1_inv_txfm2d_add_16x32_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_16x4_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_16x4 av1_inv_txfm2d_add_16x4_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_16x64_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_16x64 av1_inv_txfm2d_add_16x64_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_16x8_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_16x8 av1_inv_txfm2d_add_16x8_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_32x16_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_32x16 av1_inv_txfm2d_add_32x16_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_32x32_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
void av1_inv_txfm2d_add_32x32_avx2(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_inv_txfm2d_add_32x32)(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_32x64_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_32x64 av1_inv_txfm2d_add_32x64_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_32x8_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_32x8 av1_inv_txfm2d_add_32x8_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_4x16_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_4x16 av1_inv_txfm2d_add_4x16_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_4x4_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
void av1_inv_txfm2d_add_4x4_sse4_1(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_inv_txfm2d_add_4x4)(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_4x8_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_4x8 av1_inv_txfm2d_add_4x8_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_64x16_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_64x16 av1_inv_txfm2d_add_64x16_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_64x32_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_64x32 av1_inv_txfm2d_add_64x32_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_64x64_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
void av1_inv_txfm2d_add_64x64_sse4_1(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_inv_txfm2d_add_64x64)(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_8x16_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_8x16 av1_inv_txfm2d_add_8x16_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_8x32_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_8x32 av1_inv_txfm2d_add_8x32_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_8x4_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_8x4 av1_inv_txfm2d_add_8x4_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_8x8_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
void av1_inv_txfm2d_add_8x8_sse4_1(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_inv_txfm2d_add_8x8)(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
|
||||||
|
void av1_inv_txfm_add_c(const tran_low_t *dqcoeff, uint8_t *dst, int stride, const TxfmParam *txfm_param);
|
||||||
|
void av1_inv_txfm_add_ssse3(const tran_low_t *dqcoeff, uint8_t *dst, int stride, const TxfmParam *txfm_param);
|
||||||
|
void av1_inv_txfm_add_avx2(const tran_low_t *dqcoeff, uint8_t *dst, int stride, const TxfmParam *txfm_param);
|
||||||
|
RTCD_EXTERN void (*av1_inv_txfm_add)(const tran_low_t *dqcoeff, uint8_t *dst, int stride, const TxfmParam *txfm_param);
|
||||||
|
|
||||||
|
void av1_jnt_convolve_2d_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_jnt_convolve_2d_ssse3(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_jnt_convolve_2d_avx2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
RTCD_EXTERN void (*av1_jnt_convolve_2d)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
|
||||||
|
void av1_jnt_convolve_2d_copy_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_jnt_convolve_2d_copy_sse2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_jnt_convolve_2d_copy_avx2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
RTCD_EXTERN void (*av1_jnt_convolve_2d_copy)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
|
||||||
|
void av1_jnt_convolve_x_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_jnt_convolve_x_sse2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_jnt_convolve_x_avx2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
RTCD_EXTERN void (*av1_jnt_convolve_x)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
|
||||||
|
void av1_jnt_convolve_y_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_jnt_convolve_y_sse2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_jnt_convolve_y_avx2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
RTCD_EXTERN void (*av1_jnt_convolve_y)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
|
||||||
|
void av1_selfguided_restoration_c(const uint8_t *dgd8, int width, int height,
|
||||||
|
int dgd_stride, int32_t *flt0, int32_t *flt1, int flt_stride,
|
||||||
|
int sgr_params_idx, int bit_depth, int highbd);
|
||||||
|
void av1_selfguided_restoration_sse4_1(const uint8_t *dgd8, int width, int height,
|
||||||
|
int dgd_stride, int32_t *flt0, int32_t *flt1, int flt_stride,
|
||||||
|
int sgr_params_idx, int bit_depth, int highbd);
|
||||||
|
void av1_selfguided_restoration_avx2(const uint8_t *dgd8, int width, int height,
|
||||||
|
int dgd_stride, int32_t *flt0, int32_t *flt1, int flt_stride,
|
||||||
|
int sgr_params_idx, int bit_depth, int highbd);
|
||||||
|
RTCD_EXTERN void (*av1_selfguided_restoration)(const uint8_t *dgd8, int width, int height,
|
||||||
|
int dgd_stride, int32_t *flt0, int32_t *flt1, int flt_stride,
|
||||||
|
int sgr_params_idx, int bit_depth, int highbd);
|
||||||
|
|
||||||
|
void av1_upsample_intra_edge_c(uint8_t *p, int sz);
|
||||||
|
void av1_upsample_intra_edge_sse4_1(uint8_t *p, int sz);
|
||||||
|
RTCD_EXTERN void (*av1_upsample_intra_edge)(uint8_t *p, int sz);
|
||||||
|
|
||||||
|
void av1_upsample_intra_edge_high_c(uint16_t *p, int sz, int bd);
|
||||||
|
void av1_upsample_intra_edge_high_sse4_1(uint16_t *p, int sz, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_upsample_intra_edge_high)(uint16_t *p, int sz, int bd);
|
||||||
|
|
||||||
|
void av1_warp_affine_c(const int32_t *mat, const uint8_t *ref, int width, int height, int stride, uint8_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
||||||
|
void av1_warp_affine_sse4_1(const int32_t *mat, const uint8_t *ref, int width, int height, int stride, uint8_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
||||||
|
RTCD_EXTERN void (*av1_warp_affine)(const int32_t *mat, const uint8_t *ref, int width, int height, int stride, uint8_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
||||||
|
|
||||||
|
void av1_wiener_convolve_add_src_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, const ConvolveParams *conv_params);
|
||||||
|
void av1_wiener_convolve_add_src_sse2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, const ConvolveParams *conv_params);
|
||||||
|
void av1_wiener_convolve_add_src_avx2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, const ConvolveParams *conv_params);
|
||||||
|
RTCD_EXTERN void (*av1_wiener_convolve_add_src)(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, const ConvolveParams *conv_params);
|
||||||
|
|
||||||
|
void cdef_filter_block_c(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max, int coeff_shift);
|
||||||
|
void cdef_filter_block_sse2(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max, int coeff_shift);
|
||||||
|
void cdef_filter_block_ssse3(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max, int coeff_shift);
|
||||||
|
void cdef_filter_block_sse4_1(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max, int coeff_shift);
|
||||||
|
void cdef_filter_block_avx2(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max, int coeff_shift);
|
||||||
|
RTCD_EXTERN void (*cdef_filter_block)(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max, int coeff_shift);
|
||||||
|
|
||||||
|
int cdef_find_dir_c(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
||||||
|
int cdef_find_dir_sse2(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
||||||
|
int cdef_find_dir_ssse3(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
||||||
|
int cdef_find_dir_sse4_1(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
||||||
|
int cdef_find_dir_avx2(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
||||||
|
RTCD_EXTERN int (*cdef_find_dir)(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
||||||
|
|
||||||
|
cfl_subsample_hbd_fn cfl_get_luma_subsampling_420_hbd_c(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_hbd_fn cfl_get_luma_subsampling_420_hbd_ssse3(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_hbd_fn cfl_get_luma_subsampling_420_hbd_avx2(TX_SIZE tx_size);
|
||||||
|
RTCD_EXTERN cfl_subsample_hbd_fn (*cfl_get_luma_subsampling_420_hbd)(TX_SIZE tx_size);
|
||||||
|
|
||||||
|
cfl_subsample_lbd_fn cfl_get_luma_subsampling_420_lbd_c(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_lbd_fn cfl_get_luma_subsampling_420_lbd_ssse3(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_lbd_fn cfl_get_luma_subsampling_420_lbd_avx2(TX_SIZE tx_size);
|
||||||
|
RTCD_EXTERN cfl_subsample_lbd_fn (*cfl_get_luma_subsampling_420_lbd)(TX_SIZE tx_size);
|
||||||
|
|
||||||
|
cfl_subsample_hbd_fn cfl_get_luma_subsampling_422_hbd_c(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_hbd_fn cfl_get_luma_subsampling_422_hbd_ssse3(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_hbd_fn cfl_get_luma_subsampling_422_hbd_avx2(TX_SIZE tx_size);
|
||||||
|
RTCD_EXTERN cfl_subsample_hbd_fn (*cfl_get_luma_subsampling_422_hbd)(TX_SIZE tx_size);
|
||||||
|
|
||||||
|
cfl_subsample_lbd_fn cfl_get_luma_subsampling_422_lbd_c(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_lbd_fn cfl_get_luma_subsampling_422_lbd_ssse3(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_lbd_fn cfl_get_luma_subsampling_422_lbd_avx2(TX_SIZE tx_size);
|
||||||
|
RTCD_EXTERN cfl_subsample_lbd_fn (*cfl_get_luma_subsampling_422_lbd)(TX_SIZE tx_size);
|
||||||
|
|
||||||
|
cfl_subsample_hbd_fn cfl_get_luma_subsampling_444_hbd_c(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_hbd_fn cfl_get_luma_subsampling_444_hbd_ssse3(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_hbd_fn cfl_get_luma_subsampling_444_hbd_avx2(TX_SIZE tx_size);
|
||||||
|
RTCD_EXTERN cfl_subsample_hbd_fn (*cfl_get_luma_subsampling_444_hbd)(TX_SIZE tx_size);
|
||||||
|
|
||||||
|
cfl_subsample_lbd_fn cfl_get_luma_subsampling_444_lbd_c(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_lbd_fn cfl_get_luma_subsampling_444_lbd_ssse3(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_lbd_fn cfl_get_luma_subsampling_444_lbd_avx2(TX_SIZE tx_size);
|
||||||
|
RTCD_EXTERN cfl_subsample_lbd_fn (*cfl_get_luma_subsampling_444_lbd)(TX_SIZE tx_size);
|
||||||
|
|
||||||
|
void copy_rect8_16bit_to_16bit_c(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
||||||
|
void copy_rect8_16bit_to_16bit_sse2(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
||||||
|
void copy_rect8_16bit_to_16bit_ssse3(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
||||||
|
void copy_rect8_16bit_to_16bit_sse4_1(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
||||||
|
void copy_rect8_16bit_to_16bit_avx2(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
||||||
|
RTCD_EXTERN void (*copy_rect8_16bit_to_16bit)(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
||||||
|
|
||||||
|
void copy_rect8_8bit_to_16bit_c(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
||||||
|
void copy_rect8_8bit_to_16bit_sse2(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
||||||
|
void copy_rect8_8bit_to_16bit_ssse3(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
||||||
|
void copy_rect8_8bit_to_16bit_sse4_1(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
||||||
|
void copy_rect8_8bit_to_16bit_avx2(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
||||||
|
RTCD_EXTERN void (*copy_rect8_8bit_to_16bit)(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
||||||
|
|
||||||
|
cfl_predict_hbd_fn get_predict_hbd_fn_c(TX_SIZE tx_size);
|
||||||
|
cfl_predict_hbd_fn get_predict_hbd_fn_ssse3(TX_SIZE tx_size);
|
||||||
|
cfl_predict_hbd_fn get_predict_hbd_fn_avx2(TX_SIZE tx_size);
|
||||||
|
RTCD_EXTERN cfl_predict_hbd_fn (*get_predict_hbd_fn)(TX_SIZE tx_size);
|
||||||
|
|
||||||
|
cfl_predict_lbd_fn get_predict_lbd_fn_c(TX_SIZE tx_size);
|
||||||
|
cfl_predict_lbd_fn get_predict_lbd_fn_ssse3(TX_SIZE tx_size);
|
||||||
|
cfl_predict_lbd_fn get_predict_lbd_fn_avx2(TX_SIZE tx_size);
|
||||||
|
RTCD_EXTERN cfl_predict_lbd_fn (*get_predict_lbd_fn)(TX_SIZE tx_size);
|
||||||
|
|
||||||
|
cfl_subtract_average_fn get_subtract_average_fn_c(TX_SIZE tx_size);
|
||||||
|
cfl_subtract_average_fn get_subtract_average_fn_sse2(TX_SIZE tx_size);
|
||||||
|
cfl_subtract_average_fn get_subtract_average_fn_avx2(TX_SIZE tx_size);
|
||||||
|
RTCD_EXTERN cfl_subtract_average_fn (*get_subtract_average_fn)(TX_SIZE tx_size);
|
||||||
|
|
||||||
|
void aom_rtcd(void);
|
||||||
|
|
||||||
|
#ifdef RTCD_C
|
||||||
|
#include "aom_ports/x86.h"
|
||||||
|
static void setup_rtcd_internal(void)
|
||||||
|
{
|
||||||
|
int flags = x86_simd_caps();
|
||||||
|
|
||||||
|
(void)flags;
|
||||||
|
|
||||||
|
apply_selfguided_restoration = apply_selfguided_restoration_c;
|
||||||
|
if (flags & HAS_SSE4_1) apply_selfguided_restoration = apply_selfguided_restoration_sse4_1;
|
||||||
|
if (flags & HAS_AVX2) apply_selfguided_restoration = apply_selfguided_restoration_avx2;
|
||||||
|
av1_build_compound_diffwtd_mask = av1_build_compound_diffwtd_mask_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_build_compound_diffwtd_mask = av1_build_compound_diffwtd_mask_sse4_1;
|
||||||
|
av1_build_compound_diffwtd_mask_d16 = av1_build_compound_diffwtd_mask_d16_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_build_compound_diffwtd_mask_d16 = av1_build_compound_diffwtd_mask_d16_sse4_1;
|
||||||
|
av1_build_compound_diffwtd_mask_highbd = av1_build_compound_diffwtd_mask_highbd_c;
|
||||||
|
if (flags & HAS_SSSE3) av1_build_compound_diffwtd_mask_highbd = av1_build_compound_diffwtd_mask_highbd_ssse3;
|
||||||
|
if (flags & HAS_AVX2) av1_build_compound_diffwtd_mask_highbd = av1_build_compound_diffwtd_mask_highbd_avx2;
|
||||||
|
av1_convolve_2d_copy_sr = av1_convolve_2d_copy_sr_sse2;
|
||||||
|
if (flags & HAS_AVX2) av1_convolve_2d_copy_sr = av1_convolve_2d_copy_sr_avx2;
|
||||||
|
av1_convolve_2d_scale = av1_convolve_2d_scale_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_convolve_2d_scale = av1_convolve_2d_scale_sse4_1;
|
||||||
|
av1_convolve_2d_sr = av1_convolve_2d_sr_sse2;
|
||||||
|
if (flags & HAS_AVX2) av1_convolve_2d_sr = av1_convolve_2d_sr_avx2;
|
||||||
|
av1_convolve_horiz_rs = av1_convolve_horiz_rs_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_convolve_horiz_rs = av1_convolve_horiz_rs_sse4_1;
|
||||||
|
av1_convolve_x_sr = av1_convolve_x_sr_sse2;
|
||||||
|
if (flags & HAS_AVX2) av1_convolve_x_sr = av1_convolve_x_sr_avx2;
|
||||||
|
av1_convolve_y_sr = av1_convolve_y_sr_sse2;
|
||||||
|
if (flags & HAS_AVX2) av1_convolve_y_sr = av1_convolve_y_sr_avx2;
|
||||||
|
av1_filter_intra_edge = av1_filter_intra_edge_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_filter_intra_edge = av1_filter_intra_edge_sse4_1;
|
||||||
|
av1_filter_intra_edge_high = av1_filter_intra_edge_high_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_filter_intra_edge_high = av1_filter_intra_edge_high_sse4_1;
|
||||||
|
av1_filter_intra_predictor = av1_filter_intra_predictor_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_filter_intra_predictor = av1_filter_intra_predictor_sse4_1;
|
||||||
|
av1_highbd_convolve_2d_copy_sr = av1_highbd_convolve_2d_copy_sr_sse2;
|
||||||
|
if (flags & HAS_AVX2) av1_highbd_convolve_2d_copy_sr = av1_highbd_convolve_2d_copy_sr_avx2;
|
||||||
|
av1_highbd_convolve_2d_scale = av1_highbd_convolve_2d_scale_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_highbd_convolve_2d_scale = av1_highbd_convolve_2d_scale_sse4_1;
|
||||||
|
av1_highbd_convolve_2d_sr = av1_highbd_convolve_2d_sr_c;
|
||||||
|
if (flags & HAS_SSSE3) av1_highbd_convolve_2d_sr = av1_highbd_convolve_2d_sr_ssse3;
|
||||||
|
if (flags & HAS_AVX2) av1_highbd_convolve_2d_sr = av1_highbd_convolve_2d_sr_avx2;
|
||||||
|
av1_highbd_convolve_horiz_rs = av1_highbd_convolve_horiz_rs_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_highbd_convolve_horiz_rs = av1_highbd_convolve_horiz_rs_sse4_1;
|
||||||
|
av1_highbd_convolve_x_sr = av1_highbd_convolve_x_sr_c;
|
||||||
|
if (flags & HAS_SSSE3) av1_highbd_convolve_x_sr = av1_highbd_convolve_x_sr_ssse3;
|
||||||
|
if (flags & HAS_AVX2) av1_highbd_convolve_x_sr = av1_highbd_convolve_x_sr_avx2;
|
||||||
|
av1_highbd_convolve_y_sr = av1_highbd_convolve_y_sr_c;
|
||||||
|
if (flags & HAS_SSSE3) av1_highbd_convolve_y_sr = av1_highbd_convolve_y_sr_ssse3;
|
||||||
|
if (flags & HAS_AVX2) av1_highbd_convolve_y_sr = av1_highbd_convolve_y_sr_avx2;
|
||||||
|
av1_highbd_jnt_convolve_2d = av1_highbd_jnt_convolve_2d_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_highbd_jnt_convolve_2d = av1_highbd_jnt_convolve_2d_sse4_1;
|
||||||
|
if (flags & HAS_AVX2) av1_highbd_jnt_convolve_2d = av1_highbd_jnt_convolve_2d_avx2;
|
||||||
|
av1_highbd_jnt_convolve_2d_copy = av1_highbd_jnt_convolve_2d_copy_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_highbd_jnt_convolve_2d_copy = av1_highbd_jnt_convolve_2d_copy_sse4_1;
|
||||||
|
if (flags & HAS_AVX2) av1_highbd_jnt_convolve_2d_copy = av1_highbd_jnt_convolve_2d_copy_avx2;
|
||||||
|
av1_highbd_jnt_convolve_x = av1_highbd_jnt_convolve_x_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_highbd_jnt_convolve_x = av1_highbd_jnt_convolve_x_sse4_1;
|
||||||
|
if (flags & HAS_AVX2) av1_highbd_jnt_convolve_x = av1_highbd_jnt_convolve_x_avx2;
|
||||||
|
av1_highbd_jnt_convolve_y = av1_highbd_jnt_convolve_y_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_highbd_jnt_convolve_y = av1_highbd_jnt_convolve_y_sse4_1;
|
||||||
|
if (flags & HAS_AVX2) av1_highbd_jnt_convolve_y = av1_highbd_jnt_convolve_y_avx2;
|
||||||
|
av1_highbd_warp_affine = av1_highbd_warp_affine_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_highbd_warp_affine = av1_highbd_warp_affine_sse4_1;
|
||||||
|
av1_highbd_wiener_convolve_add_src = av1_highbd_wiener_convolve_add_src_c;
|
||||||
|
if (flags & HAS_SSSE3) av1_highbd_wiener_convolve_add_src = av1_highbd_wiener_convolve_add_src_ssse3;
|
||||||
|
if (flags & HAS_AVX2) av1_highbd_wiener_convolve_add_src = av1_highbd_wiener_convolve_add_src_avx2;
|
||||||
|
av1_inv_txfm2d_add_16x16 = av1_inv_txfm2d_add_16x16_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_inv_txfm2d_add_16x16 = av1_inv_txfm2d_add_16x16_sse4_1;
|
||||||
|
av1_inv_txfm2d_add_32x32 = av1_inv_txfm2d_add_32x32_c;
|
||||||
|
if (flags & HAS_AVX2) av1_inv_txfm2d_add_32x32 = av1_inv_txfm2d_add_32x32_avx2;
|
||||||
|
av1_inv_txfm2d_add_4x4 = av1_inv_txfm2d_add_4x4_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_inv_txfm2d_add_4x4 = av1_inv_txfm2d_add_4x4_sse4_1;
|
||||||
|
av1_inv_txfm2d_add_64x64 = av1_inv_txfm2d_add_64x64_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_inv_txfm2d_add_64x64 = av1_inv_txfm2d_add_64x64_sse4_1;
|
||||||
|
av1_inv_txfm2d_add_8x8 = av1_inv_txfm2d_add_8x8_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_inv_txfm2d_add_8x8 = av1_inv_txfm2d_add_8x8_sse4_1;
|
||||||
|
av1_inv_txfm_add = av1_inv_txfm_add_c;
|
||||||
|
if (flags & HAS_SSSE3) av1_inv_txfm_add = av1_inv_txfm_add_ssse3;
|
||||||
|
if (flags & HAS_AVX2) av1_inv_txfm_add = av1_inv_txfm_add_avx2;
|
||||||
|
av1_jnt_convolve_2d = av1_jnt_convolve_2d_c;
|
||||||
|
if (flags & HAS_SSSE3) av1_jnt_convolve_2d = av1_jnt_convolve_2d_ssse3;
|
||||||
|
if (flags & HAS_AVX2) av1_jnt_convolve_2d = av1_jnt_convolve_2d_avx2;
|
||||||
|
av1_jnt_convolve_2d_copy = av1_jnt_convolve_2d_copy_sse2;
|
||||||
|
if (flags & HAS_AVX2) av1_jnt_convolve_2d_copy = av1_jnt_convolve_2d_copy_avx2;
|
||||||
|
av1_jnt_convolve_x = av1_jnt_convolve_x_sse2;
|
||||||
|
if (flags & HAS_AVX2) av1_jnt_convolve_x = av1_jnt_convolve_x_avx2;
|
||||||
|
av1_jnt_convolve_y = av1_jnt_convolve_y_sse2;
|
||||||
|
if (flags & HAS_AVX2) av1_jnt_convolve_y = av1_jnt_convolve_y_avx2;
|
||||||
|
av1_selfguided_restoration = av1_selfguided_restoration_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_selfguided_restoration = av1_selfguided_restoration_sse4_1;
|
||||||
|
if (flags & HAS_AVX2) av1_selfguided_restoration = av1_selfguided_restoration_avx2;
|
||||||
|
av1_upsample_intra_edge = av1_upsample_intra_edge_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_upsample_intra_edge = av1_upsample_intra_edge_sse4_1;
|
||||||
|
av1_upsample_intra_edge_high = av1_upsample_intra_edge_high_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_upsample_intra_edge_high = av1_upsample_intra_edge_high_sse4_1;
|
||||||
|
av1_warp_affine = av1_warp_affine_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_warp_affine = av1_warp_affine_sse4_1;
|
||||||
|
av1_wiener_convolve_add_src = av1_wiener_convolve_add_src_sse2;
|
||||||
|
if (flags & HAS_AVX2) av1_wiener_convolve_add_src = av1_wiener_convolve_add_src_avx2;
|
||||||
|
cdef_filter_block = cdef_filter_block_sse2;
|
||||||
|
if (flags & HAS_SSSE3) cdef_filter_block = cdef_filter_block_ssse3;
|
||||||
|
if (flags & HAS_SSE4_1) cdef_filter_block = cdef_filter_block_sse4_1;
|
||||||
|
if (flags & HAS_AVX2) cdef_filter_block = cdef_filter_block_avx2;
|
||||||
|
cdef_find_dir = cdef_find_dir_sse2;
|
||||||
|
if (flags & HAS_SSSE3) cdef_find_dir = cdef_find_dir_ssse3;
|
||||||
|
if (flags & HAS_SSE4_1) cdef_find_dir = cdef_find_dir_sse4_1;
|
||||||
|
if (flags & HAS_AVX2) cdef_find_dir = cdef_find_dir_avx2;
|
||||||
|
cfl_get_luma_subsampling_420_hbd = cfl_get_luma_subsampling_420_hbd_c;
|
||||||
|
if (flags & HAS_SSSE3) cfl_get_luma_subsampling_420_hbd = cfl_get_luma_subsampling_420_hbd_ssse3;
|
||||||
|
if (flags & HAS_AVX2) cfl_get_luma_subsampling_420_hbd = cfl_get_luma_subsampling_420_hbd_avx2;
|
||||||
|
cfl_get_luma_subsampling_420_lbd = cfl_get_luma_subsampling_420_lbd_c;
|
||||||
|
if (flags & HAS_SSSE3) cfl_get_luma_subsampling_420_lbd = cfl_get_luma_subsampling_420_lbd_ssse3;
|
||||||
|
if (flags & HAS_AVX2) cfl_get_luma_subsampling_420_lbd = cfl_get_luma_subsampling_420_lbd_avx2;
|
||||||
|
cfl_get_luma_subsampling_422_hbd = cfl_get_luma_subsampling_422_hbd_c;
|
||||||
|
if (flags & HAS_SSSE3) cfl_get_luma_subsampling_422_hbd = cfl_get_luma_subsampling_422_hbd_ssse3;
|
||||||
|
if (flags & HAS_AVX2) cfl_get_luma_subsampling_422_hbd = cfl_get_luma_subsampling_422_hbd_avx2;
|
||||||
|
cfl_get_luma_subsampling_422_lbd = cfl_get_luma_subsampling_422_lbd_c;
|
||||||
|
if (flags & HAS_SSSE3) cfl_get_luma_subsampling_422_lbd = cfl_get_luma_subsampling_422_lbd_ssse3;
|
||||||
|
if (flags & HAS_AVX2) cfl_get_luma_subsampling_422_lbd = cfl_get_luma_subsampling_422_lbd_avx2;
|
||||||
|
cfl_get_luma_subsampling_444_hbd = cfl_get_luma_subsampling_444_hbd_c;
|
||||||
|
if (flags & HAS_SSSE3) cfl_get_luma_subsampling_444_hbd = cfl_get_luma_subsampling_444_hbd_ssse3;
|
||||||
|
if (flags & HAS_AVX2) cfl_get_luma_subsampling_444_hbd = cfl_get_luma_subsampling_444_hbd_avx2;
|
||||||
|
cfl_get_luma_subsampling_444_lbd = cfl_get_luma_subsampling_444_lbd_c;
|
||||||
|
if (flags & HAS_SSSE3) cfl_get_luma_subsampling_444_lbd = cfl_get_luma_subsampling_444_lbd_ssse3;
|
||||||
|
if (flags & HAS_AVX2) cfl_get_luma_subsampling_444_lbd = cfl_get_luma_subsampling_444_lbd_avx2;
|
||||||
|
copy_rect8_16bit_to_16bit = copy_rect8_16bit_to_16bit_sse2;
|
||||||
|
if (flags & HAS_SSSE3) copy_rect8_16bit_to_16bit = copy_rect8_16bit_to_16bit_ssse3;
|
||||||
|
if (flags & HAS_SSE4_1) copy_rect8_16bit_to_16bit = copy_rect8_16bit_to_16bit_sse4_1;
|
||||||
|
if (flags & HAS_AVX2) copy_rect8_16bit_to_16bit = copy_rect8_16bit_to_16bit_avx2;
|
||||||
|
copy_rect8_8bit_to_16bit = copy_rect8_8bit_to_16bit_sse2;
|
||||||
|
if (flags & HAS_SSSE3) copy_rect8_8bit_to_16bit = copy_rect8_8bit_to_16bit_ssse3;
|
||||||
|
if (flags & HAS_SSE4_1) copy_rect8_8bit_to_16bit = copy_rect8_8bit_to_16bit_sse4_1;
|
||||||
|
if (flags & HAS_AVX2) copy_rect8_8bit_to_16bit = copy_rect8_8bit_to_16bit_avx2;
|
||||||
|
get_predict_hbd_fn = get_predict_hbd_fn_c;
|
||||||
|
if (flags & HAS_SSSE3) get_predict_hbd_fn = get_predict_hbd_fn_ssse3;
|
||||||
|
if (flags & HAS_AVX2) get_predict_hbd_fn = get_predict_hbd_fn_avx2;
|
||||||
|
get_predict_lbd_fn = get_predict_lbd_fn_c;
|
||||||
|
if (flags & HAS_SSSE3) get_predict_lbd_fn = get_predict_lbd_fn_ssse3;
|
||||||
|
if (flags & HAS_AVX2) get_predict_lbd_fn = get_predict_lbd_fn_avx2;
|
||||||
|
get_subtract_average_fn = get_subtract_average_fn_sse2;
|
||||||
|
if (flags & HAS_AVX2) get_subtract_average_fn = get_subtract_average_fn_avx2;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
} // extern "C"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
@ -1,176 +0,0 @@
|
||||||
ARCH_ARM equ 0
|
|
||||||
ARCH_MIPS equ 0
|
|
||||||
ARCH_X86 equ 0
|
|
||||||
ARCH_X86_64 equ 1
|
|
||||||
HAVE_NEON equ 0
|
|
||||||
HAVE_NEON_ASM equ 0
|
|
||||||
HAVE_MIPS32 equ 0
|
|
||||||
HAVE_DSPR2 equ 0
|
|
||||||
HAVE_MSA equ 0
|
|
||||||
HAVE_MIPS64 equ 0
|
|
||||||
HAVE_MMX equ 1
|
|
||||||
HAVE_SSE equ 1
|
|
||||||
HAVE_SSE2 equ 1
|
|
||||||
HAVE_SSE3 equ 1
|
|
||||||
HAVE_SSSE3 equ 1
|
|
||||||
HAVE_SSE4_1 equ 1
|
|
||||||
HAVE_AVX equ 1
|
|
||||||
HAVE_AVX2 equ 1
|
|
||||||
HAVE_AOM_PORTS equ 1
|
|
||||||
HAVE_FEXCEPT equ 1
|
|
||||||
HAVE_PTHREAD_H equ 0
|
|
||||||
HAVE_WXWIDGETS equ 0
|
|
||||||
CONFIG_DEPENDENCY_TRACKING equ 1
|
|
||||||
CONFIG_EXTERNAL_BUILD equ 1
|
|
||||||
CONFIG_INSTALL_DOCS equ 1
|
|
||||||
CONFIG_INSTALL_BINS equ 1
|
|
||||||
CONFIG_INSTALL_LIBS equ 1
|
|
||||||
CONFIG_INSTALL_SRCS equ 0
|
|
||||||
CONFIG_DEBUG equ 0
|
|
||||||
CONFIG_GPROF equ 0
|
|
||||||
CONFIG_GCOV equ 0
|
|
||||||
CONFIG_RVCT equ 0
|
|
||||||
CONFIG_GCC equ 0
|
|
||||||
CONFIG_MSVS equ 1
|
|
||||||
CONFIG_PIC equ 1
|
|
||||||
CONFIG_BIG_ENDIAN equ 0
|
|
||||||
CONFIG_CODEC_SRCS equ 0
|
|
||||||
CONFIG_DEBUG_LIBS equ 0
|
|
||||||
CONFIG_RUNTIME_CPU_DETECT equ 1
|
|
||||||
CONFIG_POSTPROC equ 1
|
|
||||||
CONFIG_MULTITHREAD equ 1
|
|
||||||
CONFIG_INTERNAL_STATS equ 0
|
|
||||||
CONFIG_AV1_ENCODER equ 1
|
|
||||||
CONFIG_AV1_DECODER equ 1
|
|
||||||
CONFIG_AV1 equ 1
|
|
||||||
CONFIG_STATIC_MSVCRT equ 0
|
|
||||||
CONFIG_SPATIAL_RESAMPLING equ 1
|
|
||||||
CONFIG_REALTIME_ONLY equ 0
|
|
||||||
CONFIG_SHARED equ 0
|
|
||||||
CONFIG_STATIC equ 1
|
|
||||||
CONFIG_SMALL equ 0
|
|
||||||
CONFIG_POSTPROC_VISUALIZER equ 0
|
|
||||||
CONFIG_OS_SUPPORT equ 1
|
|
||||||
CONFIG_UNIT_TESTS equ 0
|
|
||||||
CONFIG_WEBM_IO equ 1
|
|
||||||
CONFIG_LIBYUV equ 1
|
|
||||||
CONFIG_ACCOUNTING equ 0
|
|
||||||
CONFIG_INSPECTION equ 0
|
|
||||||
CONFIG_DECODE_PERF_TESTS equ 0
|
|
||||||
CONFIG_ENCODE_PERF_TESTS equ 0
|
|
||||||
CONFIG_BITSTREAM_DEBUG equ 0
|
|
||||||
CONFIG_SYMBOLRATE equ 0
|
|
||||||
CONFIG_COEFFICIENT_RANGE_CHECKING equ 0
|
|
||||||
CONFIG_LOWBITDEPTH equ 1
|
|
||||||
CONFIG_HIGHBITDEPTH equ 1
|
|
||||||
CONFIG_EXPERIMENTAL equ 0
|
|
||||||
CONFIG_SIZE_LIMIT equ 1
|
|
||||||
CONFIG_FP_MB_STATS equ 0
|
|
||||||
CONFIG_CDEF equ 1
|
|
||||||
CONFIG_CDEF_SINGLEPASS equ 1
|
|
||||||
CONFIG_VAR_TX equ 1
|
|
||||||
CONFIG_RECT_TX equ 1
|
|
||||||
CONFIG_RECT_TX_EXT equ 0
|
|
||||||
CONFIG_TPL_MV equ 0
|
|
||||||
CONFIG_DUAL_FILTER equ 1
|
|
||||||
CONFIG_CONVOLVE_ROUND equ 1
|
|
||||||
CONFIG_COMPOUND_ROUND equ 0
|
|
||||||
CONFIG_EXT_TX equ 1
|
|
||||||
CONFIG_TX64X64 equ 0
|
|
||||||
CONFIG_EXT_INTRA equ 1
|
|
||||||
CONFIG_INTRA_INTERP equ 0
|
|
||||||
CONFIG_FILTER_INTRA equ 0
|
|
||||||
CONFIG_INTRA_EDGE equ 1
|
|
||||||
CONFIG_INTRABC equ 0
|
|
||||||
CONFIG_INTERINTRA equ 1
|
|
||||||
CONFIG_WEDGE equ 1
|
|
||||||
CONFIG_COMPOUND_SEGMENT equ 1
|
|
||||||
CONFIG_EXT_REFS equ 1
|
|
||||||
CONFIG_GLOBAL_MOTION equ 1
|
|
||||||
CONFIG_NEW_QUANT equ 0
|
|
||||||
CONFIG_SUPERTX equ 0
|
|
||||||
CONFIG_ANS equ 0
|
|
||||||
CONFIG_LOOP_RESTORATION equ 1
|
|
||||||
CONFIG_STRIPED_LOOP_RESTORATION equ 0
|
|
||||||
CONFIG_EXT_PARTITION equ 0
|
|
||||||
CONFIG_EXT_PARTITION_TYPES equ 0
|
|
||||||
CONFIG_EXT_PARTITION_TYPES_AB equ 0
|
|
||||||
CONFIG_UNPOISON_PARTITION_CTX equ 0
|
|
||||||
CONFIG_EXT_TILE equ 0
|
|
||||||
CONFIG_MOTION_VAR equ 1
|
|
||||||
CONFIG_NCOBMC equ 0
|
|
||||||
CONFIG_WARPED_MOTION equ 1
|
|
||||||
CONFIG_Q_ADAPT_PROBS equ 0
|
|
||||||
CONFIG_INTER_STATS_ONLY equ 0
|
|
||||||
CONFIG_PALETTE_DELTA_ENCODING equ 0
|
|
||||||
CONFIG_RAWBITS equ 0
|
|
||||||
CONFIG_KF_CTX equ 0
|
|
||||||
CONFIG_PVQ equ 0
|
|
||||||
CONFIG_CFL equ 0
|
|
||||||
CONFIG_XIPHRC equ 0
|
|
||||||
CONFIG_DCT_ONLY equ 0
|
|
||||||
CONFIG_DAALA_TX equ 0
|
|
||||||
CONFIG_DAALA_DCT4 equ 0
|
|
||||||
CONFIG_DAALA_DCT8 equ 0
|
|
||||||
CONFIG_DAALA_DCT16 equ 0
|
|
||||||
CONFIG_DAALA_DCT32 equ 0
|
|
||||||
CONFIG_DAALA_DCT64 equ 0
|
|
||||||
CONFIG_CB4X4 equ 1
|
|
||||||
CONFIG_CHROMA_2X2 equ 0
|
|
||||||
CONFIG_CHROMA_SUB8X8 equ 1
|
|
||||||
CONFIG_FRAME_SIZE equ 0
|
|
||||||
CONFIG_EXT_DELTA_Q equ 1
|
|
||||||
CONFIG_ADAPT_SCAN equ 0
|
|
||||||
CONFIG_PARALLEL_DEBLOCKING equ 1
|
|
||||||
CONFIG_DEBLOCK_13TAP equ 0
|
|
||||||
CONFIG_LOOPFILTERING_ACROSS_TILES equ 1
|
|
||||||
CONFIG_TEMPMV_SIGNALING equ 1
|
|
||||||
CONFIG_RD_DEBUG equ 0
|
|
||||||
CONFIG_REFERENCE_BUFFER equ 1
|
|
||||||
CONFIG_COEF_INTERLEAVE equ 0
|
|
||||||
CONFIG_ENTROPY_STATS equ 0
|
|
||||||
CONFIG_MASKED_TX equ 0
|
|
||||||
CONFIG_DEPENDENT_HORZTILES equ 0
|
|
||||||
CONFIG_DIST_8X8 equ 1
|
|
||||||
CONFIG_PALETTE_THROUGHPUT equ 1
|
|
||||||
CONFIG_REF_ADAPT equ 0
|
|
||||||
CONFIG_LV_MAP equ 0
|
|
||||||
CONFIG_CTX1D equ 0
|
|
||||||
CONFIG_TXK_SEL equ 0
|
|
||||||
CONFIG_MV_COMPRESS equ 1
|
|
||||||
CONFIG_SEGMENT_ZEROMV equ 0
|
|
||||||
CONFIG_FRAME_SUPERRES equ 0
|
|
||||||
CONFIG_NEW_MULTISYMBOL equ 0
|
|
||||||
CONFIG_COMPOUND_SINGLEREF equ 0
|
|
||||||
CONFIG_AOM_QM equ 1
|
|
||||||
CONFIG_ONE_SIDED_COMPOUND equ 1
|
|
||||||
CONFIG_EXT_COMP_REFS equ 1
|
|
||||||
CONFIG_SMOOTH_HV equ 1
|
|
||||||
CONFIG_VAR_REFS equ 0
|
|
||||||
CONFIG_LGT equ 0
|
|
||||||
CONFIG_LGT_FROM_PRED equ 0
|
|
||||||
CONFIG_SBL_SYMBOL equ 0
|
|
||||||
CONFIG_NCOBMC_ADAPT_WEIGHT equ 0
|
|
||||||
CONFIG_BGSPRITE equ 0
|
|
||||||
CONFIG_VAR_TX_NO_TX_MODE equ 0
|
|
||||||
CONFIG_MRC_TX equ 0
|
|
||||||
CONFIG_LPF_DIRECT equ 0
|
|
||||||
CONFIG_LOOPFILTER_LEVEL equ 0
|
|
||||||
CONFIG_NO_FRAME_CONTEXT_SIGNALING equ 0
|
|
||||||
CONFIG_TXMG equ 1
|
|
||||||
CONFIG_MAX_TILE equ 0
|
|
||||||
CONFIG_HASH_ME equ 0
|
|
||||||
CONFIG_COLORSPACE_HEADERS equ 0
|
|
||||||
CONFIG_MFMV equ 0
|
|
||||||
CONFIG_FRAME_MARKER equ 0
|
|
||||||
CONFIG_JNT_COMP equ 0
|
|
||||||
CONFIG_FRAME_SIGN_BIAS equ 0
|
|
||||||
CONFIG_EXT_SKIP equ 0
|
|
||||||
CONFIG_OBU equ 0
|
|
||||||
CONFIG_AMVR equ 0
|
|
||||||
CONFIG_LPF_SB equ 0
|
|
||||||
CONFIG_OPT_REF_MV equ 0
|
|
||||||
CONFIG_TMV equ 0
|
|
||||||
CONFIG_RESTRICT_COMPRESSED_HDR equ 0
|
|
||||||
CONFIG_HORZONLY_FRAME_SUPERRES equ 0
|
|
||||||
CONFIG_ANALYZER equ 0
|
|
||||||
|
|
@ -1,11 +0,0 @@
|
||||||
/* Copyright (c) 2016, Alliance for Open Media. All rights reserved. */
|
|
||||||
/* */
|
|
||||||
/* This source code is subject to the terms of the BSD 2 Clause License and */
|
|
||||||
/* the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License */
|
|
||||||
/* was not distributed with this source code in the LICENSE file, you can */
|
|
||||||
/* obtain it at www.aomedia.org/license/software. If the Alliance for Open */
|
|
||||||
/* Media Patent License 1.0 was not distributed with this source code in the */
|
|
||||||
/* PATENTS file, you can obtain it at www.aomedia.org/license/patent. */
|
|
||||||
#include "aom/aom_codec.h"
|
|
||||||
static const char* const cfg = "--target=x86_64-win64-vs12 --enable-external-build --disable-examples --disable-docs --disable-unit-tests --size-limit=8192x4608 --enable-pic --enable-postproc --as=yasm";
|
|
||||||
const char *aom_codec_build_config(void) {return cfg;}
|
|
||||||
|
|
@ -1,192 +0,0 @@
|
||||||
/* Copyright (c) 2016, Alliance for Open Media. All rights reserved. */
|
|
||||||
/* */
|
|
||||||
/* This source code is subject to the terms of the BSD 2 Clause License and */
|
|
||||||
/* the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License */
|
|
||||||
/* was not distributed with this source code in the LICENSE file, you can */
|
|
||||||
/* obtain it at www.aomedia.org/license/software. If the Alliance for Open */
|
|
||||||
/* Media Patent License 1.0 was not distributed with this source code in the */
|
|
||||||
/* PATENTS file, you can obtain it at www.aomedia.org/license/patent. */
|
|
||||||
/* This file automatically generated by configure. Do not edit! */
|
|
||||||
#ifndef AOM_CONFIG_H
|
|
||||||
#define AOM_CONFIG_H
|
|
||||||
#define RESTRICT
|
|
||||||
#define INLINE __forceinline
|
|
||||||
#define ARCH_ARM 0
|
|
||||||
#define ARCH_MIPS 0
|
|
||||||
#define ARCH_X86 0
|
|
||||||
#define ARCH_X86_64 1
|
|
||||||
#define HAVE_NEON 0
|
|
||||||
#define HAVE_NEON_ASM 0
|
|
||||||
#define HAVE_MIPS32 0
|
|
||||||
#define HAVE_DSPR2 0
|
|
||||||
#define HAVE_MSA 0
|
|
||||||
#define HAVE_MIPS64 0
|
|
||||||
#define HAVE_MMX 1
|
|
||||||
#define HAVE_SSE 1
|
|
||||||
#define HAVE_SSE2 1
|
|
||||||
#define HAVE_SSE3 1
|
|
||||||
#define HAVE_SSSE3 1
|
|
||||||
#define HAVE_SSE4_1 1
|
|
||||||
#define HAVE_AVX 1
|
|
||||||
#define HAVE_AVX2 1
|
|
||||||
#define HAVE_AOM_PORTS 1
|
|
||||||
#define HAVE_FEXCEPT 1
|
|
||||||
#define HAVE_PTHREAD_H 0
|
|
||||||
#define HAVE_WXWIDGETS 0
|
|
||||||
#define CONFIG_DEPENDENCY_TRACKING 1
|
|
||||||
#define CONFIG_EXTERNAL_BUILD 1
|
|
||||||
#define CONFIG_INSTALL_DOCS 1
|
|
||||||
#define CONFIG_INSTALL_BINS 1
|
|
||||||
#define CONFIG_INSTALL_LIBS 1
|
|
||||||
#define CONFIG_INSTALL_SRCS 0
|
|
||||||
#define CONFIG_DEBUG 0
|
|
||||||
#define CONFIG_GPROF 0
|
|
||||||
#define CONFIG_GCOV 0
|
|
||||||
#define CONFIG_RVCT 0
|
|
||||||
#define CONFIG_GCC 0
|
|
||||||
#define CONFIG_MSVS 1
|
|
||||||
#define CONFIG_PIC 1
|
|
||||||
#define CONFIG_BIG_ENDIAN 0
|
|
||||||
#define CONFIG_CODEC_SRCS 0
|
|
||||||
#define CONFIG_DEBUG_LIBS 0
|
|
||||||
#define CONFIG_RUNTIME_CPU_DETECT 1
|
|
||||||
#define CONFIG_POSTPROC 1
|
|
||||||
#define CONFIG_MULTITHREAD 1
|
|
||||||
#define CONFIG_INTERNAL_STATS 0
|
|
||||||
#define CONFIG_AV1_ENCODER 1
|
|
||||||
#define CONFIG_AV1_DECODER 1
|
|
||||||
#define CONFIG_AV1 1
|
|
||||||
#define CONFIG_STATIC_MSVCRT 0
|
|
||||||
#define CONFIG_SPATIAL_RESAMPLING 1
|
|
||||||
#define CONFIG_REALTIME_ONLY 0
|
|
||||||
#define CONFIG_SHARED 0
|
|
||||||
#define CONFIG_STATIC 1
|
|
||||||
#define CONFIG_SMALL 0
|
|
||||||
#define CONFIG_POSTPROC_VISUALIZER 0
|
|
||||||
#define CONFIG_OS_SUPPORT 1
|
|
||||||
#define CONFIG_UNIT_TESTS 0
|
|
||||||
#define CONFIG_WEBM_IO 1
|
|
||||||
#define CONFIG_LIBYUV 1
|
|
||||||
#define CONFIG_ACCOUNTING 0
|
|
||||||
#define CONFIG_INSPECTION 0
|
|
||||||
#define CONFIG_DECODE_PERF_TESTS 0
|
|
||||||
#define CONFIG_ENCODE_PERF_TESTS 0
|
|
||||||
#define CONFIG_BITSTREAM_DEBUG 0
|
|
||||||
#define CONFIG_SYMBOLRATE 0
|
|
||||||
#define CONFIG_COEFFICIENT_RANGE_CHECKING 0
|
|
||||||
#define CONFIG_LOWBITDEPTH 1
|
|
||||||
#define CONFIG_HIGHBITDEPTH 1
|
|
||||||
#define CONFIG_EXPERIMENTAL 0
|
|
||||||
#define CONFIG_SIZE_LIMIT 1
|
|
||||||
#define CONFIG_FP_MB_STATS 0
|
|
||||||
#define CONFIG_CDEF 1
|
|
||||||
#define CONFIG_CDEF_SINGLEPASS 1
|
|
||||||
#define CONFIG_VAR_TX 1
|
|
||||||
#define CONFIG_RECT_TX 1
|
|
||||||
#define CONFIG_RECT_TX_EXT 0
|
|
||||||
#define CONFIG_TPL_MV 0
|
|
||||||
#define CONFIG_DUAL_FILTER 1
|
|
||||||
#define CONFIG_CONVOLVE_ROUND 1
|
|
||||||
#define CONFIG_COMPOUND_ROUND 0
|
|
||||||
#define CONFIG_EXT_TX 1
|
|
||||||
#define CONFIG_TX64X64 0
|
|
||||||
#define CONFIG_EXT_INTRA 1
|
|
||||||
#define CONFIG_INTRA_INTERP 0
|
|
||||||
#define CONFIG_FILTER_INTRA 0
|
|
||||||
#define CONFIG_INTRA_EDGE 1
|
|
||||||
#define CONFIG_INTRABC 0
|
|
||||||
#define CONFIG_INTERINTRA 1
|
|
||||||
#define CONFIG_WEDGE 1
|
|
||||||
#define CONFIG_COMPOUND_SEGMENT 1
|
|
||||||
#define CONFIG_EXT_REFS 1
|
|
||||||
#define CONFIG_GLOBAL_MOTION 1
|
|
||||||
#define CONFIG_NEW_QUANT 0
|
|
||||||
#define CONFIG_SUPERTX 0
|
|
||||||
#define CONFIG_ANS 0
|
|
||||||
#define CONFIG_LOOP_RESTORATION 1
|
|
||||||
#define CONFIG_STRIPED_LOOP_RESTORATION 0
|
|
||||||
#define CONFIG_EXT_PARTITION 0
|
|
||||||
#define CONFIG_EXT_PARTITION_TYPES 0
|
|
||||||
#define CONFIG_EXT_PARTITION_TYPES_AB 0
|
|
||||||
#define CONFIG_UNPOISON_PARTITION_CTX 0
|
|
||||||
#define CONFIG_EXT_TILE 0
|
|
||||||
#define CONFIG_MOTION_VAR 1
|
|
||||||
#define CONFIG_NCOBMC 0
|
|
||||||
#define CONFIG_WARPED_MOTION 1
|
|
||||||
#define CONFIG_Q_ADAPT_PROBS 0
|
|
||||||
#define CONFIG_INTER_STATS_ONLY 0
|
|
||||||
#define CONFIG_PALETTE_DELTA_ENCODING 0
|
|
||||||
#define CONFIG_RAWBITS 0
|
|
||||||
#define CONFIG_KF_CTX 0
|
|
||||||
#define CONFIG_PVQ 0
|
|
||||||
#define CONFIG_CFL 0
|
|
||||||
#define CONFIG_XIPHRC 0
|
|
||||||
#define CONFIG_DCT_ONLY 0
|
|
||||||
#define CONFIG_DAALA_TX 0
|
|
||||||
#define CONFIG_DAALA_DCT4 0
|
|
||||||
#define CONFIG_DAALA_DCT8 0
|
|
||||||
#define CONFIG_DAALA_DCT16 0
|
|
||||||
#define CONFIG_DAALA_DCT32 0
|
|
||||||
#define CONFIG_DAALA_DCT64 0
|
|
||||||
#define CONFIG_CB4X4 1
|
|
||||||
#define CONFIG_CHROMA_2X2 0
|
|
||||||
#define CONFIG_CHROMA_SUB8X8 1
|
|
||||||
#define CONFIG_FRAME_SIZE 0
|
|
||||||
#define CONFIG_EXT_DELTA_Q 1
|
|
||||||
#define CONFIG_ADAPT_SCAN 0
|
|
||||||
#define CONFIG_PARALLEL_DEBLOCKING 1
|
|
||||||
#define CONFIG_DEBLOCK_13TAP 0
|
|
||||||
#define CONFIG_LOOPFILTERING_ACROSS_TILES 1
|
|
||||||
#define CONFIG_TEMPMV_SIGNALING 1
|
|
||||||
#define CONFIG_RD_DEBUG 0
|
|
||||||
#define CONFIG_REFERENCE_BUFFER 1
|
|
||||||
#define CONFIG_COEF_INTERLEAVE 0
|
|
||||||
#define CONFIG_ENTROPY_STATS 0
|
|
||||||
#define CONFIG_MASKED_TX 0
|
|
||||||
#define CONFIG_DEPENDENT_HORZTILES 0
|
|
||||||
#define CONFIG_DIST_8X8 1
|
|
||||||
#define CONFIG_PALETTE_THROUGHPUT 1
|
|
||||||
#define CONFIG_REF_ADAPT 0
|
|
||||||
#define CONFIG_LV_MAP 0
|
|
||||||
#define CONFIG_CTX1D 0
|
|
||||||
#define CONFIG_TXK_SEL 0
|
|
||||||
#define CONFIG_MV_COMPRESS 1
|
|
||||||
#define CONFIG_SEGMENT_ZEROMV 0
|
|
||||||
#define CONFIG_FRAME_SUPERRES 0
|
|
||||||
#define CONFIG_NEW_MULTISYMBOL 0
|
|
||||||
#define CONFIG_COMPOUND_SINGLEREF 0
|
|
||||||
#define CONFIG_AOM_QM 1
|
|
||||||
#define CONFIG_ONE_SIDED_COMPOUND 1
|
|
||||||
#define CONFIG_EXT_COMP_REFS 1
|
|
||||||
#define CONFIG_SMOOTH_HV 1
|
|
||||||
#define CONFIG_VAR_REFS 0
|
|
||||||
#define CONFIG_LGT 0
|
|
||||||
#define CONFIG_LGT_FROM_PRED 0
|
|
||||||
#define CONFIG_SBL_SYMBOL 0
|
|
||||||
#define CONFIG_NCOBMC_ADAPT_WEIGHT 0
|
|
||||||
#define CONFIG_BGSPRITE 0
|
|
||||||
#define CONFIG_VAR_TX_NO_TX_MODE 0
|
|
||||||
#define CONFIG_MRC_TX 0
|
|
||||||
#define CONFIG_LPF_DIRECT 0
|
|
||||||
#define CONFIG_LOOPFILTER_LEVEL 0
|
|
||||||
#define CONFIG_NO_FRAME_CONTEXT_SIGNALING 0
|
|
||||||
#define CONFIG_TXMG 1
|
|
||||||
#define CONFIG_MAX_TILE 0
|
|
||||||
#define CONFIG_HASH_ME 0
|
|
||||||
#define CONFIG_COLORSPACE_HEADERS 0
|
|
||||||
#define CONFIG_MFMV 0
|
|
||||||
#define CONFIG_FRAME_MARKER 0
|
|
||||||
#define CONFIG_JNT_COMP 0
|
|
||||||
#define CONFIG_FRAME_SIGN_BIAS 0
|
|
||||||
#define CONFIG_EXT_SKIP 0
|
|
||||||
#define CONFIG_OBU 0
|
|
||||||
#define CONFIG_AMVR 0
|
|
||||||
#define CONFIG_LPF_SB 0
|
|
||||||
#define CONFIG_OPT_REF_MV 0
|
|
||||||
#define CONFIG_TMV 0
|
|
||||||
#define CONFIG_RESTRICT_COMPRESSED_HDR 0
|
|
||||||
#define CONFIG_HORZONLY_FRAME_SUPERRES 0
|
|
||||||
#define CONFIG_ANALYZER 0
|
|
||||||
#define DECODE_WIDTH_LIMIT 8192
|
|
||||||
#define DECODE_HEIGHT_LIMIT 4608
|
|
||||||
#endif /* AOM_CONFIG_H */
|
|
||||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,78 +0,0 @@
|
||||||
#ifndef AOM_SCALE_RTCD_H_
|
|
||||||
#define AOM_SCALE_RTCD_H_
|
|
||||||
|
|
||||||
#ifdef RTCD_C
|
|
||||||
#define RTCD_EXTERN
|
|
||||||
#else
|
|
||||||
#define RTCD_EXTERN extern
|
|
||||||
#endif
|
|
||||||
|
|
||||||
struct yv12_buffer_config;
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
void aom_extend_frame_borders_c(struct yv12_buffer_config *ybf);
|
|
||||||
#define aom_extend_frame_borders aom_extend_frame_borders_c
|
|
||||||
|
|
||||||
void aom_extend_frame_borders_y_c(struct yv12_buffer_config *ybf);
|
|
||||||
#define aom_extend_frame_borders_y aom_extend_frame_borders_y_c
|
|
||||||
|
|
||||||
void aom_extend_frame_inner_borders_c(struct yv12_buffer_config *ybf);
|
|
||||||
#define aom_extend_frame_inner_borders aom_extend_frame_inner_borders_c
|
|
||||||
|
|
||||||
void aom_horizontal_line_2_1_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
|
|
||||||
#define aom_horizontal_line_2_1_scale aom_horizontal_line_2_1_scale_c
|
|
||||||
|
|
||||||
void aom_horizontal_line_5_3_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
|
|
||||||
#define aom_horizontal_line_5_3_scale aom_horizontal_line_5_3_scale_c
|
|
||||||
|
|
||||||
void aom_horizontal_line_5_4_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
|
|
||||||
#define aom_horizontal_line_5_4_scale aom_horizontal_line_5_4_scale_c
|
|
||||||
|
|
||||||
void aom_vertical_band_2_1_scale_c(unsigned char *source, int src_pitch, unsigned char *dest, int dest_pitch, unsigned int dest_width);
|
|
||||||
#define aom_vertical_band_2_1_scale aom_vertical_band_2_1_scale_c
|
|
||||||
|
|
||||||
void aom_vertical_band_2_1_scale_i_c(unsigned char *source, int src_pitch, unsigned char *dest, int dest_pitch, unsigned int dest_width);
|
|
||||||
#define aom_vertical_band_2_1_scale_i aom_vertical_band_2_1_scale_i_c
|
|
||||||
|
|
||||||
void aom_vertical_band_5_3_scale_c(unsigned char *source, int src_pitch, unsigned char *dest, int dest_pitch, unsigned int dest_width);
|
|
||||||
#define aom_vertical_band_5_3_scale aom_vertical_band_5_3_scale_c
|
|
||||||
|
|
||||||
void aom_vertical_band_5_4_scale_c(unsigned char *source, int src_pitch, unsigned char *dest, int dest_pitch, unsigned int dest_width);
|
|
||||||
#define aom_vertical_band_5_4_scale aom_vertical_band_5_4_scale_c
|
|
||||||
|
|
||||||
void aom_yv12_copy_frame_c(const struct yv12_buffer_config *src_bc, struct yv12_buffer_config *dst_bc);
|
|
||||||
#define aom_yv12_copy_frame aom_yv12_copy_frame_c
|
|
||||||
|
|
||||||
void aom_yv12_copy_u_c(const struct yv12_buffer_config *src_bc, struct yv12_buffer_config *dst_bc);
|
|
||||||
#define aom_yv12_copy_u aom_yv12_copy_u_c
|
|
||||||
|
|
||||||
void aom_yv12_copy_v_c(const struct yv12_buffer_config *src_bc, struct yv12_buffer_config *dst_bc);
|
|
||||||
#define aom_yv12_copy_v aom_yv12_copy_v_c
|
|
||||||
|
|
||||||
void aom_yv12_copy_y_c(const struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc);
|
|
||||||
#define aom_yv12_copy_y aom_yv12_copy_y_c
|
|
||||||
|
|
||||||
void aom_yv12_extend_frame_borders_c(struct yv12_buffer_config *ybf);
|
|
||||||
#define aom_yv12_extend_frame_borders aom_yv12_extend_frame_borders_c
|
|
||||||
|
|
||||||
void aom_scale_rtcd(void);
|
|
||||||
|
|
||||||
#ifdef RTCD_C
|
|
||||||
#include "aom_ports/x86.h"
|
|
||||||
static void setup_rtcd_internal(void)
|
|
||||||
{
|
|
||||||
int flags = x86_simd_caps();
|
|
||||||
|
|
||||||
(void)flags;
|
|
||||||
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
} // extern "C"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
@ -1,590 +0,0 @@
|
||||||
#ifndef AOM_RTCD_H_
|
|
||||||
#define AOM_RTCD_H_
|
|
||||||
|
|
||||||
#ifdef RTCD_C
|
|
||||||
#define RTCD_EXTERN
|
|
||||||
#else
|
|
||||||
#define RTCD_EXTERN extern
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*
|
|
||||||
* AV1
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include "aom/aom_integer.h"
|
|
||||||
#include "aom_dsp/txfm_common.h"
|
|
||||||
#include "av1/common/common.h"
|
|
||||||
#include "av1/common/enums.h"
|
|
||||||
#include "av1/common/quant_common.h"
|
|
||||||
#include "av1/common/filter.h"
|
|
||||||
#include "av1/common/convolve.h"
|
|
||||||
#include "av1/common/av1_txfm.h"
|
|
||||||
#include "av1/common/odintrin.h"
|
|
||||||
|
|
||||||
struct macroblockd;
|
|
||||||
|
|
||||||
/* Encoder forward decls */
|
|
||||||
struct macroblock;
|
|
||||||
struct txfm_param;
|
|
||||||
struct aom_variance_vtable;
|
|
||||||
struct search_site_config;
|
|
||||||
struct mv;
|
|
||||||
union int_mv;
|
|
||||||
struct yv12_buffer_config;
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
void apply_selfguided_restoration_c(uint8_t *dat, int width, int height, int stride, int eps, int *xqd, uint8_t *dst, int dst_stride, int32_t *tmpbuf);
|
|
||||||
void apply_selfguided_restoration_sse4_1(uint8_t *dat, int width, int height, int stride, int eps, int *xqd, uint8_t *dst, int dst_stride, int32_t *tmpbuf);
|
|
||||||
RTCD_EXTERN void (*apply_selfguided_restoration)(uint8_t *dat, int width, int height, int stride, int eps, int *xqd, uint8_t *dst, int dst_stride, int32_t *tmpbuf);
|
|
||||||
|
|
||||||
void apply_selfguided_restoration_highbd_c(uint16_t *dat, int width, int height, int stride, int bit_depth, int eps, int *xqd, uint16_t *dst, int dst_stride, int32_t *tmpbuf);
|
|
||||||
void apply_selfguided_restoration_highbd_sse4_1(uint16_t *dat, int width, int height, int stride, int bit_depth, int eps, int *xqd, uint16_t *dst, int dst_stride, int32_t *tmpbuf);
|
|
||||||
RTCD_EXTERN void (*apply_selfguided_restoration_highbd)(uint16_t *dat, int width, int height, int stride, int bit_depth, int eps, int *xqd, uint16_t *dst, int dst_stride, int32_t *tmpbuf);
|
|
||||||
|
|
||||||
int64_t av1_block_error_c(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block_size, int64_t *ssz);
|
|
||||||
int64_t av1_block_error_avx2(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block_size, int64_t *ssz);
|
|
||||||
RTCD_EXTERN int64_t (*av1_block_error)(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block_size, int64_t *ssz);
|
|
||||||
|
|
||||||
void av1_convolve_2d_c(const uint8_t *src, int src_stride, CONV_BUF_TYPE *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
|
||||||
void av1_convolve_2d_sse2(const uint8_t *src, int src_stride, CONV_BUF_TYPE *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
|
||||||
#define av1_convolve_2d av1_convolve_2d_sse2
|
|
||||||
|
|
||||||
void av1_convolve_2d_scale_c(const uint8_t *src, int src_stride, CONV_BUF_TYPE *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_qn, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params);
|
|
||||||
void av1_convolve_2d_scale_sse4_1(const uint8_t *src, int src_stride, CONV_BUF_TYPE *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_qn, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params);
|
|
||||||
RTCD_EXTERN void (*av1_convolve_2d_scale)(const uint8_t *src, int src_stride, CONV_BUF_TYPE *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_qn, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params);
|
|
||||||
|
|
||||||
void av1_convolve_horiz_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, ConvolveParams *conv_params);
|
|
||||||
void av1_convolve_horiz_ssse3(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, ConvolveParams *conv_params);
|
|
||||||
RTCD_EXTERN void (*av1_convolve_horiz)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, ConvolveParams *conv_params);
|
|
||||||
|
|
||||||
void av1_convolve_rounding_c(const int32_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, int bits);
|
|
||||||
void av1_convolve_rounding_avx2(const int32_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, int bits);
|
|
||||||
RTCD_EXTERN void (*av1_convolve_rounding)(const int32_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, int bits);
|
|
||||||
|
|
||||||
void av1_convolve_vert_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, ConvolveParams *conv_params);
|
|
||||||
void av1_convolve_vert_ssse3(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, ConvolveParams *conv_params);
|
|
||||||
RTCD_EXTERN void (*av1_convolve_vert)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, ConvolveParams *conv_params);
|
|
||||||
|
|
||||||
int av1_diamond_search_sad_c(struct macroblock *x, const struct search_site_config *cfg, struct mv *ref_mv, struct mv *best_mv, int search_param, int sad_per_bit, int *num00, const struct aom_variance_vtable *fn_ptr, const struct mv *center_mv);
|
|
||||||
#define av1_diamond_search_sad av1_diamond_search_sad_c
|
|
||||||
|
|
||||||
void av1_fht16x16_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
void av1_fht16x16_sse2(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
void av1_fht16x16_avx2(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
RTCD_EXTERN void (*av1_fht16x16)(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
|
|
||||||
void av1_fht16x32_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
void av1_fht16x32_sse2(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
#define av1_fht16x32 av1_fht16x32_sse2
|
|
||||||
|
|
||||||
void av1_fht16x4_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
#define av1_fht16x4 av1_fht16x4_c
|
|
||||||
|
|
||||||
void av1_fht16x8_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
void av1_fht16x8_sse2(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
#define av1_fht16x8 av1_fht16x8_sse2
|
|
||||||
|
|
||||||
void av1_fht32x16_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
void av1_fht32x16_sse2(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
#define av1_fht32x16 av1_fht32x16_sse2
|
|
||||||
|
|
||||||
void av1_fht32x32_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
void av1_fht32x32_sse2(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
void av1_fht32x32_avx2(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
RTCD_EXTERN void (*av1_fht32x32)(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
|
|
||||||
void av1_fht32x8_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
#define av1_fht32x8 av1_fht32x8_c
|
|
||||||
|
|
||||||
void av1_fht4x16_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
#define av1_fht4x16 av1_fht4x16_c
|
|
||||||
|
|
||||||
void av1_fht4x4_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
void av1_fht4x4_sse2(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
#define av1_fht4x4 av1_fht4x4_sse2
|
|
||||||
|
|
||||||
void av1_fht4x8_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
void av1_fht4x8_sse2(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
#define av1_fht4x8 av1_fht4x8_sse2
|
|
||||||
|
|
||||||
void av1_fht8x16_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
void av1_fht8x16_sse2(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
#define av1_fht8x16 av1_fht8x16_sse2
|
|
||||||
|
|
||||||
void av1_fht8x32_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
#define av1_fht8x32 av1_fht8x32_c
|
|
||||||
|
|
||||||
void av1_fht8x4_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
void av1_fht8x4_sse2(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
#define av1_fht8x4 av1_fht8x4_sse2
|
|
||||||
|
|
||||||
void av1_fht8x8_c(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
void av1_fht8x8_sse2(const int16_t *input, tran_low_t *output, int stride, struct txfm_param *param);
|
|
||||||
#define av1_fht8x8 av1_fht8x8_sse2
|
|
||||||
|
|
||||||
void av1_filter_intra_edge_c(uint8_t *p, int sz, int strength);
|
|
||||||
void av1_filter_intra_edge_sse4_1(uint8_t *p, int sz, int strength);
|
|
||||||
RTCD_EXTERN void (*av1_filter_intra_edge)(uint8_t *p, int sz, int strength);
|
|
||||||
|
|
||||||
void av1_filter_intra_edge_high_c(uint16_t *p, int sz, int strength);
|
|
||||||
void av1_filter_intra_edge_high_sse4_1(uint16_t *p, int sz, int strength);
|
|
||||||
RTCD_EXTERN void (*av1_filter_intra_edge_high)(uint16_t *p, int sz, int strength);
|
|
||||||
|
|
||||||
int av1_full_range_search_c(const struct macroblock *x, const struct search_site_config *cfg, struct mv *ref_mv, struct mv *best_mv, int search_param, int sad_per_bit, int *num00, const struct aom_variance_vtable *fn_ptr, const struct mv *center_mv);
|
|
||||||
#define av1_full_range_search av1_full_range_search_c
|
|
||||||
|
|
||||||
int av1_full_search_sad_c(const struct macroblock *x, const struct mv *ref_mv, int sad_per_bit, int distance, const struct aom_variance_vtable *fn_ptr, const struct mv *center_mv, struct mv *best_mv);
|
|
||||||
int av1_full_search_sadx3(const struct macroblock *x, const struct mv *ref_mv, int sad_per_bit, int distance, const struct aom_variance_vtable *fn_ptr, const struct mv *center_mv, struct mv *best_mv);
|
|
||||||
int av1_full_search_sadx8(const struct macroblock *x, const struct mv *ref_mv, int sad_per_bit, int distance, const struct aom_variance_vtable *fn_ptr, const struct mv *center_mv, struct mv *best_mv);
|
|
||||||
RTCD_EXTERN int (*av1_full_search_sad)(const struct macroblock *x, const struct mv *ref_mv, int sad_per_bit, int distance, const struct aom_variance_vtable *fn_ptr, const struct mv *center_mv, struct mv *best_mv);
|
|
||||||
|
|
||||||
void av1_fwd_idtx_c(const int16_t *src_diff, tran_low_t *coeff, int stride, int bsx, int bsy, TX_TYPE tx_type);
|
|
||||||
#define av1_fwd_idtx av1_fwd_idtx_c
|
|
||||||
|
|
||||||
void av1_fwd_txfm2d_16x16_c(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
void av1_fwd_txfm2d_16x16_sse4_1(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_fwd_txfm2d_16x16)(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
|
|
||||||
void av1_fwd_txfm2d_16x32_c(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_fwd_txfm2d_16x32 av1_fwd_txfm2d_16x32_c
|
|
||||||
|
|
||||||
void av1_fwd_txfm2d_16x8_c(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_fwd_txfm2d_16x8 av1_fwd_txfm2d_16x8_c
|
|
||||||
|
|
||||||
void av1_fwd_txfm2d_32x16_c(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_fwd_txfm2d_32x16 av1_fwd_txfm2d_32x16_c
|
|
||||||
|
|
||||||
void av1_fwd_txfm2d_32x32_c(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
void av1_fwd_txfm2d_32x32_sse4_1(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_fwd_txfm2d_32x32)(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
|
|
||||||
void av1_fwd_txfm2d_4x4_c(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
void av1_fwd_txfm2d_4x4_sse4_1(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_fwd_txfm2d_4x4)(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
|
|
||||||
void av1_fwd_txfm2d_4x8_c(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_fwd_txfm2d_4x8 av1_fwd_txfm2d_4x8_c
|
|
||||||
|
|
||||||
void av1_fwd_txfm2d_8x16_c(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_fwd_txfm2d_8x16 av1_fwd_txfm2d_8x16_c
|
|
||||||
|
|
||||||
void av1_fwd_txfm2d_8x4_c(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_fwd_txfm2d_8x4 av1_fwd_txfm2d_8x4_c
|
|
||||||
|
|
||||||
void av1_fwd_txfm2d_8x8_c(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
void av1_fwd_txfm2d_8x8_sse4_1(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_fwd_txfm2d_8x8)(const int16_t *input, int32_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
|
|
||||||
void av1_fwht4x4_c(const int16_t *input, tran_low_t *output, int stride);
|
|
||||||
#define av1_fwht4x4 av1_fwht4x4_c
|
|
||||||
|
|
||||||
int64_t av1_highbd_block_error_c(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block_size, int64_t *ssz, int bd);
|
|
||||||
int64_t av1_highbd_block_error_sse2(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block_size, int64_t *ssz, int bd);
|
|
||||||
#define av1_highbd_block_error av1_highbd_block_error_sse2
|
|
||||||
|
|
||||||
void av1_highbd_convolve8_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
void av1_highbd_convolve8_sse2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
#define av1_highbd_convolve8 av1_highbd_convolve8_sse2
|
|
||||||
|
|
||||||
void av1_highbd_convolve8_avg_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
void av1_highbd_convolve8_avg_sse2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
#define av1_highbd_convolve8_avg av1_highbd_convolve8_avg_sse2
|
|
||||||
|
|
||||||
void av1_highbd_convolve8_avg_horiz_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
void av1_highbd_convolve8_avg_horiz_sse2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
#define av1_highbd_convolve8_avg_horiz av1_highbd_convolve8_avg_horiz_sse2
|
|
||||||
|
|
||||||
void av1_highbd_convolve8_avg_vert_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
void av1_highbd_convolve8_avg_vert_sse2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
#define av1_highbd_convolve8_avg_vert av1_highbd_convolve8_avg_vert_sse2
|
|
||||||
|
|
||||||
void av1_highbd_convolve8_horiz_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
void av1_highbd_convolve8_horiz_sse2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
#define av1_highbd_convolve8_horiz av1_highbd_convolve8_horiz_sse2
|
|
||||||
|
|
||||||
void av1_highbd_convolve8_vert_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
void av1_highbd_convolve8_vert_sse2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
#define av1_highbd_convolve8_vert av1_highbd_convolve8_vert_sse2
|
|
||||||
|
|
||||||
void av1_highbd_convolve_2d_c(const uint16_t *src, int src_stride, CONV_BUF_TYPE *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
|
||||||
void av1_highbd_convolve_2d_ssse3(const uint16_t *src, int src_stride, CONV_BUF_TYPE *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_highbd_convolve_2d)(const uint16_t *src, int src_stride, CONV_BUF_TYPE *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
|
||||||
|
|
||||||
void av1_highbd_convolve_2d_scale_c(const uint16_t *src, int src_stride, CONV_BUF_TYPE *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params, int bd);
|
|
||||||
void av1_highbd_convolve_2d_scale_sse4_1(const uint16_t *src, int src_stride, CONV_BUF_TYPE *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_highbd_convolve_2d_scale)(const uint16_t *src, int src_stride, CONV_BUF_TYPE *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params, int bd);
|
|
||||||
|
|
||||||
void av1_highbd_convolve_avg_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
#define av1_highbd_convolve_avg av1_highbd_convolve_avg_c
|
|
||||||
|
|
||||||
void av1_highbd_convolve_copy_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
|
||||||
#define av1_highbd_convolve_copy av1_highbd_convolve_copy_c
|
|
||||||
|
|
||||||
void av1_highbd_convolve_horiz_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, int avg, int bd);
|
|
||||||
void av1_highbd_convolve_horiz_sse4_1(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, int avg, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_highbd_convolve_horiz)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, int avg, int bd);
|
|
||||||
|
|
||||||
void av1_highbd_convolve_init_c(void);
|
|
||||||
void av1_highbd_convolve_init_sse4_1(void);
|
|
||||||
RTCD_EXTERN void (*av1_highbd_convolve_init)(void);
|
|
||||||
|
|
||||||
void av1_highbd_convolve_rounding_c(const int32_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, int bits, int bd);
|
|
||||||
void av1_highbd_convolve_rounding_avx2(const int32_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, int bits, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_highbd_convolve_rounding)(const int32_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, int bits, int bd);
|
|
||||||
|
|
||||||
void av1_highbd_convolve_vert_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, int avg, int bd);
|
|
||||||
void av1_highbd_convolve_vert_sse4_1(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, int avg, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_highbd_convolve_vert)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, int avg, int bd);
|
|
||||||
|
|
||||||
void av1_highbd_fwht4x4_c(const int16_t *input, tran_low_t *output, int stride);
|
|
||||||
#define av1_highbd_fwht4x4 av1_highbd_fwht4x4_c
|
|
||||||
|
|
||||||
void av1_highbd_iht16x16_256_add_c(const tran_low_t *input, uint8_t *output, int pitch, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht16x16_256_add av1_highbd_iht16x16_256_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht16x32_512_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht16x32_512_add av1_highbd_iht16x32_512_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht16x4_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht16x4_64_add av1_highbd_iht16x4_64_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht16x8_128_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht16x8_128_add av1_highbd_iht16x8_128_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht32x16_512_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht32x16_512_add av1_highbd_iht32x16_512_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht32x8_256_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht32x8_256_add av1_highbd_iht32x8_256_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht4x16_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht4x16_64_add av1_highbd_iht4x16_64_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht4x4_16_add av1_highbd_iht4x4_16_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht4x8_32_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht4x8_32_add av1_highbd_iht4x8_32_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht8x16_128_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht8x16_128_add av1_highbd_iht8x16_128_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht8x32_256_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht8x32_256_add av1_highbd_iht8x32_256_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht8x4_32_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht8x4_32_add av1_highbd_iht8x4_32_add_c
|
|
||||||
|
|
||||||
void av1_highbd_iht8x8_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_highbd_iht8x8_64_add av1_highbd_iht8x8_64_add_c
|
|
||||||
|
|
||||||
void av1_highbd_quantize_fp_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan, int log_scale);
|
|
||||||
void av1_highbd_quantize_fp_sse4_1(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan, int log_scale);
|
|
||||||
void av1_highbd_quantize_fp_avx2(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan, int log_scale);
|
|
||||||
RTCD_EXTERN void (*av1_highbd_quantize_fp)(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan, int log_scale);
|
|
||||||
|
|
||||||
void av1_highbd_temporal_filter_apply_c(uint8_t *frame1, unsigned int stride, uint8_t *frame2, unsigned int block_width, unsigned int block_height, int strength, int filter_weight, unsigned int *accumulator, uint16_t *count);
|
|
||||||
#define av1_highbd_temporal_filter_apply av1_highbd_temporal_filter_apply_c
|
|
||||||
|
|
||||||
void av1_highbd_warp_affine_c(const int32_t *mat, const uint16_t *ref, int width, int height, int stride, uint16_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, int bd, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
|
||||||
void av1_highbd_warp_affine_ssse3(const int32_t *mat, const uint16_t *ref, int width, int height, int stride, uint16_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, int bd, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
|
||||||
RTCD_EXTERN void (*av1_highbd_warp_affine)(const int32_t *mat, const uint16_t *ref, int width, int height, int stride, uint16_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, int bd, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
|
||||||
|
|
||||||
void av1_highpass_filter_c(uint8_t *dgd, int width, int height, int stride, int32_t *dst, int dst_stride, int r, int eps);
|
|
||||||
void av1_highpass_filter_sse4_1(uint8_t *dgd, int width, int height, int stride, int32_t *dst, int dst_stride, int r, int eps);
|
|
||||||
RTCD_EXTERN void (*av1_highpass_filter)(uint8_t *dgd, int width, int height, int stride, int32_t *dst, int dst_stride, int r, int eps);
|
|
||||||
|
|
||||||
void av1_highpass_filter_highbd_c(uint16_t *dgd, int width, int height, int stride, int32_t *dst, int dst_stride, int r, int eps);
|
|
||||||
void av1_highpass_filter_highbd_sse4_1(uint16_t *dgd, int width, int height, int stride, int32_t *dst, int dst_stride, int r, int eps);
|
|
||||||
RTCD_EXTERN void (*av1_highpass_filter_highbd)(uint16_t *dgd, int width, int height, int stride, int32_t *dst, int dst_stride, int r, int eps);
|
|
||||||
|
|
||||||
void av1_iht16x16_256_add_c(const tran_low_t *input, uint8_t *output, int pitch, const struct txfm_param *param);
|
|
||||||
void av1_iht16x16_256_add_sse2(const tran_low_t *input, uint8_t *output, int pitch, const struct txfm_param *param);
|
|
||||||
void av1_iht16x16_256_add_avx2(const tran_low_t *input, uint8_t *output, int pitch, const struct txfm_param *param);
|
|
||||||
RTCD_EXTERN void (*av1_iht16x16_256_add)(const tran_low_t *input, uint8_t *output, int pitch, const struct txfm_param *param);
|
|
||||||
|
|
||||||
void av1_iht16x32_512_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
void av1_iht16x32_512_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_iht16x32_512_add av1_iht16x32_512_add_sse2
|
|
||||||
|
|
||||||
void av1_iht16x4_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_iht16x4_64_add av1_iht16x4_64_add_c
|
|
||||||
|
|
||||||
void av1_iht16x8_128_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
void av1_iht16x8_128_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_iht16x8_128_add av1_iht16x8_128_add_sse2
|
|
||||||
|
|
||||||
void av1_iht32x16_512_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
void av1_iht32x16_512_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_iht32x16_512_add av1_iht32x16_512_add_sse2
|
|
||||||
|
|
||||||
void av1_iht32x32_1024_add_c(const tran_low_t *input, uint8_t *output, int pitch, const struct txfm_param *param);
|
|
||||||
#define av1_iht32x32_1024_add av1_iht32x32_1024_add_c
|
|
||||||
|
|
||||||
void av1_iht32x8_256_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_iht32x8_256_add av1_iht32x8_256_add_c
|
|
||||||
|
|
||||||
void av1_iht4x16_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_iht4x16_64_add av1_iht4x16_64_add_c
|
|
||||||
|
|
||||||
void av1_iht4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
void av1_iht4x4_16_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_iht4x4_16_add av1_iht4x4_16_add_sse2
|
|
||||||
|
|
||||||
void av1_iht4x8_32_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
void av1_iht4x8_32_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_iht4x8_32_add av1_iht4x8_32_add_sse2
|
|
||||||
|
|
||||||
void av1_iht8x16_128_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
void av1_iht8x16_128_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_iht8x16_128_add av1_iht8x16_128_add_sse2
|
|
||||||
|
|
||||||
void av1_iht8x32_256_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_iht8x32_256_add av1_iht8x32_256_add_c
|
|
||||||
|
|
||||||
void av1_iht8x4_32_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
void av1_iht8x4_32_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_iht8x4_32_add av1_iht8x4_32_add_sse2
|
|
||||||
|
|
||||||
void av1_iht8x8_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
void av1_iht8x8_64_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_stride, const struct txfm_param *param);
|
|
||||||
#define av1_iht8x8_64_add av1_iht8x8_64_add_sse2
|
|
||||||
|
|
||||||
void av1_inv_txfm2d_add_16x16_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
void av1_inv_txfm2d_add_16x16_sse4_1(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_inv_txfm2d_add_16x16)(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
|
|
||||||
void av1_inv_txfm2d_add_16x32_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_inv_txfm2d_add_16x32 av1_inv_txfm2d_add_16x32_c
|
|
||||||
|
|
||||||
void av1_inv_txfm2d_add_16x8_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_inv_txfm2d_add_16x8 av1_inv_txfm2d_add_16x8_c
|
|
||||||
|
|
||||||
void av1_inv_txfm2d_add_32x16_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_inv_txfm2d_add_32x16 av1_inv_txfm2d_add_32x16_c
|
|
||||||
|
|
||||||
void av1_inv_txfm2d_add_32x32_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
void av1_inv_txfm2d_add_32x32_avx2(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_inv_txfm2d_add_32x32)(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
|
|
||||||
void av1_inv_txfm2d_add_4x4_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
void av1_inv_txfm2d_add_4x4_sse4_1(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_inv_txfm2d_add_4x4)(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
|
|
||||||
void av1_inv_txfm2d_add_4x8_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_inv_txfm2d_add_4x8 av1_inv_txfm2d_add_4x8_c
|
|
||||||
|
|
||||||
void av1_inv_txfm2d_add_8x16_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_inv_txfm2d_add_8x16 av1_inv_txfm2d_add_8x16_c
|
|
||||||
|
|
||||||
void av1_inv_txfm2d_add_8x4_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
#define av1_inv_txfm2d_add_8x4 av1_inv_txfm2d_add_8x4_c
|
|
||||||
|
|
||||||
void av1_inv_txfm2d_add_8x8_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
void av1_inv_txfm2d_add_8x8_sse4_1(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_inv_txfm2d_add_8x8)(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
|
||||||
|
|
||||||
void av1_lowbd_convolve_init_c(void);
|
|
||||||
void av1_lowbd_convolve_init_ssse3(void);
|
|
||||||
RTCD_EXTERN void (*av1_lowbd_convolve_init)(void);
|
|
||||||
|
|
||||||
void av1_quantize_b_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan, const qm_val_t * qm_ptr, const qm_val_t * iqm_ptr, int log_scale);
|
|
||||||
#define av1_quantize_b av1_quantize_b_c
|
|
||||||
|
|
||||||
void av1_quantize_fp_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan);
|
|
||||||
void av1_quantize_fp_sse2(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan);
|
|
||||||
void av1_quantize_fp_avx2(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan);
|
|
||||||
RTCD_EXTERN void (*av1_quantize_fp)(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan);
|
|
||||||
|
|
||||||
void av1_quantize_fp_32x32_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan);
|
|
||||||
void av1_quantize_fp_32x32_avx2(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan);
|
|
||||||
RTCD_EXTERN void (*av1_quantize_fp_32x32)(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan);
|
|
||||||
|
|
||||||
void av1_selfguided_restoration_c(uint8_t *dgd, int width, int height, int stride, int32_t *dst, int dst_stride, int r, int eps);
|
|
||||||
void av1_selfguided_restoration_sse4_1(uint8_t *dgd, int width, int height, int stride, int32_t *dst, int dst_stride, int r, int eps);
|
|
||||||
RTCD_EXTERN void (*av1_selfguided_restoration)(uint8_t *dgd, int width, int height, int stride, int32_t *dst, int dst_stride, int r, int eps);
|
|
||||||
|
|
||||||
void av1_selfguided_restoration_highbd_c(uint16_t *dgd, int width, int height, int stride, int32_t *dst, int dst_stride, int bit_depth, int r, int eps);
|
|
||||||
void av1_selfguided_restoration_highbd_sse4_1(uint16_t *dgd, int width, int height, int stride, int32_t *dst, int dst_stride, int bit_depth, int r, int eps);
|
|
||||||
RTCD_EXTERN void (*av1_selfguided_restoration_highbd)(uint16_t *dgd, int width, int height, int stride, int32_t *dst, int dst_stride, int bit_depth, int r, int eps);
|
|
||||||
|
|
||||||
void av1_temporal_filter_apply_c(uint8_t *frame1, unsigned int stride, uint8_t *frame2, unsigned int block_width, unsigned int block_height, int strength, int filter_weight, unsigned int *accumulator, uint16_t *count);
|
|
||||||
void av1_temporal_filter_apply_sse2(uint8_t *frame1, unsigned int stride, uint8_t *frame2, unsigned int block_width, unsigned int block_height, int strength, int filter_weight, unsigned int *accumulator, uint16_t *count);
|
|
||||||
#define av1_temporal_filter_apply av1_temporal_filter_apply_sse2
|
|
||||||
|
|
||||||
void av1_upsample_intra_edge_c(uint8_t *p, int sz);
|
|
||||||
void av1_upsample_intra_edge_sse4_1(uint8_t *p, int sz);
|
|
||||||
RTCD_EXTERN void (*av1_upsample_intra_edge)(uint8_t *p, int sz);
|
|
||||||
|
|
||||||
void av1_upsample_intra_edge_high_c(uint16_t *p, int sz, int bd);
|
|
||||||
void av1_upsample_intra_edge_high_sse4_1(uint16_t *p, int sz, int bd);
|
|
||||||
RTCD_EXTERN void (*av1_upsample_intra_edge_high)(uint16_t *p, int sz, int bd);
|
|
||||||
|
|
||||||
void av1_warp_affine_c(const int32_t *mat, const uint8_t *ref, int width, int height, int stride, uint8_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
|
||||||
void av1_warp_affine_sse2(const int32_t *mat, const uint8_t *ref, int width, int height, int stride, uint8_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
|
||||||
void av1_warp_affine_ssse3(const int32_t *mat, const uint8_t *ref, int width, int height, int stride, uint8_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
|
||||||
RTCD_EXTERN void (*av1_warp_affine)(const int32_t *mat, const uint8_t *ref, int width, int height, int stride, uint8_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
|
||||||
|
|
||||||
void av1_wedge_compute_delta_squares_c(int16_t *d, const int16_t *a, const int16_t *b, int N);
|
|
||||||
void av1_wedge_compute_delta_squares_sse2(int16_t *d, const int16_t *a, const int16_t *b, int N);
|
|
||||||
#define av1_wedge_compute_delta_squares av1_wedge_compute_delta_squares_sse2
|
|
||||||
|
|
||||||
int av1_wedge_sign_from_residuals_c(const int16_t *ds, const uint8_t *m, int N, int64_t limit);
|
|
||||||
int av1_wedge_sign_from_residuals_sse2(const int16_t *ds, const uint8_t *m, int N, int64_t limit);
|
|
||||||
#define av1_wedge_sign_from_residuals av1_wedge_sign_from_residuals_sse2
|
|
||||||
|
|
||||||
uint64_t av1_wedge_sse_from_residuals_c(const int16_t *r1, const int16_t *d, const uint8_t *m, int N);
|
|
||||||
uint64_t av1_wedge_sse_from_residuals_sse2(const int16_t *r1, const int16_t *d, const uint8_t *m, int N);
|
|
||||||
#define av1_wedge_sse_from_residuals av1_wedge_sse_from_residuals_sse2
|
|
||||||
|
|
||||||
void cdef_filter_block_c(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max);
|
|
||||||
void cdef_filter_block_sse2(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max);
|
|
||||||
void cdef_filter_block_ssse3(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max);
|
|
||||||
void cdef_filter_block_sse4_1(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max);
|
|
||||||
void cdef_filter_block_avx2(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max);
|
|
||||||
RTCD_EXTERN void (*cdef_filter_block)(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max);
|
|
||||||
|
|
||||||
int cdef_find_dir_c(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
|
||||||
int cdef_find_dir_sse2(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
|
||||||
int cdef_find_dir_ssse3(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
|
||||||
int cdef_find_dir_sse4_1(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
|
||||||
int cdef_find_dir_avx2(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
|
||||||
RTCD_EXTERN int (*cdef_find_dir)(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
|
||||||
|
|
||||||
double compute_cross_correlation_c(unsigned char *im1, int stride1, int x1, int y1, unsigned char *im2, int stride2, int x2, int y2);
|
|
||||||
double compute_cross_correlation_sse4_1(unsigned char *im1, int stride1, int x1, int y1, unsigned char *im2, int stride2, int x2, int y2);
|
|
||||||
RTCD_EXTERN double (*compute_cross_correlation)(unsigned char *im1, int stride1, int x1, int y1, unsigned char *im2, int stride2, int x2, int y2);
|
|
||||||
|
|
||||||
void copy_rect8_16bit_to_16bit_c(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
|
||||||
void copy_rect8_16bit_to_16bit_sse2(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
|
||||||
void copy_rect8_16bit_to_16bit_ssse3(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
|
||||||
void copy_rect8_16bit_to_16bit_sse4_1(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
|
||||||
void copy_rect8_16bit_to_16bit_avx2(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
|
||||||
RTCD_EXTERN void (*copy_rect8_16bit_to_16bit)(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
|
||||||
|
|
||||||
void copy_rect8_8bit_to_16bit_c(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
|
||||||
void copy_rect8_8bit_to_16bit_sse2(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
|
||||||
void copy_rect8_8bit_to_16bit_ssse3(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
|
||||||
void copy_rect8_8bit_to_16bit_sse4_1(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
|
||||||
void copy_rect8_8bit_to_16bit_avx2(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
|
||||||
RTCD_EXTERN void (*copy_rect8_8bit_to_16bit)(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
|
||||||
|
|
||||||
void aom_rtcd(void);
|
|
||||||
|
|
||||||
#ifdef RTCD_C
|
|
||||||
#include "aom_ports/x86.h"
|
|
||||||
static void setup_rtcd_internal(void)
|
|
||||||
{
|
|
||||||
int flags = x86_simd_caps();
|
|
||||||
|
|
||||||
(void)flags;
|
|
||||||
|
|
||||||
apply_selfguided_restoration = apply_selfguided_restoration_c;
|
|
||||||
if (flags & HAS_SSE4_1) apply_selfguided_restoration = apply_selfguided_restoration_sse4_1;
|
|
||||||
apply_selfguided_restoration_highbd = apply_selfguided_restoration_highbd_c;
|
|
||||||
if (flags & HAS_SSE4_1) apply_selfguided_restoration_highbd = apply_selfguided_restoration_highbd_sse4_1;
|
|
||||||
av1_block_error = av1_block_error_c;
|
|
||||||
if (flags & HAS_AVX2) av1_block_error = av1_block_error_avx2;
|
|
||||||
av1_convolve_2d_scale = av1_convolve_2d_scale_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_convolve_2d_scale = av1_convolve_2d_scale_sse4_1;
|
|
||||||
av1_convolve_horiz = av1_convolve_horiz_c;
|
|
||||||
if (flags & HAS_SSSE3) av1_convolve_horiz = av1_convolve_horiz_ssse3;
|
|
||||||
av1_convolve_rounding = av1_convolve_rounding_c;
|
|
||||||
if (flags & HAS_AVX2) av1_convolve_rounding = av1_convolve_rounding_avx2;
|
|
||||||
av1_convolve_vert = av1_convolve_vert_c;
|
|
||||||
if (flags & HAS_SSSE3) av1_convolve_vert = av1_convolve_vert_ssse3;
|
|
||||||
av1_fht16x16 = av1_fht16x16_sse2;
|
|
||||||
if (flags & HAS_AVX2) av1_fht16x16 = av1_fht16x16_avx2;
|
|
||||||
av1_fht32x32 = av1_fht32x32_sse2;
|
|
||||||
if (flags & HAS_AVX2) av1_fht32x32 = av1_fht32x32_avx2;
|
|
||||||
av1_filter_intra_edge = av1_filter_intra_edge_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_filter_intra_edge = av1_filter_intra_edge_sse4_1;
|
|
||||||
av1_filter_intra_edge_high = av1_filter_intra_edge_high_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_filter_intra_edge_high = av1_filter_intra_edge_high_sse4_1;
|
|
||||||
av1_full_search_sad = av1_full_search_sad_c;
|
|
||||||
if (flags & HAS_SSE3) av1_full_search_sad = av1_full_search_sadx3;
|
|
||||||
if (flags & HAS_SSE4_1) av1_full_search_sad = av1_full_search_sadx8;
|
|
||||||
av1_fwd_txfm2d_16x16 = av1_fwd_txfm2d_16x16_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_fwd_txfm2d_16x16 = av1_fwd_txfm2d_16x16_sse4_1;
|
|
||||||
av1_fwd_txfm2d_32x32 = av1_fwd_txfm2d_32x32_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_fwd_txfm2d_32x32 = av1_fwd_txfm2d_32x32_sse4_1;
|
|
||||||
av1_fwd_txfm2d_4x4 = av1_fwd_txfm2d_4x4_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_fwd_txfm2d_4x4 = av1_fwd_txfm2d_4x4_sse4_1;
|
|
||||||
av1_fwd_txfm2d_8x8 = av1_fwd_txfm2d_8x8_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_fwd_txfm2d_8x8 = av1_fwd_txfm2d_8x8_sse4_1;
|
|
||||||
av1_highbd_convolve_2d = av1_highbd_convolve_2d_c;
|
|
||||||
if (flags & HAS_SSSE3) av1_highbd_convolve_2d = av1_highbd_convolve_2d_ssse3;
|
|
||||||
av1_highbd_convolve_2d_scale = av1_highbd_convolve_2d_scale_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_highbd_convolve_2d_scale = av1_highbd_convolve_2d_scale_sse4_1;
|
|
||||||
av1_highbd_convolve_horiz = av1_highbd_convolve_horiz_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_highbd_convolve_horiz = av1_highbd_convolve_horiz_sse4_1;
|
|
||||||
av1_highbd_convolve_init = av1_highbd_convolve_init_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_highbd_convolve_init = av1_highbd_convolve_init_sse4_1;
|
|
||||||
av1_highbd_convolve_rounding = av1_highbd_convolve_rounding_c;
|
|
||||||
if (flags & HAS_AVX2) av1_highbd_convolve_rounding = av1_highbd_convolve_rounding_avx2;
|
|
||||||
av1_highbd_convolve_vert = av1_highbd_convolve_vert_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_highbd_convolve_vert = av1_highbd_convolve_vert_sse4_1;
|
|
||||||
av1_highbd_quantize_fp = av1_highbd_quantize_fp_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_highbd_quantize_fp = av1_highbd_quantize_fp_sse4_1;
|
|
||||||
if (flags & HAS_AVX2) av1_highbd_quantize_fp = av1_highbd_quantize_fp_avx2;
|
|
||||||
av1_highbd_warp_affine = av1_highbd_warp_affine_c;
|
|
||||||
if (flags & HAS_SSSE3) av1_highbd_warp_affine = av1_highbd_warp_affine_ssse3;
|
|
||||||
av1_highpass_filter = av1_highpass_filter_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_highpass_filter = av1_highpass_filter_sse4_1;
|
|
||||||
av1_highpass_filter_highbd = av1_highpass_filter_highbd_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_highpass_filter_highbd = av1_highpass_filter_highbd_sse4_1;
|
|
||||||
av1_iht16x16_256_add = av1_iht16x16_256_add_sse2;
|
|
||||||
if (flags & HAS_AVX2) av1_iht16x16_256_add = av1_iht16x16_256_add_avx2;
|
|
||||||
av1_inv_txfm2d_add_16x16 = av1_inv_txfm2d_add_16x16_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_inv_txfm2d_add_16x16 = av1_inv_txfm2d_add_16x16_sse4_1;
|
|
||||||
av1_inv_txfm2d_add_32x32 = av1_inv_txfm2d_add_32x32_c;
|
|
||||||
if (flags & HAS_AVX2) av1_inv_txfm2d_add_32x32 = av1_inv_txfm2d_add_32x32_avx2;
|
|
||||||
av1_inv_txfm2d_add_4x4 = av1_inv_txfm2d_add_4x4_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_inv_txfm2d_add_4x4 = av1_inv_txfm2d_add_4x4_sse4_1;
|
|
||||||
av1_inv_txfm2d_add_8x8 = av1_inv_txfm2d_add_8x8_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_inv_txfm2d_add_8x8 = av1_inv_txfm2d_add_8x8_sse4_1;
|
|
||||||
av1_lowbd_convolve_init = av1_lowbd_convolve_init_c;
|
|
||||||
if (flags & HAS_SSSE3) av1_lowbd_convolve_init = av1_lowbd_convolve_init_ssse3;
|
|
||||||
av1_quantize_fp = av1_quantize_fp_sse2;
|
|
||||||
if (flags & HAS_AVX2) av1_quantize_fp = av1_quantize_fp_avx2;
|
|
||||||
av1_quantize_fp_32x32 = av1_quantize_fp_32x32_c;
|
|
||||||
if (flags & HAS_AVX2) av1_quantize_fp_32x32 = av1_quantize_fp_32x32_avx2;
|
|
||||||
av1_selfguided_restoration = av1_selfguided_restoration_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_selfguided_restoration = av1_selfguided_restoration_sse4_1;
|
|
||||||
av1_selfguided_restoration_highbd = av1_selfguided_restoration_highbd_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_selfguided_restoration_highbd = av1_selfguided_restoration_highbd_sse4_1;
|
|
||||||
av1_upsample_intra_edge = av1_upsample_intra_edge_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_upsample_intra_edge = av1_upsample_intra_edge_sse4_1;
|
|
||||||
av1_upsample_intra_edge_high = av1_upsample_intra_edge_high_c;
|
|
||||||
if (flags & HAS_SSE4_1) av1_upsample_intra_edge_high = av1_upsample_intra_edge_high_sse4_1;
|
|
||||||
av1_warp_affine = av1_warp_affine_sse2;
|
|
||||||
if (flags & HAS_SSSE3) av1_warp_affine = av1_warp_affine_ssse3;
|
|
||||||
cdef_filter_block = cdef_filter_block_sse2;
|
|
||||||
if (flags & HAS_SSSE3) cdef_filter_block = cdef_filter_block_ssse3;
|
|
||||||
if (flags & HAS_SSE4_1) cdef_filter_block = cdef_filter_block_sse4_1;
|
|
||||||
if (flags & HAS_AVX2) cdef_filter_block = cdef_filter_block_avx2;
|
|
||||||
cdef_find_dir = cdef_find_dir_sse2;
|
|
||||||
if (flags & HAS_SSSE3) cdef_find_dir = cdef_find_dir_ssse3;
|
|
||||||
if (flags & HAS_SSE4_1) cdef_find_dir = cdef_find_dir_sse4_1;
|
|
||||||
if (flags & HAS_AVX2) cdef_find_dir = cdef_find_dir_avx2;
|
|
||||||
compute_cross_correlation = compute_cross_correlation_c;
|
|
||||||
if (flags & HAS_SSE4_1) compute_cross_correlation = compute_cross_correlation_sse4_1;
|
|
||||||
copy_rect8_16bit_to_16bit = copy_rect8_16bit_to_16bit_sse2;
|
|
||||||
if (flags & HAS_SSSE3) copy_rect8_16bit_to_16bit = copy_rect8_16bit_to_16bit_ssse3;
|
|
||||||
if (flags & HAS_SSE4_1) copy_rect8_16bit_to_16bit = copy_rect8_16bit_to_16bit_sse4_1;
|
|
||||||
if (flags & HAS_AVX2) copy_rect8_16bit_to_16bit = copy_rect8_16bit_to_16bit_avx2;
|
|
||||||
copy_rect8_8bit_to_16bit = copy_rect8_8bit_to_16bit_sse2;
|
|
||||||
if (flags & HAS_SSSE3) copy_rect8_8bit_to_16bit = copy_rect8_8bit_to_16bit_ssse3;
|
|
||||||
if (flags & HAS_SSE4_1) copy_rect8_8bit_to_16bit = copy_rect8_8bit_to_16bit_sse4_1;
|
|
||||||
if (flags & HAS_AVX2) copy_rect8_8bit_to_16bit = copy_rect8_8bit_to_16bit_avx2;
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
} // extern "C"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif
|
|
||||||
69
media/libaom/config/win/x64/config/aom_config.asm
Normal file
69
media/libaom/config/win/x64/config/aom_config.asm
Normal file
|
|
@ -0,0 +1,69 @@
|
||||||
|
;
|
||||||
|
; Copyright (c) 2018, Alliance for Open Media. All rights reserved
|
||||||
|
;
|
||||||
|
; This source code is subject to the terms of the BSD 2 Clause License and
|
||||||
|
; the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
|
||||||
|
; was not distributed with this source code in the LICENSE file, you can
|
||||||
|
; obtain it at www.aomedia.org/license/software. If the Alliance for Open
|
||||||
|
; Media Patent License 1.0 was not distributed with this source code in the
|
||||||
|
; PATENTS file, you can obtain it at www.aomedia.org/license/patent.
|
||||||
|
;
|
||||||
|
|
||||||
|
ARCH_ARM equ 0
|
||||||
|
ARCH_MIPS equ 0
|
||||||
|
ARCH_PPC equ 0
|
||||||
|
ARCH_X86 equ 0
|
||||||
|
ARCH_X86_64 equ 1
|
||||||
|
CONFIG_ACCOUNTING equ 0
|
||||||
|
CONFIG_ANALYZER equ 0
|
||||||
|
CONFIG_AV1_DECODER equ 1
|
||||||
|
CONFIG_AV1_ENCODER equ 0
|
||||||
|
CONFIG_BIG_ENDIAN equ 0
|
||||||
|
CONFIG_BITSTREAM_DEBUG equ 0
|
||||||
|
CONFIG_COEFFICIENT_RANGE_CHECKING equ 0
|
||||||
|
CONFIG_COLLECT_INTER_MODE_RD_STATS equ 1
|
||||||
|
CONFIG_COLLECT_RD_STATS equ 0
|
||||||
|
CONFIG_DEBUG equ 0
|
||||||
|
CONFIG_DIST_8X8 equ 1
|
||||||
|
CONFIG_ENTROPY_STATS equ 0
|
||||||
|
CONFIG_FILEOPTIONS equ 1
|
||||||
|
CONFIG_FP_MB_STATS equ 0
|
||||||
|
CONFIG_GCC equ 1
|
||||||
|
CONFIG_GCOV equ 0
|
||||||
|
CONFIG_GPROF equ 0
|
||||||
|
CONFIG_INSPECTION equ 0
|
||||||
|
CONFIG_INTERNAL_STATS equ 0
|
||||||
|
CONFIG_INTER_STATS_ONLY equ 0
|
||||||
|
CONFIG_LIBYUV equ 0
|
||||||
|
CONFIG_LOWBITDEPTH equ 0
|
||||||
|
CONFIG_MISMATCH_DEBUG equ 0
|
||||||
|
CONFIG_MSVS equ 1
|
||||||
|
CONFIG_MULTITHREAD equ 1
|
||||||
|
CONFIG_OS_SUPPORT equ 1
|
||||||
|
CONFIG_PIC equ 0
|
||||||
|
CONFIG_RD_DEBUG equ 0
|
||||||
|
CONFIG_RUNTIME_CPU_DETECT equ 1
|
||||||
|
CONFIG_SHARED equ 0
|
||||||
|
CONFIG_SIZE_LIMIT equ 0
|
||||||
|
CONFIG_SPATIAL_RESAMPLING equ 1
|
||||||
|
CONFIG_STATIC equ 1
|
||||||
|
CONFIG_WEBM_IO equ 0
|
||||||
|
DECODE_HEIGHT_LIMIT equ 0
|
||||||
|
DECODE_WIDTH_LIMIT equ 0
|
||||||
|
HAVE_AVX equ 1
|
||||||
|
HAVE_AVX2 equ 1
|
||||||
|
HAVE_DSPR2 equ 0
|
||||||
|
HAVE_FEXCEPT equ 1
|
||||||
|
HAVE_MIPS32 equ 0
|
||||||
|
HAVE_MIPS64 equ 0
|
||||||
|
HAVE_MMX equ 1
|
||||||
|
HAVE_MSA equ 0
|
||||||
|
HAVE_NEON equ 0
|
||||||
|
HAVE_SSE equ 1
|
||||||
|
HAVE_SSE2 equ 1
|
||||||
|
HAVE_SSE3 equ 1
|
||||||
|
HAVE_SSE4_1 equ 1
|
||||||
|
HAVE_SSE4_2 equ 1
|
||||||
|
HAVE_SSSE3 equ 1
|
||||||
|
HAVE_VSX equ 0
|
||||||
|
HAVE_WXWIDGETS equ 0
|
||||||
75
media/libaom/config/win/x64/config/aom_config.h
Normal file
75
media/libaom/config/win/x64/config/aom_config.h
Normal file
|
|
@ -0,0 +1,75 @@
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2018, Alliance for Open Media. All rights reserved
|
||||||
|
*
|
||||||
|
* This source code is subject to the terms of the BSD 2 Clause License and
|
||||||
|
* the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
|
||||||
|
* was not distributed with this source code in the LICENSE file, you can
|
||||||
|
* obtain it at www.aomedia.org/license/software. If the Alliance for Open
|
||||||
|
* Media Patent License 1.0 was not distributed with this source code in the
|
||||||
|
* PATENTS file, you can obtain it at www.aomedia.org/license/patent.
|
||||||
|
*/
|
||||||
|
#ifndef AOM_CONFIG_H_
|
||||||
|
#define AOM_CONFIG_H_
|
||||||
|
|
||||||
|
#define ARCH_ARM 0
|
||||||
|
#define ARCH_MIPS 0
|
||||||
|
#define ARCH_PPC 0
|
||||||
|
#define ARCH_X86 0
|
||||||
|
#define ARCH_X86_64 1
|
||||||
|
#define CONFIG_ACCOUNTING 0
|
||||||
|
#define CONFIG_ANALYZER 0
|
||||||
|
#define CONFIG_AV1_DECODER 1
|
||||||
|
#define CONFIG_AV1_ENCODER 0
|
||||||
|
#define CONFIG_BIG_ENDIAN 0
|
||||||
|
#define CONFIG_BITSTREAM_DEBUG 0
|
||||||
|
#define CONFIG_COEFFICIENT_RANGE_CHECKING 0
|
||||||
|
#define CONFIG_COLLECT_INTER_MODE_RD_STATS 1
|
||||||
|
#define CONFIG_COLLECT_RD_STATS 0
|
||||||
|
#define CONFIG_DEBUG 0
|
||||||
|
#define CONFIG_DIST_8X8 1
|
||||||
|
#define CONFIG_ENTROPY_STATS 0
|
||||||
|
#define CONFIG_FILEOPTIONS 1
|
||||||
|
#define CONFIG_FP_MB_STATS 0
|
||||||
|
#define CONFIG_GCC 1
|
||||||
|
#define CONFIG_GCOV 0
|
||||||
|
#define CONFIG_GPROF 0
|
||||||
|
#define CONFIG_INSPECTION 0
|
||||||
|
#define CONFIG_INTERNAL_STATS 0
|
||||||
|
#define CONFIG_INTER_STATS_ONLY 0
|
||||||
|
#define CONFIG_LIBYUV 0
|
||||||
|
#define CONFIG_LOWBITDEPTH 0
|
||||||
|
#define CONFIG_MISMATCH_DEBUG 0
|
||||||
|
#define CONFIG_MSVS 1
|
||||||
|
#define CONFIG_MULTITHREAD 1
|
||||||
|
#define CONFIG_OS_SUPPORT 1
|
||||||
|
#define CONFIG_PIC 0
|
||||||
|
#define CONFIG_RD_DEBUG 0
|
||||||
|
#define CONFIG_RUNTIME_CPU_DETECT 1
|
||||||
|
#define CONFIG_SHARED 0
|
||||||
|
#define CONFIG_SIZE_LIMIT 0
|
||||||
|
#define CONFIG_SPATIAL_RESAMPLING 1
|
||||||
|
#define CONFIG_STATIC 1
|
||||||
|
#define CONFIG_WEBM_IO 0
|
||||||
|
#define DECODE_HEIGHT_LIMIT 0
|
||||||
|
#define DECODE_WIDTH_LIMIT 0
|
||||||
|
#define HAVE_AVX 1
|
||||||
|
#define HAVE_AVX2 1
|
||||||
|
#define HAVE_DSPR2 0
|
||||||
|
#define HAVE_FEXCEPT 1
|
||||||
|
#define HAVE_MIPS32 0
|
||||||
|
#define HAVE_MIPS64 0
|
||||||
|
#define HAVE_MMX 1
|
||||||
|
#define HAVE_MSA 0
|
||||||
|
#define HAVE_NEON 0
|
||||||
|
#define HAVE_SSE 1
|
||||||
|
#define HAVE_SSE2 1
|
||||||
|
#define HAVE_SSE3 1
|
||||||
|
#define HAVE_SSE4_1 1
|
||||||
|
#define HAVE_SSE4_2 1
|
||||||
|
#define HAVE_SSSE3 1
|
||||||
|
#define HAVE_VSX 0
|
||||||
|
#define HAVE_WXWIDGETS 0
|
||||||
|
#define INCLUDE_INSTALL_DIR INSTALLDIR/include
|
||||||
|
#define INLINE inline
|
||||||
|
#define LIB_INSTALL_DIR INSTALLDIR/lib
|
||||||
|
#endif /* AOM_CONFIG_H_ */
|
||||||
1997
media/libaom/config/win/x64/config/aom_dsp_rtcd.h
Normal file
1997
media/libaom/config/win/x64/config/aom_dsp_rtcd.h
Normal file
File diff suppressed because it is too large
Load diff
88
media/libaom/config/win/x64/config/aom_scale_rtcd.h
Normal file
88
media/libaom/config/win/x64/config/aom_scale_rtcd.h
Normal file
|
|
@ -0,0 +1,88 @@
|
||||||
|
// This file is generated. Do not edit.
|
||||||
|
#ifndef AOM_SCALE_RTCD_H_
|
||||||
|
#define AOM_SCALE_RTCD_H_
|
||||||
|
|
||||||
|
#ifdef RTCD_C
|
||||||
|
#define RTCD_EXTERN
|
||||||
|
#else
|
||||||
|
#define RTCD_EXTERN extern
|
||||||
|
#endif
|
||||||
|
|
||||||
|
struct yv12_buffer_config;
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
|
void aom_extend_frame_borders_c(struct yv12_buffer_config *ybf, const int num_planes);
|
||||||
|
#define aom_extend_frame_borders aom_extend_frame_borders_c
|
||||||
|
|
||||||
|
void aom_extend_frame_borders_y_c(struct yv12_buffer_config *ybf);
|
||||||
|
#define aom_extend_frame_borders_y aom_extend_frame_borders_y_c
|
||||||
|
|
||||||
|
void aom_extend_frame_inner_borders_c(struct yv12_buffer_config *ybf, const int num_planes);
|
||||||
|
#define aom_extend_frame_inner_borders aom_extend_frame_inner_borders_c
|
||||||
|
|
||||||
|
void aom_horizontal_line_2_1_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
|
||||||
|
#define aom_horizontal_line_2_1_scale aom_horizontal_line_2_1_scale_c
|
||||||
|
|
||||||
|
void aom_horizontal_line_5_3_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
|
||||||
|
#define aom_horizontal_line_5_3_scale aom_horizontal_line_5_3_scale_c
|
||||||
|
|
||||||
|
void aom_horizontal_line_5_4_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
|
||||||
|
#define aom_horizontal_line_5_4_scale aom_horizontal_line_5_4_scale_c
|
||||||
|
|
||||||
|
void aom_vertical_band_2_1_scale_c(unsigned char *source, int src_pitch, unsigned char *dest, int dest_pitch, unsigned int dest_width);
|
||||||
|
#define aom_vertical_band_2_1_scale aom_vertical_band_2_1_scale_c
|
||||||
|
|
||||||
|
void aom_vertical_band_2_1_scale_i_c(unsigned char *source, int src_pitch, unsigned char *dest, int dest_pitch, unsigned int dest_width);
|
||||||
|
#define aom_vertical_band_2_1_scale_i aom_vertical_band_2_1_scale_i_c
|
||||||
|
|
||||||
|
void aom_vertical_band_5_3_scale_c(unsigned char *source, int src_pitch, unsigned char *dest, int dest_pitch, unsigned int dest_width);
|
||||||
|
#define aom_vertical_band_5_3_scale aom_vertical_band_5_3_scale_c
|
||||||
|
|
||||||
|
void aom_vertical_band_5_4_scale_c(unsigned char *source, int src_pitch, unsigned char *dest, int dest_pitch, unsigned int dest_width);
|
||||||
|
#define aom_vertical_band_5_4_scale aom_vertical_band_5_4_scale_c
|
||||||
|
|
||||||
|
void aom_yv12_copy_frame_c(const struct yv12_buffer_config *src_bc, struct yv12_buffer_config *dst_bc, const int num_planes);
|
||||||
|
#define aom_yv12_copy_frame aom_yv12_copy_frame_c
|
||||||
|
|
||||||
|
void aom_yv12_copy_u_c(const struct yv12_buffer_config *src_bc, struct yv12_buffer_config *dst_bc);
|
||||||
|
#define aom_yv12_copy_u aom_yv12_copy_u_c
|
||||||
|
|
||||||
|
void aom_yv12_copy_v_c(const struct yv12_buffer_config *src_bc, struct yv12_buffer_config *dst_bc);
|
||||||
|
#define aom_yv12_copy_v aom_yv12_copy_v_c
|
||||||
|
|
||||||
|
void aom_yv12_copy_y_c(const struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc);
|
||||||
|
#define aom_yv12_copy_y aom_yv12_copy_y_c
|
||||||
|
|
||||||
|
void aom_yv12_extend_frame_borders_c(struct yv12_buffer_config *ybf, const int num_planes);
|
||||||
|
#define aom_yv12_extend_frame_borders aom_yv12_extend_frame_borders_c
|
||||||
|
|
||||||
|
void aom_yv12_partial_copy_u_c(const struct yv12_buffer_config *src_bc, struct yv12_buffer_config *dst_bc, int hstart, int hend, int vstart, int vend);
|
||||||
|
#define aom_yv12_partial_copy_u aom_yv12_partial_copy_u_c
|
||||||
|
|
||||||
|
void aom_yv12_partial_copy_v_c(const struct yv12_buffer_config *src_bc, struct yv12_buffer_config *dst_bc, int hstart, int hend, int vstart, int vend);
|
||||||
|
#define aom_yv12_partial_copy_v aom_yv12_partial_copy_v_c
|
||||||
|
|
||||||
|
void aom_yv12_partial_copy_y_c(const struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc, int hstart, int hend, int vstart, int vend);
|
||||||
|
#define aom_yv12_partial_copy_y aom_yv12_partial_copy_y_c
|
||||||
|
|
||||||
|
void aom_scale_rtcd(void);
|
||||||
|
|
||||||
|
#ifdef RTCD_C
|
||||||
|
#include "aom_ports/x86.h"
|
||||||
|
static void setup_rtcd_internal(void)
|
||||||
|
{
|
||||||
|
int flags = x86_simd_caps();
|
||||||
|
|
||||||
|
(void)flags;
|
||||||
|
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
} // extern "C"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif
|
||||||
553
media/libaom/config/win/x64/config/av1_rtcd.h
Normal file
553
media/libaom/config/win/x64/config/av1_rtcd.h
Normal file
|
|
@ -0,0 +1,553 @@
|
||||||
|
// This file is generated. Do not edit.
|
||||||
|
#ifndef AOM_RTCD_H_
|
||||||
|
#define AOM_RTCD_H_
|
||||||
|
|
||||||
|
#ifdef RTCD_C
|
||||||
|
#define RTCD_EXTERN
|
||||||
|
#else
|
||||||
|
#define RTCD_EXTERN extern
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/*
|
||||||
|
* AV1
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "aom/aom_integer.h"
|
||||||
|
#include "aom_dsp/txfm_common.h"
|
||||||
|
#include "av1/common/common.h"
|
||||||
|
#include "av1/common/enums.h"
|
||||||
|
#include "av1/common/quant_common.h"
|
||||||
|
#include "av1/common/filter.h"
|
||||||
|
#include "av1/common/convolve.h"
|
||||||
|
#include "av1/common/av1_txfm.h"
|
||||||
|
#include "av1/common/odintrin.h"
|
||||||
|
#include "av1/common/restoration.h"
|
||||||
|
|
||||||
|
struct macroblockd;
|
||||||
|
|
||||||
|
/* Encoder forward decls */
|
||||||
|
struct macroblock;
|
||||||
|
struct txfm_param;
|
||||||
|
struct aom_variance_vtable;
|
||||||
|
struct search_site_config;
|
||||||
|
struct yv12_buffer_config;
|
||||||
|
|
||||||
|
/* Function pointers return by CfL functions */
|
||||||
|
typedef void (*cfl_subsample_lbd_fn)(const uint8_t *input, int input_stride,
|
||||||
|
uint16_t *output_q3);
|
||||||
|
|
||||||
|
typedef void (*cfl_subsample_hbd_fn)(const uint16_t *input, int input_stride,
|
||||||
|
uint16_t *output_q3);
|
||||||
|
|
||||||
|
typedef void (*cfl_subtract_average_fn)(const uint16_t *src, int16_t *dst);
|
||||||
|
|
||||||
|
typedef void (*cfl_predict_lbd_fn)(const int16_t *src, uint8_t *dst,
|
||||||
|
int dst_stride, int alpha_q3);
|
||||||
|
|
||||||
|
typedef void (*cfl_predict_hbd_fn)(const int16_t *src, uint16_t *dst,
|
||||||
|
int dst_stride, int alpha_q3, int bd);
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
|
void apply_selfguided_restoration_c(const uint8_t *dat, int width, int height, int stride, int eps, const int *xqd, uint8_t *dst, int dst_stride, int32_t *tmpbuf, int bit_depth, int highbd);
|
||||||
|
void apply_selfguided_restoration_sse4_1(const uint8_t *dat, int width, int height, int stride, int eps, const int *xqd, uint8_t *dst, int dst_stride, int32_t *tmpbuf, int bit_depth, int highbd);
|
||||||
|
void apply_selfguided_restoration_avx2(const uint8_t *dat, int width, int height, int stride, int eps, const int *xqd, uint8_t *dst, int dst_stride, int32_t *tmpbuf, int bit_depth, int highbd);
|
||||||
|
RTCD_EXTERN void (*apply_selfguided_restoration)(const uint8_t *dat, int width, int height, int stride, int eps, const int *xqd, uint8_t *dst, int dst_stride, int32_t *tmpbuf, int bit_depth, int highbd);
|
||||||
|
|
||||||
|
void av1_build_compound_diffwtd_mask_c(uint8_t *mask, DIFFWTD_MASK_TYPE mask_type, const uint8_t *src0, int src0_stride, const uint8_t *src1, int src1_stride, int h, int w);
|
||||||
|
void av1_build_compound_diffwtd_mask_sse4_1(uint8_t *mask, DIFFWTD_MASK_TYPE mask_type, const uint8_t *src0, int src0_stride, const uint8_t *src1, int src1_stride, int h, int w);
|
||||||
|
RTCD_EXTERN void (*av1_build_compound_diffwtd_mask)(uint8_t *mask, DIFFWTD_MASK_TYPE mask_type, const uint8_t *src0, int src0_stride, const uint8_t *src1, int src1_stride, int h, int w);
|
||||||
|
|
||||||
|
void av1_build_compound_diffwtd_mask_d16_c(uint8_t *mask, DIFFWTD_MASK_TYPE mask_type, const CONV_BUF_TYPE *src0, int src0_stride, const CONV_BUF_TYPE *src1, int src1_stride, int h, int w, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_build_compound_diffwtd_mask_d16_sse4_1(uint8_t *mask, DIFFWTD_MASK_TYPE mask_type, const CONV_BUF_TYPE *src0, int src0_stride, const CONV_BUF_TYPE *src1, int src1_stride, int h, int w, ConvolveParams *conv_params, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_build_compound_diffwtd_mask_d16)(uint8_t *mask, DIFFWTD_MASK_TYPE mask_type, const CONV_BUF_TYPE *src0, int src0_stride, const CONV_BUF_TYPE *src1, int src1_stride, int h, int w, ConvolveParams *conv_params, int bd);
|
||||||
|
|
||||||
|
void av1_build_compound_diffwtd_mask_highbd_c(uint8_t *mask, DIFFWTD_MASK_TYPE mask_type, const uint8_t *src0, int src0_stride, const uint8_t *src1, int src1_stride, int h, int w, int bd);
|
||||||
|
void av1_build_compound_diffwtd_mask_highbd_ssse3(uint8_t *mask, DIFFWTD_MASK_TYPE mask_type, const uint8_t *src0, int src0_stride, const uint8_t *src1, int src1_stride, int h, int w, int bd);
|
||||||
|
void av1_build_compound_diffwtd_mask_highbd_avx2(uint8_t *mask, DIFFWTD_MASK_TYPE mask_type, const uint8_t *src0, int src0_stride, const uint8_t *src1, int src1_stride, int h, int w, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_build_compound_diffwtd_mask_highbd)(uint8_t *mask, DIFFWTD_MASK_TYPE mask_type, const uint8_t *src0, int src0_stride, const uint8_t *src1, int src1_stride, int h, int w, int bd);
|
||||||
|
|
||||||
|
void av1_convolve_2d_copy_sr_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_convolve_2d_copy_sr_sse2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_convolve_2d_copy_sr_avx2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
RTCD_EXTERN void (*av1_convolve_2d_copy_sr)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
|
||||||
|
void av1_convolve_2d_scale_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_qn, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params);
|
||||||
|
void av1_convolve_2d_scale_sse4_1(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_qn, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params);
|
||||||
|
RTCD_EXTERN void (*av1_convolve_2d_scale)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_qn, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params);
|
||||||
|
|
||||||
|
void av1_convolve_2d_sr_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_convolve_2d_sr_sse2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_convolve_2d_sr_avx2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
RTCD_EXTERN void (*av1_convolve_2d_sr)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
|
||||||
|
void av1_convolve_horiz_rs_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const int16_t *x_filters, int x0_qn, int x_step_qn);
|
||||||
|
void av1_convolve_horiz_rs_sse4_1(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const int16_t *x_filters, int x0_qn, int x_step_qn);
|
||||||
|
RTCD_EXTERN void (*av1_convolve_horiz_rs)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const int16_t *x_filters, int x0_qn, int x_step_qn);
|
||||||
|
|
||||||
|
void av1_convolve_x_sr_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_convolve_x_sr_sse2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_convolve_x_sr_avx2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
RTCD_EXTERN void (*av1_convolve_x_sr)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
|
||||||
|
void av1_convolve_y_sr_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_convolve_y_sr_sse2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_convolve_y_sr_avx2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
RTCD_EXTERN void (*av1_convolve_y_sr)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
|
||||||
|
void av1_dr_prediction_z1_c(uint8_t *dst, ptrdiff_t stride, int bw, int bh, const uint8_t *above, const uint8_t *left, int upsample_above, int dx, int dy);
|
||||||
|
#define av1_dr_prediction_z1 av1_dr_prediction_z1_c
|
||||||
|
|
||||||
|
void av1_dr_prediction_z2_c(uint8_t *dst, ptrdiff_t stride, int bw, int bh, const uint8_t *above, const uint8_t *left, int upsample_above, int upsample_left, int dx, int dy);
|
||||||
|
#define av1_dr_prediction_z2 av1_dr_prediction_z2_c
|
||||||
|
|
||||||
|
void av1_dr_prediction_z3_c(uint8_t *dst, ptrdiff_t stride, int bw, int bh, const uint8_t *above, const uint8_t *left, int upsample_left, int dx, int dy);
|
||||||
|
#define av1_dr_prediction_z3 av1_dr_prediction_z3_c
|
||||||
|
|
||||||
|
void av1_filter_intra_edge_c(uint8_t *p, int sz, int strength);
|
||||||
|
void av1_filter_intra_edge_sse4_1(uint8_t *p, int sz, int strength);
|
||||||
|
RTCD_EXTERN void (*av1_filter_intra_edge)(uint8_t *p, int sz, int strength);
|
||||||
|
|
||||||
|
void av1_filter_intra_edge_high_c(uint16_t *p, int sz, int strength);
|
||||||
|
void av1_filter_intra_edge_high_sse4_1(uint16_t *p, int sz, int strength);
|
||||||
|
RTCD_EXTERN void (*av1_filter_intra_edge_high)(uint16_t *p, int sz, int strength);
|
||||||
|
|
||||||
|
void av1_filter_intra_predictor_c(uint8_t *dst, ptrdiff_t stride, TX_SIZE tx_size, const uint8_t *above, const uint8_t *left, int mode);
|
||||||
|
void av1_filter_intra_predictor_sse4_1(uint8_t *dst, ptrdiff_t stride, TX_SIZE tx_size, const uint8_t *above, const uint8_t *left, int mode);
|
||||||
|
RTCD_EXTERN void (*av1_filter_intra_predictor)(uint8_t *dst, ptrdiff_t stride, TX_SIZE tx_size, const uint8_t *above, const uint8_t *left, int mode);
|
||||||
|
|
||||||
|
void av1_highbd_convolve8_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
||||||
|
void av1_highbd_convolve8_sse2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
||||||
|
#define av1_highbd_convolve8 av1_highbd_convolve8_sse2
|
||||||
|
|
||||||
|
void av1_highbd_convolve8_horiz_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
||||||
|
void av1_highbd_convolve8_horiz_sse2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
||||||
|
#define av1_highbd_convolve8_horiz av1_highbd_convolve8_horiz_sse2
|
||||||
|
|
||||||
|
void av1_highbd_convolve8_vert_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
||||||
|
void av1_highbd_convolve8_vert_sse2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
||||||
|
#define av1_highbd_convolve8_vert av1_highbd_convolve8_vert_sse2
|
||||||
|
|
||||||
|
void av1_highbd_convolve_2d_copy_sr_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_convolve_2d_copy_sr_sse2(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_convolve_2d_copy_sr_avx2(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_convolve_2d_copy_sr)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
|
||||||
|
void av1_highbd_convolve_2d_scale_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_convolve_2d_scale_sse4_1(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_convolve_2d_scale)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params, int bd);
|
||||||
|
|
||||||
|
void av1_highbd_convolve_2d_sr_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_convolve_2d_sr_ssse3(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_convolve_2d_sr_avx2(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_convolve_2d_sr)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
|
||||||
|
void av1_highbd_convolve_avg_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
||||||
|
#define av1_highbd_convolve_avg av1_highbd_convolve_avg_c
|
||||||
|
|
||||||
|
void av1_highbd_convolve_copy_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps);
|
||||||
|
#define av1_highbd_convolve_copy av1_highbd_convolve_copy_c
|
||||||
|
|
||||||
|
void av1_highbd_convolve_horiz_rs_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, const int16_t *x_filters, int x0_qn, int x_step_qn, int bd);
|
||||||
|
void av1_highbd_convolve_horiz_rs_sse4_1(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, const int16_t *x_filters, int x0_qn, int x_step_qn, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_convolve_horiz_rs)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, const int16_t *x_filters, int x0_qn, int x_step_qn, int bd);
|
||||||
|
|
||||||
|
void av1_highbd_convolve_x_sr_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_convolve_x_sr_ssse3(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_convolve_x_sr_avx2(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_convolve_x_sr)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
|
||||||
|
void av1_highbd_convolve_y_sr_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_convolve_y_sr_ssse3(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_convolve_y_sr_avx2(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_convolve_y_sr)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
|
||||||
|
void av1_highbd_dr_prediction_z1_c(uint16_t *dst, ptrdiff_t stride, int bw, int bh, const uint16_t *above, const uint16_t *left, int upsample_above, int dx, int dy, int bd);
|
||||||
|
#define av1_highbd_dr_prediction_z1 av1_highbd_dr_prediction_z1_c
|
||||||
|
|
||||||
|
void av1_highbd_dr_prediction_z2_c(uint16_t *dst, ptrdiff_t stride, int bw, int bh, const uint16_t *above, const uint16_t *left, int upsample_above, int upsample_left, int dx, int dy, int bd);
|
||||||
|
#define av1_highbd_dr_prediction_z2 av1_highbd_dr_prediction_z2_c
|
||||||
|
|
||||||
|
void av1_highbd_dr_prediction_z3_c(uint16_t *dst, ptrdiff_t stride, int bw, int bh, const uint16_t *above, const uint16_t *left, int upsample_left, int dx, int dy, int bd);
|
||||||
|
#define av1_highbd_dr_prediction_z3 av1_highbd_dr_prediction_z3_c
|
||||||
|
|
||||||
|
void av1_highbd_iwht4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, int bd);
|
||||||
|
#define av1_highbd_iwht4x4_16_add av1_highbd_iwht4x4_16_add_c
|
||||||
|
|
||||||
|
void av1_highbd_iwht4x4_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, int bd);
|
||||||
|
#define av1_highbd_iwht4x4_1_add av1_highbd_iwht4x4_1_add_c
|
||||||
|
|
||||||
|
void av1_highbd_jnt_convolve_2d_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_jnt_convolve_2d_sse4_1(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_jnt_convolve_2d_avx2(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_jnt_convolve_2d)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
|
||||||
|
void av1_highbd_jnt_convolve_2d_copy_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_jnt_convolve_2d_copy_sse4_1(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_jnt_convolve_2d_copy_avx2(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_jnt_convolve_2d_copy)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
|
||||||
|
void av1_highbd_jnt_convolve_x_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_jnt_convolve_x_sse4_1(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_jnt_convolve_x_avx2(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_jnt_convolve_x)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
|
||||||
|
void av1_highbd_jnt_convolve_y_c(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_jnt_convolve_y_sse4_1(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
void av1_highbd_jnt_convolve_y_avx2(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_jnt_convolve_y)(const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params, int bd);
|
||||||
|
|
||||||
|
void av1_highbd_warp_affine_c(const int32_t *mat, const uint16_t *ref, int width, int height, int stride, uint16_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, int bd, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
||||||
|
void av1_highbd_warp_affine_sse4_1(const int32_t *mat, const uint16_t *ref, int width, int height, int stride, uint16_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, int bd, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_warp_affine)(const int32_t *mat, const uint16_t *ref, int width, int height, int stride, uint16_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, int bd, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
||||||
|
|
||||||
|
void av1_highbd_wiener_convolve_add_src_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, const ConvolveParams *conv_params, int bps);
|
||||||
|
void av1_highbd_wiener_convolve_add_src_ssse3(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, const ConvolveParams *conv_params, int bps);
|
||||||
|
void av1_highbd_wiener_convolve_add_src_avx2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, const ConvolveParams *conv_params, int bps);
|
||||||
|
RTCD_EXTERN void (*av1_highbd_wiener_convolve_add_src)(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, const ConvolveParams *conv_params, int bps);
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_16x16_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
void av1_inv_txfm2d_add_16x16_sse4_1(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_inv_txfm2d_add_16x16)(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_16x32_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_16x32 av1_inv_txfm2d_add_16x32_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_16x4_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_16x4 av1_inv_txfm2d_add_16x4_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_16x64_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_16x64 av1_inv_txfm2d_add_16x64_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_16x8_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_16x8 av1_inv_txfm2d_add_16x8_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_32x16_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_32x16 av1_inv_txfm2d_add_32x16_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_32x32_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
void av1_inv_txfm2d_add_32x32_avx2(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_inv_txfm2d_add_32x32)(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_32x64_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_32x64 av1_inv_txfm2d_add_32x64_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_32x8_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_32x8 av1_inv_txfm2d_add_32x8_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_4x16_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_4x16 av1_inv_txfm2d_add_4x16_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_4x4_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
void av1_inv_txfm2d_add_4x4_sse4_1(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_inv_txfm2d_add_4x4)(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_4x8_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_4x8 av1_inv_txfm2d_add_4x8_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_64x16_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_64x16 av1_inv_txfm2d_add_64x16_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_64x32_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_64x32 av1_inv_txfm2d_add_64x32_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_64x64_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
void av1_inv_txfm2d_add_64x64_sse4_1(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_inv_txfm2d_add_64x64)(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_8x16_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_8x16 av1_inv_txfm2d_add_8x16_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_8x32_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_8x32 av1_inv_txfm2d_add_8x32_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_8x4_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
#define av1_inv_txfm2d_add_8x4 av1_inv_txfm2d_add_8x4_c
|
||||||
|
|
||||||
|
void av1_inv_txfm2d_add_8x8_c(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
void av1_inv_txfm2d_add_8x8_sse4_1(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_inv_txfm2d_add_8x8)(const int32_t *input, uint16_t *output, int stride, TX_TYPE tx_type, int bd);
|
||||||
|
|
||||||
|
void av1_inv_txfm_add_c(const tran_low_t *dqcoeff, uint8_t *dst, int stride, const TxfmParam *txfm_param);
|
||||||
|
void av1_inv_txfm_add_ssse3(const tran_low_t *dqcoeff, uint8_t *dst, int stride, const TxfmParam *txfm_param);
|
||||||
|
void av1_inv_txfm_add_avx2(const tran_low_t *dqcoeff, uint8_t *dst, int stride, const TxfmParam *txfm_param);
|
||||||
|
RTCD_EXTERN void (*av1_inv_txfm_add)(const tran_low_t *dqcoeff, uint8_t *dst, int stride, const TxfmParam *txfm_param);
|
||||||
|
|
||||||
|
void av1_jnt_convolve_2d_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_jnt_convolve_2d_ssse3(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_jnt_convolve_2d_avx2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
RTCD_EXTERN void (*av1_jnt_convolve_2d)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
|
||||||
|
void av1_jnt_convolve_2d_copy_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_jnt_convolve_2d_copy_sse2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_jnt_convolve_2d_copy_avx2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
RTCD_EXTERN void (*av1_jnt_convolve_2d_copy)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
|
||||||
|
void av1_jnt_convolve_x_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_jnt_convolve_x_sse2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_jnt_convolve_x_avx2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
RTCD_EXTERN void (*av1_jnt_convolve_x)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
|
||||||
|
void av1_jnt_convolve_y_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_jnt_convolve_y_sse2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
void av1_jnt_convolve_y_avx2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
RTCD_EXTERN void (*av1_jnt_convolve_y)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, InterpFilterParams *filter_params_x, InterpFilterParams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params);
|
||||||
|
|
||||||
|
void av1_selfguided_restoration_c(const uint8_t *dgd8, int width, int height,
|
||||||
|
int dgd_stride, int32_t *flt0, int32_t *flt1, int flt_stride,
|
||||||
|
int sgr_params_idx, int bit_depth, int highbd);
|
||||||
|
void av1_selfguided_restoration_sse4_1(const uint8_t *dgd8, int width, int height,
|
||||||
|
int dgd_stride, int32_t *flt0, int32_t *flt1, int flt_stride,
|
||||||
|
int sgr_params_idx, int bit_depth, int highbd);
|
||||||
|
void av1_selfguided_restoration_avx2(const uint8_t *dgd8, int width, int height,
|
||||||
|
int dgd_stride, int32_t *flt0, int32_t *flt1, int flt_stride,
|
||||||
|
int sgr_params_idx, int bit_depth, int highbd);
|
||||||
|
RTCD_EXTERN void (*av1_selfguided_restoration)(const uint8_t *dgd8, int width, int height,
|
||||||
|
int dgd_stride, int32_t *flt0, int32_t *flt1, int flt_stride,
|
||||||
|
int sgr_params_idx, int bit_depth, int highbd);
|
||||||
|
|
||||||
|
void av1_upsample_intra_edge_c(uint8_t *p, int sz);
|
||||||
|
void av1_upsample_intra_edge_sse4_1(uint8_t *p, int sz);
|
||||||
|
RTCD_EXTERN void (*av1_upsample_intra_edge)(uint8_t *p, int sz);
|
||||||
|
|
||||||
|
void av1_upsample_intra_edge_high_c(uint16_t *p, int sz, int bd);
|
||||||
|
void av1_upsample_intra_edge_high_sse4_1(uint16_t *p, int sz, int bd);
|
||||||
|
RTCD_EXTERN void (*av1_upsample_intra_edge_high)(uint16_t *p, int sz, int bd);
|
||||||
|
|
||||||
|
void av1_warp_affine_c(const int32_t *mat, const uint8_t *ref, int width, int height, int stride, uint8_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
||||||
|
void av1_warp_affine_sse4_1(const int32_t *mat, const uint8_t *ref, int width, int height, int stride, uint8_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
||||||
|
RTCD_EXTERN void (*av1_warp_affine)(const int32_t *mat, const uint8_t *ref, int width, int height, int stride, uint8_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, ConvolveParams *conv_params, int16_t alpha, int16_t beta, int16_t gamma, int16_t delta);
|
||||||
|
|
||||||
|
void av1_wiener_convolve_add_src_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, const ConvolveParams *conv_params);
|
||||||
|
void av1_wiener_convolve_add_src_sse2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, const ConvolveParams *conv_params);
|
||||||
|
void av1_wiener_convolve_add_src_avx2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, const ConvolveParams *conv_params);
|
||||||
|
RTCD_EXTERN void (*av1_wiener_convolve_add_src)(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, const ConvolveParams *conv_params);
|
||||||
|
|
||||||
|
void cdef_filter_block_c(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max, int coeff_shift);
|
||||||
|
void cdef_filter_block_sse2(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max, int coeff_shift);
|
||||||
|
void cdef_filter_block_ssse3(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max, int coeff_shift);
|
||||||
|
void cdef_filter_block_sse4_1(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max, int coeff_shift);
|
||||||
|
void cdef_filter_block_avx2(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max, int coeff_shift);
|
||||||
|
RTCD_EXTERN void (*cdef_filter_block)(uint8_t *dst8, uint16_t *dst16, int dstride, const uint16_t *in, int pri_strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int max, int coeff_shift);
|
||||||
|
|
||||||
|
int cdef_find_dir_c(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
||||||
|
int cdef_find_dir_sse2(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
||||||
|
int cdef_find_dir_ssse3(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
||||||
|
int cdef_find_dir_sse4_1(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
||||||
|
int cdef_find_dir_avx2(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
||||||
|
RTCD_EXTERN int (*cdef_find_dir)(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
|
||||||
|
|
||||||
|
cfl_subsample_hbd_fn cfl_get_luma_subsampling_420_hbd_c(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_hbd_fn cfl_get_luma_subsampling_420_hbd_ssse3(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_hbd_fn cfl_get_luma_subsampling_420_hbd_avx2(TX_SIZE tx_size);
|
||||||
|
RTCD_EXTERN cfl_subsample_hbd_fn (*cfl_get_luma_subsampling_420_hbd)(TX_SIZE tx_size);
|
||||||
|
|
||||||
|
cfl_subsample_lbd_fn cfl_get_luma_subsampling_420_lbd_c(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_lbd_fn cfl_get_luma_subsampling_420_lbd_ssse3(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_lbd_fn cfl_get_luma_subsampling_420_lbd_avx2(TX_SIZE tx_size);
|
||||||
|
RTCD_EXTERN cfl_subsample_lbd_fn (*cfl_get_luma_subsampling_420_lbd)(TX_SIZE tx_size);
|
||||||
|
|
||||||
|
cfl_subsample_hbd_fn cfl_get_luma_subsampling_422_hbd_c(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_hbd_fn cfl_get_luma_subsampling_422_hbd_ssse3(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_hbd_fn cfl_get_luma_subsampling_422_hbd_avx2(TX_SIZE tx_size);
|
||||||
|
RTCD_EXTERN cfl_subsample_hbd_fn (*cfl_get_luma_subsampling_422_hbd)(TX_SIZE tx_size);
|
||||||
|
|
||||||
|
cfl_subsample_lbd_fn cfl_get_luma_subsampling_422_lbd_c(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_lbd_fn cfl_get_luma_subsampling_422_lbd_ssse3(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_lbd_fn cfl_get_luma_subsampling_422_lbd_avx2(TX_SIZE tx_size);
|
||||||
|
RTCD_EXTERN cfl_subsample_lbd_fn (*cfl_get_luma_subsampling_422_lbd)(TX_SIZE tx_size);
|
||||||
|
|
||||||
|
cfl_subsample_hbd_fn cfl_get_luma_subsampling_444_hbd_c(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_hbd_fn cfl_get_luma_subsampling_444_hbd_ssse3(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_hbd_fn cfl_get_luma_subsampling_444_hbd_avx2(TX_SIZE tx_size);
|
||||||
|
RTCD_EXTERN cfl_subsample_hbd_fn (*cfl_get_luma_subsampling_444_hbd)(TX_SIZE tx_size);
|
||||||
|
|
||||||
|
cfl_subsample_lbd_fn cfl_get_luma_subsampling_444_lbd_c(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_lbd_fn cfl_get_luma_subsampling_444_lbd_ssse3(TX_SIZE tx_size);
|
||||||
|
cfl_subsample_lbd_fn cfl_get_luma_subsampling_444_lbd_avx2(TX_SIZE tx_size);
|
||||||
|
RTCD_EXTERN cfl_subsample_lbd_fn (*cfl_get_luma_subsampling_444_lbd)(TX_SIZE tx_size);
|
||||||
|
|
||||||
|
void copy_rect8_16bit_to_16bit_c(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
||||||
|
void copy_rect8_16bit_to_16bit_sse2(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
||||||
|
void copy_rect8_16bit_to_16bit_ssse3(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
||||||
|
void copy_rect8_16bit_to_16bit_sse4_1(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
||||||
|
void copy_rect8_16bit_to_16bit_avx2(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
||||||
|
RTCD_EXTERN void (*copy_rect8_16bit_to_16bit)(uint16_t *dst, int dstride, const uint16_t *src, int sstride, int v, int h);
|
||||||
|
|
||||||
|
void copy_rect8_8bit_to_16bit_c(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
||||||
|
void copy_rect8_8bit_to_16bit_sse2(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
||||||
|
void copy_rect8_8bit_to_16bit_ssse3(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
||||||
|
void copy_rect8_8bit_to_16bit_sse4_1(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
||||||
|
void copy_rect8_8bit_to_16bit_avx2(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
||||||
|
RTCD_EXTERN void (*copy_rect8_8bit_to_16bit)(uint16_t *dst, int dstride, const uint8_t *src, int sstride, int v, int h);
|
||||||
|
|
||||||
|
cfl_predict_hbd_fn get_predict_hbd_fn_c(TX_SIZE tx_size);
|
||||||
|
cfl_predict_hbd_fn get_predict_hbd_fn_ssse3(TX_SIZE tx_size);
|
||||||
|
cfl_predict_hbd_fn get_predict_hbd_fn_avx2(TX_SIZE tx_size);
|
||||||
|
RTCD_EXTERN cfl_predict_hbd_fn (*get_predict_hbd_fn)(TX_SIZE tx_size);
|
||||||
|
|
||||||
|
cfl_predict_lbd_fn get_predict_lbd_fn_c(TX_SIZE tx_size);
|
||||||
|
cfl_predict_lbd_fn get_predict_lbd_fn_ssse3(TX_SIZE tx_size);
|
||||||
|
cfl_predict_lbd_fn get_predict_lbd_fn_avx2(TX_SIZE tx_size);
|
||||||
|
RTCD_EXTERN cfl_predict_lbd_fn (*get_predict_lbd_fn)(TX_SIZE tx_size);
|
||||||
|
|
||||||
|
cfl_subtract_average_fn get_subtract_average_fn_c(TX_SIZE tx_size);
|
||||||
|
cfl_subtract_average_fn get_subtract_average_fn_sse2(TX_SIZE tx_size);
|
||||||
|
cfl_subtract_average_fn get_subtract_average_fn_avx2(TX_SIZE tx_size);
|
||||||
|
RTCD_EXTERN cfl_subtract_average_fn (*get_subtract_average_fn)(TX_SIZE tx_size);
|
||||||
|
|
||||||
|
void aom_rtcd(void);
|
||||||
|
|
||||||
|
#ifdef RTCD_C
|
||||||
|
#include "aom_ports/x86.h"
|
||||||
|
static void setup_rtcd_internal(void)
|
||||||
|
{
|
||||||
|
int flags = x86_simd_caps();
|
||||||
|
|
||||||
|
(void)flags;
|
||||||
|
|
||||||
|
apply_selfguided_restoration = apply_selfguided_restoration_c;
|
||||||
|
if (flags & HAS_SSE4_1) apply_selfguided_restoration = apply_selfguided_restoration_sse4_1;
|
||||||
|
if (flags & HAS_AVX2) apply_selfguided_restoration = apply_selfguided_restoration_avx2;
|
||||||
|
av1_build_compound_diffwtd_mask = av1_build_compound_diffwtd_mask_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_build_compound_diffwtd_mask = av1_build_compound_diffwtd_mask_sse4_1;
|
||||||
|
av1_build_compound_diffwtd_mask_d16 = av1_build_compound_diffwtd_mask_d16_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_build_compound_diffwtd_mask_d16 = av1_build_compound_diffwtd_mask_d16_sse4_1;
|
||||||
|
av1_build_compound_diffwtd_mask_highbd = av1_build_compound_diffwtd_mask_highbd_c;
|
||||||
|
if (flags & HAS_SSSE3) av1_build_compound_diffwtd_mask_highbd = av1_build_compound_diffwtd_mask_highbd_ssse3;
|
||||||
|
if (flags & HAS_AVX2) av1_build_compound_diffwtd_mask_highbd = av1_build_compound_diffwtd_mask_highbd_avx2;
|
||||||
|
av1_convolve_2d_copy_sr = av1_convolve_2d_copy_sr_sse2;
|
||||||
|
if (flags & HAS_AVX2) av1_convolve_2d_copy_sr = av1_convolve_2d_copy_sr_avx2;
|
||||||
|
av1_convolve_2d_scale = av1_convolve_2d_scale_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_convolve_2d_scale = av1_convolve_2d_scale_sse4_1;
|
||||||
|
av1_convolve_2d_sr = av1_convolve_2d_sr_sse2;
|
||||||
|
if (flags & HAS_AVX2) av1_convolve_2d_sr = av1_convolve_2d_sr_avx2;
|
||||||
|
av1_convolve_horiz_rs = av1_convolve_horiz_rs_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_convolve_horiz_rs = av1_convolve_horiz_rs_sse4_1;
|
||||||
|
av1_convolve_x_sr = av1_convolve_x_sr_sse2;
|
||||||
|
if (flags & HAS_AVX2) av1_convolve_x_sr = av1_convolve_x_sr_avx2;
|
||||||
|
av1_convolve_y_sr = av1_convolve_y_sr_sse2;
|
||||||
|
if (flags & HAS_AVX2) av1_convolve_y_sr = av1_convolve_y_sr_avx2;
|
||||||
|
av1_filter_intra_edge = av1_filter_intra_edge_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_filter_intra_edge = av1_filter_intra_edge_sse4_1;
|
||||||
|
av1_filter_intra_edge_high = av1_filter_intra_edge_high_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_filter_intra_edge_high = av1_filter_intra_edge_high_sse4_1;
|
||||||
|
av1_filter_intra_predictor = av1_filter_intra_predictor_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_filter_intra_predictor = av1_filter_intra_predictor_sse4_1;
|
||||||
|
av1_highbd_convolve_2d_copy_sr = av1_highbd_convolve_2d_copy_sr_sse2;
|
||||||
|
if (flags & HAS_AVX2) av1_highbd_convolve_2d_copy_sr = av1_highbd_convolve_2d_copy_sr_avx2;
|
||||||
|
av1_highbd_convolve_2d_scale = av1_highbd_convolve_2d_scale_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_highbd_convolve_2d_scale = av1_highbd_convolve_2d_scale_sse4_1;
|
||||||
|
av1_highbd_convolve_2d_sr = av1_highbd_convolve_2d_sr_c;
|
||||||
|
if (flags & HAS_SSSE3) av1_highbd_convolve_2d_sr = av1_highbd_convolve_2d_sr_ssse3;
|
||||||
|
if (flags & HAS_AVX2) av1_highbd_convolve_2d_sr = av1_highbd_convolve_2d_sr_avx2;
|
||||||
|
av1_highbd_convolve_horiz_rs = av1_highbd_convolve_horiz_rs_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_highbd_convolve_horiz_rs = av1_highbd_convolve_horiz_rs_sse4_1;
|
||||||
|
av1_highbd_convolve_x_sr = av1_highbd_convolve_x_sr_c;
|
||||||
|
if (flags & HAS_SSSE3) av1_highbd_convolve_x_sr = av1_highbd_convolve_x_sr_ssse3;
|
||||||
|
if (flags & HAS_AVX2) av1_highbd_convolve_x_sr = av1_highbd_convolve_x_sr_avx2;
|
||||||
|
av1_highbd_convolve_y_sr = av1_highbd_convolve_y_sr_c;
|
||||||
|
if (flags & HAS_SSSE3) av1_highbd_convolve_y_sr = av1_highbd_convolve_y_sr_ssse3;
|
||||||
|
if (flags & HAS_AVX2) av1_highbd_convolve_y_sr = av1_highbd_convolve_y_sr_avx2;
|
||||||
|
av1_highbd_jnt_convolve_2d = av1_highbd_jnt_convolve_2d_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_highbd_jnt_convolve_2d = av1_highbd_jnt_convolve_2d_sse4_1;
|
||||||
|
if (flags & HAS_AVX2) av1_highbd_jnt_convolve_2d = av1_highbd_jnt_convolve_2d_avx2;
|
||||||
|
av1_highbd_jnt_convolve_2d_copy = av1_highbd_jnt_convolve_2d_copy_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_highbd_jnt_convolve_2d_copy = av1_highbd_jnt_convolve_2d_copy_sse4_1;
|
||||||
|
if (flags & HAS_AVX2) av1_highbd_jnt_convolve_2d_copy = av1_highbd_jnt_convolve_2d_copy_avx2;
|
||||||
|
av1_highbd_jnt_convolve_x = av1_highbd_jnt_convolve_x_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_highbd_jnt_convolve_x = av1_highbd_jnt_convolve_x_sse4_1;
|
||||||
|
if (flags & HAS_AVX2) av1_highbd_jnt_convolve_x = av1_highbd_jnt_convolve_x_avx2;
|
||||||
|
av1_highbd_jnt_convolve_y = av1_highbd_jnt_convolve_y_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_highbd_jnt_convolve_y = av1_highbd_jnt_convolve_y_sse4_1;
|
||||||
|
if (flags & HAS_AVX2) av1_highbd_jnt_convolve_y = av1_highbd_jnt_convolve_y_avx2;
|
||||||
|
av1_highbd_warp_affine = av1_highbd_warp_affine_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_highbd_warp_affine = av1_highbd_warp_affine_sse4_1;
|
||||||
|
av1_highbd_wiener_convolve_add_src = av1_highbd_wiener_convolve_add_src_c;
|
||||||
|
if (flags & HAS_SSSE3) av1_highbd_wiener_convolve_add_src = av1_highbd_wiener_convolve_add_src_ssse3;
|
||||||
|
if (flags & HAS_AVX2) av1_highbd_wiener_convolve_add_src = av1_highbd_wiener_convolve_add_src_avx2;
|
||||||
|
av1_inv_txfm2d_add_16x16 = av1_inv_txfm2d_add_16x16_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_inv_txfm2d_add_16x16 = av1_inv_txfm2d_add_16x16_sse4_1;
|
||||||
|
av1_inv_txfm2d_add_32x32 = av1_inv_txfm2d_add_32x32_c;
|
||||||
|
if (flags & HAS_AVX2) av1_inv_txfm2d_add_32x32 = av1_inv_txfm2d_add_32x32_avx2;
|
||||||
|
av1_inv_txfm2d_add_4x4 = av1_inv_txfm2d_add_4x4_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_inv_txfm2d_add_4x4 = av1_inv_txfm2d_add_4x4_sse4_1;
|
||||||
|
av1_inv_txfm2d_add_64x64 = av1_inv_txfm2d_add_64x64_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_inv_txfm2d_add_64x64 = av1_inv_txfm2d_add_64x64_sse4_1;
|
||||||
|
av1_inv_txfm2d_add_8x8 = av1_inv_txfm2d_add_8x8_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_inv_txfm2d_add_8x8 = av1_inv_txfm2d_add_8x8_sse4_1;
|
||||||
|
av1_inv_txfm_add = av1_inv_txfm_add_c;
|
||||||
|
if (flags & HAS_SSSE3) av1_inv_txfm_add = av1_inv_txfm_add_ssse3;
|
||||||
|
if (flags & HAS_AVX2) av1_inv_txfm_add = av1_inv_txfm_add_avx2;
|
||||||
|
av1_jnt_convolve_2d = av1_jnt_convolve_2d_c;
|
||||||
|
if (flags & HAS_SSSE3) av1_jnt_convolve_2d = av1_jnt_convolve_2d_ssse3;
|
||||||
|
if (flags & HAS_AVX2) av1_jnt_convolve_2d = av1_jnt_convolve_2d_avx2;
|
||||||
|
av1_jnt_convolve_2d_copy = av1_jnt_convolve_2d_copy_sse2;
|
||||||
|
if (flags & HAS_AVX2) av1_jnt_convolve_2d_copy = av1_jnt_convolve_2d_copy_avx2;
|
||||||
|
av1_jnt_convolve_x = av1_jnt_convolve_x_sse2;
|
||||||
|
if (flags & HAS_AVX2) av1_jnt_convolve_x = av1_jnt_convolve_x_avx2;
|
||||||
|
av1_jnt_convolve_y = av1_jnt_convolve_y_sse2;
|
||||||
|
if (flags & HAS_AVX2) av1_jnt_convolve_y = av1_jnt_convolve_y_avx2;
|
||||||
|
av1_selfguided_restoration = av1_selfguided_restoration_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_selfguided_restoration = av1_selfguided_restoration_sse4_1;
|
||||||
|
if (flags & HAS_AVX2) av1_selfguided_restoration = av1_selfguided_restoration_avx2;
|
||||||
|
av1_upsample_intra_edge = av1_upsample_intra_edge_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_upsample_intra_edge = av1_upsample_intra_edge_sse4_1;
|
||||||
|
av1_upsample_intra_edge_high = av1_upsample_intra_edge_high_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_upsample_intra_edge_high = av1_upsample_intra_edge_high_sse4_1;
|
||||||
|
av1_warp_affine = av1_warp_affine_c;
|
||||||
|
if (flags & HAS_SSE4_1) av1_warp_affine = av1_warp_affine_sse4_1;
|
||||||
|
av1_wiener_convolve_add_src = av1_wiener_convolve_add_src_sse2;
|
||||||
|
if (flags & HAS_AVX2) av1_wiener_convolve_add_src = av1_wiener_convolve_add_src_avx2;
|
||||||
|
cdef_filter_block = cdef_filter_block_sse2;
|
||||||
|
if (flags & HAS_SSSE3) cdef_filter_block = cdef_filter_block_ssse3;
|
||||||
|
if (flags & HAS_SSE4_1) cdef_filter_block = cdef_filter_block_sse4_1;
|
||||||
|
if (flags & HAS_AVX2) cdef_filter_block = cdef_filter_block_avx2;
|
||||||
|
cdef_find_dir = cdef_find_dir_sse2;
|
||||||
|
if (flags & HAS_SSSE3) cdef_find_dir = cdef_find_dir_ssse3;
|
||||||
|
if (flags & HAS_SSE4_1) cdef_find_dir = cdef_find_dir_sse4_1;
|
||||||
|
if (flags & HAS_AVX2) cdef_find_dir = cdef_find_dir_avx2;
|
||||||
|
cfl_get_luma_subsampling_420_hbd = cfl_get_luma_subsampling_420_hbd_c;
|
||||||
|
if (flags & HAS_SSSE3) cfl_get_luma_subsampling_420_hbd = cfl_get_luma_subsampling_420_hbd_ssse3;
|
||||||
|
if (flags & HAS_AVX2) cfl_get_luma_subsampling_420_hbd = cfl_get_luma_subsampling_420_hbd_avx2;
|
||||||
|
cfl_get_luma_subsampling_420_lbd = cfl_get_luma_subsampling_420_lbd_c;
|
||||||
|
if (flags & HAS_SSSE3) cfl_get_luma_subsampling_420_lbd = cfl_get_luma_subsampling_420_lbd_ssse3;
|
||||||
|
if (flags & HAS_AVX2) cfl_get_luma_subsampling_420_lbd = cfl_get_luma_subsampling_420_lbd_avx2;
|
||||||
|
cfl_get_luma_subsampling_422_hbd = cfl_get_luma_subsampling_422_hbd_c;
|
||||||
|
if (flags & HAS_SSSE3) cfl_get_luma_subsampling_422_hbd = cfl_get_luma_subsampling_422_hbd_ssse3;
|
||||||
|
if (flags & HAS_AVX2) cfl_get_luma_subsampling_422_hbd = cfl_get_luma_subsampling_422_hbd_avx2;
|
||||||
|
cfl_get_luma_subsampling_422_lbd = cfl_get_luma_subsampling_422_lbd_c;
|
||||||
|
if (flags & HAS_SSSE3) cfl_get_luma_subsampling_422_lbd = cfl_get_luma_subsampling_422_lbd_ssse3;
|
||||||
|
if (flags & HAS_AVX2) cfl_get_luma_subsampling_422_lbd = cfl_get_luma_subsampling_422_lbd_avx2;
|
||||||
|
cfl_get_luma_subsampling_444_hbd = cfl_get_luma_subsampling_444_hbd_c;
|
||||||
|
if (flags & HAS_SSSE3) cfl_get_luma_subsampling_444_hbd = cfl_get_luma_subsampling_444_hbd_ssse3;
|
||||||
|
if (flags & HAS_AVX2) cfl_get_luma_subsampling_444_hbd = cfl_get_luma_subsampling_444_hbd_avx2;
|
||||||
|
cfl_get_luma_subsampling_444_lbd = cfl_get_luma_subsampling_444_lbd_c;
|
||||||
|
if (flags & HAS_SSSE3) cfl_get_luma_subsampling_444_lbd = cfl_get_luma_subsampling_444_lbd_ssse3;
|
||||||
|
if (flags & HAS_AVX2) cfl_get_luma_subsampling_444_lbd = cfl_get_luma_subsampling_444_lbd_avx2;
|
||||||
|
copy_rect8_16bit_to_16bit = copy_rect8_16bit_to_16bit_sse2;
|
||||||
|
if (flags & HAS_SSSE3) copy_rect8_16bit_to_16bit = copy_rect8_16bit_to_16bit_ssse3;
|
||||||
|
if (flags & HAS_SSE4_1) copy_rect8_16bit_to_16bit = copy_rect8_16bit_to_16bit_sse4_1;
|
||||||
|
if (flags & HAS_AVX2) copy_rect8_16bit_to_16bit = copy_rect8_16bit_to_16bit_avx2;
|
||||||
|
copy_rect8_8bit_to_16bit = copy_rect8_8bit_to_16bit_sse2;
|
||||||
|
if (flags & HAS_SSSE3) copy_rect8_8bit_to_16bit = copy_rect8_8bit_to_16bit_ssse3;
|
||||||
|
if (flags & HAS_SSE4_1) copy_rect8_8bit_to_16bit = copy_rect8_8bit_to_16bit_sse4_1;
|
||||||
|
if (flags & HAS_AVX2) copy_rect8_8bit_to_16bit = copy_rect8_8bit_to_16bit_avx2;
|
||||||
|
get_predict_hbd_fn = get_predict_hbd_fn_c;
|
||||||
|
if (flags & HAS_SSSE3) get_predict_hbd_fn = get_predict_hbd_fn_ssse3;
|
||||||
|
if (flags & HAS_AVX2) get_predict_hbd_fn = get_predict_hbd_fn_avx2;
|
||||||
|
get_predict_lbd_fn = get_predict_lbd_fn_c;
|
||||||
|
if (flags & HAS_SSSE3) get_predict_lbd_fn = get_predict_lbd_fn_ssse3;
|
||||||
|
if (flags & HAS_AVX2) get_predict_lbd_fn = get_predict_lbd_fn_avx2;
|
||||||
|
get_subtract_average_fn = get_subtract_average_fn_sse2;
|
||||||
|
if (flags & HAS_AVX2) get_subtract_average_fn = get_subtract_average_fn_avx2;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
} // extern "C"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif
|
||||||
File diff suppressed because it is too large
Load diff
18
third_party/aom/.clang-format
vendored
18
third_party/aom/.clang-format
vendored
|
|
@ -1,12 +1,12 @@
|
||||||
---
|
---
|
||||||
Language: Cpp
|
Language: Cpp
|
||||||
# BasedOnStyle: Google
|
# BasedOnStyle: Google
|
||||||
# Generated with clang-format 4.0.1
|
# Generated with clang-format 5.0.0
|
||||||
AccessModifierOffset: -1
|
AccessModifierOffset: -1
|
||||||
AlignAfterOpenBracket: Align
|
AlignAfterOpenBracket: Align
|
||||||
AlignConsecutiveAssignments: false
|
AlignConsecutiveAssignments: false
|
||||||
AlignConsecutiveDeclarations: false
|
AlignConsecutiveDeclarations: false
|
||||||
AlignEscapedNewlinesLeft: true
|
AlignEscapedNewlines: Left
|
||||||
AlignOperands: true
|
AlignOperands: true
|
||||||
AlignTrailingComments: true
|
AlignTrailingComments: true
|
||||||
AllowAllParametersOfDeclarationOnNextLine: true
|
AllowAllParametersOfDeclarationOnNextLine: true
|
||||||
|
|
@ -33,14 +33,20 @@ BraceWrapping:
|
||||||
BeforeCatch: false
|
BeforeCatch: false
|
||||||
BeforeElse: false
|
BeforeElse: false
|
||||||
IndentBraces: false
|
IndentBraces: false
|
||||||
|
SplitEmptyFunction: true
|
||||||
|
SplitEmptyRecord: true
|
||||||
|
SplitEmptyNamespace: true
|
||||||
BreakBeforeBinaryOperators: None
|
BreakBeforeBinaryOperators: None
|
||||||
BreakBeforeBraces: Attach
|
BreakBeforeBraces: Attach
|
||||||
|
BreakBeforeInheritanceComma: false
|
||||||
BreakBeforeTernaryOperators: true
|
BreakBeforeTernaryOperators: true
|
||||||
BreakConstructorInitializersBeforeComma: false
|
BreakConstructorInitializersBeforeComma: false
|
||||||
|
BreakConstructorInitializers: BeforeColon
|
||||||
BreakAfterJavaFieldAnnotations: false
|
BreakAfterJavaFieldAnnotations: false
|
||||||
BreakStringLiterals: true
|
BreakStringLiterals: true
|
||||||
ColumnLimit: 80
|
ColumnLimit: 80
|
||||||
CommentPragmas: '^ IWYU pragma:'
|
CommentPragmas: '^ IWYU pragma:'
|
||||||
|
CompactNamespaces: false
|
||||||
ConstructorInitializerAllOnOneLineOrOnePerLine: false
|
ConstructorInitializerAllOnOneLineOrOnePerLine: false
|
||||||
ConstructorInitializerIndentWidth: 4
|
ConstructorInitializerIndentWidth: 4
|
||||||
ContinuationIndentWidth: 4
|
ContinuationIndentWidth: 4
|
||||||
|
|
@ -48,7 +54,11 @@ Cpp11BracedListStyle: false
|
||||||
DerivePointerAlignment: false
|
DerivePointerAlignment: false
|
||||||
DisableFormat: false
|
DisableFormat: false
|
||||||
ExperimentalAutoDetectBinPacking: false
|
ExperimentalAutoDetectBinPacking: false
|
||||||
ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
|
FixNamespaceComments: true
|
||||||
|
ForEachMacros:
|
||||||
|
- foreach
|
||||||
|
- Q_FOREACH
|
||||||
|
- BOOST_FOREACH
|
||||||
IncludeCategories:
|
IncludeCategories:
|
||||||
- Regex: '^<.*\.h>'
|
- Regex: '^<.*\.h>'
|
||||||
Priority: 1
|
Priority: 1
|
||||||
|
|
@ -70,6 +80,7 @@ NamespaceIndentation: None
|
||||||
ObjCBlockIndentWidth: 2
|
ObjCBlockIndentWidth: 2
|
||||||
ObjCSpaceAfterProperty: false
|
ObjCSpaceAfterProperty: false
|
||||||
ObjCSpaceBeforeProtocolList: false
|
ObjCSpaceBeforeProtocolList: false
|
||||||
|
PenaltyBreakAssignment: 2
|
||||||
PenaltyBreakBeforeFirstCallParameter: 1
|
PenaltyBreakBeforeFirstCallParameter: 1
|
||||||
PenaltyBreakComment: 300
|
PenaltyBreakComment: 300
|
||||||
PenaltyBreakFirstLessLess: 120
|
PenaltyBreakFirstLessLess: 120
|
||||||
|
|
@ -79,6 +90,7 @@ PenaltyReturnTypeOnItsOwnLine: 200
|
||||||
PointerAlignment: Right
|
PointerAlignment: Right
|
||||||
ReflowComments: true
|
ReflowComments: true
|
||||||
SortIncludes: false
|
SortIncludes: false
|
||||||
|
SortUsingDeclarations: true
|
||||||
SpaceAfterCStyleCast: false
|
SpaceAfterCStyleCast: false
|
||||||
SpaceAfterTemplateKeyword: true
|
SpaceAfterTemplateKeyword: true
|
||||||
SpaceBeforeAssignmentOperators: true
|
SpaceBeforeAssignmentOperators: true
|
||||||
|
|
|
||||||
47
third_party/aom/.cmake-format.py
vendored
Normal file
47
third_party/aom/.cmake-format.py
vendored
Normal file
|
|
@ -0,0 +1,47 @@
|
||||||
|
# How wide to allow formatted cmake files
|
||||||
|
line_width = 80
|
||||||
|
|
||||||
|
# How many spaces to tab for indent
|
||||||
|
tab_size = 2
|
||||||
|
|
||||||
|
# If arglists are longer than this, break them always. This introduces some
|
||||||
|
# interesting effects with complicated 'if' statements. However, we want file
|
||||||
|
# lists to look reasonable. Try to strike a balance.
|
||||||
|
max_subargs_per_line = 10
|
||||||
|
|
||||||
|
# If true, separate flow control names from their parentheses with a space
|
||||||
|
separate_ctrl_name_with_space = False
|
||||||
|
|
||||||
|
# If true, separate function names from parentheses with a space
|
||||||
|
separate_fn_name_with_space = False
|
||||||
|
|
||||||
|
# If a statement is wrapped to more than one line, than dangle the closing
|
||||||
|
# parenthesis on it's own line
|
||||||
|
dangle_parens = False
|
||||||
|
|
||||||
|
# What character to use for bulleted lists
|
||||||
|
bullet_char = u'*'
|
||||||
|
|
||||||
|
# What character to use as punctuation after numerals in an enumerated list
|
||||||
|
enum_char = u'.'
|
||||||
|
|
||||||
|
# What style line endings to use in the output.
|
||||||
|
line_ending = u'unix'
|
||||||
|
|
||||||
|
# Format command names consistently as 'lower' or 'upper' case
|
||||||
|
command_case = u'lower'
|
||||||
|
|
||||||
|
# Specify structure for custom cmake functions
|
||||||
|
additional_commands = {
|
||||||
|
"foo": {
|
||||||
|
"flags": [
|
||||||
|
"BAR",
|
||||||
|
"BAZ"
|
||||||
|
],
|
||||||
|
"kwargs": {
|
||||||
|
"HEADERS": "*",
|
||||||
|
"DEPENDS": "*",
|
||||||
|
"SOURCES": "*"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
2
third_party/aom/.mailmap
vendored
2
third_party/aom/.mailmap
vendored
|
|
@ -23,6 +23,7 @@ Ralph Giles <giles@xiph.org> <giles@entropywave.com>
|
||||||
Ralph Giles <giles@xiph.org> <giles@mozilla.com>
|
Ralph Giles <giles@xiph.org> <giles@mozilla.com>
|
||||||
Ronald S. Bultje <rsbultje@gmail.com> <rbultje@google.com>
|
Ronald S. Bultje <rsbultje@gmail.com> <rbultje@google.com>
|
||||||
Sami Pietilä <samipietila@google.com>
|
Sami Pietilä <samipietila@google.com>
|
||||||
|
Sarah Parker <sarahparker@google.com>
|
||||||
Tamar Levy <tamar.levy@intel.com>
|
Tamar Levy <tamar.levy@intel.com>
|
||||||
Tamar Levy <tamar.levy@intel.com> <levytamar82@gmail.com>
|
Tamar Levy <tamar.levy@intel.com> <levytamar82@gmail.com>
|
||||||
Tero Rintaluoma <teror@google.com> <tero.rintaluoma@on2.com>
|
Tero Rintaluoma <teror@google.com> <tero.rintaluoma@on2.com>
|
||||||
|
|
@ -30,3 +31,4 @@ Timothy B. Terriberry <tterribe@xiph.org> Tim Terriberry <tterriberry@mozilla.co
|
||||||
Tom Finegan <tomfinegan@google.com>
|
Tom Finegan <tomfinegan@google.com>
|
||||||
Tom Finegan <tomfinegan@google.com> <tomfinegan@chromium.org>
|
Tom Finegan <tomfinegan@google.com> <tomfinegan@chromium.org>
|
||||||
Yaowu Xu <yaowu@google.com> <yaowu@xuyaowu.com>
|
Yaowu Xu <yaowu@google.com> <yaowu@xuyaowu.com>
|
||||||
|
Yaowu Xu <yaowu@google.com> <yaowu@yaowu-macbookpro.roam.corp.google.com>
|
||||||
|
|
|
||||||
948
third_party/aom/CMakeLists.txt
vendored
948
third_party/aom/CMakeLists.txt
vendored
File diff suppressed because it is too large
Load diff
172
third_party/aom/README
vendored
172
third_party/aom/README
vendored
|
|
@ -1,172 +0,0 @@
|
||||||
README - 9 March 2017
|
|
||||||
|
|
||||||
***************************
|
|
||||||
DEPRECATED -- SEE README.md
|
|
||||||
***************************
|
|
||||||
|
|
||||||
Welcome to the AV1 Codec SDK!
|
|
||||||
|
|
||||||
COMPILING THE APPLICATIONS/LIBRARIES:
|
|
||||||
The build system used is similar to autotools. Building generally consists of
|
|
||||||
"configuring" with your desired build options, then using GNU make to build
|
|
||||||
the application.
|
|
||||||
|
|
||||||
1. Prerequisites
|
|
||||||
|
|
||||||
* All x86 targets require the Yasm[1] assembler be installed.
|
|
||||||
* All Windows builds require that Cygwin[2] be installed.
|
|
||||||
* Building the documentation requires Doxygen[3]. If you do not
|
|
||||||
have this package, the install-docs option will be disabled.
|
|
||||||
* Downloading the data for the unit tests requires curl[4] and sha1sum.
|
|
||||||
sha1sum is provided via the GNU coreutils, installed by default on
|
|
||||||
many *nix platforms, as well as MinGW and Cygwin. If coreutils is not
|
|
||||||
available, a compatible version of sha1sum can be built from
|
|
||||||
source[5]. These requirements are optional if not running the unit
|
|
||||||
tests.
|
|
||||||
|
|
||||||
[1]: http://www.tortall.net/projects/yasm
|
|
||||||
[2]: http://www.cygwin.com
|
|
||||||
[3]: http://www.doxygen.org
|
|
||||||
[4]: http://curl.haxx.se
|
|
||||||
[5]: http://www.microbrew.org/tools/md5sha1sum/
|
|
||||||
|
|
||||||
2. Out-of-tree builds
|
|
||||||
Out of tree builds are a supported method of building the application. For
|
|
||||||
an out of tree build, the source tree is kept separate from the object
|
|
||||||
files produced during compilation. For instance:
|
|
||||||
|
|
||||||
$ mkdir build
|
|
||||||
$ cd build
|
|
||||||
$ ../libaom/configure <options>
|
|
||||||
$ make
|
|
||||||
|
|
||||||
3. Configuration options
|
|
||||||
The 'configure' script supports a number of options. The --help option can be
|
|
||||||
used to get a list of supported options:
|
|
||||||
$ ../libaom/configure --help
|
|
||||||
|
|
||||||
4. Cross development
|
|
||||||
For cross development, the most notable option is the --target option. The
|
|
||||||
most up-to-date list of supported targets can be found at the bottom of the
|
|
||||||
--help output of the configure script. As of this writing, the list of
|
|
||||||
available targets is:
|
|
||||||
|
|
||||||
arm64-darwin-gcc
|
|
||||||
armv7-android-gcc
|
|
||||||
armv7-darwin-gcc
|
|
||||||
armv7-linux-rvct
|
|
||||||
armv7-linux-gcc
|
|
||||||
armv7-none-rvct
|
|
||||||
armv7-win32-vs12
|
|
||||||
armv7-win32-vs14
|
|
||||||
armv7-win32-vs15
|
|
||||||
armv7s-darwin-gcc
|
|
||||||
mips32-linux-gcc
|
|
||||||
mips64-linux-gcc
|
|
||||||
sparc-solaris-gcc
|
|
||||||
x86-android-gcc
|
|
||||||
x86-darwin8-gcc
|
|
||||||
x86-darwin8-icc
|
|
||||||
x86-darwin9-gcc
|
|
||||||
x86-darwin9-icc
|
|
||||||
x86-darwin10-gcc
|
|
||||||
x86-darwin11-gcc
|
|
||||||
x86-darwin12-gcc
|
|
||||||
x86-darwin13-gcc
|
|
||||||
x86-darwin14-gcc
|
|
||||||
x86-darwin15-gcc
|
|
||||||
x86-darwin16-gcc
|
|
||||||
x86-iphonesimulator-gcc
|
|
||||||
x86-linux-gcc
|
|
||||||
x86-linux-icc
|
|
||||||
x86-os2-gcc
|
|
||||||
x86-solaris-gcc
|
|
||||||
x86-win32-gcc
|
|
||||||
x86-win32-vs12
|
|
||||||
x86-win32-vs14
|
|
||||||
x86-win32-vs15
|
|
||||||
x86_64-android-gcc
|
|
||||||
x86_64-darwin9-gcc
|
|
||||||
x86_64-darwin10-gcc
|
|
||||||
x86_64-darwin11-gcc
|
|
||||||
x86_64-darwin12-gcc
|
|
||||||
x86_64-darwin13-gcc
|
|
||||||
x86_64-darwin14-gcc
|
|
||||||
x86_64-darwin15-gcc
|
|
||||||
x86_64-darwin16-gcc
|
|
||||||
x86_64-iphonesimulator-gcc
|
|
||||||
x86_64-linux-gcc
|
|
||||||
x86_64-linux-icc
|
|
||||||
x86_64-solaris-gcc
|
|
||||||
x86_64-win64-gcc
|
|
||||||
x86_64-win64-vs12
|
|
||||||
x86_64-win64-vs14
|
|
||||||
x86_64-win64-vs15
|
|
||||||
generic-gnu
|
|
||||||
|
|
||||||
The generic-gnu target, in conjunction with the CROSS environment variable,
|
|
||||||
can be used to cross compile architectures that aren't explicitly listed, if
|
|
||||||
the toolchain is a cross GNU (gcc/binutils) toolchain. Other POSIX toolchains
|
|
||||||
will likely work as well. For instance, to build using the mipsel-linux-uclibc
|
|
||||||
toolchain, the following command could be used (note, POSIX SH syntax, adapt
|
|
||||||
to your shell as necessary):
|
|
||||||
|
|
||||||
$ CROSS=mipsel-linux-uclibc- ../libaom/configure
|
|
||||||
|
|
||||||
In addition, the executables to be invoked can be overridden by specifying the
|
|
||||||
environment variables: CC, AR, LD, AS, STRIP, NM. Additional flags can be
|
|
||||||
passed to these executables with CFLAGS, LDFLAGS, and ASFLAGS.
|
|
||||||
|
|
||||||
5. Configuration errors
|
|
||||||
If the configuration step fails, the first step is to look in the error log.
|
|
||||||
This defaults to config.log. This should give a good indication of what went
|
|
||||||
wrong. If not, contact us for support.
|
|
||||||
|
|
||||||
AV1 TEST VECTORS:
|
|
||||||
The test vectors can be downloaded and verified using the build system after
|
|
||||||
running configure. To specify an alternate directory the
|
|
||||||
LIBAOM_TEST_DATA_PATH environment variable can be used.
|
|
||||||
|
|
||||||
$ ./configure --enable-unit-tests
|
|
||||||
$ LIBAOM_TEST_DATA_PATH=../-test-data make testdata
|
|
||||||
|
|
||||||
UNIT TESTS:
|
|
||||||
The unit tests (consisting mainly of the test_libaom binary) can be run using
|
|
||||||
make. This will download the test data if necessary.
|
|
||||||
|
|
||||||
$ ../libaom/configure --enable-unit-tests
|
|
||||||
$ make test
|
|
||||||
|
|
||||||
Test may be run in parallel using make -j which supports up to 10 shards by
|
|
||||||
default.
|
|
||||||
$ make -j10 test
|
|
||||||
|
|
||||||
If you have additional cores you can scale the tests to match:
|
|
||||||
$ shards=$(nproc); \
|
|
||||||
make -j$shards test \
|
|
||||||
NUM_SHARDS=$shards SHARDS="$(seq -s' ' 0 $(( shards - 1 )))" \
|
|
||||||
&& echo "success"
|
|
||||||
|
|
||||||
The GTEST_FILTER environment variable (equivalent to --gtest_filter) can be
|
|
||||||
used to control which tests are run while sharding:
|
|
||||||
$ GTEST_FILTER='SSE2*' make -j10 test
|
|
||||||
|
|
||||||
CODE STYLE:
|
|
||||||
The coding style used by this project is enforced with clang-format using the
|
|
||||||
configuration contained in the .clang-format file in the root of the
|
|
||||||
repository.
|
|
||||||
|
|
||||||
Before pushing changes for review you can format your code with:
|
|
||||||
# Apply clang-format to modified .c, .h and .cc files
|
|
||||||
$ clang-format -i --style=file \
|
|
||||||
$(git diff --name-only --diff-filter=ACMR '*.[hc]' '*.cc')
|
|
||||||
|
|
||||||
Check the .clang-format file for the version used to generate it if there is
|
|
||||||
any difference between your local formatting and the review system.
|
|
||||||
|
|
||||||
See also: http://clang.llvm.org/docs/ClangFormat.html
|
|
||||||
|
|
||||||
SUPPORT
|
|
||||||
This library is an open source project supported by its community. Please
|
|
||||||
please email webm-discuss@webmproject.org for help.
|
|
||||||
|
|
||||||
282
third_party/aom/README.md
vendored
282
third_party/aom/README.md
vendored
|
|
@ -1,5 +1,44 @@
|
||||||
# AV1 Codec Library
|
# AV1 Codec Library
|
||||||
|
|
||||||
|
## Contents
|
||||||
|
1. [Building the lib and applications](#building-the-library-and-applications)
|
||||||
|
- [Prerequisites](#prerequisites)
|
||||||
|
- [Get the code](#get-the-code)
|
||||||
|
- [Basics](#basic-build)
|
||||||
|
- [Configuration options](#configuration-options)
|
||||||
|
- [Dylib builds](#dylib-builds)
|
||||||
|
- [Debugging](#debugging)
|
||||||
|
- [Cross compiling](#cross-compiling)
|
||||||
|
- [Sanitizer support](#sanitizers)
|
||||||
|
- [MSVC builds](#microsoft-visual-studio-builds)
|
||||||
|
- [Xcode builds](#xcode-builds)
|
||||||
|
- [Emscripten builds](#emscripten-builds)
|
||||||
|
- [Extra Build Flags](#extra-build-flags)
|
||||||
|
2. [Testing the library](#testing-the-av1-codec)
|
||||||
|
- [Basics](#testing-basics)
|
||||||
|
- [Unit tests](#1_unit-tests)
|
||||||
|
- [Example tests](#2_example-tests)
|
||||||
|
- [Encoder tests](#3_encoder-tests)
|
||||||
|
- [IDE hosted tests](#ide-hosted-tests)
|
||||||
|
- [Downloading test data](#downloading-the-test-data)
|
||||||
|
- [Adding a new test data file](#adding-a-new-test-data-file)
|
||||||
|
- [Additional test data](#additional-test-data)
|
||||||
|
- [Sharded testing](#sharded-testing)
|
||||||
|
- [Running tests directly](#1_running-test_libaom-directly)
|
||||||
|
- [Running tests via CMake](#2_running-the-tests-via-the-cmake-build)
|
||||||
|
3. [Coding style](#coding-style)
|
||||||
|
4. [Submitting patches](#submitting-patches)
|
||||||
|
- [Login cookie](#login-cookie)
|
||||||
|
- [Contributor agreement](#contributor-agreement)
|
||||||
|
- [Testing your code](#testing-your-code)
|
||||||
|
- [Commit message hook](#commit-message-hook)
|
||||||
|
- [Upload your change](#upload-your-change)
|
||||||
|
- [Incorporating Reviewer Comments](#incorporating-reviewer-comments)
|
||||||
|
- [Submitting your change](#submitting-your-change)
|
||||||
|
- [Viewing change status](#viewing-the-status-of-uploaded-changes)
|
||||||
|
5. [Support](#support)
|
||||||
|
6. [Bug reports](#bug-reports)
|
||||||
|
|
||||||
## Building the library and applications
|
## Building the library and applications
|
||||||
|
|
||||||
### Prerequisites
|
### Prerequisites
|
||||||
|
|
@ -14,6 +53,17 @@
|
||||||
7. Emscripten builds require the portable
|
7. Emscripten builds require the portable
|
||||||
[EMSDK](https://kripken.github.io/emscripten-site/index.html).
|
[EMSDK](https://kripken.github.io/emscripten-site/index.html).
|
||||||
|
|
||||||
|
### Get the code
|
||||||
|
|
||||||
|
The AV1 library source code is stored in the Alliance for Open Media Git
|
||||||
|
repository:
|
||||||
|
|
||||||
|
~~~
|
||||||
|
$ git clone https://aomedia.googlesource.com/aom
|
||||||
|
# By default, the above command stores the source in the aom directory:
|
||||||
|
$ cd aom
|
||||||
|
~~~
|
||||||
|
|
||||||
### Basic build
|
### Basic build
|
||||||
|
|
||||||
CMake replaces the configure step typical of many projects. Running CMake will
|
CMake replaces the configure step typical of many projects. Running CMake will
|
||||||
|
|
@ -21,8 +71,10 @@ produce configuration and build files for the currently selected CMake
|
||||||
generator. For most systems the default generator is Unix Makefiles. The basic
|
generator. For most systems the default generator is Unix Makefiles. The basic
|
||||||
form of a makefile build is the following:
|
form of a makefile build is the following:
|
||||||
|
|
||||||
|
~~~
|
||||||
$ cmake path/to/aom
|
$ cmake path/to/aom
|
||||||
$ make
|
$ make
|
||||||
|
~~~
|
||||||
|
|
||||||
The above will generate a makefile build that produces the AV1 library and
|
The above will generate a makefile build that produces the AV1 library and
|
||||||
applications for the current host system after the make step completes
|
applications for the current host system after the make step completes
|
||||||
|
|
@ -39,10 +91,10 @@ varieties:
|
||||||
2. AV1 codec configuration options. These have the form `CONFIG_FEATURE`.
|
2. AV1 codec configuration options. These have the form `CONFIG_FEATURE`.
|
||||||
|
|
||||||
Both types of options are set at the time CMake is run. The following example
|
Both types of options are set at the time CMake is run. The following example
|
||||||
enables ccache and disables high bit depth:
|
enables ccache and disables the AV1 encoder:
|
||||||
|
|
||||||
~~~
|
~~~
|
||||||
$ cmake path/to/aom -DENABLE_CCACHE=1 -DCONFIG_HIGHBITDEPTH=0
|
$ cmake path/to/aom -DENABLE_CCACHE=1 -DCONFIG_AV1_ENCODER=0
|
||||||
$ make
|
$ make
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
|
|
@ -102,8 +154,10 @@ The toolchain files available at the time of this writing are:
|
||||||
|
|
||||||
- arm64-ios.cmake
|
- arm64-ios.cmake
|
||||||
- arm64-linux-gcc.cmake
|
- arm64-linux-gcc.cmake
|
||||||
|
- arm64-mingw-gcc.cmake
|
||||||
- armv7-ios.cmake
|
- armv7-ios.cmake
|
||||||
- armv7-linux-gcc.cmake
|
- armv7-linux-gcc.cmake
|
||||||
|
- armv7-mingw-gcc.cmake
|
||||||
- armv7s-ios.cmake
|
- armv7s-ios.cmake
|
||||||
- mips32-linux-gcc.cmake
|
- mips32-linux-gcc.cmake
|
||||||
- mips64-linux-gcc.cmake
|
- mips64-linux-gcc.cmake
|
||||||
|
|
@ -194,11 +248,11 @@ appropriately using the emsdk\_env script.
|
||||||
-DENABLE_CCACHE=1 \
|
-DENABLE_CCACHE=1 \
|
||||||
-DAOM_TARGET_CPU=generic \
|
-DAOM_TARGET_CPU=generic \
|
||||||
-DENABLE_DOCS=0 \
|
-DENABLE_DOCS=0 \
|
||||||
|
-DENABLE_TESTS=0 \
|
||||||
-DCONFIG_ACCOUNTING=1 \
|
-DCONFIG_ACCOUNTING=1 \
|
||||||
-DCONFIG_INSPECTION=1 \
|
-DCONFIG_INSPECTION=1 \
|
||||||
-DCONFIG_MULTITHREAD=0 \
|
-DCONFIG_MULTITHREAD=0 \
|
||||||
-DCONFIG_RUNTIME_CPU_DETECT=0 \
|
-DCONFIG_RUNTIME_CPU_DETECT=0 \
|
||||||
-DCONFIG_UNIT_TESTS=0 \
|
|
||||||
-DCONFIG_WEBM_IO=0 \
|
-DCONFIG_WEBM_IO=0 \
|
||||||
-DCMAKE_TOOLCHAIN_FILE=path/to/emsdk-portable/.../Emscripten.cmake
|
-DCMAKE_TOOLCHAIN_FILE=path/to/emsdk-portable/.../Emscripten.cmake
|
||||||
~~~
|
~~~
|
||||||
|
|
@ -217,12 +271,32 @@ appropriately using the emsdk\_env script.
|
||||||
$ path/to/AOMAnalyzer path/to/examples/inspect.js path/to/av1/input/file
|
$ path/to/AOMAnalyzer path/to/examples/inspect.js path/to/av1/input/file
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
|
### Extra build flags
|
||||||
|
|
||||||
|
Three variables allow for passing of additional flags to the build system.
|
||||||
|
|
||||||
|
- AOM\_EXTRA\_C\_FLAGS
|
||||||
|
- AOM\_EXTRA\_CXX\_FLAGS
|
||||||
|
- AOM\_EXTRA\_EXE\_LINKER\_FLAGS
|
||||||
|
|
||||||
|
The build system attempts to ensure the flags passed through the above variables
|
||||||
|
are passed to tools last in order to allow for override of default behavior.
|
||||||
|
These flags can be used, for example, to enable asserts in a release build:
|
||||||
|
|
||||||
|
~~~
|
||||||
|
$ cmake path/to/aom \
|
||||||
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
|
-DAOM_EXTRA_C_FLAGS=-UNDEBUG \
|
||||||
|
-DAOM_EXTRA_CXX_FLAGS=-UNDEBUG
|
||||||
|
~~~
|
||||||
|
|
||||||
## Testing the AV1 codec
|
## Testing the AV1 codec
|
||||||
|
|
||||||
### Testing basics
|
### Testing basics
|
||||||
|
|
||||||
Currently there are two types of tests in the AV1 codec repository.
|
There are several methods of testing the AV1 codec. All of these methods require
|
||||||
|
the presence of the AV1 source code and a working build of the AV1 library and
|
||||||
|
applications.
|
||||||
|
|
||||||
#### 1. Unit tests:
|
#### 1. Unit tests:
|
||||||
|
|
||||||
|
|
@ -253,6 +327,57 @@ The example tests require a bash shell and can be run in the following manner:
|
||||||
$ path/to/aom/test/examples.sh --bin-path examples
|
$ path/to/aom/test/examples.sh --bin-path examples
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
|
#### 3. Encoder tests:
|
||||||
|
|
||||||
|
When making a change to the encoder run encoder tests to confirm that your
|
||||||
|
change has a positive or negligible impact on encode quality. When running these
|
||||||
|
tests the build configuration should be changed to enable internal encoder
|
||||||
|
statistics:
|
||||||
|
|
||||||
|
~~~
|
||||||
|
$ cmake path/to/aom -DCONFIG_INTERNAL_STATS=1
|
||||||
|
$ make
|
||||||
|
~~~
|
||||||
|
|
||||||
|
The repository contains scripts intended to make running these tests as simple
|
||||||
|
as possible. The following example demonstrates creating a set of baseline clips
|
||||||
|
for comparison to results produced after making your change to libaom:
|
||||||
|
|
||||||
|
~~~
|
||||||
|
# This will encode all Y4M files in the current directory using the
|
||||||
|
# settings specified to create the encoder baseline statistical data:
|
||||||
|
$ cd path/to/test/inputs
|
||||||
|
# This command line assumes that run_encodes.sh, its helper script
|
||||||
|
# best_encode.sh, and the aomenc you intend to test are all within a
|
||||||
|
# directory in your PATH.
|
||||||
|
$ run_encodes.sh 200 500 50 baseline
|
||||||
|
~~~
|
||||||
|
|
||||||
|
After making your change and creating the baseline clips, you'll need to run
|
||||||
|
encodes that include your change(s) to confirm that things are working as
|
||||||
|
intended:
|
||||||
|
|
||||||
|
~~~
|
||||||
|
# This will encode all Y4M files in the current directory using the
|
||||||
|
# settings specified to create the statistical data for your change:
|
||||||
|
$ cd path/to/test/inputs
|
||||||
|
# This command line assumes that run_encodes.sh, its helper script
|
||||||
|
# best_encode.sh, and the aomenc you intend to test are all within a
|
||||||
|
# directory in your PATH.
|
||||||
|
$ run_encodes.sh 200 500 50 mytweak
|
||||||
|
~~~
|
||||||
|
|
||||||
|
After creating both data sets you can use `test/visual_metrics.py` to generate a
|
||||||
|
report that can be viewed in a web browser:
|
||||||
|
|
||||||
|
~~~
|
||||||
|
$ visual_metrics.py metrics_template.html "*stt" baseline mytweak \
|
||||||
|
> mytweak.html
|
||||||
|
~~~
|
||||||
|
|
||||||
|
You can view the report by opening mytweak.html in a web browser.
|
||||||
|
|
||||||
|
|
||||||
### IDE hosted tests
|
### IDE hosted tests
|
||||||
|
|
||||||
By default the generated projects files created by CMake will not include the
|
By default the generated projects files created by CMake will not include the
|
||||||
|
|
@ -283,6 +408,25 @@ rule:
|
||||||
|
|
||||||
The above make command will only download and verify the test data.
|
The above make command will only download and verify the test data.
|
||||||
|
|
||||||
|
### Adding a new test data file
|
||||||
|
|
||||||
|
First, add the new test data file to the `aom-test-data` bucket of the
|
||||||
|
`aomedia-testing` project on Google Cloud Platform. You may need to ask someone
|
||||||
|
with the necessary access permissions to do this for you.
|
||||||
|
|
||||||
|
Once the new test data file has been added to `aom-test-data`, create a CL to
|
||||||
|
add the name of the new test data file to `test/test_data_util.cmake` and add
|
||||||
|
the SHA1 checksum of the new test data file to `test/test-data.sha1`. (The SHA1
|
||||||
|
checksum of a file can be calculated by running the `sha1sum` command on the
|
||||||
|
file.)
|
||||||
|
|
||||||
|
### Additional test data
|
||||||
|
|
||||||
|
The test data mentioned above is strictly intended for unit testing.
|
||||||
|
|
||||||
|
Additional input data for testing the encoder can be obtained from:
|
||||||
|
https://media.xiph.org/video/derf/
|
||||||
|
|
||||||
### Sharded testing
|
### Sharded testing
|
||||||
|
|
||||||
The AV1 codec library unit tests are built upon gtest which supports sharding of
|
The AV1 codec library unit tests are built upon gtest which supports sharding of
|
||||||
|
|
@ -291,9 +435,10 @@ test jobs. Sharded test runs can be achieved in a couple of ways.
|
||||||
#### 1. Running test\_libaom directly:
|
#### 1. Running test\_libaom directly:
|
||||||
|
|
||||||
~~~
|
~~~
|
||||||
# Set the environment variable GTEST_TOTAL_SHARDS to 9 to run 10 test shards
|
# Set the environment variable GTEST_TOTAL_SHARDS to control the number of
|
||||||
|
# shards.
|
||||||
|
$ export GTEST_TOTAL_SHARDS=10
|
||||||
# (GTEST shard indexing is 0 based).
|
# (GTEST shard indexing is 0 based).
|
||||||
$ export GTEST_TOTAL_SHARDS=9
|
|
||||||
$ seq 0 $(( $GTEST_TOTAL_SHARDS - 1 )) \
|
$ seq 0 $(( $GTEST_TOTAL_SHARDS - 1 )) \
|
||||||
| xargs -n 1 -P 0 -I{} env GTEST_SHARD_INDEX={} ./test_libaom
|
| xargs -n 1 -P 0 -I{} env GTEST_SHARD_INDEX={} ./test_libaom
|
||||||
~~~
|
~~~
|
||||||
|
|
@ -322,8 +467,20 @@ is the default maximum value.
|
||||||
|
|
||||||
## Coding style
|
## Coding style
|
||||||
|
|
||||||
|
We are using the Google C Coding Style defined by the
|
||||||
|
[Google C++ Style Guide](https://google.github.io/styleguide/cppguide.html).
|
||||||
|
|
||||||
The coding style used by this project is enforced with clang-format using the
|
The coding style used by this project is enforced with clang-format using the
|
||||||
configuration contained in the .clang-format file in the root of the repository.
|
configuration contained in the
|
||||||
|
[.clang-format](https://chromium.googlesource.com/webm/aom/+/master/.clang-format)
|
||||||
|
file in the root of the repository.
|
||||||
|
|
||||||
|
You can download clang-format using your system's package manager, or directly
|
||||||
|
from [llvm.org](http://llvm.org/releases/download.html). You can also view the
|
||||||
|
[documentation](https://clang.llvm.org/docs/ClangFormat.html) on llvm.org.
|
||||||
|
Output from clang-format varies by clang-format version, for best results your
|
||||||
|
version should match the one used on Jenkins. You can find the clang-format
|
||||||
|
version by reading the comment in the `.clang-format` file linked above.
|
||||||
|
|
||||||
Before pushing changes for review you can format your code with:
|
Before pushing changes for review you can format your code with:
|
||||||
|
|
||||||
|
|
@ -336,7 +493,116 @@ Before pushing changes for review you can format your code with:
|
||||||
Check the .clang-format file for the version used to generate it if there is any
|
Check the .clang-format file for the version used to generate it if there is any
|
||||||
difference between your local formatting and the review system.
|
difference between your local formatting and the review system.
|
||||||
|
|
||||||
See also: http://clang.llvm.org/docs/ClangFormat.html
|
Some Git installations have clang-format integration. Here are some examples:
|
||||||
|
|
||||||
|
~~~
|
||||||
|
# Apply clang-format to all staged changes:
|
||||||
|
$ git clang-format
|
||||||
|
|
||||||
|
# Clang format all staged and unstaged changes:
|
||||||
|
$ git clang-format -f
|
||||||
|
|
||||||
|
# Clang format all staged and unstaged changes interactively:
|
||||||
|
$ git clang-format -f -p
|
||||||
|
~~~
|
||||||
|
|
||||||
|
## Submitting patches
|
||||||
|
|
||||||
|
We manage the submission of patches using the
|
||||||
|
[Gerrit](https://www.gerritcodereview.com/) code review tool. This tool
|
||||||
|
implements a workflow on top of the Git version control system to ensure that
|
||||||
|
all changes get peer reviewed and tested prior to their distribution.
|
||||||
|
|
||||||
|
### Login cookie
|
||||||
|
|
||||||
|
Browse to [AOMedia Git index](https://aomedia.googlesource.com/) and login with
|
||||||
|
your account (Gmail credentials, for example). Next, follow the
|
||||||
|
`Generate Password` Password link at the top of the page. You’ll be given
|
||||||
|
instructions for creating a cookie to use with our Git repos.
|
||||||
|
|
||||||
|
### Contributor agreement
|
||||||
|
|
||||||
|
You will be required to execute a
|
||||||
|
[contributor agreement](http://aomedia.org/license) to ensure that the AOMedia
|
||||||
|
Project has the right to distribute your changes.
|
||||||
|
|
||||||
|
### Testing your code
|
||||||
|
|
||||||
|
The testing basics are covered in the [testing section](#testing-the-av1-codec)
|
||||||
|
above.
|
||||||
|
|
||||||
|
In addition to the local tests, many more (e.g. asan, tsan, valgrind) will run
|
||||||
|
through Jenkins instances upon upload to gerrit.
|
||||||
|
|
||||||
|
### Commit message hook
|
||||||
|
|
||||||
|
Gerrit requires that each submission include a unique Change-Id. You can assign
|
||||||
|
one manually using git commit --amend, but it’s easier to automate it with the
|
||||||
|
commit-msg hook provided by Gerrit.
|
||||||
|
|
||||||
|
Copy commit-msg to the `.git/hooks` directory of your local repo. Here's an
|
||||||
|
example:
|
||||||
|
|
||||||
|
~~~
|
||||||
|
$ curl -Lo aom/.git/hooks/commit-msg https://chromium-review.googlesource.com/tools/hooks/commit-msg
|
||||||
|
|
||||||
|
# Next, ensure that the downloaded commit-msg script is executable:
|
||||||
|
$ chmod u+x aom/.git/hooks/commit-msg
|
||||||
|
~~~
|
||||||
|
|
||||||
|
See the Gerrit
|
||||||
|
[documentation](https://gerrit-review.googlesource.com/Documentation/user-changeid.html)
|
||||||
|
for more information.
|
||||||
|
|
||||||
|
### Upload your change
|
||||||
|
|
||||||
|
The command line to upload your patch looks like this:
|
||||||
|
|
||||||
|
~~~
|
||||||
|
$ git push https://aomedia-review.googlesource.com/aom HEAD:refs/for/master
|
||||||
|
~~~
|
||||||
|
|
||||||
|
### Incorporating reviewer comments
|
||||||
|
|
||||||
|
If you previously uploaded a change to Gerrit and the Approver has asked for
|
||||||
|
changes, follow these steps:
|
||||||
|
|
||||||
|
1. Edit the files to make the changes the reviewer has requested.
|
||||||
|
2. Recommit your edits using the --amend flag, for example:
|
||||||
|
|
||||||
|
~~~
|
||||||
|
$ git commit -a --amend
|
||||||
|
~~~
|
||||||
|
|
||||||
|
3. Use the same git push command as above to upload to Gerrit again for another
|
||||||
|
review cycle.
|
||||||
|
|
||||||
|
In general, you should not rebase your changes when doing updates in response to
|
||||||
|
review. Doing so can make it harder to follow the evolution of your change in
|
||||||
|
the diff view.
|
||||||
|
|
||||||
|
### Submitting your change
|
||||||
|
|
||||||
|
Once your change has been Approved and Verified, you can “submit” it through the
|
||||||
|
Gerrit UI. This will usually automatically rebase your change onto the branch
|
||||||
|
specified.
|
||||||
|
|
||||||
|
Sometimes this can’t be done automatically. If you run into this problem, you
|
||||||
|
must rebase your changes manually:
|
||||||
|
|
||||||
|
~~~
|
||||||
|
$ git fetch
|
||||||
|
$ git rebase origin/branchname
|
||||||
|
~~~
|
||||||
|
|
||||||
|
If there are any conflicts, resolve them as you normally would with Git. When
|
||||||
|
you’re done, reupload your change.
|
||||||
|
|
||||||
|
### Viewing the status of uploaded changes
|
||||||
|
|
||||||
|
To check the status of a change that you uploaded, open
|
||||||
|
[Gerrit](https://aomedia-review.googlesource.com/), sign in, and click My >
|
||||||
|
Changes.
|
||||||
|
|
||||||
## Support
|
## Support
|
||||||
|
|
||||||
|
|
|
||||||
13
third_party/aom/aom/aom.h
vendored
13
third_party/aom/aom/aom.h
vendored
|
|
@ -31,8 +31,8 @@
|
||||||
#ifndef AOM_AOM_H_
|
#ifndef AOM_AOM_H_
|
||||||
#define AOM_AOM_H_
|
#define AOM_AOM_H_
|
||||||
|
|
||||||
#include "./aom_codec.h"
|
#include "aom/aom_codec.h"
|
||||||
#include "./aom_image.h"
|
#include "aom/aom_image.h"
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
|
@ -63,6 +63,8 @@ enum aom_com_control_id {
|
||||||
AOM_COMMON_CTRL_ID_MAX,
|
AOM_COMMON_CTRL_ID_MAX,
|
||||||
|
|
||||||
AV1_GET_NEW_FRAME_IMAGE = 192, /**< get a pointer to the new frame */
|
AV1_GET_NEW_FRAME_IMAGE = 192, /**< get a pointer to the new frame */
|
||||||
|
AV1_COPY_NEW_FRAME_IMAGE =
|
||||||
|
193, /**< copy the new frame to an external buffer */
|
||||||
|
|
||||||
AOM_DECODER_CTRL_ID_START = 256
|
AOM_DECODER_CTRL_ID_START = 256
|
||||||
};
|
};
|
||||||
|
|
@ -104,8 +106,9 @@ typedef struct aom_postproc_cfg {
|
||||||
* Define the data struct to access av1 reference frames.
|
* Define the data struct to access av1 reference frames.
|
||||||
*/
|
*/
|
||||||
typedef struct av1_ref_frame {
|
typedef struct av1_ref_frame {
|
||||||
int idx; /**< frame index to get (input) */
|
int idx; /**< frame index to get (input) */
|
||||||
aom_image_t img; /**< img structure to populate (output) */
|
int use_external_ref; /**< Directly use external ref buffer(decoder only) */
|
||||||
|
aom_image_t img; /**< img structure to populate (output) */
|
||||||
} av1_ref_frame_t;
|
} av1_ref_frame_t;
|
||||||
|
|
||||||
/*!\cond */
|
/*!\cond */
|
||||||
|
|
@ -131,6 +134,8 @@ AOM_CTRL_USE_TYPE(AV1_COPY_REFERENCE, av1_ref_frame_t *)
|
||||||
#define AOM_CTRL_AV1_COPY_REFERENCE
|
#define AOM_CTRL_AV1_COPY_REFERENCE
|
||||||
AOM_CTRL_USE_TYPE(AV1_GET_NEW_FRAME_IMAGE, aom_image_t *)
|
AOM_CTRL_USE_TYPE(AV1_GET_NEW_FRAME_IMAGE, aom_image_t *)
|
||||||
#define AOM_CTRL_AV1_GET_NEW_FRAME_IMAGE
|
#define AOM_CTRL_AV1_GET_NEW_FRAME_IMAGE
|
||||||
|
AOM_CTRL_USE_TYPE(AV1_COPY_NEW_FRAME_IMAGE, aom_image_t *)
|
||||||
|
#define AOM_CTRL_AV1_COPY_NEW_FRAME_IMAGE
|
||||||
|
|
||||||
/*!\endcond */
|
/*!\endcond */
|
||||||
/*! @} - end defgroup aom */
|
/*! @} - end defgroup aom */
|
||||||
|
|
|
||||||
92
third_party/aom/aom/aom_codec.h
vendored
92
third_party/aom/aom/aom_codec.h
vendored
|
|
@ -43,37 +43,37 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "./aom_integer.h"
|
#include "aom/aom_image.h"
|
||||||
#include "./aom_image.h"
|
#include "aom/aom_integer.h"
|
||||||
|
|
||||||
/*!\brief Decorator indicating a function is deprecated */
|
/*!\brief Decorator indicating a function is deprecated */
|
||||||
#ifndef DEPRECATED
|
#ifndef AOM_DEPRECATED
|
||||||
#if defined(__GNUC__) && __GNUC__
|
#if defined(__GNUC__) && __GNUC__
|
||||||
#define DEPRECATED __attribute__((deprecated))
|
#define AOM_DEPRECATED __attribute__((deprecated))
|
||||||
#elif defined(_MSC_VER)
|
#elif defined(_MSC_VER)
|
||||||
#define DEPRECATED
|
#define AOM_DEPRECATED
|
||||||
#else
|
#else
|
||||||
#define DEPRECATED
|
#define AOM_DEPRECATED
|
||||||
#endif
|
#endif
|
||||||
#endif /* DEPRECATED */
|
#endif /* AOM_DEPRECATED */
|
||||||
|
|
||||||
#ifndef DECLSPEC_DEPRECATED
|
#ifndef AOM_DECLSPEC_DEPRECATED
|
||||||
#if defined(__GNUC__) && __GNUC__
|
#if defined(__GNUC__) && __GNUC__
|
||||||
#define DECLSPEC_DEPRECATED /**< \copydoc #DEPRECATED */
|
#define AOM_DECLSPEC_DEPRECATED /**< \copydoc #AOM_DEPRECATED */
|
||||||
#elif defined(_MSC_VER)
|
#elif defined(_MSC_VER)
|
||||||
/*!\brief \copydoc #DEPRECATED */
|
/*!\brief \copydoc #AOM_DEPRECATED */
|
||||||
#define DECLSPEC_DEPRECATED __declspec(deprecated)
|
#define AOM_DECLSPEC_DEPRECATED __declspec(deprecated)
|
||||||
#else
|
#else
|
||||||
#define DECLSPEC_DEPRECATED /**< \copydoc #DEPRECATED */
|
#define AOM_DECLSPEC_DEPRECATED /**< \copydoc #AOM_DEPRECATED */
|
||||||
#endif
|
#endif
|
||||||
#endif /* DECLSPEC_DEPRECATED */
|
#endif /* AOM_DECLSPEC_DEPRECATED */
|
||||||
|
|
||||||
/*!\brief Decorator indicating a function is potentially unused */
|
/*!\brief Decorator indicating a function is potentially unused */
|
||||||
#ifdef UNUSED
|
#ifdef AOM_UNUSED
|
||||||
#elif defined(__GNUC__) || defined(__clang__)
|
#elif defined(__GNUC__) || defined(__clang__)
|
||||||
#define UNUSED __attribute__((unused))
|
#define AOM_UNUSED __attribute__((unused))
|
||||||
#else
|
#else
|
||||||
#define UNUSED
|
#define AOM_UNUSED
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*!\brief Decorator indicating that given struct/union/enum is packed */
|
/*!\brief Decorator indicating that given struct/union/enum is packed */
|
||||||
|
|
@ -433,7 +433,7 @@ aom_codec_err_t aom_codec_control_(aom_codec_ctx_t *ctx, int ctrl_id, ...);
|
||||||
*/
|
*/
|
||||||
#define AOM_CTRL_USE_TYPE(id, typ) \
|
#define AOM_CTRL_USE_TYPE(id, typ) \
|
||||||
static aom_codec_err_t aom_codec_control_##id(aom_codec_ctx_t *, int, typ) \
|
static aom_codec_err_t aom_codec_control_##id(aom_codec_ctx_t *, int, typ) \
|
||||||
UNUSED; \
|
AOM_UNUSED; \
|
||||||
\
|
\
|
||||||
static aom_codec_err_t aom_codec_control_##id(aom_codec_ctx_t *ctx, \
|
static aom_codec_err_t aom_codec_control_##id(aom_codec_ctx_t *ctx, \
|
||||||
int ctrl_id, typ data) { \
|
int ctrl_id, typ data) { \
|
||||||
|
|
@ -450,13 +450,13 @@ aom_codec_err_t aom_codec_control_(aom_codec_ctx_t *ctx, int ctrl_id, ...);
|
||||||
* It defines a static function with the correctly typed arguments as a
|
* It defines a static function with the correctly typed arguments as a
|
||||||
* wrapper to the type-unsafe internal function.
|
* wrapper to the type-unsafe internal function.
|
||||||
*/
|
*/
|
||||||
#define AOM_CTRL_USE_TYPE_DEPRECATED(id, typ) \
|
#define AOM_CTRL_USE_TYPE_DEPRECATED(id, typ) \
|
||||||
DECLSPEC_DEPRECATED static aom_codec_err_t aom_codec_control_##id( \
|
AOM_DECLSPEC_DEPRECATED static aom_codec_err_t aom_codec_control_##id( \
|
||||||
aom_codec_ctx_t *, int, typ) DEPRECATED UNUSED; \
|
aom_codec_ctx_t *, int, typ) AOM_DEPRECATED AOM_UNUSED; \
|
||||||
\
|
\
|
||||||
DECLSPEC_DEPRECATED static aom_codec_err_t aom_codec_control_##id( \
|
AOM_DECLSPEC_DEPRECATED static aom_codec_err_t aom_codec_control_##id( \
|
||||||
aom_codec_ctx_t *ctx, int ctrl_id, typ data) { \
|
aom_codec_ctx_t *ctx, int ctrl_id, typ data) { \
|
||||||
return aom_codec_control_(ctx, ctrl_id, data); \
|
return aom_codec_control_(ctx, ctrl_id, data); \
|
||||||
} /**<\hideinitializer*/
|
} /**<\hideinitializer*/
|
||||||
|
|
||||||
/*!\brief aom_codec_control void type definition macro
|
/*!\brief aom_codec_control void type definition macro
|
||||||
|
|
@ -471,7 +471,7 @@ aom_codec_err_t aom_codec_control_(aom_codec_ctx_t *ctx, int ctrl_id, ...);
|
||||||
*/
|
*/
|
||||||
#define AOM_CTRL_VOID(id) \
|
#define AOM_CTRL_VOID(id) \
|
||||||
static aom_codec_err_t aom_codec_control_##id(aom_codec_ctx_t *, int) \
|
static aom_codec_err_t aom_codec_control_##id(aom_codec_ctx_t *, int) \
|
||||||
UNUSED; \
|
AOM_UNUSED; \
|
||||||
\
|
\
|
||||||
static aom_codec_err_t aom_codec_control_##id(aom_codec_ctx_t *ctx, \
|
static aom_codec_err_t aom_codec_control_##id(aom_codec_ctx_t *ctx, \
|
||||||
int ctrl_id) { \
|
int ctrl_id) { \
|
||||||
|
|
@ -480,6 +480,48 @@ aom_codec_err_t aom_codec_control_(aom_codec_ctx_t *ctx, int ctrl_id, ...);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/*!\brief OBU types. */
|
||||||
|
typedef enum ATTRIBUTE_PACKED {
|
||||||
|
OBU_SEQUENCE_HEADER = 1,
|
||||||
|
OBU_TEMPORAL_DELIMITER = 2,
|
||||||
|
OBU_FRAME_HEADER = 3,
|
||||||
|
OBU_TILE_GROUP = 4,
|
||||||
|
OBU_METADATA = 5,
|
||||||
|
OBU_FRAME = 6,
|
||||||
|
OBU_REDUNDANT_FRAME_HEADER = 7,
|
||||||
|
OBU_TILE_LIST = 8,
|
||||||
|
OBU_PADDING = 15,
|
||||||
|
} OBU_TYPE;
|
||||||
|
|
||||||
|
/*!\brief OBU metadata types. */
|
||||||
|
typedef enum {
|
||||||
|
OBU_METADATA_TYPE_AOM_RESERVED_0 = 0,
|
||||||
|
OBU_METADATA_TYPE_HDR_CLL = 1,
|
||||||
|
OBU_METADATA_TYPE_HDR_MDCV = 2,
|
||||||
|
OBU_METADATA_TYPE_SCALABILITY = 3,
|
||||||
|
OBU_METADATA_TYPE_ITUT_T35 = 4,
|
||||||
|
OBU_METADATA_TYPE_TIMECODE = 5,
|
||||||
|
} OBU_METADATA_TYPE;
|
||||||
|
|
||||||
|
/*!\brief Returns string representation of OBU_TYPE.
|
||||||
|
*
|
||||||
|
* \param[in] type The OBU_TYPE to convert to string.
|
||||||
|
*/
|
||||||
|
const char *aom_obu_type_to_string(OBU_TYPE type);
|
||||||
|
|
||||||
|
/*!\brief Config Options
|
||||||
|
*
|
||||||
|
* This type allows to enumerate and control options defined for control
|
||||||
|
* via config file at runtime.
|
||||||
|
*/
|
||||||
|
typedef struct cfg_options {
|
||||||
|
/*!\brief Reflects if ext_partition should be enabled
|
||||||
|
*
|
||||||
|
* If this value is non-zero it enabled the feature
|
||||||
|
*/
|
||||||
|
unsigned int ext_partition;
|
||||||
|
} cfg_options_t;
|
||||||
|
|
||||||
/*!@} - end defgroup codec*/
|
/*!@} - end defgroup codec*/
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
|
|
||||||
42
third_party/aom/aom/aom_codec.mk
vendored
42
third_party/aom/aom/aom_codec.mk
vendored
|
|
@ -1,42 +0,0 @@
|
||||||
##
|
|
||||||
## Copyright (c) 2016, Alliance for Open Media. All rights reserved
|
|
||||||
##
|
|
||||||
## This source code is subject to the terms of the BSD 2 Clause License and
|
|
||||||
## the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
|
|
||||||
## was not distributed with this source code in the LICENSE file, you can
|
|
||||||
## obtain it at www.aomedia.org/license/software. If the Alliance for Open
|
|
||||||
## Media Patent License 1.0 was not distributed with this source code in the
|
|
||||||
## PATENTS file, you can obtain it at www.aomedia.org/license/patent.
|
|
||||||
##
|
|
||||||
|
|
||||||
|
|
||||||
API_EXPORTS += exports
|
|
||||||
|
|
||||||
API_SRCS-$(CONFIG_AV1_ENCODER) += aom.h
|
|
||||||
API_SRCS-$(CONFIG_AV1_ENCODER) += aomcx.h
|
|
||||||
API_DOC_SRCS-$(CONFIG_AV1_ENCODER) += aom.h
|
|
||||||
API_DOC_SRCS-$(CONFIG_AV1_ENCODER) += aomcx.h
|
|
||||||
|
|
||||||
API_SRCS-$(CONFIG_AV1_DECODER) += aom.h
|
|
||||||
API_SRCS-$(CONFIG_AV1_DECODER) += aomdx.h
|
|
||||||
API_DOC_SRCS-$(CONFIG_AV1_DECODER) += aom.h
|
|
||||||
API_DOC_SRCS-$(CONFIG_AV1_DECODER) += aomdx.h
|
|
||||||
|
|
||||||
API_DOC_SRCS-yes += aom_codec.h
|
|
||||||
API_DOC_SRCS-yes += aom_decoder.h
|
|
||||||
API_DOC_SRCS-yes += aom_encoder.h
|
|
||||||
API_DOC_SRCS-yes += aom_frame_buffer.h
|
|
||||||
API_DOC_SRCS-yes += aom_image.h
|
|
||||||
|
|
||||||
API_SRCS-yes += src/aom_decoder.c
|
|
||||||
API_SRCS-yes += aom_decoder.h
|
|
||||||
API_SRCS-yes += src/aom_encoder.c
|
|
||||||
API_SRCS-yes += aom_encoder.h
|
|
||||||
API_SRCS-yes += internal/aom_codec_internal.h
|
|
||||||
API_SRCS-yes += src/aom_codec.c
|
|
||||||
API_SRCS-yes += src/aom_image.c
|
|
||||||
API_SRCS-yes += aom_codec.h
|
|
||||||
API_SRCS-yes += aom_codec.mk
|
|
||||||
API_SRCS-yes += aom_frame_buffer.h
|
|
||||||
API_SRCS-yes += aom_image.h
|
|
||||||
API_SRCS-yes += aom_integer.h
|
|
||||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue