Home
last modified time | relevance | path

Searched refs:MAX_SB_SIZE (Results 1 – 25 of 43) sorted by relevance

12

/external/libaom/libaom/test/
Dintrabc_test.cc41 { { -MAX_SB_SIZE * kSubPelScale, -MAX_SB_SIZE * kSubPelScale }, in TEST()
42 MAX_SB_SIZE / MI_SIZE, in TEST()
43 MAX_SB_SIZE / MI_SIZE, in TEST()
46 { { 0, -MAX_SB_SIZE * kSubPelScale }, in TEST()
47 MAX_SB_SIZE / MI_SIZE, in TEST()
48 MAX_SB_SIZE / MI_SIZE, in TEST()
51 { { -MAX_SB_SIZE * kSubPelScale, 0 }, in TEST()
52 MAX_SB_SIZE / MI_SIZE, in TEST()
53 MAX_SB_SIZE / MI_SIZE, in TEST()
56 { { MAX_SB_SIZE * kSubPelScale, 0 }, in TEST()
[all …]
Dmasked_variance_test.cc65 DECLARE_ALIGNED(16, uint8_t, src_ptr[(MAX_SB_SIZE + 1) * (MAX_SB_SIZE + 16)]); in TEST_P()
66 DECLARE_ALIGNED(16, uint8_t, ref_ptr[(MAX_SB_SIZE + 1) * (MAX_SB_SIZE + 16)]); in TEST_P()
68 second_pred_ptr[(MAX_SB_SIZE + 1) * (MAX_SB_SIZE + 16)]); in TEST_P()
69 DECLARE_ALIGNED(16, uint8_t, msk_ptr[(MAX_SB_SIZE + 1) * (MAX_SB_SIZE + 16)]); in TEST_P()
72 int src_stride = (MAX_SB_SIZE + 16); in TEST_P()
73 int ref_stride = (MAX_SB_SIZE + 16); in TEST_P()
74 int msk_stride = (MAX_SB_SIZE + 16); in TEST_P()
81 for (int j = 0; j < (MAX_SB_SIZE + 1) * (MAX_SB_SIZE + 16); j++) { in TEST_P()
119 DECLARE_ALIGNED(16, uint8_t, src_ptr[(MAX_SB_SIZE + 1) * (MAX_SB_SIZE + 16)]); in TEST_P()
120 DECLARE_ALIGNED(16, uint8_t, ref_ptr[(MAX_SB_SIZE + 1) * (MAX_SB_SIZE + 16)]); in TEST_P()
[all …]
Dmasked_sad_test.cc56 DECLARE_ALIGNED(16, uint8_t, src_ptr[MAX_SB_SIZE * MAX_SB_SIZE]); in runMaskedSADTest()
57 DECLARE_ALIGNED(16, uint8_t, ref_ptr[MAX_SB_SIZE * MAX_SB_SIZE]); in runMaskedSADTest()
58 DECLARE_ALIGNED(16, uint8_t, second_pred_ptr[MAX_SB_SIZE * MAX_SB_SIZE]); in runMaskedSADTest()
59 DECLARE_ALIGNED(16, uint8_t, msk_ptr[MAX_SB_SIZE * MAX_SB_SIZE]); in runMaskedSADTest()
62 int src_stride = MAX_SB_SIZE; in runMaskedSADTest()
63 int ref_stride = MAX_SB_SIZE; in runMaskedSADTest()
64 int msk_stride = MAX_SB_SIZE; in runMaskedSADTest()
67 for (int j = 0; j < MAX_SB_SIZE * MAX_SB_SIZE; j++) { in runMaskedSADTest()
145 DECLARE_ALIGNED(16, uint16_t, src_ptr[MAX_SB_SIZE * MAX_SB_SIZE]); in runHighbdMaskedSADTest()
146 DECLARE_ALIGNED(16, uint16_t, ref_ptr[MAX_SB_SIZE * MAX_SB_SIZE]); in runHighbdMaskedSADTest()
[all …]
Dav1_convolve_2d_test_util.cc86 MAX_SB_SIZE, out_w, out_h, filter_params_x, in RunCheckOutput()
89 MAX_SB_SIZE, out_w, out_h, filter_params_x, in RunCheckOutput()
93 for (int i = 0; i < MAX_SB_SIZE; ++i) { in RunCheckOutput()
94 for (int j = 0; j < MAX_SB_SIZE; ++j) { in RunCheckOutput()
95 int idx = i * MAX_SB_SIZE + j; in RunCheckOutput()
151 test_impl(input, w, output, MAX_SB_SIZE, out_w, out_h, filter_params_x, in RunSpeedTest()
199 get_conv_params_no_round(do_average, 0, output1, MAX_SB_SIZE, 1, 8); in RunCheckOutput()
201 get_conv_params_no_round(do_average, 0, output2, MAX_SB_SIZE, 1, 8); in RunCheckOutput()
215 output8_1, MAX_SB_SIZE, out_w, out_h, in RunCheckOutput()
219 MAX_SB_SIZE, out_w, out_h, filter_params_x, in RunCheckOutput()
[all …]
Dcomp_mask_variance_test.cc86 ref_buffer_ = (uint8_t *)aom_memalign(16, MAX_SB_SQUARE + (8 * MAX_SB_SIZE)); in SetUp()
87 ref_ = ref_buffer_ + (8 * MAX_SB_SIZE); in SetUp()
91 for (int i = 0; i < MAX_SB_SQUARE + (8 * MAX_SB_SIZE); ++i) { in SetUp()
113 aom_comp_mask_pred_c(comp_pred1_, pred_, w, h, ref_, MAX_SB_SIZE, mask, w, in RunCheckOutput()
115 test_impl(comp_pred2_, pred_, w, h, ref_, MAX_SB_SIZE, mask, w, inv); in RunCheckOutput()
139 func(comp_pred1_, pred_, w, h, ref_, MAX_SB_SIZE, mask, w, 0); in RunSpeedTest()
207 MAX_SB_SIZE, mask, w, inv, subpel_search); in RunCheckOutput()
211 w, h, subx, suby, ref_, MAX_SB_SIZE, mask, in RunCheckOutput()
242 w, h, subx, suby, ref_, MAX_SB_SIZE, mask, w, in RunSpeedTest()
335 16, (MAX_SB_SQUARE + (8 * MAX_SB_SIZE)) * sizeof(*ref_buffer_)); in SetUp()
[all …]
Dhorver_correlation_test.cc62 av1_get_horver_correlation_full_c(data_buf_, MAX_SB_SIZE, w, h, in RunHorverTest()
65 target_func_(data_buf_, MAX_SB_SIZE, w, h, &hcorr_test, &vcorr_test); in RunHorverTest()
90 av1_get_horver_correlation_full_c(data_buf_, MAX_SB_SIZE, w, h, in RunHorverSpeedTest()
97 target_func_(data_buf_, MAX_SB_SIZE, w, h, &hcorr_test, &vcorr_test); in RunHorverSpeedTest()
120 av1_get_horver_correlation_full_c(data_buf_, MAX_SB_SIZE, w, h, &hcorr_ref, in RunHorverTest_ExtremeValues()
122 target_func_(data_buf_, MAX_SB_SIZE, w, h, &hcorr_test, &vcorr_test); in RunHorverTest_ExtremeValues()
Dobmc_sad_test.cc22 #define MAX_SB_SQUARE (MAX_SB_SIZE * MAX_SB_SIZE)
47 const int pre_stride = rng_(MAX_SB_SIZE + 1); in TEST_P()
69 for (int iter = 0; iter < MAX_SB_SIZE && !HasFatalFailure(); ++iter) { in TEST_P()
146 const int pre_stride = rng_(MAX_SB_SIZE + 1); in TEST_P()
170 for (int iter = 0; iter < MAX_SB_SIZE && !HasFatalFailure(); ++iter) { in TEST_P()
Dobmc_variance_test.cc23 #define MAX_SB_SQUARE (MAX_SB_SIZE * MAX_SB_SIZE)
50 const int pre_stride = this->rng_(MAX_SB_SIZE + 1); in TEST_P()
75 for (int iter = 0; iter < MAX_SB_SIZE && !HasFatalFailure(); ++iter) { in TEST_P()
101 const int pre_stride = this->rng_(MAX_SB_SIZE + 1); in TEST_P()
193 const int pre_stride = this->rng_(MAX_SB_SIZE + 1); in TEST_P()
220 for (int iter = 0; iter < MAX_SB_SIZE && !HasFatalFailure(); ++iter) { in TEST_P()
Dblend_a64_mask_1d_test.cc38 static const int kMaxWidth = MAX_SB_SIZE * 5; // * 5 to cover longer strides
39 static const int kMaxHeight = MAX_SB_SIZE;
41 static const int kMaxMaskWidth = 2 * MAX_SB_SIZE;
/external/libaom/libaom/av1/common/x86/
Dwiener_convolve_sse2.c34 temp[(MAX_SB_SIZE + SUBPEL_TAPS - 1) * MAX_SB_SIZE]); in av1_wiener_convolve_add_src_sse2()
36 memset(temp + (intermediate_height * MAX_SB_SIZE), 0, MAX_SB_SIZE); in av1_wiener_convolve_add_src_sse2()
107 _mm_storeu_si128((__m128i *)&temp[i * MAX_SB_SIZE + j], res); in av1_wiener_convolve_add_src_sse2()
138 const uint16_t *data = &temp[i * MAX_SB_SIZE + j]; in av1_wiener_convolve_add_src_sse2()
140 _mm_unpacklo_epi16(*(__m128i *)(data + 0 * MAX_SB_SIZE), in av1_wiener_convolve_add_src_sse2()
141 *(__m128i *)(data + 1 * MAX_SB_SIZE)); in av1_wiener_convolve_add_src_sse2()
143 _mm_unpacklo_epi16(*(__m128i *)(data + 2 * MAX_SB_SIZE), in av1_wiener_convolve_add_src_sse2()
144 *(__m128i *)(data + 3 * MAX_SB_SIZE)); in av1_wiener_convolve_add_src_sse2()
146 _mm_unpacklo_epi16(*(__m128i *)(data + 4 * MAX_SB_SIZE), in av1_wiener_convolve_add_src_sse2()
147 *(__m128i *)(data + 5 * MAX_SB_SIZE)); in av1_wiener_convolve_add_src_sse2()
[all …]
Dhighbd_wiener_convolve_ssse3.c36 temp[(MAX_SB_SIZE + SUBPEL_TAPS - 1) * MAX_SB_SIZE]); in av1_highbd_wiener_convolve_add_src_ssse3()
109 _mm_storeu_si128((__m128i *)&temp[i * MAX_SB_SIZE + j], res); in av1_highbd_wiener_convolve_add_src_ssse3()
140 const uint16_t *data = &temp[i * MAX_SB_SIZE + j]; in av1_highbd_wiener_convolve_add_src_ssse3()
142 _mm_unpacklo_epi16(*(__m128i *)(data + 0 * MAX_SB_SIZE), in av1_highbd_wiener_convolve_add_src_ssse3()
143 *(__m128i *)(data + 1 * MAX_SB_SIZE)); in av1_highbd_wiener_convolve_add_src_ssse3()
145 _mm_unpacklo_epi16(*(__m128i *)(data + 2 * MAX_SB_SIZE), in av1_highbd_wiener_convolve_add_src_ssse3()
146 *(__m128i *)(data + 3 * MAX_SB_SIZE)); in av1_highbd_wiener_convolve_add_src_ssse3()
148 _mm_unpacklo_epi16(*(__m128i *)(data + 4 * MAX_SB_SIZE), in av1_highbd_wiener_convolve_add_src_ssse3()
149 *(__m128i *)(data + 5 * MAX_SB_SIZE)); in av1_highbd_wiener_convolve_add_src_ssse3()
151 _mm_unpacklo_epi16(*(__m128i *)(data + 6 * MAX_SB_SIZE), in av1_highbd_wiener_convolve_add_src_ssse3()
[all …]
Dwiener_convolve_avx2.c41 temp[(MAX_SB_SIZE + SUBPEL_TAPS - 1) * MAX_SB_SIZE]); in av1_wiener_convolve_add_src_avx2()
43 memset(temp + (intermediate_height * MAX_SB_SIZE), 0, MAX_SB_SIZE); in av1_wiener_convolve_add_src_avx2()
143 yy_storeu_256(temp + i * MAX_SB_SIZE + j, res_clamped); in av1_wiener_convolve_add_src_avx2()
182 const uint16_t *data_ij = temp + i * MAX_SB_SIZE + j; in av1_wiener_convolve_add_src_avx2()
187 const __m256i data_0 = yy_loadu_256(data_ij + 0 * MAX_SB_SIZE); in av1_wiener_convolve_add_src_avx2()
188 const __m256i data_1 = yy_loadu_256(data_ij + 1 * MAX_SB_SIZE); in av1_wiener_convolve_add_src_avx2()
189 const __m256i data_2 = yy_loadu_256(data_ij + 2 * MAX_SB_SIZE); in av1_wiener_convolve_add_src_avx2()
190 const __m256i data_3 = yy_loadu_256(data_ij + 3 * MAX_SB_SIZE); in av1_wiener_convolve_add_src_avx2()
191 const __m256i data_4 = yy_loadu_256(data_ij + 4 * MAX_SB_SIZE); in av1_wiener_convolve_add_src_avx2()
192 const __m256i data_5 = yy_loadu_256(data_ij + 5 * MAX_SB_SIZE); in av1_wiener_convolve_add_src_avx2()
[all …]
Dhighbd_wiener_convolve_avx2.c43 temp[(MAX_SB_SIZE + SUBPEL_TAPS - 1) * MAX_SB_SIZE]); in av1_highbd_wiener_convolve_add_src_avx2()
135 yy_storeu_256(temp + i * MAX_SB_SIZE + j, res_clamped); in av1_highbd_wiener_convolve_add_src_avx2()
176 const uint16_t *temp_ij = temp + i * MAX_SB_SIZE + j; in av1_highbd_wiener_convolve_add_src_avx2()
181 const __m256i data_0 = yy_loadu_256(temp_ij + 0 * MAX_SB_SIZE); in av1_highbd_wiener_convolve_add_src_avx2()
182 const __m256i data_1 = yy_loadu_256(temp_ij + 1 * MAX_SB_SIZE); in av1_highbd_wiener_convolve_add_src_avx2()
183 const __m256i data_2 = yy_loadu_256(temp_ij + 2 * MAX_SB_SIZE); in av1_highbd_wiener_convolve_add_src_avx2()
184 const __m256i data_3 = yy_loadu_256(temp_ij + 3 * MAX_SB_SIZE); in av1_highbd_wiener_convolve_add_src_avx2()
185 const __m256i data_4 = yy_loadu_256(temp_ij + 4 * MAX_SB_SIZE); in av1_highbd_wiener_convolve_add_src_avx2()
186 const __m256i data_5 = yy_loadu_256(temp_ij + 5 * MAX_SB_SIZE); in av1_highbd_wiener_convolve_add_src_avx2()
187 const __m256i data_6 = yy_loadu_256(temp_ij + 6 * MAX_SB_SIZE); in av1_highbd_wiener_convolve_add_src_avx2()
[all …]
Djnt_convolve_ssse3.c29 im_block[(MAX_SB_SIZE + MAX_FILTER_TAP - 1) * MAX_SB_SIZE]); in av1_dist_wtd_convolve_2d_ssse3()
31 int im_stride = MAX_SB_SIZE; in av1_dist_wtd_convolve_2d_ssse3()
Dav1_convolve_scale_sse4.c240 int16_t tmp[(2 * MAX_SB_SIZE + MAX_FILTER_TAP) * MAX_SB_SIZE] = { 0 }; in av1_convolve_2d_scale_sse4_1()
480 tmp[(2 * MAX_SB_SIZE + MAX_FILTER_TAP) * MAX_SB_SIZE]); in av1_highbd_convolve_2d_scale_sse4_1()
/external/libaom/libaom/av1/encoder/
Dreconinter_enc.c198 0, plane, xd->tmp_conv_dst, MAX_SB_SIZE, is_compound, xd->bd); in build_inter_predictors()
423 int dst_stride1[MAX_MB_PLANE] = { MAX_SB_SIZE, MAX_SB_SIZE, MAX_SB_SIZE }; in av1_build_obmc_inter_predictors_sb()
424 int dst_stride2[MAX_MB_PLANE] = { MAX_SB_SIZE, MAX_SB_SIZE, MAX_SB_SIZE }; in av1_build_obmc_inter_predictors_sb()
425 int dst_width1[MAX_MB_PLANE] = { MAX_SB_SIZE, MAX_SB_SIZE, MAX_SB_SIZE }; in av1_build_obmc_inter_predictors_sb()
426 int dst_width2[MAX_MB_PLANE] = { MAX_SB_SIZE, MAX_SB_SIZE, MAX_SB_SIZE }; in av1_build_obmc_inter_predictors_sb()
427 int dst_height1[MAX_MB_PLANE] = { MAX_SB_SIZE, MAX_SB_SIZE, MAX_SB_SIZE }; in av1_build_obmc_inter_predictors_sb()
428 int dst_height2[MAX_MB_PLANE] = { MAX_SB_SIZE, MAX_SB_SIZE, MAX_SB_SIZE }; in av1_build_obmc_inter_predictors_sb()
Daq_variance.c36 DECLARE_ALIGNED(16, static const uint8_t, av1_all_zeros[MAX_SB_SIZE]) = { 0 };
39 av1_highbd_all_zeros[MAX_SB_SIZE]) = { 0 };
/external/libaom/libaom/av1/common/
Dconvolve.c79 int16_t im_block[(MAX_SB_SIZE + MAX_FILTER_TAP - 1) * MAX_SB_SIZE]; in av1_convolve_2d_sobel_y_c()
121 int16_t im_block[(MAX_SB_SIZE + MAX_FILTER_TAP - 1) * MAX_SB_SIZE]; in av1_convolve_2d_sr_c()
253 int16_t im_block[(MAX_SB_SIZE + MAX_FILTER_TAP - 1) * MAX_SB_SIZE]; in av1_dist_wtd_convolve_2d_c()
459 int16_t im_block[(2 * MAX_SB_SIZE + MAX_FILTER_TAP) * MAX_SB_SIZE]; in av1_convolve_2d_scale_c()
704 int16_t im_block[(MAX_SB_SIZE + MAX_FILTER_TAP - 1) * MAX_SB_SIZE]; in av1_highbd_convolve_2d_sr_c()
756 int16_t im_block[(MAX_SB_SIZE + MAX_FILTER_TAP - 1) * MAX_SB_SIZE]; in av1_highbd_dist_wtd_convolve_2d_c()
963 int16_t im_block[(2 * MAX_SB_SIZE + MAX_FILTER_TAP) * MAX_SB_SIZE]; in av1_highbd_convolve_2d_scale_c()
1231 uint16_t temp[WIENER_MAX_EXT_SIZE * MAX_SB_SIZE]; in av1_wiener_convolve_add_src_c()
1234 memset(temp + (intermediate_height * MAX_SB_SIZE), 0, MAX_SB_SIZE); in av1_wiener_convolve_add_src_c()
1236 assert(w <= MAX_SB_SIZE); in av1_wiener_convolve_add_src_c()
[all …]
Denums.h25 #undef MAX_SB_SIZE
29 #define MAX_SB_SIZE (1 << MAX_SB_SIZE_LOG2) macro
30 #define MAX_SB_SQUARE (MAX_SB_SIZE * MAX_SB_SIZE)
Dreconinter.c605 const int tmp_buf_stride = MAX_SB_SIZE; in av1_make_masked_inter_predictor()
614 av1_make_inter_predictor(pre, pre_stride, tmp_dst, MAX_SB_SIZE, subpel_params, in av1_make_masked_inter_predictor()
981 static const uint8_t ii_weights1d[MAX_SB_SIZE] = {
1147 MAX_SB_SIZE); in av1_build_interintra_predictors_sbp()
1149 CONVERT_TO_BYTEPTR(intrapredictor), MAX_SB_SIZE); in av1_build_interintra_predictors_sbp()
1153 intrapredictor, MAX_SB_SIZE); in av1_build_interintra_predictors_sbp()
1155 MAX_SB_SIZE); in av1_build_interintra_predictors_sbp()
/external/libaom/libaom/av1/common/arm/
Dwiener_convolve_neon.c49 temp[(MAX_SB_SIZE + HORIZ_EXTRA_ROWS) * MAX_SB_SIZE]); in av1_wiener_convolve_add_src_neon()
54 assert(w <= MAX_SB_SIZE); in av1_wiener_convolve_add_src_neon()
55 assert(h <= MAX_SB_SIZE); in av1_wiener_convolve_add_src_neon()
176 store_u16_8x8(d_tmp, MAX_SB_SIZE, res4, res5, res6, res7, res8, res9, in av1_wiener_convolve_add_src_neon()
191 dst_ptr += 8 * MAX_SB_SIZE; in av1_wiener_convolve_add_src_neon()
236 dst_ptr += MAX_SB_SIZE; in av1_wiener_convolve_add_src_neon()
326 store_u16_8x4(d_tmp, MAX_SB_SIZE, d0, d1, d2, d3); in av1_wiener_convolve_add_src_neon()
341 dst_ptr += 4 * MAX_SB_SIZE; in av1_wiener_convolve_add_src_neon()
386 dst_ptr += MAX_SB_SIZE; in av1_wiener_convolve_add_src_neon()
405 src_stride = MAX_SB_SIZE; in av1_wiener_convolve_add_src_neon()
/external/libaom/libaom/aom_dsp/
Daom_dsp_common.h24 #ifndef MAX_SB_SIZE
25 #define MAX_SB_SIZE 128 macro
Dvariance.c391 temp[((MAX_SB_SIZE * 2 + 16) + 16) * MAX_SB_SIZE]); in aom_upsampled_pred_c()
398 assert(intermediate_height <= (MAX_SB_SIZE * 2 + 16) + 16); in aom_upsampled_pred_c()
400 ref_stride, temp, MAX_SB_SIZE, kernel_x, 16, NULL, -1, in aom_upsampled_pred_c()
402 aom_convolve8_vert_c(temp + MAX_SB_SIZE * ((filter->taps >> 1) - 1), in aom_upsampled_pred_c()
403 MAX_SB_SIZE, comp_pred, width, NULL, -1, kernel_y, 16, in aom_upsampled_pred_c()
985 temp[((MAX_SB_SIZE + 16) + 16) * MAX_SB_SIZE]); in aom_highbd_upsampled_pred_c()
992 assert(intermediate_height <= (MAX_SB_SIZE * 2 + 16) + 16); in aom_highbd_upsampled_pred_c()
995 MAX_SB_SIZE, kernel_x, 16, NULL, -1, width, in aom_highbd_upsampled_pred_c()
998 CONVERT_TO_BYTEPTR(temp + MAX_SB_SIZE * ((filter->taps >> 1) - 1)), in aom_highbd_upsampled_pred_c()
999 MAX_SB_SIZE, comp_pred8, width, NULL, -1, kernel_y, 16, width, height, in aom_highbd_upsampled_pred_c()
/external/libaom/libaom/aom_dsp/x86/
Dvariance_sse2.c634 temp[((MAX_SB_SIZE * 2 + 16) + 16) * MAX_SB_SIZE]); in aom_upsampled_pred_sse2()
641 ? temp + (filter_taps >> 1) * MAX_SB_SIZE in aom_upsampled_pred_sse2()
643 uint8_t *temp_start_vert = temp + MAX_SB_SIZE * ((filter->taps >> 1) - 1); in aom_upsampled_pred_sse2()
646 assert(intermediate_height <= (MAX_SB_SIZE * 2 + 16) + 16); in aom_upsampled_pred_sse2()
647 aom_convolve8_horiz(ref_start, ref_stride, temp_start_horiz, MAX_SB_SIZE, in aom_upsampled_pred_sse2()
649 aom_convolve8_vert(temp_start_vert, MAX_SB_SIZE, comp_pred, width, NULL, -1, in aom_upsampled_pred_sse2()
Dhighbd_variance_sse2.c747 temp[((MAX_SB_SIZE + 16) + 16) * MAX_SB_SIZE]); in aom_highbd_upsampled_pred_sse2()
754 ? temp + (filter_taps >> 1) * MAX_SB_SIZE in aom_highbd_upsampled_pred_sse2()
756 uint16_t *temp_start_vert = temp + MAX_SB_SIZE * ((filter->taps >> 1) - 1); in aom_highbd_upsampled_pred_sse2()
759 assert(intermediate_height <= (MAX_SB_SIZE * 2 + 16) + 16); in aom_highbd_upsampled_pred_sse2()
762 MAX_SB_SIZE, kernel_x, 16, NULL, -1, width, intermediate_height, bd); in aom_highbd_upsampled_pred_sse2()
763 aom_highbd_convolve8_vert(CONVERT_TO_BYTEPTR(temp_start_vert), MAX_SB_SIZE, in aom_highbd_upsampled_pred_sse2()

12