/external/libaom/libaom/test/ |
D | av1_wedge_utils_test.cc | 76 DECLARE_ALIGNED(32, uint8_t, s[MAX_SB_SQUARE]); in TEST_F() 77 DECLARE_ALIGNED(32, uint8_t, p0[MAX_SB_SQUARE]); in TEST_F() 78 DECLARE_ALIGNED(32, uint8_t, p1[MAX_SB_SQUARE]); in TEST_F() 79 DECLARE_ALIGNED(32, uint8_t, p[MAX_SB_SQUARE]); in TEST_F() 81 DECLARE_ALIGNED(32, int16_t, r0[MAX_SB_SQUARE]); in TEST_F() 82 DECLARE_ALIGNED(32, int16_t, r1[MAX_SB_SQUARE]); in TEST_F() 83 DECLARE_ALIGNED(32, int16_t, r_ref[MAX_SB_SQUARE]); in TEST_F() 84 DECLARE_ALIGNED(32, int16_t, r_tst[MAX_SB_SQUARE]); in TEST_F() 85 DECLARE_ALIGNED(32, uint8_t, m[MAX_SB_SQUARE]); in TEST_F() 88 for (int i = 0; i < MAX_SB_SQUARE; ++i) { in TEST_F() [all …]
|
D | obmc_sad_test.cc | 22 #define MAX_SB_SQUARE (MAX_SB_SIZE * MAX_SB_SIZE) macro 42 DECLARE_ALIGNED(32, uint8_t, pre[MAX_SB_SQUARE]); in TEST_P() 43 DECLARE_ALIGNED(32, int32_t, wsrc[MAX_SB_SQUARE]); in TEST_P() 44 DECLARE_ALIGNED(32, int32_t, mask[MAX_SB_SQUARE]); in TEST_P() 49 for (int i = 0; i < MAX_SB_SQUARE; ++i) { in TEST_P() 65 DECLARE_ALIGNED(32, uint8_t, pre[MAX_SB_SQUARE]); in TEST_P() 66 DECLARE_ALIGNED(32, int32_t, wsrc[MAX_SB_SQUARE]); in TEST_P() 67 DECLARE_ALIGNED(32, int32_t, mask[MAX_SB_SQUARE]); in TEST_P() 72 for (int i = 0; i < MAX_SB_SQUARE; ++i) { in TEST_P() 157 DECLARE_ALIGNED(32, uint16_t, pre[MAX_SB_SQUARE]); in TEST_P() [all …]
|
D | obmc_variance_test.cc | 23 #define MAX_SB_SQUARE (MAX_SB_SIZE * MAX_SB_SIZE) macro 45 DECLARE_ALIGNED(32, uint8_t, pre[MAX_SB_SQUARE]); in TEST_P() 46 DECLARE_ALIGNED(32, int32_t, wsrc[MAX_SB_SQUARE]); in TEST_P() 47 DECLARE_ALIGNED(32, int32_t, mask[MAX_SB_SQUARE]); in TEST_P() 52 for (int i = 0; i < MAX_SB_SQUARE; ++i) { in TEST_P() 71 DECLARE_ALIGNED(32, uint8_t, pre[MAX_SB_SQUARE]); in TEST_P() 72 DECLARE_ALIGNED(32, int32_t, wsrc[MAX_SB_SQUARE]); in TEST_P() 73 DECLARE_ALIGNED(32, int32_t, mask[MAX_SB_SQUARE]); in TEST_P() 78 for (int i = 0; i < MAX_SB_SQUARE; ++i) { in TEST_P() 97 DECLARE_ALIGNED(32, uint8_t, pre[MAX_SB_SQUARE]); in TEST_P() [all …]
|
D | reconinter_test.cc | 98 DECLARE_ALIGNED(16, uint8_t, mask_ref[2 * MAX_SB_SQUARE]); in RunCheckOutput() 99 DECLARE_ALIGNED(16, uint8_t, mask_test[2 * MAX_SB_SQUARE]); in RunCheckOutput() 100 DECLARE_ALIGNED(32, uint16_t, src0[MAX_SB_SQUARE]); in RunCheckOutput() 101 DECLARE_ALIGNED(32, uint16_t, src1[MAX_SB_SQUARE]); in RunCheckOutput() 108 for (int i = 0; i < MAX_SB_SQUARE; i++) { in RunCheckOutput() 139 DECLARE_ALIGNED(16, uint8_t, mask[MAX_SB_SQUARE]); in RunSpeedTest() 140 DECLARE_ALIGNED(32, uint16_t, src0[MAX_SB_SQUARE]); in RunSpeedTest() 141 DECLARE_ALIGNED(32, uint16_t, src1[MAX_SB_SQUARE]); in RunSpeedTest() 148 for (int i = 0; i < MAX_SB_SQUARE; i++) { in RunSpeedTest() 184 DECLARE_ALIGNED(16, uint8_t, mask_ref[MAX_SB_SQUARE]); in RunTest() [all …]
|
D | comp_mask_variance_test.cc | 84 comp_pred1_ = (uint8_t *)aom_memalign(16, MAX_SB_SQUARE); in SetUp() 85 comp_pred2_ = (uint8_t *)aom_memalign(16, MAX_SB_SQUARE); in SetUp() 86 pred_ = (uint8_t *)aom_memalign(16, MAX_SB_SQUARE); in SetUp() 87 ref_buffer_ = (uint8_t *)aom_memalign(16, MAX_SB_SQUARE + (8 * MAX_SB_SIZE)); in SetUp() 89 for (int i = 0; i < MAX_SB_SQUARE; ++i) { in SetUp() 92 for (int i = 0; i < MAX_SB_SQUARE + (8 * MAX_SB_SIZE); ++i) { in SetUp() 329 (uint16_t *)aom_memalign(16, MAX_SB_SQUARE * sizeof(*comp_pred1_)); in SetUp() 331 (uint16_t *)aom_memalign(16, MAX_SB_SQUARE * sizeof(*comp_pred2_)); in SetUp() 332 pred_ = (uint16_t *)aom_memalign(16, MAX_SB_SQUARE * sizeof(*pred_)); in SetUp() 334 16, (MAX_SB_SQUARE + (8 * MAX_SB_SIZE)) * sizeof(*ref_buffer_)); in SetUp() [all …]
|
D | av1_convolve_2d_test_util.cc | 48 DECLARE_ALIGNED(32, uint8_t, output[MAX_SB_SQUARE]); in RunCheckOutput() 49 DECLARE_ALIGNED(32, uint8_t, output2[MAX_SB_SQUARE]); in RunCheckOutput() 53 for (int i = 0; i < MAX_SB_SQUARE; ++i) in RunCheckOutput() 119 DECLARE_ALIGNED(32, uint8_t, output[MAX_SB_SQUARE]); in RunSpeedTest() 175 DECLARE_ALIGNED(32, CONV_BUF_TYPE, output1[MAX_SB_SQUARE]); in RunCheckOutput() 176 DECLARE_ALIGNED(32, CONV_BUF_TYPE, output2[MAX_SB_SQUARE]); in RunCheckOutput() 177 DECLARE_ALIGNED(16, uint8_t, output8_1[MAX_SB_SQUARE]); in RunCheckOutput() 178 DECLARE_ALIGNED(16, uint8_t, output8_2[MAX_SB_SQUARE]); in RunCheckOutput() 182 for (int i = 0; i < MAX_SB_SQUARE; ++i) { in RunCheckOutput() 312 DECLARE_ALIGNED(32, CONV_BUF_TYPE, output[MAX_SB_SQUARE]); in RunSpeedTest() [all …]
|
D | horver_correlation_test.cc | 37 data_buf_ = (int16_t *)aom_malloc(MAX_SB_SQUARE * sizeof(int16_t)); in SetUp() 60 for (int i = 0; i < MAX_SB_SQUARE; ++i) { in RunHorverTest() 79 for (int i = 0; i < MAX_SB_SQUARE; ++i) { in RunHorverSpeedTest() 110 for (int i = 0; i < MAX_SB_SQUARE; ++i) { in RunHorverTest_ExtremeValues()
|
D | comp_avg_pred_test.h | 208 DECLARE_ALIGNED(16, uint8_t, output[MAX_SB_SQUARE]); in RunCheckOutput() 209 DECLARE_ALIGNED(16, uint8_t, output2[MAX_SB_SQUARE]); in RunCheckOutput() 271 DECLARE_ALIGNED(16, uint8_t, output[MAX_SB_SQUARE]); in RunSpeedTest() 272 DECLARE_ALIGNED(16, uint8_t, output2[MAX_SB_SQUARE]); in RunSpeedTest()
|
/external/libaom/libaom/av1/encoder/ |
D | reconinter_enc.c | 231 CONVERT_TO_BYTEPTR(xd->tmp_obmc_bufs[0] + MAX_SB_SQUARE * len); in av1_build_obmc_inter_predictors_sb() 233 CONVERT_TO_BYTEPTR(xd->tmp_obmc_bufs[0] + MAX_SB_SQUARE * 2 * len); in av1_build_obmc_inter_predictors_sb() 236 CONVERT_TO_BYTEPTR(xd->tmp_obmc_bufs[1] + MAX_SB_SQUARE * len); in av1_build_obmc_inter_predictors_sb() 238 CONVERT_TO_BYTEPTR(xd->tmp_obmc_bufs[1] + MAX_SB_SQUARE * 2 * len); in av1_build_obmc_inter_predictors_sb() 241 dst_buf1[1] = xd->tmp_obmc_bufs[0] + MAX_SB_SQUARE; in av1_build_obmc_inter_predictors_sb() 242 dst_buf1[2] = xd->tmp_obmc_bufs[0] + MAX_SB_SQUARE * 2; in av1_build_obmc_inter_predictors_sb() 244 dst_buf2[1] = xd->tmp_obmc_bufs[1] + MAX_SB_SQUARE; in av1_build_obmc_inter_predictors_sb() 245 dst_buf2[2] = xd->tmp_obmc_bufs[1] + MAX_SB_SQUARE * 2; in av1_build_obmc_inter_predictors_sb()
|
D | block.h | 59 DECLARE_ALIGNED(32, int16_t, src_diff[MAX_SB_SQUARE]); 93 tran_low_t tcoeff[MAX_MB_PLANE][MAX_SB_SQUARE]; 94 uint16_t eobs[MAX_MB_PLANE][MAX_SB_SQUARE / (TX_SIZE_W_MIN * TX_SIZE_H_MIN)]; 98 [MAX_SB_SQUARE / (TX_SIZE_W_MIN * TX_SIZE_H_MIN)];
|
D | ethread.c | 433 16, MAX_MB_PLANE * MAX_SB_SQUARE * in create_enc_workers() 437 16, MAX_MB_PLANE * MAX_SB_SQUARE * in create_enc_workers() 443 16, MAX_SB_SQUARE * sizeof(*thread_data->td->wsrc_buf))); in create_enc_workers() 460 16, MAX_SB_SQUARE * sizeof(*thread_data->td->mask_buf))); in create_enc_workers() 479 aom_memalign(32, 2 * MAX_MB_PLANE * MAX_SB_SQUARE * in create_enc_workers()
|
D | compound_type.c | 206 DECLARE_ALIGNED(32, int16_t, residual0[MAX_SB_SQUARE]); // src - pred0 in pick_wedge() 349 DECLARE_ALIGNED(16, uint8_t, seg_mask[2 * MAX_SB_SQUARE]); in pick_interinter_seg() 397 DECLARE_ALIGNED(32, int16_t, residual1[MAX_SB_SQUARE]); // src - pred1 in pick_interintra_wedge() 398 DECLARE_ALIGNED(32, int16_t, diff10[MAX_SB_SQUARE]); // pred1 - pred0 in pick_interintra_wedge() 782 (uint8_t *)aom_memalign(16, 2 * MAX_SB_SQUARE * sizeof(*bufs->pred0)); in alloc_compound_type_rd_buffers_no_check() 784 (uint8_t *)aom_memalign(16, 2 * MAX_SB_SQUARE * sizeof(*bufs->pred1)); in alloc_compound_type_rd_buffers_no_check() 786 (int16_t *)aom_memalign(32, MAX_SB_SQUARE * sizeof(*bufs->residual1)); in alloc_compound_type_rd_buffers_no_check() 788 (int16_t *)aom_memalign(32, MAX_SB_SQUARE * sizeof(*bufs->diff10)); in alloc_compound_type_rd_buffers_no_check() 790 2 * MAX_SB_SQUARE * sizeof(*bufs->tmp_best_mask_buf)); in alloc_compound_type_rd_buffers_no_check()
|
D | k_means_template.h | 96 uint8_t pre_indices[MAX_SB_SQUARE]; in RENAME()
|
D | mcomp.c | 2050 DECLARE_ALIGNED(16, uint16_t, pred16[MAX_SB_SQUARE]); in upsampled_pref_error() 2071 DECLARE_ALIGNED(16, uint8_t, pred[MAX_SB_SQUARE]); in upsampled_pref_error() 2092 DECLARE_ALIGNED(16, uint8_t, pred[MAX_SB_SQUARE]); in upsampled_pref_error() 2408 DECLARE_ALIGNED(16, uint16_t, comp_pred16[MAX_SB_SQUARE]); in setup_center_error() 2418 DECLARE_ALIGNED(16, uint8_t, comp_pred[MAX_SB_SQUARE]); in setup_center_error() 2429 DECLARE_ALIGNED(16, uint8_t, comp_pred[MAX_SB_SQUARE]); in setup_center_error() 3026 DECLARE_ALIGNED(16, uint8_t, pred[2 * MAX_SB_SQUARE]); in upsampled_obmc_pref_error()
|
D | motion_search_facade.c | 384 DECLARE_ALIGNED(16, uint8_t, second_pred16[MAX_SB_SQUARE * sizeof(uint16_t)]); in av1_joint_motion_search() 685 DECLARE_ALIGNED(16, uint16_t, second_pred_alloc_16[MAX_SB_SQUARE]); in av1_compound_single_motion_search_interinter()
|
D | rdopt.c | 2259 const BUFFER_SET tmp_dst = { { tmp_buf, tmp_buf + 1 * MAX_SB_SQUARE, in handle_inter_mode() 2260 tmp_buf + 2 * MAX_SB_SQUARE }, in handle_inter_mode() 3419 CONVERT_TO_BYTEPTR(x->above_pred_buf + (MAX_SB_SQUARE >> 1) * len); in init_pred_buf() 3421 CONVERT_TO_BYTEPTR(x->above_pred_buf + MAX_SB_SQUARE * len); in init_pred_buf() 3424 CONVERT_TO_BYTEPTR(x->left_pred_buf + (MAX_SB_SQUARE >> 1) * len); in init_pred_buf() 3426 CONVERT_TO_BYTEPTR(x->left_pred_buf + MAX_SB_SQUARE * len); in init_pred_buf() 3429 args->above_pred_buf[1] = x->above_pred_buf + (MAX_SB_SQUARE >> 1); in init_pred_buf() 3430 args->above_pred_buf[2] = x->above_pred_buf + MAX_SB_SQUARE; in init_pred_buf() 3432 args->left_pred_buf[1] = x->left_pred_buf + (MAX_SB_SQUARE >> 1); in init_pred_buf() 3433 args->left_pred_buf[2] = x->left_pred_buf + MAX_SB_SQUARE; in init_pred_buf()
|
D | encoder.c | 2712 (uint8_t *)aom_memalign(16, 2 * MAX_SB_SQUARE * sizeof(*bufs->pred0))); in av1_alloc_compound_type_rd_buffers() 2715 (uint8_t *)aom_memalign(16, 2 * MAX_SB_SQUARE * sizeof(*bufs->pred1))); in av1_alloc_compound_type_rd_buffers() 2718 (int16_t *)aom_memalign(32, MAX_SB_SQUARE * sizeof(*bufs->residual1))); in av1_alloc_compound_type_rd_buffers() 2721 (int16_t *)aom_memalign(32, MAX_SB_SQUARE * sizeof(*bufs->diff10))); in av1_alloc_compound_type_rd_buffers() 2723 (uint8_t *)aom_malloc(2 * MAX_SB_SQUARE * in av1_alloc_compound_type_rd_buffers() 2892 aom_memalign(32, 2 * MAX_MB_PLANE * MAX_SB_SQUARE * in av1_change_config() 3182 (uint8_t *)aom_memalign(16, MAX_MB_PLANE * MAX_SB_SQUARE * in av1_create_compressor() 3186 (uint8_t *)aom_memalign(16, MAX_MB_PLANE * MAX_SB_SQUARE * in av1_create_compressor() 3191 16, MAX_SB_SQUARE * sizeof(*cpi->td.mb.wsrc_buf))); in av1_create_compressor() 3209 16, MAX_SB_SQUARE * sizeof(*cpi->td.mb.mask_buf))); in av1_create_compressor()
|
D | tx_search.c | 295 int16_t hash_data[MAX_SB_SQUARE]; in find_tx_size_rd_records() 2105 DECLARE_ALIGNED(32, tran_low_t, this_dqcoeff[MAX_SB_SQUARE]); in search_tx_type()
|
/external/libaom/libaom/av1/common/ |
D | blockd.h | 386 DECLARE_ALIGNED(32, tran_low_t, dqcoeff[MAX_MB_PLANE][MAX_SB_SQUARE]); 388 [MAX_SB_SQUARE / (TX_SIZE_W_MIN * TX_SIZE_H_MIN)]; 389 DECLARE_ALIGNED(16, uint8_t, color_index_map[2][MAX_SB_SQUARE]); 662 DECLARE_ALIGNED(16, uint8_t, seg_mask[2 * MAX_SB_SQUARE]);
|
D | enums.h | 30 #define MAX_SB_SQUARE (MAX_SB_SIZE * MAX_SB_SIZE) macro
|
D | reconinter.c | 675 DECLARE_ALIGNED(32, uint8_t, tmp_buf[2 * MAX_SB_SQUARE]); in av1_make_masked_inter_predictor() 1354 uint8_t mask[MAX_SB_SQUARE]; in combine_interintra_highbd() 1413 DECLARE_ALIGNED(16, uint16_t, intrapredictor[MAX_SB_SQUARE]); in av1_build_interintra_predictor() 1420 DECLARE_ALIGNED(16, uint8_t, intrapredictor[MAX_SB_SQUARE]); in av1_build_interintra_predictor()
|
/external/libaom/libaom/av1/decoder/ |
D | decodeframe.c | 791 dst_buf1[1] = xd->tmp_obmc_bufs[0] + MAX_SB_SQUARE; in set_dst_buf() 792 dst_buf1[2] = xd->tmp_obmc_bufs[0] + MAX_SB_SQUARE * 2; in set_dst_buf() 794 dst_buf2[1] = xd->tmp_obmc_bufs[1] + MAX_SB_SQUARE; in set_dst_buf() 795 dst_buf2[2] = xd->tmp_obmc_bufs[1] + MAX_SB_SQUARE * 2; in set_dst_buf() 803 dst_buf1[1] = CONVERT_TO_BYTEPTR(xd->tmp_obmc_bufs[0] + MAX_SB_SQUARE * len); in set_dst_buf_highbd() 805 CONVERT_TO_BYTEPTR(xd->tmp_obmc_bufs[0] + MAX_SB_SQUARE * 2 * len); in set_dst_buf_highbd() 807 dst_buf2[1] = CONVERT_TO_BYTEPTR(xd->tmp_obmc_bufs[1] + MAX_SB_SQUARE * len); in set_dst_buf_highbd() 809 CONVERT_TO_BYTEPTR(xd->tmp_obmc_bufs[1] + MAX_SB_SQUARE * 2 * len); in set_dst_buf_highbd() 3391 aom_memalign(16, 2 * MAX_MB_PLANE * MAX_SB_SQUARE * in allocate_mc_tmp_buf()
|