/external/libaom/libaom/test/ |
D | intrabc_test.cc | 41 { { -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 …]
|
D | masked_variance_test.cc | 66 DECLARE_ALIGNED(16, uint8_t, src_ptr[(MAX_SB_SIZE + 1) * (MAX_SB_SIZE + 16)]); in TEST_P() 67 DECLARE_ALIGNED(16, uint8_t, ref_ptr[(MAX_SB_SIZE + 1) * (MAX_SB_SIZE + 16)]); in TEST_P() 69 second_pred_ptr[(MAX_SB_SIZE + 1) * (MAX_SB_SIZE + 16)]); in TEST_P() 70 DECLARE_ALIGNED(16, uint8_t, msk_ptr[(MAX_SB_SIZE + 1) * (MAX_SB_SIZE + 16)]); in TEST_P() 73 int src_stride = (MAX_SB_SIZE + 16); in TEST_P() 74 int ref_stride = (MAX_SB_SIZE + 16); in TEST_P() 75 int msk_stride = (MAX_SB_SIZE + 16); in TEST_P() 82 for (int j = 0; j < (MAX_SB_SIZE + 1) * (MAX_SB_SIZE + 16); j++) { in TEST_P() 120 DECLARE_ALIGNED(16, uint8_t, src_ptr[(MAX_SB_SIZE + 1) * (MAX_SB_SIZE + 16)]); in TEST_P() 121 DECLARE_ALIGNED(16, uint8_t, ref_ptr[(MAX_SB_SIZE + 1) * (MAX_SB_SIZE + 16)]); in TEST_P() [all …]
|
D | av1_convolve_2d_test_util.cc | 86 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 …]
|
D | masked_sad_test.cc | 171 const unsigned kBlockSize = MAX_SB_SIZE * MAX_SB_SIZE; in runMaskedSADTest() 172 DECLARE_ALIGNED(16, uint8_t, src_ptr[MAX_SB_SIZE * MAX_SB_SIZE]); in runMaskedSADTest() 173 DECLARE_ALIGNED(16, uint8_t, ref_ptr[MAX_SB_SIZE * MAX_SB_SIZE * 4]); in runMaskedSADTest() 174 DECLARE_ALIGNED(16, uint8_t, second_pred_ptr[MAX_SB_SIZE * MAX_SB_SIZE]); in runMaskedSADTest() 175 DECLARE_ALIGNED(16, uint8_t, msk_ptr[MAX_SB_SIZE * MAX_SB_SIZE]); in runMaskedSADTest() 184 int src_stride = MAX_SB_SIZE; in runMaskedSADTest() 185 int ref_stride = MAX_SB_SIZE; in runMaskedSADTest() 186 int msk_stride = MAX_SB_SIZE; in runMaskedSADTest() 189 for (int j = 0; j < MAX_SB_SIZE * MAX_SB_SIZE; j++) { in runMaskedSADTest() 265 DECLARE_ALIGNED(16, uint16_t, src_ptr[MAX_SB_SIZE * MAX_SB_SIZE]); in runHighbdMaskedSADTest() [all …]
|
D | comp_mask_variance_test.cc | 87 ref_buffer_ = (uint8_t *)aom_memalign(16, MAX_SB_SQUARE + (8 * MAX_SB_SIZE)); in SetUp() 88 ref_ = ref_buffer_ + (8 * MAX_SB_SIZE); in SetUp() 92 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() 138 func(comp_pred1_, pred_, w, h, ref_, MAX_SB_SIZE, mask, w, 0); in RunSpeedTest() 206 MAX_SB_SIZE, mask, w, inv, subpel_search); in RunCheckOutput() 210 w, h, subx, suby, ref_, MAX_SB_SIZE, mask, in RunCheckOutput() 240 w, h, subx, suby, ref_, MAX_SB_SIZE, mask, w, in RunSpeedTest() 334 16, (MAX_SB_SQUARE + (8 * MAX_SB_SIZE)) * sizeof(*ref_buffer_)); in SetUp() [all …]
|
D | horver_correlation_test.cc | 64 av1_get_horver_correlation_full_c(data_buf_, MAX_SB_SIZE, w, h, in RunHorverTest() 67 target_func_(data_buf_, MAX_SB_SIZE, w, h, &hcorr_test, &vcorr_test); in RunHorverTest() 92 av1_get_horver_correlation_full_c(data_buf_, MAX_SB_SIZE, w, h, in RunHorverSpeedTest() 99 target_func_(data_buf_, MAX_SB_SIZE, w, h, &hcorr_test, &vcorr_test); in RunHorverSpeedTest() 122 av1_get_horver_correlation_full_c(data_buf_, MAX_SB_SIZE, w, h, &hcorr_ref, in RunHorverTest_ExtremeValues() 124 target_func_(data_buf_, MAX_SB_SIZE, w, h, &hcorr_test, &vcorr_test); in RunHorverTest_ExtremeValues()
|
D | obmc_sad_test.cc | 22 #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() 162 const int pre_stride = rng_(MAX_SB_SIZE + 1); in TEST_P() 186 for (int iter = 0; iter < MAX_SB_SIZE && !HasFatalFailure(); ++iter) { in TEST_P()
|
D | obmc_variance_test.cc | 23 #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() 207 const int pre_stride = this->rng_(MAX_SB_SIZE + 1); in TEST_P() 234 for (int iter = 0; iter < MAX_SB_SIZE && !HasFatalFailure(); ++iter) { in TEST_P()
|
D | blend_a64_mask_1d_test.cc | 38 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/ |
D | wiener_convolve_sse2.c | 34 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 …]
|
D | highbd_wiener_convolve_ssse3.c | 36 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 …]
|
D | highbd_wiener_convolve_avx2.c | 43 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 …]
|
D | jnt_convolve_ssse3.c | 29 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()
|
D | wiener_convolve_avx2.c | 55 DECLARE_ALIGNED(32, int16_t, im_block[(MAX_SB_SIZE + SUBPEL_TAPS) * 8]); in av1_wiener_convolve_add_src_avx2() 58 memset(im_block + (im_h * im_stride), 0, MAX_SB_SIZE); in av1_wiener_convolve_add_src_avx2()
|
D | av1_convolve_scale_sse4.c | 239 int16_t tmp[(2 * MAX_SB_SIZE + MAX_FILTER_TAP) * MAX_SB_SIZE]; in av1_convolve_2d_scale_sse4_1() 479 tmp[(2 * MAX_SB_SIZE + MAX_FILTER_TAP) * MAX_SB_SIZE]); in av1_highbd_convolve_2d_scale_sse4_1()
|
D | highbd_convolve_2d_sse4.c | 177 im_block[(MAX_SB_SIZE + MAX_FILTER_TAP - 1) * MAX_SB_SIZE]); in av1_highbd_dist_wtd_convolve_2d_sse4_1() 181 int im_stride = MAX_SB_SIZE; in av1_highbd_dist_wtd_convolve_2d_sse4_1()
|
/external/libaom/libaom/av1/encoder/ |
D | reconinter_enc.c | 105 0, AOM_PLANE_Y, xd->tmp_conv_dst, MAX_SB_SIZE, false, xd->bd); in av1_enc_build_inter_predictor_y() 220 int dst_stride1[MAX_MB_PLANE] = { MAX_SB_SIZE, MAX_SB_SIZE, MAX_SB_SIZE }; in av1_build_obmc_inter_predictors_sb() 221 int dst_stride2[MAX_MB_PLANE] = { MAX_SB_SIZE, MAX_SB_SIZE, MAX_SB_SIZE }; in av1_build_obmc_inter_predictors_sb() 222 int dst_width1[MAX_MB_PLANE] = { MAX_SB_SIZE, MAX_SB_SIZE, MAX_SB_SIZE }; in av1_build_obmc_inter_predictors_sb() 223 int dst_width2[MAX_MB_PLANE] = { MAX_SB_SIZE, MAX_SB_SIZE, MAX_SB_SIZE }; in av1_build_obmc_inter_predictors_sb() 224 int dst_height1[MAX_MB_PLANE] = { MAX_SB_SIZE, MAX_SB_SIZE, MAX_SB_SIZE }; in av1_build_obmc_inter_predictors_sb() 225 int dst_height2[MAX_MB_PLANE] = { MAX_SB_SIZE, MAX_SB_SIZE, MAX_SB_SIZE }; in av1_build_obmc_inter_predictors_sb()
|
D | aq_variance.c | 36 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/ |
D | convolve.c | 79 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() 124 assert(w <= MAX_SB_SIZE && h <= MAX_SB_SIZE); in av1_convolve_2d_sr_c() 254 int16_t im_block[(MAX_SB_SIZE + MAX_FILTER_TAP - 1) * MAX_SB_SIZE]; in av1_dist_wtd_convolve_2d_c() 462 int16_t im_block[(2 * MAX_SB_SIZE + MAX_FILTER_TAP) * MAX_SB_SIZE]; in av1_convolve_2d_scale_c() 689 int16_t im_block[(MAX_SB_SIZE + MAX_FILTER_TAP - 1) * MAX_SB_SIZE]; in av1_highbd_convolve_2d_sr_c() 692 assert(w <= MAX_SB_SIZE && h <= MAX_SB_SIZE); in av1_highbd_convolve_2d_sr_c() 742 int16_t im_block[(MAX_SB_SIZE + MAX_FILTER_TAP - 1) * MAX_SB_SIZE]; in av1_highbd_dist_wtd_convolve_2d_c() 949 int16_t im_block[(2 * MAX_SB_SIZE + MAX_FILTER_TAP) * MAX_SB_SIZE]; in av1_highbd_convolve_2d_scale_c() 1176 uint16_t temp[WIENER_MAX_EXT_SIZE * MAX_SB_SIZE]; in av1_wiener_convolve_add_src_c() [all …]
|
D | enums.h | 25 #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)
|
/external/libaom/libaom/av1/common/arm/ |
D | wiener_convolve_neon.c | 49 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/ |
D | aom_dsp_common.h | 24 #ifndef MAX_SB_SIZE 25 #define MAX_SB_SIZE 128 macro
|
D | variance.c | 341 temp[((MAX_SB_SIZE * 2 + 16) + 16) * MAX_SB_SIZE]); in aom_upsampled_pred_c() 348 assert(intermediate_height <= (MAX_SB_SIZE * 2 + 16) + 16); in aom_upsampled_pred_c() 350 ref_stride, temp, MAX_SB_SIZE, kernel_x, 16, NULL, -1, in aom_upsampled_pred_c() 352 aom_convolve8_vert_c(temp + MAX_SB_SIZE * ((filter->taps >> 1) - 1), in aom_upsampled_pred_c() 353 MAX_SB_SIZE, comp_pred, width, NULL, -1, kernel_y, 16, in aom_upsampled_pred_c() 886 temp[((MAX_SB_SIZE + 16) + 16) * MAX_SB_SIZE]); in aom_highbd_upsampled_pred_c() 893 assert(intermediate_height <= (MAX_SB_SIZE * 2 + 16) + 16); in aom_highbd_upsampled_pred_c() 896 MAX_SB_SIZE, kernel_x, 16, NULL, -1, width, in aom_highbd_upsampled_pred_c() 899 CONVERT_TO_BYTEPTR(temp + MAX_SB_SIZE * ((filter->taps >> 1) - 1)), in aom_highbd_upsampled_pred_c() 900 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/ |
D | variance_sse2.c | 593 temp[((MAX_SB_SIZE * 2 + 16) + 16) * MAX_SB_SIZE]); in aom_upsampled_pred_sse2() 600 ? temp + (filter_taps >> 1) * MAX_SB_SIZE in aom_upsampled_pred_sse2() 602 uint8_t *temp_start_vert = temp + MAX_SB_SIZE * ((filter->taps >> 1) - 1); in aom_upsampled_pred_sse2() 605 assert(intermediate_height <= (MAX_SB_SIZE * 2 + 16) + 16); in aom_upsampled_pred_sse2() 606 aom_convolve8_horiz(ref_start, ref_stride, temp_start_horiz, MAX_SB_SIZE, in aom_upsampled_pred_sse2() 608 aom_convolve8_vert(temp_start_vert, MAX_SB_SIZE, comp_pred, width, NULL, -1, in aom_upsampled_pred_sse2()
|
D | highbd_variance_sse2.c | 699 temp[((MAX_SB_SIZE + 16) + 16) * MAX_SB_SIZE]); in aom_highbd_upsampled_pred_sse2() 706 ? temp + (filter_taps >> 1) * MAX_SB_SIZE in aom_highbd_upsampled_pred_sse2() 708 uint16_t *temp_start_vert = temp + MAX_SB_SIZE * ((filter->taps >> 1) - 1); in aom_highbd_upsampled_pred_sse2() 711 assert(intermediate_height <= (MAX_SB_SIZE * 2 + 16) + 16); in aom_highbd_upsampled_pred_sse2() 714 MAX_SB_SIZE, kernel_x, 16, NULL, -1, width, intermediate_height, bd); in aom_highbd_upsampled_pred_sse2() 715 aom_highbd_convolve8_vert(CONVERT_TO_BYTEPTR(temp_start_vert), MAX_SB_SIZE, in aom_highbd_upsampled_pred_sse2()
|