Commit d0179a6b authored by Cheng Chen's avatar Cheng Chen
Browse files

JNT_COMP: add ssse3 implementations for sad_avg

Add ssse3 implementations for the sad_avg c function at low bit-depth.
With this, aom_jnt_sad c functions can all have simd implementations.
This CL follows existing MACRO definitions for multiple combinations
of block sizes.

Change-Id: I882343684026525f5589a239337cfac2dd411e11
parent 1522ca6c
......@@ -66,6 +66,10 @@ if (CONFIG_JNT_COMP)
set(AOM_DSP_COMMON_INTRIN_SSSE3
${AOM_DSP_COMMON_INTRIN_SSSE3}
"${AOM_ROOT}/aom_dsp/x86/jnt_variance_ssse3.c")
set(AOM_DSP_COMMON_INTRIN_SSSE3
${AOM_DSP_COMMON_INTRIN_SSSE3}
"${AOM_ROOT}/aom_dsp/x86/jnt_sad_ssse3.c")
endif ()
set(AOM_DSP_COMMON_INTRIN_SSE4_1
......
......@@ -107,7 +107,10 @@ DSP_SRCS-$(HAVE_SSE4_1) += x86/blend_sse4.h
DSP_SRCS-$(HAVE_SSE4_1) += x86/blend_a64_mask_sse4.c
DSP_SRCS-$(HAVE_SSE4_1) += x86/blend_a64_hmask_sse4.c
DSP_SRCS-$(HAVE_SSE4_1) += x86/blend_a64_vmask_sse4.c
ifeq ($(CONFIG_JNT_COMP),yes)
DSP_SRCS-$(HAVE_SSSE3) += x86/jnt_variance_ssse3.c
DSP_SRCS-$(HAVE_SSSE3) += x86/jnt_sad_ssse3.c
endif
# interpolation filters
DSP_SRCS-yes += aom_convolve.c
......
......@@ -866,6 +866,50 @@ if (aom_config("CONFIG_AV1_ENCODER") eq "yes") {
specialize qw/aom_sad4x8_avg msa sse2/;
specialize qw/aom_sad4x4_avg msa sse2/;
if (aom_config("CONFIG_JNT_COMP") eq "yes") {
specialize qw/aom_jnt_sad128x128_avg ssse3/;
specialize qw/aom_jnt_sad128x64_avg ssse3/;
specialize qw/aom_jnt_sad64x128_avg ssse3/;
specialize qw/aom_jnt_sad64x64_avg ssse3/;
specialize qw/aom_jnt_sad64x32_avg ssse3/;
specialize qw/aom_jnt_sad32x64_avg ssse3/;
specialize qw/aom_jnt_sad32x32_avg ssse3/;
specialize qw/aom_jnt_sad32x16_avg ssse3/;
specialize qw/aom_jnt_sad16x32_avg ssse3/;
specialize qw/aom_jnt_sad16x16_avg ssse3/;
specialize qw/aom_jnt_sad16x8_avg ssse3/;
specialize qw/aom_jnt_sad8x16_avg ssse3/;
specialize qw/aom_jnt_sad8x8_avg ssse3/;
specialize qw/aom_jnt_sad8x4_avg ssse3/;
specialize qw/aom_jnt_sad4x8_avg ssse3/;
specialize qw/aom_jnt_sad4x4_avg ssse3/;
if (aom_config("CONFIG_EXT_PARTITION_TYPES") eq "yes") {
specialize qw/aom_jnt_sad4x16_avg ssse3/;
specialize qw/aom_jnt_sad16x4_avg ssse3/;
specialize qw/aom_jnt_sad8x32_avg ssse3/;
specialize qw/aom_jnt_sad32x8_avg ssse3/;
specialize qw/aom_jnt_sad16x64_avg ssse3/;
specialize qw/aom_jnt_sad64x16_avg ssse3/;
specialize qw/aom_jnt_sad32x128_avg ssse3/;
specialize qw/aom_jnt_sad128x32_avg ssse3/;
}
add_proto qw/unsigned int/, "aom_sad4xh", "const uint8_t *a, int a_stride, const uint8_t *b, int b_stride, int width, int height";
add_proto qw/unsigned int/, "aom_sad8xh", "const uint8_t *a, int a_stride, const uint8_t *b, int b_stride, int width, int height";
add_proto qw/unsigned int/, "aom_sad16xh", "const uint8_t *a, int a_stride, const uint8_t *b, int b_stride, int width, int height";
add_proto qw/unsigned int/, "aom_sad32xh", "const uint8_t *a, int a_stride, const uint8_t *b, int b_stride, int width, int height";
add_proto qw/unsigned int/, "aom_sad64xh", "const uint8_t *a, int a_stride, const uint8_t *b, int b_stride, int width, int height";
add_proto qw/unsigned int/, "aom_sad128xh", "const uint8_t *a, int a_stride, const uint8_t *b, int b_stride, int width, int height";
specialize qw/aom_sad4xh sse2/;
specialize qw/aom_sad8xh sse2/;
specialize qw/aom_sad16xh sse2/;
specialize qw/aom_sad32xh sse2/;
specialize qw/aom_sad64xh sse2/;
specialize qw/aom_sad128xh sse2/;
}
if (aom_config("CONFIG_HIGHBITDEPTH") eq "yes") {
foreach (@block_sizes) {
($w, $h) = @$_;
......
......@@ -34,6 +34,13 @@ static INLINE unsigned int sad(const uint8_t *a, int a_stride, const uint8_t *b,
}
#if CONFIG_JNT_COMP
#define sadMxh(m) \
unsigned int aom_sad##m##xh_c(const uint8_t *a, int a_stride, \
const uint8_t *b, int b_stride, int width, \
int height) { \
return sad(a, a_stride, b, b_stride, width, height); \
}
#define sadMxN(m, n) \
unsigned int aom_sad##m##x##n##_c(const uint8_t *src, int src_stride, \
const uint8_t *ref, int ref_stride) { \
......@@ -50,8 +57,8 @@ static INLINE unsigned int sad(const uint8_t *a, int a_stride, const uint8_t *b,
const uint8_t *src, int src_stride, const uint8_t *ref, int ref_stride, \
const uint8_t *second_pred, const JNT_COMP_PARAMS *jcp_param) { \
uint8_t comp_pred[m * n]; \
aom_jnt_comp_avg_pred(comp_pred, second_pred, m, n, ref, ref_stride, \
jcp_param); \
aom_jnt_comp_avg_pred_c(comp_pred, second_pred, m, n, ref, ref_stride, \
jcp_param); \
return sad(src, src_stride, comp_pred, m, m, n); \
}
#else // CONFIG_JNT_COMP
......@@ -177,6 +184,17 @@ sadMxNxK(4, 4, 3)
sadMxNxK(4, 4, 8)
sadMxNx4D(4, 4)
#if CONFIG_JNT_COMP
#if CONFIG_EXT_PARTITION
sadMxh(128);
#endif
sadMxh(64);
sadMxh(32);
sadMxh(16);
sadMxh(8);
sadMxh(4);
#endif // CONFIG_JNT_COMP
#if CONFIG_AV1 && CONFIG_EXT_PARTITION_TYPES
sadMxN(4, 16)
sadMxNx4D(4, 16)
......@@ -198,7 +216,7 @@ sadMxNx4D(128, 32)
/* clang-format on */
#if CONFIG_HIGHBITDEPTH
static INLINE
static INLINE
unsigned int highbd_sad(const uint8_t *a8, int a_stride, const uint8_t *b8,
int b_stride, int width, int height) {
int y, x;
......
/*
* 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 <assert.h>
#include <emmintrin.h> // SSE2
#include <tmmintrin.h>
#include "./aom_config.h"
#include "./aom_dsp_rtcd.h"
#include "aom_dsp/x86/synonyms.h"
#include "./av1_rtcd.h"
#if CONFIG_JNT_COMP
unsigned int aom_sad4xh_sse2(const uint8_t *a, int a_stride, const uint8_t *b,
int b_stride, int width, int height) {
int i;
assert(width == 4);
(void)width;
__m128i sad = _mm_setzero_si128();
for (i = 0; i < height; i += 4) {
__m128i x0 = xx_loadl_32(a + 0 * a_stride);
__m128i x1 = xx_loadl_32(a + 1 * a_stride);
__m128i x2 = xx_loadl_32(a + 2 * a_stride);
__m128i x3 = xx_loadl_32(a + 3 * a_stride);
__m128i x_lo = _mm_unpacklo_epi32(x0, x1);
__m128i x_hi = _mm_unpacklo_epi32(x2, x3);
__m128i x = _mm_unpacklo_epi64(x_lo, x_hi);
x0 = xx_loadl_32(b + 0 * b_stride);
x1 = xx_loadl_32(b + 1 * b_stride);
x2 = xx_loadl_32(b + 2 * b_stride);
x3 = xx_loadl_32(b + 3 * b_stride);
x_lo = _mm_unpacklo_epi32(x0, x1);
x_hi = _mm_unpacklo_epi32(x2, x3);
__m128i y = _mm_unpacklo_epi64(x_lo, x_hi);
__m128i sad4x4 = _mm_sad_epu8(x, y);
sad = _mm_add_epi32(sad, sad4x4);
a += 4 * a_stride;
b += 4 * b_stride;
}
// At this point, we have two 32-bit partial SADs at bit[0:31] and [64:95].
const unsigned int res =
_mm_cvtsi128_si32(sad) + _mm_cvtsi128_si32(_mm_srli_si128(sad, 8));
return res;
}
unsigned int aom_sad8xh_sse2(const uint8_t *a, int a_stride, const uint8_t *b,
int b_stride, int width, int height) {
int i;
assert(width == 8);
(void)width;
__m128i sad = _mm_setzero_si128();
for (i = 0; i < height; i += 2) {
__m128i x0 = xx_loadl_64(a + 0 * a_stride);
__m128i x1 = xx_loadl_64(a + 1 * a_stride);
__m128i x = _mm_unpacklo_epi64(x0, x1);
x0 = xx_loadl_64(b + 0 * b_stride);
x1 = xx_loadl_64(b + 1 * b_stride);
__m128i y = _mm_unpacklo_epi64(x0, x1);
__m128i sad8x2 = _mm_sad_epu8(x, y);
sad = _mm_add_epi32(sad, sad8x2);
a += 2 * a_stride;
b += 2 * b_stride;
}
const unsigned int res =
_mm_cvtsi128_si32(sad) + _mm_cvtsi128_si32(_mm_srli_si128(sad, 8));
return res;
}
unsigned int aom_sad16xh_sse2(const uint8_t *a, int a_stride, const uint8_t *b,
int b_stride, int width, int height) {
int i;
assert(width == 16);
(void)width;
__m128i sad = _mm_setzero_si128();
for (i = 0; i < height; ++i) {
__m128i x = xx_loadu_128(a);
__m128i y = xx_loadu_128(b);
__m128i sad16x1 = _mm_sad_epu8(x, y);
sad = _mm_add_epi32(sad, sad16x1);
a += a_stride;
b += b_stride;
}
const unsigned int res =
_mm_cvtsi128_si32(sad) + _mm_cvtsi128_si32(_mm_srli_si128(sad, 8));
return res;
}
unsigned int aom_sad32xh_sse2(const uint8_t *a, int a_stride, const uint8_t *b,
int b_stride, int width, int height) {
int i, j;
assert(width == 32);
(void)width;
__m128i sad = _mm_setzero_si128();
for (i = 0; i < height; ++i) {
for (j = 0; j < 2; ++j) {
__m128i x = xx_loadu_128(a + j * 16);
__m128i y = xx_loadu_128(b + j * 16);
__m128i sad32_half = _mm_sad_epu8(x, y);
sad = _mm_add_epi32(sad, sad32_half);
}
a += a_stride;
b += b_stride;
}
const unsigned int res =
_mm_cvtsi128_si32(sad) + _mm_cvtsi128_si32(_mm_srli_si128(sad, 8));
return res;
}
unsigned int aom_sad64xh_sse2(const uint8_t *a, int a_stride, const uint8_t *b,
int b_stride, int width, int height) {
int i, j;
assert(width == 64);
(void)width;
__m128i sad = _mm_setzero_si128();
for (i = 0; i < height; ++i) {
for (j = 0; j < 4; ++j) {
__m128i x = xx_loadu_128(a + j * 16);
__m128i y = xx_loadu_128(b + j * 16);
__m128i sad64_quarter = _mm_sad_epu8(x, y);
sad = _mm_add_epi32(sad, sad64_quarter);
}
a += a_stride;
b += b_stride;
}
const unsigned int res =
_mm_cvtsi128_si32(sad) + _mm_cvtsi128_si32(_mm_srli_si128(sad, 8));
return res;
}
unsigned int aom_sad128xh_sse2(const uint8_t *a, int a_stride, const uint8_t *b,
int b_stride, int width, int height) {
int i, j;
assert(width == 128);
(void)width;
__m128i sad = _mm_setzero_si128();
for (i = 0; i < height; ++i) {
for (j = 0; j < 8; ++j) {
__m128i x = xx_loadu_128(a + j * 16);
__m128i y = xx_loadu_128(b + j * 16);
__m128i sad64_quarter = _mm_sad_epu8(x, y);
sad = _mm_add_epi32(sad, sad64_quarter);
}
a += a_stride;
b += b_stride;
}
const unsigned int res =
_mm_cvtsi128_si32(sad) + _mm_cvtsi128_si32(_mm_srli_si128(sad, 8));
return res;
}
#define jnt_sadMxN_sse2(m, n) \
unsigned int aom_jnt_sad##m##x##n##_avg_ssse3( \
const uint8_t *src, int src_stride, const uint8_t *ref, int ref_stride, \
const uint8_t *second_pred, const JNT_COMP_PARAMS *jcp_param) { \
uint8_t comp_pred[m * n]; \
aom_jnt_comp_avg_pred(comp_pred, second_pred, m, n, ref, ref_stride, \
jcp_param); \
return aom_sad##m##xh_sse2(src, src_stride, comp_pred, m, m, n); \
}
#define jnt_sadMxN_avx2(m, n) \
unsigned int aom_jnt_sad##m##x##n##_avg_avx2( \
const uint8_t *src, int src_stride, const uint8_t *ref, int ref_stride, \
const uint8_t *second_pred, const JNT_COMP_PARAMS *jcp_param) { \
uint8_t comp_pred[m * n]; \
aom_jnt_comp_avg_pred(comp_pred, second_pred, m, n, ref, ref_stride, \
jcp_param); \
return aom_sad##m##xh_avx2(src, src_stride, comp_pred, m, m, n); \
}
#endif // CONFIG_JNT_COMP
/* clang-format off */
#if CONFIG_AV1 && CONFIG_EXT_PARTITION
jnt_sadMxN_sse2(128, 128)
jnt_sadMxN_sse2(128, 64)
jnt_sadMxN_sse2(64, 128)
#endif // CONFIG_AV1 && CONFIG_EXT_PARTITION
jnt_sadMxN_sse2(64, 64)
jnt_sadMxN_sse2(64, 32)
jnt_sadMxN_sse2(32, 64)
jnt_sadMxN_sse2(32, 32)
jnt_sadMxN_sse2(32, 16)
jnt_sadMxN_sse2(16, 32)
jnt_sadMxN_sse2(16, 16)
jnt_sadMxN_sse2(16, 8)
jnt_sadMxN_sse2(8, 16)
jnt_sadMxN_sse2(8, 8)
jnt_sadMxN_sse2(8, 4)
jnt_sadMxN_sse2(4, 8)
jnt_sadMxN_sse2(4, 4)
#if CONFIG_AV1 && CONFIG_EXT_PARTITION_TYPES
jnt_sadMxN_sse2(4, 16)
jnt_sadMxN_sse2(16, 4)
jnt_sadMxN_sse2(8, 32)
jnt_sadMxN_sse2(32, 8)
jnt_sadMxN_sse2(16, 64)
jnt_sadMxN_sse2(64, 16)
jnt_sadMxN_sse2(32, 128)
jnt_sadMxN_sse2(128, 32)
#endif
/* clang-format on */
......@@ -2792,39 +2792,39 @@ AV1_COMP *av1_create_compressor(AV1EncoderConfig *oxcf,
#if CONFIG_EXT_PARTITION_TYPES
BFP(BLOCK_4X16, aom_sad4x16, aom_sad4x16_avg, aom_variance4x16,
aom_sub_pixel_variance4x16, aom_sub_pixel_avg_variance4x16, NULL, NULL,
aom_sad4x16x4d, aom_jnt_sad4x16_avg_c, aom_jnt_sub_pixel_avg_variance4x16)
aom_sad4x16x4d, aom_jnt_sad4x16_avg, aom_jnt_sub_pixel_avg_variance4x16)
BFP(BLOCK_16X4, aom_sad16x4, aom_sad16x4_avg, aom_variance16x4,
aom_sub_pixel_variance16x4, aom_sub_pixel_avg_variance16x4, NULL, NULL,
aom_sad16x4x4d, aom_jnt_sad16x4_avg_c, aom_jnt_sub_pixel_avg_variance16x4)
aom_sad16x4x4d, aom_jnt_sad16x4_avg, aom_jnt_sub_pixel_avg_variance16x4)
BFP(BLOCK_8X32, aom_sad8x32, aom_sad8x32_avg, aom_variance8x32,
aom_sub_pixel_variance8x32, aom_sub_pixel_avg_variance8x32, NULL, NULL,
aom_sad8x32x4d, aom_jnt_sad8x32_avg_c, aom_jnt_sub_pixel_avg_variance8x32)
aom_sad8x32x4d, aom_jnt_sad8x32_avg, aom_jnt_sub_pixel_avg_variance8x32)
BFP(BLOCK_32X8, aom_sad32x8, aom_sad32x8_avg, aom_variance32x8,
aom_sub_pixel_variance32x8, aom_sub_pixel_avg_variance32x8, NULL, NULL,
aom_sad32x8x4d, aom_jnt_sad32x8_avg_c, aom_jnt_sub_pixel_avg_variance32x8)
aom_sad32x8x4d, aom_jnt_sad32x8_avg, aom_jnt_sub_pixel_avg_variance32x8)
BFP(BLOCK_16X64, aom_sad16x64, aom_sad16x64_avg, aom_variance16x64,
aom_sub_pixel_variance16x64, aom_sub_pixel_avg_variance16x64, NULL, NULL,
aom_sad16x64x4d, aom_jnt_sad16x64_avg_c,
aom_sad16x64x4d, aom_jnt_sad16x64_avg,
aom_jnt_sub_pixel_avg_variance16x64)
BFP(BLOCK_64X16, aom_sad64x16, aom_sad64x16_avg, aom_variance64x16,
aom_sub_pixel_variance64x16, aom_sub_pixel_avg_variance64x16, NULL, NULL,
aom_sad64x16x4d, aom_jnt_sad64x16_avg_c,
aom_sad64x16x4d, aom_jnt_sad64x16_avg,
aom_jnt_sub_pixel_avg_variance64x16)
#if CONFIG_EXT_PARTITION
BFP(BLOCK_32X128, aom_sad32x128, aom_sad32x128_avg, aom_variance32x128,
aom_sub_pixel_variance32x128, aom_sub_pixel_avg_variance32x128, NULL,
NULL, aom_sad32x128x4d, aom_jnt_sad32x128_avg_c,
NULL, aom_sad32x128x4d, aom_jnt_sad32x128_avg,
aom_jnt_sub_pixel_avg_variance32x128)
BFP(BLOCK_128X32, aom_sad128x32, aom_sad128x32_avg, aom_variance128x32,
aom_sub_pixel_variance128x32, aom_sub_pixel_avg_variance128x32, NULL,
NULL, aom_sad128x32x4d, aom_jnt_sad128x32_avg_c,
NULL, aom_sad128x32x4d, aom_jnt_sad128x32_avg,
aom_jnt_sub_pixel_avg_variance128x32)
#endif // CONFIG_EXT_PARTITION
#endif // CONFIG_EXT_PARTITION_TYPES
......@@ -2833,82 +2833,82 @@ AV1_COMP *av1_create_compressor(AV1EncoderConfig *oxcf,
BFP(BLOCK_128X128, aom_sad128x128, aom_sad128x128_avg, aom_variance128x128,
aom_sub_pixel_variance128x128, aom_sub_pixel_avg_variance128x128,
aom_sad128x128x3, aom_sad128x128x8, aom_sad128x128x4d,
aom_jnt_sad128x128_avg_c, aom_jnt_sub_pixel_avg_variance128x128)
aom_jnt_sad128x128_avg, aom_jnt_sub_pixel_avg_variance128x128)
BFP(BLOCK_128X64, aom_sad128x64, aom_sad128x64_avg, aom_variance128x64,
aom_sub_pixel_variance128x64, aom_sub_pixel_avg_variance128x64, NULL,
NULL, aom_sad128x64x4d, aom_jnt_sad128x64_avg_c,
NULL, aom_sad128x64x4d, aom_jnt_sad128x64_avg,
aom_jnt_sub_pixel_avg_variance128x64)
BFP(BLOCK_64X128, aom_sad64x128, aom_sad64x128_avg, aom_variance64x128,
aom_sub_pixel_variance64x128, aom_sub_pixel_avg_variance64x128, NULL,
NULL, aom_sad64x128x4d, aom_jnt_sad64x128_avg_c,
NULL, aom_sad64x128x4d, aom_jnt_sad64x128_avg,
aom_jnt_sub_pixel_avg_variance64x128)
#endif // CONFIG_EXT_PARTITION
BFP(BLOCK_32X16, aom_sad32x16, aom_sad32x16_avg, aom_variance32x16,
aom_sub_pixel_variance32x16, aom_sub_pixel_avg_variance32x16, NULL, NULL,
aom_sad32x16x4d, aom_jnt_sad32x16_avg_c,
aom_sad32x16x4d, aom_jnt_sad32x16_avg,
aom_jnt_sub_pixel_avg_variance32x16)
BFP(BLOCK_16X32, aom_sad16x32, aom_sad16x32_avg, aom_variance16x32,
aom_sub_pixel_variance16x32, aom_sub_pixel_avg_variance16x32, NULL, NULL,
aom_sad16x32x4d, aom_jnt_sad16x32_avg_c,
aom_sad16x32x4d, aom_jnt_sad16x32_avg,
aom_jnt_sub_pixel_avg_variance16x32)
BFP(BLOCK_64X32, aom_sad64x32, aom_sad64x32_avg, aom_variance64x32,
aom_sub_pixel_variance64x32, aom_sub_pixel_avg_variance64x32, NULL, NULL,
aom_sad64x32x4d, aom_jnt_sad64x32_avg_c,
aom_sad64x32x4d, aom_jnt_sad64x32_avg,
aom_jnt_sub_pixel_avg_variance64x32)
BFP(BLOCK_32X64, aom_sad32x64, aom_sad32x64_avg, aom_variance32x64,
aom_sub_pixel_variance32x64, aom_sub_pixel_avg_variance32x64, NULL, NULL,
aom_sad32x64x4d, aom_jnt_sad32x64_avg_c,
aom_sad32x64x4d, aom_jnt_sad32x64_avg,
aom_jnt_sub_pixel_avg_variance32x64)
BFP(BLOCK_32X32, aom_sad32x32, aom_sad32x32_avg, aom_variance32x32,
aom_sub_pixel_variance32x32, aom_sub_pixel_avg_variance32x32,
aom_sad32x32x3, aom_sad32x32x8, aom_sad32x32x4d, aom_jnt_sad32x32_avg_c,
aom_sad32x32x3, aom_sad32x32x8, aom_sad32x32x4d, aom_jnt_sad32x32_avg,
aom_jnt_sub_pixel_avg_variance32x32)
BFP(BLOCK_64X64, aom_sad64x64, aom_sad64x64_avg, aom_variance64x64,
aom_sub_pixel_variance64x64, aom_sub_pixel_avg_variance64x64,
aom_sad64x64x3, aom_sad64x64x8, aom_sad64x64x4d, aom_jnt_sad64x64_avg_c,
aom_sad64x64x3, aom_sad64x64x8, aom_sad64x64x4d, aom_jnt_sad64x64_avg,
aom_jnt_sub_pixel_avg_variance64x64)
BFP(BLOCK_16X16, aom_sad16x16, aom_sad16x16_avg, aom_variance16x16,
aom_sub_pixel_variance16x16, aom_sub_pixel_avg_variance16x16,
aom_sad16x16x3, aom_sad16x16x8, aom_sad16x16x4d, aom_jnt_sad16x16_avg_c,
aom_sad16x16x3, aom_sad16x16x8, aom_sad16x16x4d, aom_jnt_sad16x16_avg,
aom_jnt_sub_pixel_avg_variance16x16)
BFP(BLOCK_16X8, aom_sad16x8, aom_sad16x8_avg, aom_variance16x8,
aom_sub_pixel_variance16x8, aom_sub_pixel_avg_variance16x8, aom_sad16x8x3,
aom_sad16x8x8, aom_sad16x8x4d, aom_jnt_sad16x8_avg_c,
aom_sad16x8x8, aom_sad16x8x4d, aom_jnt_sad16x8_avg,
aom_jnt_sub_pixel_avg_variance16x8)
BFP(BLOCK_8X16, aom_sad8x16, aom_sad8x16_avg, aom_variance8x16,
aom_sub_pixel_variance8x16, aom_sub_pixel_avg_variance8x16, aom_sad8x16x3,
aom_sad8x16x8, aom_sad8x16x4d, aom_jnt_sad8x16_avg_c,
aom_sad8x16x8, aom_sad8x16x4d, aom_jnt_sad8x16_avg,
aom_jnt_sub_pixel_avg_variance8x16)
BFP(BLOCK_8X8, aom_sad8x8, aom_sad8x8_avg, aom_variance8x8,
aom_sub_pixel_variance8x8, aom_sub_pixel_avg_variance8x8, aom_sad8x8x3,
aom_sad8x8x8, aom_sad8x8x4d, aom_jnt_sad8x8_avg_c,
aom_sad8x8x8, aom_sad8x8x4d, aom_jnt_sad8x8_avg,
aom_jnt_sub_pixel_avg_variance8x8)
BFP(BLOCK_8X4, aom_sad8x4, aom_sad8x4_avg, aom_variance8x4,
aom_sub_pixel_variance8x4, aom_sub_pixel_avg_variance8x4, NULL,
aom_sad8x4x8, aom_sad8x4x4d, aom_jnt_sad8x4_avg_c,
aom_sad8x4x8, aom_sad8x4x4d, aom_jnt_sad8x4_avg,
aom_jnt_sub_pixel_avg_variance8x4)
BFP(BLOCK_4X8, aom_sad4x8, aom_sad4x8_avg, aom_variance4x8,
aom_sub_pixel_variance4x8, aom_sub_pixel_avg_variance4x8, NULL,
aom_sad4x8x8, aom_sad4x8x4d, aom_jnt_sad4x8_avg_c,
aom_sad4x8x8, aom_sad4x8x4d, aom_jnt_sad4x8_avg,
aom_jnt_sub_pixel_avg_variance4x8)
BFP(BLOCK_4X4, aom_sad4x4, aom_sad4x4_avg, aom_variance4x4,
aom_sub_pixel_variance4x4, aom_sub_pixel_avg_variance4x4, aom_sad4x4x3,
aom_sad4x4x8, aom_sad4x4x4d, aom_jnt_sad4x4_avg_c,
aom_sad4x4x8, aom_sad4x4x4d, aom_jnt_sad4x4_avg,
aom_jnt_sub_pixel_avg_variance4x4)
BFP(BLOCK_2X2, NULL, NULL, aom_variance2x2, NULL, NULL, NULL, NULL, NULL,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment