Home
last modified time | relevance | path

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

12

/external/libvpx/libvpx/vp9/decoder/
Dvp9_decoder.c69 vpx_calloc(num_sbs << EOBS_PER_SB_LOG2, in vp9_dec_alloc_row_mt_mem()
73 vpx_calloc(num_sbs * PARTITIONS_PER_SB, in vp9_dec_alloc_row_mt_mem()
76 vpx_calloc(num_sbs, sizeof(*row_mt_worker_data->recon_map))); in vp9_dec_alloc_row_mt_mem()
96 cm->mip = vpx_calloc(mi_size, sizeof(*cm->mip)); in vp9_dec_alloc_mi()
99 cm->mi_grid_base = (MODE_INFO **)vpx_calloc(mi_size, sizeof(MODE_INFO *)); in vp9_dec_alloc_mi()
128 CHECK_MEM_ERROR(cm, cm->fc, (FRAME_CONTEXT *)vpx_calloc(1, sizeof(*cm->fc))); in vp9_decoder_create()
131 (FRAME_CONTEXT *)vpx_calloc(FRAME_CONTEXTS, sizeof(*cm->frame_contexts))); in vp9_decoder_create()
/external/libvpx/libvpx/vp9/common/
Dvp9_alloccommon.c37 cm->seg_map_array[i] = (uint8_t *)vpx_calloc(seg_map_size, 1); in alloc_seg_map()
109 cm->lf.lfm = (LOOP_FILTER_MASK *)vpx_calloc( in vp9_alloc_loop_filter()
134 cm->above_context = (ENTROPY_CONTEXT *)vpx_calloc( in vp9_alloc_context_buffers()
140 cm->above_seg_context = (PARTITION_CONTEXT *)vpx_calloc( in vp9_alloc_context_buffers()
Dvp9_frame_buffers.c22 list->int_fb = (InternalFrameBuffer *)vpx_calloc( in vp9_alloc_internal_frame_buffers()
59 int_fb_list->int_fb[i].data = (uint8_t *)vpx_calloc(1, min_size); in vp9_get_frame_buffer()
Dvp9_postproc.c318 ppstate->prev_mip = vpx_calloc(cm->mi_alloc_size, sizeof(*cm->mip)); in vp9_post_proc_frame()
362 vpx_calloc(unscaled_width, sizeof(*cm->postproc_state.limits)); in vp9_post_proc_frame()
368 cm->postproc_state.generated_noise = vpx_calloc( in vp9_post_proc_frame()
/external/libvpx/libvpx/test/
Dadd_noise_test.cc55 reinterpret_cast<uint8_t *>(vpx_calloc(image_size, sizeof(*s))); in TEST_P()
107 uint8_t *const s = reinterpret_cast<uint8_t *>(vpx_calloc(image_size, 1)); in TEST_P()
108 uint8_t *const d = reinterpret_cast<uint8_t *>(vpx_calloc(image_size, 1)); in TEST_P()
Dset_roi.cc54 cpi.segmentation_map = reinterpret_cast<unsigned char *>(vpx_calloc(mbs, 1)); in TEST()
58 reinterpret_cast<unsigned char *>(vpx_calloc(mbs, 1)); in TEST()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_context_tree.c28 CHECK_MEM_ERROR(cm, ctx->zcoeff_blk, vpx_calloc(num_blk, sizeof(uint8_t))); in alloc_mode_context()
104 vpx_calloc(leaf_nodes, sizeof(*td->leaf_tree))); in vp9_setup_pc_tree()
107 vpx_calloc(tree_nodes, sizeof(*td->pc_tree))); in vp9_setup_pc_tree()
Dvp9_encoder.c838 cm->mip = vpx_calloc(mi_size, sizeof(*cm->mip)); in vp9_enc_alloc_mi()
840 cm->prev_mip = vpx_calloc(mi_size, sizeof(*cm->prev_mip)); in vp9_enc_alloc_mi()
844 cm->mi_grid_base = (MODE_INFO **)vpx_calloc(mi_size, sizeof(MODE_INFO *)); in vp9_enc_alloc_mi()
847 (MODE_INFO **)vpx_calloc(mi_size, sizeof(MODE_INFO *)); in vp9_enc_alloc_mi()
1329 cpi->mbmi_ext_base = vpx_calloc(mi_size, sizeof(*cpi->mbmi_ext_base)); in alloc_context_buffers_ext()
1348 vpx_calloc(tokens, sizeof(*cpi->tile_tok[0][0]))); in alloc_compressor_data()
1355 vpx_calloc(sb_rows * 4 * (1 << 6), sizeof(*cpi->tplist[0][0]))); in alloc_compressor_data()
1846 vpx_calloc(cm->mi_rows * cm->mi_cols, 1)); in realloc_segmentation_maps()
1856 vpx_calloc(cm->mi_rows * cm->mi_cols, 1)); in realloc_segmentation_maps()
1862 vpx_calloc(cm->mi_rows * cm->mi_cols, 1)); in realloc_segmentation_maps()
[all …]
Dvp9_speed_features.c658 cpi->content_state_sb_fd = (uint8_t *)vpx_calloc( in set_rt_speed_feature_framesize_independent()
785 (uint8_t *)vpx_calloc((cm->mi_stride >> 3) * ((cm->mi_rows >> 3) + 1), in set_rt_speed_feature_framesize_independent()
789 (uint8_t *)vpx_calloc((cm->mi_stride >> 3) * ((cm->mi_rows >> 3) + 1), in set_rt_speed_feature_framesize_independent()
Dvp9_aq_cyclicrefresh.c34 CYCLIC_REFRESH *const cr = vpx_calloc(1, sizeof(*cr)); in vp9_cyclic_refresh_alloc()
37 cr->map = vpx_calloc(mi_rows * mi_cols, sizeof(*cr->map)); in vp9_cyclic_refresh_alloc()
Dvp9_multi_thread.c62 (int *)vpx_calloc(sb_rows * BLOCK_SIZES * MAX_MODES, in vp9_row_mt_alloc_rd_thresh()
Dvp9_ethread.c99 vpx_calloc(allocated_workers, sizeof(*cpi->tile_thr_data))); in create_enc_workers()
123 vpx_calloc(1, sizeof(*thread_data->td->counts))); in create_enc_workers()
Dvp9_denoiser.c639 vpx_calloc(denoiser->num_ref_frames * num_layers, in vp9_denoiser_alloc()
643 vpx_calloc(num_layers, sizeof(denoiser->mc_running_avg_y[0]))); in vp9_denoiser_alloc()
Dvp9_mbgraph.c299 vpx_calloc(cm->mb_rows * cm->mb_cols * sizeof(*arf_not_zz), 1)); in separate_arf_mbs()
/external/libvpx/libvpx/vp8/common/
Dalloccommon.c90 vpx_calloc((oci->mb_cols + 1) * (oci->mb_rows + 1), sizeof(MODE_INFO)); in vp8_alloc_frame_buffers()
100 vpx_calloc(sizeof(ENTROPY_CONTEXT_PLANES) * oci->mb_cols, 1); in vp8_alloc_frame_buffers()
Dpostproc.c179 oci->postproc_state.generated_noise = vpx_calloc( in vp8_post_proc_frame()
/external/libvpx/libvpx/vpx_mem/
Dvpx_mem.h30 void *vpx_calloc(size_t num, size_t size);
Dvpx_mem.c72 void *vpx_calloc(size_t num, size_t size) { in vpx_calloc() function
/external/libvpx/libvpx/vp8/decoder/
Dthreading.c33 #define CALLOC_ARRAY(p, n) CHECK_MEM_ERROR((p), vpx_calloc(sizeof(*(p)), (n)))
791 vpx_calloc(sizeof(unsigned char) * 16, 1)); in vp8mt_alloc_temp_buffers()
796 vpx_calloc(sizeof(unsigned char) * 8, 1)); in vp8mt_alloc_temp_buffers()
801 vpx_calloc(sizeof(unsigned char) * 8, 1)); in vp8mt_alloc_temp_buffers()
Derror_concealment.c50 vpx_calloc(pbi->common.mb_rows * pbi->common.mb_cols, sizeof(MB_OVERLAP)); in vp8_alloc_overlap_lists()
/external/libvpx/libvpx/vpx_util/
Dvpx_thread.c97 worker->impl_ = (VPxWorkerImpl *)vpx_calloc(1, sizeof(*worker->impl_)); in reset()
/external/libvpx/libvpx/vp8/encoder/
Donyx_if.c1124 vpx_calloc((cpi->common.mb_cols + 1) * (cpi->common.mb_rows + 1), in vp8_alloc_partition_data()
1173 CHECK_MEM_ERROR(cpi->tok, vpx_calloc(tokens, sizeof(*cpi->tok))); in vp8_alloc_compressor_data()
1183 vpx_calloc(sizeof(*cpi->gf_active_flags), cm->mb_rows * cm->mb_cols)); in vp8_alloc_compressor_data()
1189 vpx_calloc(sizeof(*cpi->mb_activity_map), cm->mb_rows * cm->mb_cols)); in vp8_alloc_compressor_data()
1193 CHECK_MEM_ERROR(cpi->lfmv, vpx_calloc((cm->mb_rows + 2) * (cm->mb_cols + 2), in vp8_alloc_compressor_data()
1197 vpx_calloc((cm->mb_rows + 2) * (cm->mb_cols + 2), in vp8_alloc_compressor_data()
1201 vpx_calloc((cm->mb_rows + 2) * (cm->mb_cols + 2), in vp8_alloc_compressor_data()
1208 vpx_calloc(cm->mb_rows * cm->mb_cols, sizeof(*cpi->segmentation_map))); in vp8_alloc_compressor_data()
1211 CHECK_MEM_ERROR(cpi->active_map, vpx_calloc(cm->mb_rows * cm->mb_cols, in vp8_alloc_compressor_data()
1770 CHECK_MEM_ERROR(cpi->mb.ss, vpx_calloc(sizeof(search_site), in vp8_create_compressor()
[all …]
Ddenoising.c425 denoiser->denoise_state = vpx_calloc((num_mb_rows * num_mb_cols), 1); in vp8_denoiser_allocate()
/external/libvpx/libvpx/vp8/
Dvp8_dx_iface.c67 (vpx_codec_alg_priv_t *)vpx_calloc(1, sizeof(*priv)); in vp8_init_ctx()
423 pc->prev_mip = vpx_calloc((pc->mb_cols + 1) * (pc->mb_rows + 1), in vp8_decode()
/external/libvpx/libvpx/vp9/
Dvp9_dx_iface.c43 (vpx_codec_alg_priv_t *)vpx_calloc(1, sizeof(*priv)); in decoder_init()
259 ctx->buffer_pool = (BufferPool *)vpx_calloc(1, sizeof(BufferPool)); in init_decoder()

12