Home
last modified time | relevance | path

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

/external/libvpx/libvpx/vpx_mem/
Dvpx_mem.c21 void *vpx_memalign(size_t align, size_t size) { in vpx_memalign() function
37 return vpx_memalign(DEFAULT_ALIGNMENT, size); in vpx_malloc()
43 x = vpx_memalign(DEFAULT_ALIGNMENT, num * size); in vpx_calloc()
Dvpx_mem.h27 void *vpx_memalign(size_t align, size_t size);
/external/libvpx/libvpx/test/
Dvp9_subtract_test.cc47 vpx_memalign(16, sizeof(*diff) * block_width * block_height * 2)); in TEST_P()
49 vpx_memalign(16, block_width * block_height * 2)); in TEST_P()
51 vpx_memalign(16, block_width * block_height * 2)); in TEST_P()
Dconsistency_test.cc45 vpx_memalign(kDataAlignment, kDataBufferSize)); in SetUpTestCase()
47 vpx_memalign(kDataAlignment, kDataBufferSize)); in SetUpTestCase()
49 vpx_memalign(kDataAlignment, kDataBufferSize)); in SetUpTestCase()
51 vpx_memalign(kDataAlignment, kDataBufferSize)); in SetUpTestCase()
Dsixtap_predict_test.cc41 src_ = reinterpret_cast<uint8_t*>(vpx_memalign(kDataAlignment, kSrcSize)); in SetUpTestCase()
42 dst_ = reinterpret_cast<uint8_t*>(vpx_memalign(kDataAlignment, kDstSize)); in SetUpTestCase()
43 dst_c_ = reinterpret_cast<uint8_t*>(vpx_memalign(kDataAlignment, kDstSize)); in SetUpTestCase()
Dvp9_avg_test.cc37 vpx_memalign(kDataAlignment, kDataBlockSize)); in SetUpTestCase()
144 vpx_memalign(kDataAlignment, sizeof(*hbuf_asm_) * 16)); in SetUp()
146 vpx_memalign(kDataAlignment, sizeof(*hbuf_c_) * 16)); in SetUp()
Dblockiness_test.cc44 vpx_memalign(kDataAlignment, kDataBufferSize)); in SetUpTestCase()
46 vpx_memalign(kDataAlignment, kDataBufferSize)); in SetUpTestCase()
Dpp_filter_test.cc65 reinterpret_cast<uint8_t *>(vpx_memalign(16, block_width)); in TEST_P()
Dconvolve_test.cc318 vpx_memalign(kDataAlignment, kInputBufferSize + 1)) + 1; in SetUpTestCase()
320 vpx_memalign(kDataAlignment, kOutputBufferSize)); in SetUpTestCase()
322 vpx_memalign(kDataAlignment, kOutputBufferSize)); in SetUpTestCase()
325 vpx_memalign(kDataAlignment, in SetUpTestCase()
328 vpx_memalign(kDataAlignment, (kOutputBufferSize) * sizeof(uint16_t))); in SetUpTestCase()
330 vpx_memalign(kDataAlignment, (kOutputBufferSize) * sizeof(uint16_t))); in SetUpTestCase()
Dsad_test.cc58 vpx_memalign(kDataAlignment, kDataBlockSize)); in SetUpTestCase()
60 vpx_memalign(kDataAlignment, kDataBufferSize)); in SetUpTestCase()
62 vpx_memalign(kDataAlignment, 64*64)); in SetUpTestCase()
64 vpx_memalign(kDataAlignment, kDataBlockSize*sizeof(uint16_t))); in SetUpTestCase()
66 vpx_memalign(kDataAlignment, kDataBufferSize*sizeof(uint16_t))); in SetUpTestCase()
68 vpx_memalign(kDataAlignment, 64*64*sizeof(uint16_t))); in SetUpTestCase()
Dquantize_test.cc71 vpx_memalign(32, sizeof(*macroblockd_dst_))); in SetupCompressor()
Dvariance_test.cc235 src_ = reinterpret_cast<uint8_t *>(vpx_memalign(16, block_size_ * 2)); in SetUp()
240 vpx_memalign(16, block_size_ * 2 * sizeof(uint16_t)))); in SetUp()
405 src_ = reinterpret_cast<uint8_t *>(vpx_memalign(16, block_size_)); in SetUp()
566 src_ = reinterpret_cast<uint8_t *>(vpx_memalign(16, block_size_)); in SetUp()
567 sec_ = reinterpret_cast<uint8_t *>(vpx_memalign(16, block_size_)); in SetUp()
573 vpx_memalign(16, block_size_*sizeof(uint16_t)))); in SetUp()
576 vpx_memalign(16, block_size_*sizeof(uint16_t)))); in SetUp()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_context_tree.c33 vpx_memalign(32, num_pix * sizeof(*ctx->coeff[i][k]))); in alloc_mode_context()
35 vpx_memalign(32, num_pix * sizeof(*ctx->qcoeff[i][k]))); in alloc_mode_context()
37 vpx_memalign(32, num_pix * sizeof(*ctx->dqcoeff[i][k]))); in alloc_mode_context()
39 vpx_memalign(32, num_blk * sizeof(*ctx->eobs[i][k]))); in alloc_mode_context()
Dvp9_ethread.c106 vpx_memalign(32, sizeof(*thread_data->td))); in vp9_encode_tiles_mt()
Dvp9_encoder.c1611 VP9_COMP *volatile const cpi = vpx_memalign(32, sizeof(VP9_COMP)); in vp9_create_compressor()
/external/libvpx/libvpx/vpx_scale/generic/
Dyv12config.c63 ybf->buffer_alloc = (uint8_t *)vpx_memalign(32, frame_size); in vp8_yv12_realloc_frame_buffer()
214 ybf->buffer_alloc = (uint8_t *)vpx_memalign(32, (size_t)frame_size); in vpx_realloc_frame_buffer()
/external/libvpx/libvpx/vp8/decoder/
Dthreading.c35 CHECK_MEM_ERROR((p), vpx_memalign((algn), sizeof(*(p)) * (n))); \
805 …CHECK_MEM_ERROR(pbi->mt_yabove_row[i], vpx_memalign(16,sizeof(unsigned char) * (width + (VP8BORDER… in vp8mt_alloc_temp_buffers()
809 …CHECK_MEM_ERROR(pbi->mt_uabove_row[i], vpx_memalign(16,sizeof(unsigned char) * (uv_width + VP8BORD… in vp8mt_alloc_temp_buffers()
813 …CHECK_MEM_ERROR(pbi->mt_vabove_row[i], vpx_memalign(16,sizeof(unsigned char) * (uv_width + VP8BORD… in vp8mt_alloc_temp_buffers()
Donyxd_if.c70 VP8D_COMP *pbi = vpx_memalign(32, sizeof(VP8D_COMP)); in create_decompressor()
/external/libvpx/libvpx/vp8/common/
Dalloccommon.c115 oci->pp_limits_buffer = vpx_memalign(16, 24 * ((oci->mb_cols + 1) & ~1)); in vp8_alloc_frame_buffers()
/external/libvpx/libvpx/vpx/src/
Dvpx_image.c155 img->img_data = (uint8_t *)vpx_memalign(buf_align, (size_t)alloc_size); in img_alloc_helper()
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decoder.c77 VP9Decoder *volatile const pbi = vpx_memalign(32, sizeof(*pbi)); in vp9_decoder_create()
Dvp9_decodeframe.c1442 vpx_memalign(32, sizeof(LFWorkerData))); in decode_tiles()
1479 vpx_memalign(32, tile_cols * tile_rows * (sizeof(*pbi->tile_data)))); in decode_tiles()
1652 vpx_memalign(32, num_threads * in decode_tiles_mt()
/external/libvpx/libvpx/vp8/encoder/
Dethreading.c545 vpx_memalign(32, sizeof(MB_ROW_COMP) * th_count)); in vp8cx_create_encoder_threads()
Donyx_if.c1846 cpi = vpx_memalign(32, sizeof(VP8_COMP)); in vp8_create_compressor()
/external/libvpx/libvpx/vp9/
Dvp9_dx_iface.c363 worker->data1 = vpx_memalign(32, sizeof(FrameWorkerData)); in init_decoder()