Home
last modified time | relevance | path

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

12

/external/libaom/libaom/test/
Dtransform_test_base.h57 aom_memalign(16, sizeof(int16_t) * num_coeffs_)); in RunAccuracyCheck()
59 aom_memalign(16, sizeof(test_temp_block[0]) * num_coeffs_)); in RunAccuracyCheck()
61 aom_memalign(16, sizeof(uint8_t) * num_coeffs_)); in RunAccuracyCheck()
63 aom_memalign(16, sizeof(uint8_t) * num_coeffs_)); in RunAccuracyCheck()
65 aom_memalign(16, sizeof(uint16_t) * num_coeffs_)); in RunAccuracyCheck()
67 aom_memalign(16, sizeof(uint16_t) * num_coeffs_)); in RunAccuracyCheck()
128 aom_memalign(16, sizeof(int16_t) * stride * height_)); in RunCoeffCheck()
130 aom_memalign(16, sizeof(output_ref_block[0]) * num_coeffs_)); in RunCoeffCheck()
132 aom_memalign(16, sizeof(output_block[0]) * num_coeffs_)); in RunCoeffCheck()
177 aom_memalign(16, sizeof(int16_t) * num_coeffs_)); in RunInvCoeffCheck()
[all …]
Dselfguided_filter_test.cc60 (uint8_t *)aom_memalign(32, stride * (height + 32) * sizeof(uint8_t)); in RunSpeedTest()
61 uint8_t *output_ = (uint8_t *)aom_memalign( in RunSpeedTest()
63 int32_t *tmpbuf = (int32_t *)aom_memalign(32, RESTORATION_TMPBUF_SIZE); in RunSpeedTest()
141 (uint8_t *)aom_memalign(32, stride * (max_h + 32) * sizeof(uint8_t)); in RunCorrectnessTest()
142 uint8_t *output_ = (uint8_t *)aom_memalign( in RunCorrectnessTest()
144 uint8_t *output2_ = (uint8_t *)aom_memalign( in RunCorrectnessTest()
146 int32_t *tmpbuf = (int32_t *)aom_memalign(32, RESTORATION_TMPBUF_SIZE); in RunCorrectnessTest()
247 (uint16_t *)aom_memalign(32, stride * (height + 32) * sizeof(uint16_t)); in RunSpeedTest()
248 uint16_t *output_ = (uint16_t *)aom_memalign( in RunSpeedTest()
250 int32_t *tmpbuf = (int32_t *)aom_memalign(32, RESTORATION_TMPBUF_SIZE); in RunSpeedTest()
[all …]
Dframe_error_test.cc61 static_cast<uint8_t *>(aom_memalign(16, max_blk_size * sizeof(*dst))); in RandomValues()
63 static_cast<uint8_t *>(aom_memalign(16, max_blk_size * sizeof(*ref))); in RandomValues()
83 static_cast<uint8_t *>(aom_memalign(16, max_blk_size * sizeof(*dst))); in ExtremeValues()
85 static_cast<uint8_t *>(aom_memalign(16, max_blk_size * sizeof(*ref))); in ExtremeValues()
111 static_cast<uint8_t *>(aom_memalign(16, max_blk_size * sizeof(*dst))); in RunSpeedTest()
113 static_cast<uint8_t *>(aom_memalign(16, max_blk_size * sizeof(*ref))); in RunSpeedTest()
Dsubtract_test.cc50 aom_memalign(16, sizeof(*diff) * block_width * block_height * 2)); in TEST_P()
52 aom_memalign(16, block_width * block_height * 2)); in TEST_P()
54 aom_memalign(16, block_width * block_height * 2)); in TEST_P()
135 aom_memalign(16, max_block_size * sizeof(uint16_t)))); in SetUp()
137 aom_memalign(16, max_block_size * sizeof(uint16_t)))); in SetUp()
139 aom_memalign(16, max_block_size * sizeof(int16_t))); in SetUp()
Dfft_test.cc92 input_ = (float *)aom_memalign(32, sizeof(*input_) * n * n); in SetUp()
93 temp_ = (float *)aom_memalign(32, sizeof(*temp_) * n * n); in SetUp()
94 output_ = (float *)aom_memalign(32, sizeof(*output_) * n * n * 2); in SetUp()
177 input_ = (float *)aom_memalign(32, sizeof(*input_) * n * n * 2); in SetUp()
178 temp_ = (float *)aom_memalign(32, sizeof(*temp_) * n * n * 2); in SetUp()
179 output_ = (float *)aom_memalign(32, sizeof(*output_) * n * n); in SetUp()
Dcomp_mask_variance_test.cc84 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()
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()
333 ref_buffer_ = (uint16_t *)aom_memalign( in SetUp()
Davg_test.cc47 aom_memalign(kDataAlignment, kDataBlockSize * sizeof(source_data_[0]))); in SetUp()
157 aom_memalign(kDataAlignment, kDataBlockSize * sizeof(source_data_[0]))); in SetUp()
161 aom_memalign(kDataAlignment, sizeof(*hbuf_asm_) * 16)); in SetUp()
163 aom_memalign(kDataAlignment, sizeof(*hbuf_c_) * 16)); in SetUp()
Dconvolve_round_test.cc73 aom_memalign(16, block_size * sizeof(*src_))); in SetUp()
75 aom_memalign(16, block_size * sizeof(*dst_ref_))); in SetUp()
77 aom_memalign(16, block_size * sizeof(*dst_))); in SetUp()
Dav1_highbd_iht_test.cc78 aom_memalign(16, sizeof(input_[0]) * num_coeffs_)); in SetUp()
85 aom_memalign(32, sizeof(coeffs_[0]) * num_coeffs_)); in SetUp()
87 aom_memalign(32, sizeof(output_[0]) * num_coeffs_)); in SetUp()
89 aom_memalign(32, sizeof(output_ref_[0]) * num_coeffs_)); in SetUp()
Dconvolve_test.cc275 aom_memalign(kDataAlignment, kInputBufferSize + 1)) + in SetUpTestCase()
278 aom_memalign(kDataAlignment, kOutputStride * kMaxDimension)); in SetUpTestCase()
280 aom_memalign(kDataAlignment, kOutputBufferSize)); in SetUpTestCase()
282 aom_memalign(kDataAlignment, kOutputBufferSize)); in SetUpTestCase()
283 input16_ = reinterpret_cast<uint16_t *>(aom_memalign( in SetUpTestCase()
286 ref16_ = reinterpret_cast<uint16_t *>(aom_memalign( in SetUpTestCase()
289 aom_memalign(kDataAlignment, (kOutputBufferSize) * sizeof(uint16_t))); in SetUpTestCase()
291 aom_memalign(kDataAlignment, (kOutputBufferSize) * sizeof(uint16_t))); in SetUpTestCase()
Dsum_squares_test.cc51 src_ = reinterpret_cast<int16_t *>(aom_memalign(16, 256 * 256 * 2)); in SetUp()
253 src_ = reinterpret_cast<uint8_t *>(aom_memalign(32, 256 * 256 * 2)); in SetUp()
254 ref_ = reinterpret_cast<uint8_t *>(aom_memalign(32, 256 * 256 * 2)); in SetUp()
440 src_ = reinterpret_cast<int16_t *>(aom_memalign(32, 256 * 256 * 2)); in SetUp()
585 aom_memalign(16, 512 * 512 * sizeof(uint8_t))); in SetUp()
715 aom_memalign(16, 512 * 512 * sizeof(uint16_t))); in SetUp()
Dedge_detect_test.cc60 CONVERT_TO_BYTEPTR(aom_memalign(32, sizeof(uint16_t) * pad_w * pad_h)); in pad_8tap_convolve()
62 dst = (uint8_t *)aom_memalign(32, sizeof(uint8_t) * pad_w * pad_h); in pad_8tap_convolve()
107 uint8_t *buf = (uint8_t *)aom_memalign(32, bytes_per_entry * num_entries); in malloc_bd()
Dav1_fwd_txfm2d_test.cc57 aom_memalign(16, sizeof(input_[0]) * txfm2d_size_)); in SetUp()
59 aom_memalign(16, sizeof(output_[0]) * txfm2d_size_)); in SetUp()
61 aom_memalign(16, sizeof(ref_input_[0]) * txfm2d_size_)); in SetUp()
63 aom_memalign(16, sizeof(ref_output_[0]) * txfm2d_size_)); in SetUp()
Dtemporal_filter_planewise_test.cc59 src1_ = reinterpret_cast<uint8_t *>(aom_memalign(8, 256 * 256)); in SetUp()
60 src2_ = reinterpret_cast<uint8_t *>(aom_memalign(8, 256 * 256)); in SetUp()
Dcfl_test.cc130 reinterpret_cast<I *>(aom_memalign(32, sizeof(I) * CFL_BUF_SQUARE)); in CFLTestWithAlignedData()
132 reinterpret_cast<I *>(aom_memalign(32, sizeof(I) * CFL_BUF_SQUARE)); in CFLTestWithAlignedData()
134 aom_memalign(32, sizeof(int16_t) * CFL_BUF_SQUARE)); in CFLTestWithAlignedData()
136 aom_memalign(32, sizeof(int16_t) * CFL_BUF_SQUARE)); in CFLTestWithAlignedData()
Dencodetxb_test.cc50 aom_memalign(16, sizeof(*coeff_contexts_ref_) * MAX_TX_SQUARE)); in SetUp()
53 aom_memalign(16, sizeof(*coeff_contexts_) * MAX_TX_SQUARE)); in SetUp()
Dsad_test.cc79 aom_memalign(kDataAlignment, kDataBlockSize)); in SetUpTestCase()
81 aom_memalign(kDataAlignment, kDataBufferSize)); in SetUpTestCase()
83 reinterpret_cast<uint8_t *>(aom_memalign(kDataAlignment, 128 * 128)); in SetUpTestCase()
85 reinterpret_cast<uint8_t *>(aom_memalign(kDataAlignment, 128 * 128)); in SetUpTestCase()
87 reinterpret_cast<uint8_t *>(aom_memalign(kDataAlignment, 128 * 128)); in SetUpTestCase()
89 aom_memalign(kDataAlignment, kDataBlockSize * sizeof(uint16_t))); in SetUpTestCase()
91 aom_memalign(kDataAlignment, kDataBufferSize * sizeof(uint16_t))); in SetUpTestCase()
93 aom_memalign(kDataAlignment, 128 * 128 * sizeof(uint16_t))); in SetUpTestCase()
95 aom_memalign(kDataAlignment, 128 * 128 * sizeof(uint16_t))); in SetUpTestCase()
97 aom_memalign(kDataAlignment, 128 * 128 * sizeof(uint16_t))); in SetUpTestCase()
/external/libaom/libaom/av1/encoder/
Dcontext_tree.c42 aom_memalign(32, num_blk * sizeof(*ctx->eobs[i]))); in alloc_mode_context()
45 aom_memalign(32, num_blk * sizeof(*ctx->txb_entropy_ctx[i]))); in alloc_mode_context()
52 aom_memalign(32, num_pix * sizeof(*ctx->color_index_map[i]))); in alloc_mode_context()
168 aom_memalign(32, max_num_pix * sizeof(tran_low_t))); in av1_setup_pc_tree()
170 aom_memalign(32, max_num_pix * sizeof(tran_low_t))); in av1_setup_pc_tree()
172 aom_memalign(32, max_num_pix * sizeof(tran_low_t))); in av1_setup_pc_tree()
Dethread.c424 aom_memalign(32, sizeof(*thread_data->td))); in create_enc_workers()
432 (uint8_t *)aom_memalign( in create_enc_workers()
436 (uint8_t *)aom_memalign( in create_enc_workers()
442 (int32_t *)aom_memalign( in create_enc_workers()
459 (int32_t *)aom_memalign( in create_enc_workers()
468 aom_memalign(16, sizeof(*thread_data->td->palette_buffer))); in create_enc_workers()
474 aom_memalign(32, MAX_SB_SIZE * MAX_SB_SIZE * in create_enc_workers()
479 aom_memalign(32, 2 * MAX_MB_PLANE * MAX_SB_SQUARE * in create_enc_workers()
506 (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.c62 (int32_t *)aom_memalign(16, RESTORATION_TMPBUF_SIZE)); in av1_alloc_restoration_buffers()
106 (uint8_t *)aom_memalign(32, buf_size)); in av1_alloc_restoration_buffers()
108 (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.c107 ybf->buffer_alloc = (uint8_t *)aom_memalign(32, (size_t)frame_size); in realloc_frame_buffer_aligned()
158 ybf->y_buffer_8bit = (uint8_t *)aom_memalign(32, (size_t)yplane_size); in realloc_frame_buffer_aligned()

12