Home
last modified time | relevance | path

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

12

/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()
31 CHECK_MEM_ERROR(cm, ctx->coeff[i][k], in alloc_mode_context()
33 CHECK_MEM_ERROR(cm, ctx->qcoeff[i][k], in alloc_mode_context()
35 CHECK_MEM_ERROR(cm, ctx->dqcoeff[i][k], in alloc_mode_context()
37 CHECK_MEM_ERROR(cm, ctx->eobs[i][k], in alloc_mode_context()
103 CHECK_MEM_ERROR(cm, td->leaf_tree, in vp9_setup_pc_tree()
106 CHECK_MEM_ERROR(cm, td->pc_tree, in vp9_setup_pc_tree()
Dvp9_ethread.c95 CHECK_MEM_ERROR(cm, cpi->workers, in create_enc_workers()
98 CHECK_MEM_ERROR(cm, cpi->tile_thr_data, in create_enc_workers()
112 CHECK_MEM_ERROR(cm, thread_data->td, in create_enc_workers()
122 CHECK_MEM_ERROR(cm, thread_data->td->counts, in create_enc_workers()
273 CHECK_MEM_ERROR(cm, row_mt_sync->mutex, in vp9_row_mt_sync_mem_alloc()
281 CHECK_MEM_ERROR(cm, row_mt_sync->cond, in vp9_row_mt_sync_mem_alloc()
291 CHECK_MEM_ERROR(cm, row_mt_sync->cur_col, in vp9_row_mt_sync_mem_alloc()
Dvp9_encoder.c729 CHECK_MEM_ERROR(cm, roi->roi_map, vpx_malloc(rows * cols)); in vp9_set_roi_map()
1394 CHECK_MEM_ERROR(cm, cpi->tile_tok[0][0], in alloc_compressor_data()
1400 CHECK_MEM_ERROR( in alloc_compressor_data()
1893 CHECK_MEM_ERROR(cm, cpi->segmentation_map, in realloc_segmentation_maps()
1898 CHECK_MEM_ERROR(cm, cpi->cyclic_refresh, in realloc_segmentation_maps()
1903 CHECK_MEM_ERROR(cm, cpi->active_map.map, in realloc_segmentation_maps()
1909 CHECK_MEM_ERROR(cm, cpi->coding_context.last_frame_seg_map_copy, in realloc_segmentation_maps()
1916 CHECK_MEM_ERROR(cm, cpi->prev_partition, in alloc_copy_partition_data()
1921 CHECK_MEM_ERROR( in alloc_copy_partition_data()
1927 CHECK_MEM_ERROR(cm, cpi->prev_variance_low, in alloc_copy_partition_data()
[all …]
Dvp9_denoiser.c637 CHECK_MEM_ERROR(cm, denoiser->running_avg_y, in vp9_denoiser_alloc()
640 CHECK_MEM_ERROR( in vp9_denoiser_alloc()
Dvp9_svc_layercontext.c165 CHECK_MEM_ERROR(cm, lc->map, in vp9_init_layer_context()
170 CHECK_MEM_ERROR(cm, lc->last_coded_q_map, in vp9_init_layer_context()
175 CHECK_MEM_ERROR(cm, lc->consec_zero_mv, in vp9_init_layer_context()
/external/libaom/libaom/av1/encoder/
Dethread.c160 CHECK_MEM_ERROR(cm, row_mt_sync->mutex_, in av1_row_mt_sync_mem_alloc()
168 CHECK_MEM_ERROR(cm, row_mt_sync->cond_, in av1_row_mt_sync_mem_alloc()
178 CHECK_MEM_ERROR(cm, row_mt_sync->cur_col, in av1_row_mt_sync_mem_alloc()
394 CHECK_MEM_ERROR(cm, cpi->workers, in create_enc_workers()
397 CHECK_MEM_ERROR(cm, cpi->tile_thr_data, in create_enc_workers()
403 CHECK_MEM_ERROR(cm, cpi->row_mt_mutex_, in create_enc_workers()
423 CHECK_MEM_ERROR(cm, thread_data->td, in create_enc_workers()
431 CHECK_MEM_ERROR(cm, thread_data->td->above_pred_buf, in create_enc_workers()
435 CHECK_MEM_ERROR(cm, thread_data->td->left_pred_buf, in create_enc_workers()
440 CHECK_MEM_ERROR( in create_enc_workers()
[all …]
Dcontext_tree.c33 CHECK_MEM_ERROR(cm, ctx->blk_skip, in alloc_mode_context()
35 CHECK_MEM_ERROR(cm, ctx->tx_type_map, in alloc_mode_context()
41 CHECK_MEM_ERROR(cm, ctx->eobs[i], in alloc_mode_context()
43 CHECK_MEM_ERROR( in alloc_mode_context()
50 CHECK_MEM_ERROR( in alloc_mode_context()
161 CHECK_MEM_ERROR(cm, td->pc_tree, in av1_setup_pc_tree()
167 CHECK_MEM_ERROR(cm, td->tree_coeff_buf[i], in av1_setup_pc_tree()
169 CHECK_MEM_ERROR(cm, td->tree_qcoeff_buf[i], in av1_setup_pc_tree()
171 CHECK_MEM_ERROR(cm, td->tree_dqcoeff_buf[i], in av1_setup_pc_tree()
Dav1_multi_thread.c39 CHECK_MEM_ERROR( in av1_row_mt_mem_alloc()
Dencoder.c739 CHECK_MEM_ERROR( in alloc_context_buffers_ext()
1135 CHECK_MEM_ERROR(cm, cpi->tile_tok[0][0], in alloc_compressor_data()
1138 CHECK_MEM_ERROR(cm, cpi->tplist[0][0], in alloc_compressor_data()
2685 CHECK_MEM_ERROR(cm, cpi->enc_seg.map, in realloc_segmentation_maps()
2690 CHECK_MEM_ERROR( in realloc_segmentation_maps()
2696 CHECK_MEM_ERROR(cm, cpi->active_map.map, in realloc_segmentation_maps()
2710 CHECK_MEM_ERROR( in av1_alloc_compound_type_rd_buffers()
2713 CHECK_MEM_ERROR( in av1_alloc_compound_type_rd_buffers()
2716 CHECK_MEM_ERROR( in av1_alloc_compound_type_rd_buffers()
2719 CHECK_MEM_ERROR( in av1_alloc_compound_type_rd_buffers()
[all …]
Dsvc_layercontext.c67 CHECK_MEM_ERROR(cm, lc->map, in av1_init_layer_context()
72 CHECK_MEM_ERROR(cm, lc->last_coded_q_map, in av1_init_layer_context()
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decoder.c68 CHECK_MEM_ERROR( in vp9_dec_alloc_row_mt_mem()
77 CHECK_MEM_ERROR( in vp9_dec_alloc_row_mt_mem()
89 CHECK_MEM_ERROR(cm, row_mt_worker_data->dqcoeff[plane], in vp9_dec_alloc_row_mt_mem()
92 CHECK_MEM_ERROR(cm, row_mt_worker_data->eob[plane], in vp9_dec_alloc_row_mt_mem()
96 CHECK_MEM_ERROR(cm, row_mt_worker_data->partition, in vp9_dec_alloc_row_mt_mem()
99 CHECK_MEM_ERROR(cm, row_mt_worker_data->recon_map, in vp9_dec_alloc_row_mt_mem()
106 CHECK_MEM_ERROR(cm, row_mt_worker_data->thread_data, in vp9_dec_alloc_row_mt_mem()
179 CHECK_MEM_ERROR(cm, cm->fc, (FRAME_CONTEXT *)vpx_calloc(1, sizeof(*cm->fc))); in vp9_decoder_create()
180 CHECK_MEM_ERROR( in vp9_decoder_create()
Dvp9_decodeframe.c1473 CHECK_MEM_ERROR(cm, cm->cur_frame->mvs, in resize_mv_buffer()
1780 CHECK_MEM_ERROR(cm, row_mt_worker_data->jobq_buf, vpx_calloc(1, jobq_size)); in vp9_jobq_alloc()
1927 CHECK_MEM_ERROR(cm, tile_data_recon, in row_decode_worker_hook()
2029 CHECK_MEM_ERROR(cm, pbi->lf_worker.data1, in decode_tiles()
2289 CHECK_MEM_ERROR(cm, pbi->tile_workers, in init_mt()
2828 CHECK_MEM_ERROR(cm, pbi->row_mt_worker_data, in read_uncompressed_header()
3010 CHECK_MEM_ERROR(cm, pbi->tile_worker_data, vpx_memalign(32, twd_size)); in vp9_decode_frame()
/external/libaom/libaom/av1/common/
Dthread_common.c63 CHECK_MEM_ERROR(cm, lf_sync->mutex_[j], in loop_filter_alloc()
71 CHECK_MEM_ERROR(cm, lf_sync->cond_[j], in loop_filter_alloc()
80 CHECK_MEM_ERROR(cm, lf_sync->job_mutex, in loop_filter_alloc()
87 CHECK_MEM_ERROR(cm, lf_sync->lfdata, in loop_filter_alloc()
92 CHECK_MEM_ERROR(cm, lf_sync->cur_sb_col[j], in loop_filter_alloc()
95 CHECK_MEM_ERROR( in loop_filter_alloc()
597 CHECK_MEM_ERROR(cm, lr_sync->mutex_[j], in loop_restoration_alloc()
605 CHECK_MEM_ERROR(cm, lr_sync->cond_[j], in loop_restoration_alloc()
614 CHECK_MEM_ERROR(cm, lr_sync->job_mutex, in loop_restoration_alloc()
621 CHECK_MEM_ERROR(cm, lr_sync->lrworkerdata, in loop_restoration_alloc()
[all …]
Dalloccommon.c61 CHECK_MEM_ERROR(cm, cm->rst_tmpbuf, in av1_alloc_restoration_buffers()
66 CHECK_MEM_ERROR(cm, cm->rlbs, aom_malloc(sizeof(RestorationLineBuffers))); in av1_alloc_restoration_buffers()
105 CHECK_MEM_ERROR(cm, boundaries->stripe_boundary_above, in av1_alloc_restoration_buffers()
107 CHECK_MEM_ERROR(cm, boundaries->stripe_boundary_below, in av1_alloc_restoration_buffers()
Dcommon.h52 #define CHECK_MEM_ERROR(cm, lval, expr) \ macro
Dav1_common_int.h901 CHECK_MEM_ERROR(cm, buf->mvs, in ensure_mv_buffer()
906 CHECK_MEM_ERROR( in ensure_mv_buffer()
919 CHECK_MEM_ERROR(cm, cm->tpl_mvs, in ensure_mv_buffer()
/external/libvpx/libvpx/vp9/common/
Dvp9_common.h50 #define CHECK_MEM_ERROR(cm, lval, expr) \ macro
59 #define CHECK_MEM_ERROR(cm, lval, expr) \ macro
Dvp9_thread_common.c286 CHECK_MEM_ERROR(cm, lf_sync->mutex, in vp9_loop_filter_alloc()
294 CHECK_MEM_ERROR(cm, lf_sync->cond, in vp9_loop_filter_alloc()
302 CHECK_MEM_ERROR(cm, lf_sync->lf_mutex, in vp9_loop_filter_alloc()
306 CHECK_MEM_ERROR(cm, lf_sync->recon_done_mutex, in vp9_loop_filter_alloc()
315 CHECK_MEM_ERROR(cm, lf_sync->recon_done_cond, in vp9_loop_filter_alloc()
326 CHECK_MEM_ERROR(cm, lf_sync->lfdata, in vp9_loop_filter_alloc()
331 CHECK_MEM_ERROR(cm, lf_sync->cur_sb_col, in vp9_loop_filter_alloc()
334 CHECK_MEM_ERROR(cm, lf_sync->num_tiles_done, in vp9_loop_filter_alloc()
/external/libvpx/libvpx/vp8/decoder/
Donyxd_int.h137 #define CHECK_MEM_ERROR(lval, expr) \ macro
146 #define CHECK_MEM_ERROR(lval, expr) \ macro
Dthreading.c33 #define CALLOC_ARRAY(p, n) CHECK_MEM_ERROR((p), vpx_calloc(sizeof(*(p)), (n)))
36 CHECK_MEM_ERROR((p), vpx_memalign((algn), sizeof(*(p)) * (n))); \
757 CHECK_MEM_ERROR(pbi->mt_current_mb_col, in vp8mt_alloc_temp_buffers()
765 CHECK_MEM_ERROR(pbi->mt_yabove_row[i], in vp8mt_alloc_temp_buffers()
773 CHECK_MEM_ERROR(pbi->mt_uabove_row[i], in vp8mt_alloc_temp_buffers()
781 CHECK_MEM_ERROR(pbi->mt_vabove_row[i], in vp8mt_alloc_temp_buffers()
790 CHECK_MEM_ERROR(pbi->mt_yleft_col[i], in vp8mt_alloc_temp_buffers()
795 CHECK_MEM_ERROR(pbi->mt_uleft_col[i], in vp8mt_alloc_temp_buffers()
800 CHECK_MEM_ERROR(pbi->mt_vleft_col[i], in vp8mt_alloc_temp_buffers()
/external/libvpx/libvpx/vp8/encoder/
Dethreading.c513 CHECK_MEM_ERROR(cpi->h_encoding_thread, in vp8cx_create_encoder_threads()
515 CHECK_MEM_ERROR(cpi->h_event_start_encoding, in vp8cx_create_encoder_threads()
517 CHECK_MEM_ERROR(cpi->h_event_end_encoding, in vp8cx_create_encoder_threads()
519 CHECK_MEM_ERROR(cpi->mb_row_ei, in vp8cx_create_encoder_threads()
522 CHECK_MEM_ERROR(cpi->en_thread_data, in vp8cx_create_encoder_threads()
Donyx_int.h722 #define CHECK_MEM_ERROR(lval, expr) \ macro
731 #define CHECK_MEM_ERROR(lval, expr) \ macro
Donyx_if.c1174 CHECK_MEM_ERROR(cpi->tok, vpx_calloc(tokens, sizeof(*cpi->tok))); in vp8_alloc_compressor_data()
1182 CHECK_MEM_ERROR( in vp8_alloc_compressor_data()
1188 CHECK_MEM_ERROR( 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()
1197 CHECK_MEM_ERROR(cpi->lf_ref_frame_sign_bias, in vp8_alloc_compressor_data()
1201 CHECK_MEM_ERROR(cpi->lf_ref_frame, in vp8_alloc_compressor_data()
1207 CHECK_MEM_ERROR( 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()
1231 CHECK_MEM_ERROR(cpi->mt_current_mb_col, in vp8_alloc_compressor_data()
1240 CHECK_MEM_ERROR(cpi->tplist, vpx_malloc(sizeof(TOKENLIST) * cm->mb_rows)); in vp8_alloc_compressor_data()
[all …]
/external/libaom/libaom/av1/decoder/
Ddecoder.c112 CHECK_MEM_ERROR(cm, cm->fc, in av1_decoder_create()
114 CHECK_MEM_ERROR( in av1_decoder_create()
Ddecodeframe.c2494 CHECK_MEM_ERROR(cm, pbi->tile_data, in decoder_alloc_tile_data()
2530 CHECK_MEM_ERROR(cm, dec_row_mt_sync->mutex_, in dec_row_mt_alloc()
2538 CHECK_MEM_ERROR(cm, dec_row_mt_sync->cond_, in dec_row_mt_alloc()
2548 CHECK_MEM_ERROR(cm, dec_row_mt_sync->cur_sb_col, in dec_row_mt_alloc()
3337 CHECK_MEM_ERROR(cm, tile_mt_info->job_mutex, in alloc_dec_jobs()
3345 CHECK_MEM_ERROR(cm, tile_mt_info->job_queue, in alloc_dec_jobs()
3375 CHECK_MEM_ERROR(cm, hbd_mc_buf, (uint16_t *)aom_memalign(16, buf_size)); in allocate_mc_tmp_buf()
3378 CHECK_MEM_ERROR(cm, thread_data->mc_buf[ref], in allocate_mc_tmp_buf()
3385 CHECK_MEM_ERROR(cm, thread_data->tmp_conv_dst, in allocate_mc_tmp_buf()
3389 CHECK_MEM_ERROR( in allocate_mc_tmp_buf()
[all …]

12