Home
last modified time | relevance | path

Searched refs:buffer_pool (Results 1 – 9 of 9) sorted by relevance

/external/libvpx/libvpx/vp9/
Dvp9_dx_iface.c74 BufferPool *buffer_pool; member
132 pthread_mutex_destroy(&ctx->buffer_pool->pool_mutex); in decoder_destroy()
136 if (ctx->buffer_pool) { in decoder_destroy()
137 vp9_free_ref_frame_buffers(ctx->buffer_pool); in decoder_destroy()
138 vp9_free_internal_frame_buffers(&ctx->buffer_pool->int_frame_buffers); in decoder_destroy()
142 vpx_free(ctx->buffer_pool); in decoder_destroy()
294 BufferPool *const pool = cm->buffer_pool; in init_buffer_callbacks()
349 BufferPool *const pool = frame_worker_data->pbi->common.buffer_pool; in frame_worker_hook()
388 ctx->buffer_pool = (BufferPool *)vpx_calloc(1, sizeof(BufferPool)); in init_decoder()
389 if (ctx->buffer_pool == NULL) in init_decoder()
[all …]
Dvp9_cx_iface.c96 BufferPool *buffer_pool; member
779 priv->buffer_pool = in encoder_init()
781 if (priv->buffer_pool == NULL) in encoder_init()
785 if (pthread_mutex_init(&priv->buffer_pool->pool_mutex, NULL)) { in encoder_init()
807 priv->cpi = vp9_create_compressor(&priv->oxcf, priv->buffer_pool); in encoder_init()
822 pthread_mutex_destroy(&ctx->buffer_pool->pool_mutex); in encoder_destroy()
824 vpx_free(ctx->buffer_pool); in encoder_destroy()
/external/libvpx/libvpx/vp9/common/
Dvp9_onyxc_int.h279 BufferPool *buffer_pool; member
297 return &cm->buffer_pool->frame_bufs[cm->ref_frame_map[index]].buf; in get_ref_frame()
301 return &cm->buffer_pool->frame_bufs[cm->new_fb_idx].buf; in get_frame_new_buffer()
305 RefCntBuffer *const frame_bufs = cm->buffer_pool->frame_bufs; in get_free_fb()
308 lock_buffer_pool(cm->buffer_pool); in get_free_fb()
320 unlock_buffer_pool(cm->buffer_pool); in get_free_fb()
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decoder.c108 pbi->common.buffer_pool = pool; in vp9_decoder_create()
188 RefCntBuffer *const frame_bufs = cm->buffer_pool->frame_bufs; in vp9_set_reference_dec()
234 BufferPool *const pool = cm->buffer_pool; in swap_frame_buffers()
235 RefCntBuffer *const frame_bufs = cm->buffer_pool->frame_bufs; in swap_frame_buffers()
275 BufferPool *volatile const pool = cm->buffer_pool; in vp9_receive_compressed_data()
276 RefCntBuffer *volatile const frame_bufs = cm->buffer_pool->frame_bufs; in vp9_receive_compressed_data()
Dvp9_decodeframe.c731 BufferPool *const pool = pbi->common.buffer_pool; in dec_build_inter_predictors_sb()
1232 BufferPool *const pool = cm->buffer_pool; in setup_frame_size()
1273 BufferPool *const pool = cm->buffer_pool; in setup_frame_size_with_refs()
1807 BufferPool *const pool = cm->buffer_pool; in read_uncompressed_header()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_encoder.c377 vp9_free_ref_frame_buffers(cm->buffer_pool); in dealloc_compressor_data()
1623 cpi->common.buffer_pool = pool; in vp9_create_compressor()
2054 vp9_free_ref_frame_buffers(cm->buffer_pool); in vp9_remove_compressor()
2664 BufferPool *const pool = cm->buffer_pool;
2777 RefCntBuffer *const new_fb_ptr = &cm->buffer_pool->frame_bufs[buffer_idx];
2798 BufferPool *const pool = cm->buffer_pool;
2885 &cm->buffer_pool->frame_bufs[idx] : NULL;
2899 &cm->buffer_pool->frame_bufs[idx] : NULL;
3161 YV12_BUFFER_CONFIG *const buf = &cm->buffer_pool->frame_bufs[buf_idx].buf;
3917 BufferPool *const pool = cm->buffer_pool;
[all …]
Dvp9_encoder.h581 buf_idx != INVALID_IDX ? &cm->buffer_pool->frame_bufs[buf_idx].buf : NULL; in get_ref_frame_buffer()
Dvp9_rd.c553 &cm->buffer_pool->frame_bufs[scaled_idx].buf : NULL; in vp9_get_scaled_ref_frame()
Dvp9_firstpass.c536 BufferPool *const pool = cm->buffer_pool; in vp9_first_pass()