/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_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 | 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() 141 DECLARE_ALIGNED(32, uint16_t, pre[MAX_SB_SQUARE]); in TEST_P() [all …]
|
D | reconinter_test.cc | 97 DECLARE_ALIGNED(16, uint8_t, mask_ref[2 * MAX_SB_SQUARE]); in RunCheckOutput() 98 DECLARE_ALIGNED(16, uint8_t, mask_test[2 * MAX_SB_SQUARE]); in RunCheckOutput() 99 DECLARE_ALIGNED(32, uint16_t, src0[MAX_SB_SQUARE]); in RunCheckOutput() 100 DECLARE_ALIGNED(32, uint16_t, src1[MAX_SB_SQUARE]); in RunCheckOutput() 107 for (int i = 0; i < MAX_SB_SQUARE; i++) { in RunCheckOutput() 138 DECLARE_ALIGNED(16, uint8_t, mask[MAX_SB_SQUARE]); in RunSpeedTest() 139 DECLARE_ALIGNED(32, uint16_t, src0[MAX_SB_SQUARE]); in RunSpeedTest() 140 DECLARE_ALIGNED(32, uint16_t, src1[MAX_SB_SQUARE]); in RunSpeedTest() 147 for (int i = 0; i < MAX_SB_SQUARE; i++) { in RunSpeedTest() 183 DECLARE_ALIGNED(16, uint8_t, mask_ref[MAX_SB_SQUARE]); in RunTest() [all …]
|
D | comp_mask_variance_test.cc | 83 comp_pred1_ = (uint8_t *)aom_memalign(16, MAX_SB_SQUARE); in SetUp() 84 comp_pred2_ = (uint8_t *)aom_memalign(16, MAX_SB_SQUARE); in SetUp() 85 pred_ = (uint8_t *)aom_memalign(16, MAX_SB_SQUARE); in SetUp() 86 ref_buffer_ = (uint8_t *)aom_memalign(16, MAX_SB_SQUARE + (8 * MAX_SB_SIZE)); in SetUp() 88 for (int i = 0; i < MAX_SB_SQUARE; ++i) { in SetUp() 91 for (int i = 0; i < MAX_SB_SQUARE + (8 * MAX_SB_SIZE); ++i) { in SetUp() 330 (uint16_t *)aom_memalign(16, MAX_SB_SQUARE * sizeof(*comp_pred1_)); in SetUp() 332 (uint16_t *)aom_memalign(16, MAX_SB_SQUARE * sizeof(*comp_pred2_)); in SetUp() 333 pred_ = (uint16_t *)aom_memalign(16, MAX_SB_SQUARE * sizeof(*pred_)); in SetUp() 335 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 | 35 data_buf_ = (int16_t *)aom_malloc(MAX_SB_SQUARE * sizeof(int16_t)); in SetUp() 58 for (int i = 0; i < MAX_SB_SQUARE; ++i) { in RunHorverTest() 77 for (int i = 0; i < MAX_SB_SQUARE; ++i) { in RunHorverSpeedTest() 108 for (int i = 0; i < MAX_SB_SQUARE; ++i) { in RunHorverTest_ExtremeValues()
|
D | comp_avg_pred_test.h | 204 DECLARE_ALIGNED(16, uint8_t, output[MAX_SB_SQUARE]); in RunCheckOutput() 205 DECLARE_ALIGNED(16, uint8_t, output2[MAX_SB_SQUARE]); in RunCheckOutput() 267 DECLARE_ALIGNED(16, uint8_t, output[MAX_SB_SQUARE]); in RunSpeedTest() 268 DECLARE_ALIGNED(16, uint8_t, output2[MAX_SB_SQUARE]); in RunSpeedTest()
|
/external/libaom/libaom/av1/encoder/ |
D | block.h | 34 DECLARE_ALIGNED(16, int16_t, src_diff[MAX_SB_SQUARE]); 68 tran_low_t tcoeff[MAX_MB_PLANE][MAX_SB_SQUARE]; 69 uint16_t eobs[MAX_MB_PLANE][MAX_SB_SQUARE / (TX_SIZE_W_MIN * TX_SIZE_H_MIN)]; 71 [MAX_SB_SQUARE / (TX_SIZE_W_MIN * TX_SIZE_H_MIN)]; 73 [MAX_SB_SQUARE / (TX_SIZE_W_MIN * TX_SIZE_H_MIN)];
|
D | reconinter_enc.c | 434 CONVERT_TO_BYTEPTR(xd->tmp_obmc_bufs[0] + MAX_SB_SQUARE * len); in av1_build_obmc_inter_predictors_sb() 436 CONVERT_TO_BYTEPTR(xd->tmp_obmc_bufs[0] + MAX_SB_SQUARE * 2 * len); in av1_build_obmc_inter_predictors_sb() 439 CONVERT_TO_BYTEPTR(xd->tmp_obmc_bufs[1] + MAX_SB_SQUARE * len); in av1_build_obmc_inter_predictors_sb() 441 CONVERT_TO_BYTEPTR(xd->tmp_obmc_bufs[1] + MAX_SB_SQUARE * 2 * len); in av1_build_obmc_inter_predictors_sb() 444 dst_buf1[1] = xd->tmp_obmc_bufs[0] + MAX_SB_SQUARE; in av1_build_obmc_inter_predictors_sb() 445 dst_buf1[2] = xd->tmp_obmc_bufs[0] + MAX_SB_SQUARE * 2; in av1_build_obmc_inter_predictors_sb() 447 dst_buf2[1] = xd->tmp_obmc_bufs[1] + MAX_SB_SQUARE; in av1_build_obmc_inter_predictors_sb() 448 dst_buf2[2] = xd->tmp_obmc_bufs[1] + MAX_SB_SQUARE * 2; in av1_build_obmc_inter_predictors_sb()
|
D | ethread.c | 420 16, MAX_MB_PLANE * MAX_SB_SQUARE * in create_enc_workers() 424 16, MAX_MB_PLANE * MAX_SB_SQUARE * in create_enc_workers() 430 16, MAX_SB_SQUARE * sizeof(*thread_data->td->wsrc_buf))); in create_enc_workers() 447 16, MAX_SB_SQUARE * sizeof(*thread_data->td->mask_buf))); in create_enc_workers() 464 aom_memalign(32, 2 * MAX_MB_PLANE * MAX_SB_SQUARE * in create_enc_workers()
|
D | k_means_template.h | 96 uint8_t pre_indices[MAX_SB_SQUARE]; in RENAME()
|
D | rdopt.c | 1149 DECLARE_ALIGNED(16, od_coeff, e[MAX_SB_SQUARE]); in od_compute_dist() 1150 DECLARE_ALIGNED(16, od_coeff, tmp[MAX_SB_SQUARE]); in od_compute_dist() 1151 DECLARE_ALIGNED(16, od_coeff, e_lp[MAX_SB_SQUARE]); in od_compute_dist() 1177 DECLARE_ALIGNED(16, uint16_t, y[MAX_SB_SQUARE]); in od_compute_dist_diff() 1178 DECLARE_ALIGNED(16, od_coeff, tmp[MAX_SB_SQUARE]); in od_compute_dist_diff() 1179 DECLARE_ALIGNED(16, od_coeff, e_lp[MAX_SB_SQUARE]); in od_compute_dist_diff() 1208 DECLARE_ALIGNED(16, uint16_t, orig[MAX_SB_SQUARE]); in av1_dist_8x8() 1209 DECLARE_ALIGNED(16, uint16_t, rec[MAX_SB_SQUARE]); in av1_dist_8x8() 1300 DECLARE_ALIGNED(16, uint16_t, orig[MAX_SB_SQUARE]); in dist_8x8_diff() 1301 DECLARE_ALIGNED(16, int16_t, diff16[MAX_SB_SQUARE]); in dist_8x8_diff() [all …]
|
D | mcomp.c | 342 DECLARE_ALIGNED(16, uint16_t, comp_pred16[MAX_SB_SQUARE]); in setup_center_error() 353 DECLARE_ALIGNED(16, uint8_t, comp_pred[MAX_SB_SQUARE]); in setup_center_error() 647 DECLARE_ALIGNED(16, uint16_t, pred16[MAX_SB_SQUARE]); in upsampled_pref_error() 667 DECLARE_ALIGNED(16, uint8_t, pred[MAX_SB_SQUARE]); in upsampled_pref_error() 2549 DECLARE_ALIGNED(16, uint8_t, pred[2 * MAX_SB_SQUARE]); in upsampled_obmc_pref_error()
|
D | encoder.c | 2476 aom_memalign(32, 2 * MAX_MB_PLANE * MAX_SB_SQUARE * in av1_change_config() 2699 (uint8_t *)aom_memalign(16, MAX_MB_PLANE * MAX_SB_SQUARE * in av1_create_compressor() 2703 (uint8_t *)aom_memalign(16, MAX_MB_PLANE * MAX_SB_SQUARE * in av1_create_compressor() 2708 16, MAX_SB_SQUARE * sizeof(*cpi->td.mb.wsrc_buf))); in av1_create_compressor() 2725 16, MAX_SB_SQUARE * sizeof(*cpi->td.mb.mask_buf))); in av1_create_compressor()
|
/external/libaom/libaom/av1/common/ |
D | blockd.h | 387 DECLARE_ALIGNED(32, tran_low_t, dqcoeff[MAX_MB_PLANE][MAX_SB_SQUARE]); 389 [MAX_SB_SQUARE / (TX_SIZE_W_MIN * TX_SIZE_H_MIN)]; 390 DECLARE_ALIGNED(16, uint8_t, color_index_map[2][MAX_SB_SQUARE]); 582 DECLARE_ALIGNED(16, uint8_t, seg_mask[2 * MAX_SB_SQUARE]);
|
D | reconinter.c | 600 tmp_buf[INTER_PRED_BYTES_PER_PIXEL * MAX_SB_SQUARE]); in av1_make_masked_inter_predictor() 1061 uint8_t mask[MAX_SB_SQUARE]; in combine_interintra() 1088 uint8_t mask[MAX_SB_SQUARE]; in combine_interintra_highbd() 1144 DECLARE_ALIGNED(16, uint16_t, intrapredictor[MAX_SB_SQUARE]); in av1_build_interintra_predictors_sbp() 1151 DECLARE_ALIGNED(16, uint8_t, intrapredictor[MAX_SB_SQUARE]); in av1_build_interintra_predictors_sbp()
|
D | enums.h | 30 #define MAX_SB_SQUARE (MAX_SB_SIZE * MAX_SB_SIZE) macro
|
/external/libaom/libaom/av1/decoder/ |
D | decodeframe.c | 1023 CONVERT_TO_BYTEPTR(xd->tmp_obmc_bufs[0] + MAX_SB_SQUARE * len); in dec_build_obmc_inter_predictors_sb() 1025 CONVERT_TO_BYTEPTR(xd->tmp_obmc_bufs[0] + MAX_SB_SQUARE * 2 * len); in dec_build_obmc_inter_predictors_sb() 1028 CONVERT_TO_BYTEPTR(xd->tmp_obmc_bufs[1] + MAX_SB_SQUARE * len); in dec_build_obmc_inter_predictors_sb() 1030 CONVERT_TO_BYTEPTR(xd->tmp_obmc_bufs[1] + MAX_SB_SQUARE * 2 * len); in dec_build_obmc_inter_predictors_sb() 1033 dst_buf1[1] = xd->tmp_obmc_bufs[0] + MAX_SB_SQUARE; in dec_build_obmc_inter_predictors_sb() 1034 dst_buf1[2] = xd->tmp_obmc_bufs[0] + MAX_SB_SQUARE * 2; in dec_build_obmc_inter_predictors_sb() 1036 dst_buf2[1] = xd->tmp_obmc_bufs[1] + MAX_SB_SQUARE; in dec_build_obmc_inter_predictors_sb() 1037 dst_buf2[2] = xd->tmp_obmc_bufs[1] + MAX_SB_SQUARE * 2; in dec_build_obmc_inter_predictors_sb() 3770 aom_memalign(16, 2 * MAX_MB_PLANE * MAX_SB_SQUARE * in allocate_mc_tmp_buf()
|