Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/state_trackers/nine/
Dnine_buffer_upload.c65 struct slab_mempool buffer_pool; member
145 slab_create(&upload->buffer_pool, sizeof(struct nine_subbuffer), 4096); in nine_upload_create()
161 slab_destroy(&upload->buffer_pool); in nine_upload_create()
175 slab_destroy(&upload->buffer_pool); in nine_upload_destroy()
183 struct nine_subbuffer *buf = slab_alloc_st(&upload->buffer_pool); in nine_upload_create_buffer()
222 slab_free_st(&upload->buffer_pool, buf); in nine_upload_create_buffer()
234 slab_free_st(&upload->buffer_pool, buf); in nine_upload_create_buffer()
275 slab_free_st(&upload->buffer_pool, buf); in nine_upload_release_buffer()
/external/libvpx/libvpx/vp9/common/
Dvp9_onyxc_int.h279 BufferPool *buffer_pool; member
295 return &cm->buffer_pool->frame_bufs[cm->ref_frame_map[index]].buf; in get_ref_frame()
299 return &cm->buffer_pool->frame_bufs[cm->new_fb_idx].buf; in get_frame_new_buffer()
303 RefCntBuffer *const frame_bufs = cm->buffer_pool->frame_bufs; in get_free_fb()
306 lock_buffer_pool(cm->buffer_pool); in get_free_fb()
317 unlock_buffer_pool(cm->buffer_pool); in get_free_fb()
/external/libvpx/libvpx/vp9/
Dvp9_dx_iface.c88 pthread_mutex_destroy(&ctx->buffer_pool->pool_mutex); in decoder_destroy()
92 if (ctx->buffer_pool) { in decoder_destroy()
93 vp9_free_ref_frame_buffers(ctx->buffer_pool); in decoder_destroy()
94 vp9_free_internal_frame_buffers(&ctx->buffer_pool->int_frame_buffers); in decoder_destroy()
98 vpx_free(ctx->buffer_pool); in decoder_destroy()
237 BufferPool *const pool = cm->buffer_pool; in init_buffer_callbacks()
288 BufferPool *const pool = frame_worker_data->pbi->common.buffer_pool; in frame_worker_hook()
327 ctx->buffer_pool = (BufferPool *)vpx_calloc(1, sizeof(BufferPool)); in init_decoder()
328 if (ctx->buffer_pool == NULL) return VPX_CODEC_MEM_ERROR; in init_decoder()
331 if (pthread_mutex_init(&ctx->buffer_pool->pool_mutex, NULL)) { in init_decoder()
[all …]
Dvp9_dx_iface.h57 BufferPool *buffer_pool; member
Dvp9_cx_iface.c111 BufferPool *buffer_pool; member
888 priv->buffer_pool = (BufferPool *)vpx_calloc(1, sizeof(BufferPool)); in encoder_init()
889 if (priv->buffer_pool == NULL) return VPX_CODEC_MEM_ERROR; in encoder_init()
892 if (pthread_mutex_init(&priv->buffer_pool->pool_mutex, NULL)) { in encoder_init()
914 priv->cpi = vp9_create_compressor(&priv->oxcf, priv->buffer_pool); in encoder_init()
929 pthread_mutex_destroy(&ctx->buffer_pool->pool_mutex); in encoder_destroy()
931 vpx_free(ctx->buffer_pool); in encoder_destroy()
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decoder.c104 pbi->common.buffer_pool = pool; in vp9_decoder_create()
213 ref_buf = &cm->buffer_pool->frame_bufs[idx].buf; in vp9_set_reference_dec()
230 BufferPool *const pool = cm->buffer_pool; in swap_frame_buffers()
231 RefCntBuffer *const frame_bufs = cm->buffer_pool->frame_bufs; in swap_frame_buffers()
271 BufferPool *volatile const pool = cm->buffer_pool; in vp9_receive_compressed_data()
272 RefCntBuffer *volatile const frame_bufs = cm->buffer_pool->frame_bufs; in vp9_receive_compressed_data()
Dvp9_decodeframe.c664 BufferPool *const pool = pbi->common.buffer_pool; in dec_build_inter_predictors_sb()
1185 BufferPool *const pool = cm->buffer_pool; in setup_frame_size()
1228 BufferPool *const pool = cm->buffer_pool; in setup_frame_size_with_refs()
1755 BufferPool *const pool = cm->buffer_pool; in read_uncompressed_header()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_encoder.c806 vp9_free_ref_frame_buffers(cm->buffer_pool); in dealloc_compressor_data()
2036 cpi->common.buffer_pool = pool; in vp9_create_compressor()
2471 vp9_free_ref_frame_buffers(cm->buffer_pool); in vp9_remove_compressor()
2846 BufferPool *const pool = cm->buffer_pool;
2996 RefCntBuffer *const new_fb_ptr = &cm->buffer_pool->frame_bufs[buffer_idx];
3017 BufferPool *const pool = cm->buffer_pool;
3114 idx != INVALID_IDX ? &cm->buffer_pool->frame_bufs[idx] : NULL;
3127 idx != INVALID_IDX ? &cm->buffer_pool->frame_bufs[idx] : NULL;
3433 YV12_BUFFER_CONFIG *const buf = &cm->buffer_pool->frame_bufs[buf_idx].buf;
4606 BufferPool *const pool = cm->buffer_pool;
[all …]
Dvp9_encoder.h793 return buf_idx != INVALID_IDX ? &cm->buffer_pool->frame_bufs[buf_idx].buf in get_ref_frame_buffer()
Dvp9_rd.c577 ? &cm->buffer_pool->frame_bufs[scaled_idx].buf in vp9_get_scaled_ref_frame()
Dvp9_firstpass.c1369 BufferPool *const pool = cm->buffer_pool; in vp9_first_pass()