/external/libvpx/libvpx/vp9/common/ |
D | vp9_alloccommon.c | 46 cm->seg_map_array[i] = (uint8_t *)vpx_calloc(seg_map_size, 1); in alloc_seg_map() 118 cm->lf.lfm = (LOOP_FILTER_MASK *)vpx_calloc( in vp9_alloc_loop_filter() 143 cm->above_context = (ENTROPY_CONTEXT *)vpx_calloc( in vp9_alloc_context_buffers() 149 cm->above_seg_context = (PARTITION_CONTEXT *)vpx_calloc( in vp9_alloc_context_buffers()
|
D | vp9_frame_buffers.c | 22 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()
|
D | vp9_postproc.c | 318 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/ |
D | add_noise_test.cc | 55 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()
|
D | set_roi.cc | 54 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/decoder/ |
D | vp9_decoder.c | 93 vpx_calloc(num_sbs << EOBS_PER_SB_LOG2, in vp9_dec_alloc_row_mt_mem() 97 vpx_calloc(num_sbs * PARTITIONS_PER_SB, in vp9_dec_alloc_row_mt_mem() 100 vpx_calloc(num_sbs, sizeof(*row_mt_worker_data->recon_map))); in vp9_dec_alloc_row_mt_mem() 147 cm->mip = vpx_calloc(mi_size, sizeof(*cm->mip)); in vp9_dec_alloc_mi() 150 cm->mi_grid_base = (MODE_INFO **)vpx_calloc(mi_size, sizeof(MODE_INFO *)); in vp9_dec_alloc_mi() 179 CHECK_MEM_ERROR(cm, cm->fc, (FRAME_CONTEXT *)vpx_calloc(1, sizeof(*cm->fc))); in vp9_decoder_create() 182 (FRAME_CONTEXT *)vpx_calloc(FRAME_CONTEXTS, sizeof(*cm->frame_contexts))); in vp9_decoder_create()
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_context_tree.c | 28 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()
|
D | vp9_non_greedy_mv.c | 180 vpx_calloc(frame_num, sizeof(*motion_field_info->motion_field_array)); in vp9_alloc_motion_field_info() 214 vpx_calloc(motion_field->block_num, sizeof(*motion_field->mf)); in vp9_alloc_motion_field() 219 vpx_calloc(motion_field->block_num, sizeof(*motion_field->set_mv)); in vp9_alloc_motion_field() 225 motion_field->local_structure = vpx_calloc( in vp9_alloc_motion_field()
|
D | vp9_encoder.c | 879 cm->mip = vpx_calloc(mi_size, sizeof(*cm->mip)); in vp9_enc_alloc_mi() 881 cm->prev_mip = vpx_calloc(mi_size, sizeof(*cm->prev_mip)); in vp9_enc_alloc_mi() 885 cm->mi_grid_base = (MODE_INFO **)vpx_calloc(mi_size, sizeof(MODE_INFO *)); in vp9_enc_alloc_mi() 888 (MODE_INFO **)vpx_calloc(mi_size, sizeof(MODE_INFO *)); in vp9_enc_alloc_mi() 1376 cpi->mbmi_ext_base = vpx_calloc(mi_size, sizeof(*cpi->mbmi_ext_base)); in alloc_context_buffers_ext() 1395 vpx_calloc(tokens, sizeof(*cpi->tile_tok[0][0]))); in alloc_compressor_data() 1402 vpx_calloc(sb_rows * 4 * (1 << 6), sizeof(*cpi->tplist[0][0]))); in alloc_compressor_data() 1894 vpx_calloc(cm->mi_rows * cm->mi_cols, 1)); in realloc_segmentation_maps() 1904 vpx_calloc(cm->mi_rows * cm->mi_cols, 1)); in realloc_segmentation_maps() 1910 vpx_calloc(cm->mi_rows * cm->mi_cols, 1)); in realloc_segmentation_maps() [all …]
|
D | vp9_speed_features.c | 657 cpi->content_state_sb_fd = (uint8_t *)vpx_calloc( in set_rt_speed_feature_framesize_independent() 799 (uint8_t *)vpx_calloc((cm->mi_stride >> 3) * ((cm->mi_rows >> 3) + 1), in set_rt_speed_feature_framesize_independent() 803 (uint8_t *)vpx_calloc((cm->mi_stride >> 3) * ((cm->mi_rows >> 3) + 1), in set_rt_speed_feature_framesize_independent()
|
D | vp9_aq_cyclicrefresh.c | 34 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()
|
D | vp9_multi_thread.c | 62 (int *)vpx_calloc(sb_rows * BLOCK_SIZES * MAX_MODES, in vp9_row_mt_alloc_rd_thresh()
|
D | vp9_ethread.c | 99 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()
|
D | vp9_denoiser.c | 638 vpx_calloc(denoiser->num_ref_frames * num_layers, in vp9_denoiser_alloc() 642 vpx_calloc(num_layers, sizeof(denoiser->mc_running_avg_y[0]))); in vp9_denoiser_alloc()
|
D | vp9_mbgraph.c | 299 vpx_calloc(cm->mb_rows * cm->mb_cols * sizeof(*arf_not_zz), 1)); in separate_arf_mbs()
|
/external/libvpx/libvpx/vp8/common/ |
D | alloccommon.c | 90 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()
|
D | postproc.c | 172 oci->postproc_state.generated_noise = vpx_calloc( in vp8_post_proc_frame()
|
/external/libvpx/libvpx/vpx_mem/ |
D | vpx_mem.h | 30 void *vpx_calloc(size_t num, size_t size);
|
D | vpx_mem.c | 72 void *vpx_calloc(size_t num, size_t size) { in vpx_calloc() function
|
/external/libvpx/libvpx/vp8/decoder/ |
D | threading.c | 33 #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()
|
/external/libvpx/libvpx/vpx_util/ |
D | vpx_thread.c | 97 worker->impl_ = (VPxWorkerImpl *)vpx_calloc(1, sizeof(*worker->impl_)); in reset()
|
/external/libvpx/libvpx/vp8/encoder/ |
D | onyx_if.c | 1125 vpx_calloc((cpi->common.mb_cols + 1) * (cpi->common.mb_rows + 1), in vp8_alloc_partition_data() 1174 CHECK_MEM_ERROR(cpi->tok, vpx_calloc(tokens, sizeof(*cpi->tok))); in vp8_alloc_compressor_data() 1184 vpx_calloc(sizeof(*cpi->gf_active_flags), cm->mb_rows * cm->mb_cols)); in vp8_alloc_compressor_data() 1190 vpx_calloc(sizeof(*cpi->mb_activity_map), cm->mb_rows * cm->mb_cols)); in vp8_alloc_compressor_data() 1194 CHECK_MEM_ERROR(cpi->lfmv, vpx_calloc((cm->mb_rows + 2) * (cm->mb_cols + 2), in vp8_alloc_compressor_data() 1198 vpx_calloc((cm->mb_rows + 2) * (cm->mb_cols + 2), in vp8_alloc_compressor_data() 1202 vpx_calloc((cm->mb_rows + 2) * (cm->mb_cols + 2), in vp8_alloc_compressor_data() 1209 vpx_calloc(cm->mb_rows * cm->mb_cols, sizeof(*cpi->segmentation_map))); in vp8_alloc_compressor_data() 1212 CHECK_MEM_ERROR(cpi->active_map, vpx_calloc(cm->mb_rows * cm->mb_cols, in vp8_alloc_compressor_data() 1773 CHECK_MEM_ERROR(cpi->mb.ss, vpx_calloc(sizeof(search_site), in vp8_create_compressor() [all …]
|
/external/libvpx/libvpx/vp8/ |
D | vp8_dx_iface.c | 67 (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/ |
D | vp9_dx_iface.c | 43 (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()
|
D | simple_encode.cc | 59 BufferPool *buffer_pool = (BufferPool *)vpx_calloc(1, sizeof(*buffer_pool)); in init_encoder()
|