Home
last modified time | relevance | path

Searched refs:aom_memalign (Results 1 – 25 of 41) sorted by relevance

12

/external/libaom/libaom/test/
Dtransform_test_base.h54 aom_memalign(16, sizeof(int16_t) * num_coeffs_)); in RunAccuracyCheck()
56 aom_memalign(16, sizeof(tran_low_t) * num_coeffs_)); in RunAccuracyCheck()
58 aom_memalign(16, sizeof(uint8_t) * num_coeffs_)); in RunAccuracyCheck()
60 aom_memalign(16, sizeof(uint8_t) * num_coeffs_)); in RunAccuracyCheck()
62 aom_memalign(16, sizeof(uint16_t) * num_coeffs_)); in RunAccuracyCheck()
64 aom_memalign(16, sizeof(uint16_t) * num_coeffs_)); in RunAccuracyCheck()
125 aom_memalign(16, sizeof(int16_t) * stride * height_)); in RunCoeffCheck()
127 aom_memalign(16, sizeof(tran_low_t) * num_coeffs_)); in RunCoeffCheck()
129 aom_memalign(16, sizeof(tran_low_t) * num_coeffs_)); in RunCoeffCheck()
174 aom_memalign(16, sizeof(int16_t) * num_coeffs_)); in RunInvCoeffCheck()
[all …]
Dselfguided_filter_test.cc59 (uint8_t *)aom_memalign(32, stride * (height + 32) * sizeof(uint8_t)); in RunSpeedTest()
60 uint8_t *output_ = (uint8_t *)aom_memalign( in RunSpeedTest()
62 int32_t *tmpbuf = (int32_t *)aom_memalign(32, RESTORATION_TMPBUF_SIZE); in RunSpeedTest()
139 (uint8_t *)aom_memalign(32, stride * (max_h + 32) * sizeof(uint8_t)); in RunCorrectnessTest()
140 uint8_t *output_ = (uint8_t *)aom_memalign( in RunCorrectnessTest()
142 uint8_t *output2_ = (uint8_t *)aom_memalign( in RunCorrectnessTest()
144 int32_t *tmpbuf = (int32_t *)aom_memalign(32, RESTORATION_TMPBUF_SIZE); in RunCorrectnessTest()
240 (uint16_t *)aom_memalign(32, stride * (height + 32) * sizeof(uint16_t)); in RunSpeedTest()
241 uint16_t *output_ = (uint16_t *)aom_memalign( in RunSpeedTest()
243 int32_t *tmpbuf = (int32_t *)aom_memalign(32, RESTORATION_TMPBUF_SIZE); in RunSpeedTest()
[all …]
Dsubtract_test.cc48 aom_memalign(16, sizeof(*diff) * block_width * block_height * 2)); in TEST_P()
50 aom_memalign(16, block_width * block_height * 2)); in TEST_P()
52 aom_memalign(16, block_width * block_height * 2)); in TEST_P()
132 aom_memalign(16, max_block_size * sizeof(uint16_t)))); in SetUp()
134 aom_memalign(16, max_block_size * sizeof(uint16_t)))); in SetUp()
136 aom_memalign(16, max_block_size * sizeof(int16_t))); in SetUp()
Dfft_test.cc91 input_ = (float *)aom_memalign(32, sizeof(*input_) * n * n); in SetUp()
92 temp_ = (float *)aom_memalign(32, sizeof(*temp_) * n * n); in SetUp()
93 output_ = (float *)aom_memalign(32, sizeof(*output_) * n * n * 2); in SetUp()
176 input_ = (float *)aom_memalign(32, sizeof(*input_) * n * n * 2); in SetUp()
177 temp_ = (float *)aom_memalign(32, sizeof(*temp_) * n * n * 2); in SetUp()
178 output_ = (float *)aom_memalign(32, sizeof(*output_) * n * n); in SetUp()
Dcomp_mask_variance_test.cc83 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()
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()
334 ref_buffer_ = (uint16_t *)aom_memalign( in SetUp()
Dconvolve_round_test.cc72 aom_memalign(16, block_size * sizeof(*src_))); in SetUp()
74 aom_memalign(16, block_size * sizeof(*dst_ref_))); in SetUp()
76 aom_memalign(16, block_size * sizeof(*dst_))); in SetUp()
Dav1_highbd_iht_test.cc59 aom_memalign(16, sizeof(input_[0]) * num_coeffs_)); in SetUp()
66 aom_memalign(32, sizeof(coeffs_[0]) * num_coeffs_)); in SetUp()
68 aom_memalign(32, sizeof(output_[0]) * num_coeffs_)); in SetUp()
70 aom_memalign(32, sizeof(output_ref_[0]) * num_coeffs_)); in SetUp()
Dconvolve_test.cc274 aom_memalign(kDataAlignment, kInputBufferSize + 1)) + in SetUpTestCase()
277 aom_memalign(kDataAlignment, kOutputStride * kMaxDimension)); in SetUpTestCase()
279 aom_memalign(kDataAlignment, kOutputBufferSize)); in SetUpTestCase()
281 aom_memalign(kDataAlignment, kOutputBufferSize)); in SetUpTestCase()
282 input16_ = reinterpret_cast<uint16_t *>(aom_memalign( in SetUpTestCase()
285 ref16_ = reinterpret_cast<uint16_t *>(aom_memalign( in SetUpTestCase()
288 aom_memalign(kDataAlignment, (kOutputBufferSize) * sizeof(uint16_t))); in SetUpTestCase()
290 aom_memalign(kDataAlignment, (kOutputBufferSize) * sizeof(uint16_t))); in SetUpTestCase()
Dedge_detect_test.cc58 CONVERT_TO_BYTEPTR(aom_memalign(32, sizeof(uint16_t) * pad_w * pad_h)); in pad_8tap_convolve()
60 dst = (uint8_t *)aom_memalign(32, sizeof(uint8_t) * pad_w * pad_h); in pad_8tap_convolve()
88 uint8_t *buf = (uint8_t *)aom_memalign(32, bytes_per_entry * num_entries); in malloc_bd()
Dsad_test.cc73 aom_memalign(kDataAlignment, kDataBlockSize)); in SetUpTestCase()
75 aom_memalign(kDataAlignment, kDataBufferSize)); in SetUpTestCase()
77 reinterpret_cast<uint8_t *>(aom_memalign(kDataAlignment, 128 * 128)); in SetUpTestCase()
79 reinterpret_cast<uint8_t *>(aom_memalign(kDataAlignment, 128 * 128)); in SetUpTestCase()
81 reinterpret_cast<uint8_t *>(aom_memalign(kDataAlignment, 128 * 128)); in SetUpTestCase()
83 aom_memalign(kDataAlignment, kDataBlockSize * sizeof(uint16_t))); in SetUpTestCase()
85 aom_memalign(kDataAlignment, kDataBufferSize * sizeof(uint16_t))); in SetUpTestCase()
87 aom_memalign(kDataAlignment, 128 * 128 * sizeof(uint16_t))); in SetUpTestCase()
89 aom_memalign(kDataAlignment, 128 * 128 * sizeof(uint16_t))); in SetUpTestCase()
91 aom_memalign(kDataAlignment, 128 * 128 * sizeof(uint16_t))); in SetUpTestCase()
Dcfl_test.cc121 reinterpret_cast<I *>(aom_memalign(32, sizeof(I) * CFL_BUF_SQUARE)); in CFLTestWithAlignedData()
123 reinterpret_cast<I *>(aom_memalign(32, sizeof(I) * CFL_BUF_SQUARE)); in CFLTestWithAlignedData()
125 aom_memalign(32, sizeof(int16_t) * CFL_BUF_SQUARE)); in CFLTestWithAlignedData()
127 aom_memalign(32, sizeof(int16_t) * CFL_BUF_SQUARE)); in CFLTestWithAlignedData()
Dav1_fwd_txfm2d_test.cc56 aom_memalign(16, sizeof(input_[0]) * txfm2d_size_)); in SetUp()
58 aom_memalign(16, sizeof(output_[0]) * txfm2d_size_)); in SetUp()
60 aom_memalign(16, sizeof(ref_input_[0]) * txfm2d_size_)); in SetUp()
62 aom_memalign(16, sizeof(ref_output_[0]) * txfm2d_size_)); in SetUp()
Dsum_squares_test.cc50 src_ = reinterpret_cast<int16_t *>(aom_memalign(16, 256 * 256 * 2)); in SetUp()
247 src_ = reinterpret_cast<uint8_t *>(aom_memalign(32, 256 * 256 * 2)); in SetUp()
248 ref_ = reinterpret_cast<uint8_t *>(aom_memalign(32, 256 * 256 * 2)); in SetUp()
Dvariance_test.cc418 src_ = reinterpret_cast<uint8_t *>(aom_memalign(16, block_size() * unit)); in SetUp()
673 src_ = reinterpret_cast<uint8_t *>(aom_memalign(32, block_size())); in SetUp()
674 sec_ = reinterpret_cast<uint8_t *>(aom_memalign(32, block_size())); in SetUp()
676 aom_memalign(32, block_size() + width() + height() + 1)); in SetUp()
679 aom_memalign(32, block_size() * sizeof(uint16_t)))); in SetUp()
681 aom_memalign(32, block_size() * sizeof(uint16_t)))); in SetUp()
682 ref_ = CONVERT_TO_BYTEPTR(aom_memalign( in SetUp()
915 aom_memalign(32, block_size() + width() + height() + 1)); in SetUp()
917 pre_ = CONVERT_TO_BYTEPTR(reinterpret_cast<uint16_t *>(aom_memalign( in SetUp()
921 aom_memalign(32, block_size() * sizeof(uint32_t))); in SetUp()
[all …]
Dencodetxb_test.cc49 aom_memalign(16, sizeof(*coeff_contexts_ref_) * MAX_TX_SQUARE)); in SetUp()
52 aom_memalign(16, sizeof(*coeff_contexts_) * MAX_TX_SQUARE)); in SetUp()
Dwiener_test.cc123 src_buf = (uint8_t *)aom_memalign( in SetUp()
125 dgd_buf = (uint8_t *)aom_memalign( in SetUp()
397 src_buf = (uint16_t *)aom_memalign( in SetUp()
399 dgd_buf = (uint16_t *)aom_memalign( in SetUp()
/external/libaom/libaom/av1/encoder/
Dcontext_tree.c39 aom_memalign(32, num_blk * sizeof(*ctx->eobs[i]))); in alloc_mode_context()
42 aom_memalign(32, num_blk * sizeof(*ctx->txb_entropy_ctx[i]))); in alloc_mode_context()
49 aom_memalign(32, num_pix * sizeof(*ctx->color_index_map[i]))); in alloc_mode_context()
152 aom_memalign(32, max_num_pix * sizeof(tran_low_t))); in av1_setup_pc_tree()
154 aom_memalign(32, max_num_pix * sizeof(tran_low_t))); in av1_setup_pc_tree()
156 aom_memalign(32, max_num_pix * sizeof(tran_low_t))); in av1_setup_pc_tree()
Dethread.c411 aom_memalign(32, sizeof(*thread_data->td))); in create_enc_workers()
419 (uint8_t *)aom_memalign( in create_enc_workers()
423 (uint8_t *)aom_memalign( in create_enc_workers()
429 (int32_t *)aom_memalign( in create_enc_workers()
446 (int32_t *)aom_memalign( in create_enc_workers()
455 aom_memalign(16, sizeof(*thread_data->td->palette_buffer))); in create_enc_workers()
459 aom_memalign(32, MAX_SB_SIZE * MAX_SB_SIZE * in create_enc_workers()
464 aom_memalign(32, 2 * MAX_MB_PLANE * MAX_SB_SQUARE * in create_enc_workers()
479 (FRAME_CONTEXT *)aom_memalign(16, sizeof(*thread_data->td->tctx))); in create_enc_workers()
Dav1_multi_thread.c41 (FRAME_CONTEXT *)aom_memalign( in av1_row_mt_mem_alloc()
/external/libaom/libaom/aom_mem/
Daom_mem.c49 void *aom_memalign(size_t align, size_t size) { in aom_memalign() function
63 void *aom_malloc(size_t size) { return aom_memalign(DEFAULT_ALIGNMENT, size); } in aom_malloc()
Daom_mem.h35 void *aom_memalign(size_t align, size_t size);
/external/libaom/libaom/av1/common/
Dalloccommon.c116 (int32_t *)aom_memalign(16, RESTORATION_TMPBUF_SIZE)); in av1_alloc_restoration_buffers()
160 (uint8_t *)aom_memalign(32, buf_size)); in av1_alloc_restoration_buffers()
162 (uint8_t *)aom_memalign(32, buf_size)); in av1_alloc_restoration_buffers()
/external/libaom/libaom/aom_dsp/
Dnoise_util.c70 noise_tx->tx_block = (float *)aom_memalign( in aom_noise_tx_malloc()
72 noise_tx->temp = (float *)aom_memalign( in aom_noise_tx_malloc()
/external/libaom/libaom/aom_scale/generic/
Dyv12config.c106 ybf->buffer_alloc = (uint8_t *)aom_memalign(32, (size_t)frame_size); in realloc_frame_buffer_aligned()
157 ybf->y_buffer_8bit = (uint8_t *)aom_memalign(32, (size_t)yplane_size); in realloc_frame_buffer_aligned()
/external/libaom/libaom/av1/decoder/
Ddecoder.c74 AV1Decoder *volatile const pbi = aom_memalign(32, sizeof(*pbi)); in av1_decoder_create()
92 (FRAME_CONTEXT *)aom_memalign(32, sizeof(*cm->fc))); in av1_decoder_create()
95 (FRAME_CONTEXT *)aom_memalign(32, sizeof(*cm->default_frame_context))); in av1_decoder_create()

12