Home
last modified time | relevance | path

Searched refs:buffer_pool (Results 1 – 23 of 23) 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/libxcam/modules/ocl/
Dcl_image_handler.cpp170 SmartPtr<BufferPool> buffer_pool; in create_buffer_pool() local
172 buffer_pool = new CLVideoBufferPool (); in create_buffer_pool()
184 buffer_pool = new DrmBoBufferPool (display); in create_buffer_pool()
186 buffer_pool = new CLBoBufferPool (display, get_context ()); in create_buffer_pool()
192 buffer_pool.ptr (), in create_buffer_pool()
197 XCAM_ASSERT (buffer_pool.ptr ()); in create_buffer_pool()
199 buffer_pool->set_video_info (video_info); in create_buffer_pool()
203 buffer_pool->reserve (_buf_pool_size), in create_buffer_pool()
207 _buf_pool = buffer_pool; in create_buffer_pool()
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decoder.c142 pbi->common.buffer_pool = pool; in vp9_decoder_create()
256 ref_buf = &cm->buffer_pool->frame_bufs[idx].buf; in vp9_set_reference_dec()
273 BufferPool *const pool = cm->buffer_pool; in swap_frame_buffers()
274 RefCntBuffer *const frame_bufs = cm->buffer_pool->frame_bufs; in swap_frame_buffers()
308 BufferPool *volatile const pool = cm->buffer_pool; in release_fb_on_decoder_exit()
309 RefCntBuffer *volatile const frame_bufs = cm->buffer_pool->frame_bufs; in release_fb_on_decoder_exit()
346 BufferPool *volatile const pool = cm->buffer_pool; in vp9_receive_compressed_data()
347 RefCntBuffer *volatile const frame_bufs = cm->buffer_pool->frame_bufs; in vp9_receive_compressed_data()
Dvp9_decodeframe.c716 BufferPool *const pool = pbi->common.buffer_pool; in dec_build_inter_predictors_sb()
1509 BufferPool *const pool = cm->buffer_pool; in setup_frame_size()
1550 BufferPool *const pool = cm->buffer_pool; in setup_frame_size_with_refs()
2165 RefCntBuffer *const frame_bufs = cm->buffer_pool->frame_bufs; in flush_all_fb_on_key()
2166 BufferPool *const pool = cm->buffer_pool; in flush_all_fb_on_key()
2182 BufferPool *const pool = cm->buffer_pool; in read_uncompressed_header()
/external/libvpx/libvpx/vp9/
Dvp9_dx_iface.c64 if (ctx->buffer_pool) { in decoder_destroy()
65 vp9_free_ref_frame_buffers(ctx->buffer_pool); in decoder_destroy()
66 vp9_free_internal_frame_buffers(&ctx->buffer_pool->int_frame_buffers); in decoder_destroy()
69 vpx_free(ctx->buffer_pool); in decoder_destroy()
206 BufferPool *const pool = cm->buffer_pool; in init_buffer_callbacks()
259 ctx->buffer_pool = (BufferPool *)vpx_calloc(1, sizeof(BufferPool)); in init_decoder()
260 if (ctx->buffer_pool == NULL) return VPX_CODEC_MEM_ERROR; in init_decoder()
262 ctx->pbi = vp9_decoder_create(ctx->buffer_pool); in init_decoder()
413 RefCntBuffer *const frame_bufs = cm->buffer_pool->frame_bufs; in decoder_get_frame()
536 RefCntBuffer *const frame_bufs = ctx->pbi->common.buffer_pool->frame_bufs; in ctrl_get_frame_corrupted()
Dvp9_dx_iface.h38 BufferPool *buffer_pool; member
Dvp9_cx_iface.c113 BufferPool *buffer_pool; member
903 priv->buffer_pool = (BufferPool *)vpx_calloc(1, sizeof(BufferPool)); in encoder_init()
904 if (priv->buffer_pool == NULL) return VPX_CODEC_MEM_ERROR; in encoder_init()
923 priv->cpi = vp9_create_compressor(&priv->oxcf, priv->buffer_pool); in encoder_init()
937 vpx_free(ctx->buffer_pool); in encoder_destroy()
/external/libvpx/libvpx/vp9/common/
Dvp9_onyxc_int.h256 BufferPool *buffer_pool; member
268 return &cm->buffer_pool->frame_bufs[index].buf; in get_buf_frame()
275 return &cm->buffer_pool->frame_bufs[cm->ref_frame_map[index]].buf; in get_ref_frame()
279 return &cm->buffer_pool->frame_bufs[cm->new_fb_idx].buf; in get_frame_new_buffer()
283 RefCntBuffer *const frame_bufs = cm->buffer_pool->frame_bufs; in get_free_fb()
/external/libaom/libaom/av1/
Dav1_dx_iface.c71 BufferPool *buffer_pool; member
139 pthread_mutex_destroy(&ctx->buffer_pool->pool_mutex); in decoder_destroy()
143 if (ctx->buffer_pool) { in decoder_destroy()
144 av1_free_ref_frame_buffers(ctx->buffer_pool); in decoder_destroy()
145 av1_free_internal_frame_buffers(&ctx->buffer_pool->int_frame_buffers); in decoder_destroy()
149 aom_free(ctx->buffer_pool); in decoder_destroy()
388 BufferPool *const pool = cm->buffer_pool; in init_buffer_callbacks()
446 ctx->buffer_pool = (BufferPool *)aom_calloc(1, sizeof(BufferPool)); in init_decoder()
447 if (ctx->buffer_pool == NULL) return AOM_CODEC_MEM_ERROR; in init_decoder()
450 if (pthread_mutex_init(&ctx->buffer_pool->pool_mutex, NULL)) { in init_decoder()
[all …]
Dav1_cx_iface.c278 BufferPool *buffer_pool; member
1578 priv->buffer_pool = (BufferPool *)aom_calloc(1, sizeof(BufferPool)); in encoder_init()
1579 if (priv->buffer_pool == NULL) return AOM_CODEC_MEM_ERROR; in encoder_init()
1582 if (pthread_mutex_init(&priv->buffer_pool->pool_mutex, NULL)) { in encoder_init()
1602 priv->cpi = av1_create_compressor(&priv->oxcf, priv->buffer_pool); in encoder_init()
1617 pthread_mutex_destroy(&ctx->buffer_pool->pool_mutex); in encoder_destroy()
1619 aom_free(ctx->buffer_pool); in encoder_destroy()
/external/libxcam/xcore/
DMakefile.am12 buffer_pool.cpp \
130 buffer_pool.h \
/external/libaom/libaom/av1/decoder/
Ddecoder.c110 pbi->common.buffer_pool = pool; in av1_decoder_create()
324 BufferPool *const pool = cm->buffer_pool; in release_frame_buffers()
351 BufferPool *const pool = cm->buffer_pool; in swap_frame_buffers()
Ddecodeframe.c2372 BufferPool *const pool = cm->buffer_pool; in setup_buffer_pool()
4735 BufferPool *const pool = cm->buffer_pool; in reset_ref_frame_map()
4746 BufferPool *const pool = cm->buffer_pool; in generate_next_ref_frame_map()
4820 RefCntBuffer *const frame_bufs = cm->buffer_pool->frame_bufs; in reset_frame_buffers()
4829 lock_buffer_pool(cm->buffer_pool); in reset_frame_buffers()
4841 av1_zero_unused_internal_frame_buffers(&cm->buffer_pool->int_frame_buffers); in reset_frame_buffers()
4842 unlock_buffer_pool(cm->buffer_pool); in reset_frame_buffers()
4853 BufferPool *const pool = cm->buffer_pool; in read_uncompressed_header()
5477 BufferPool *const pool = cm->buffer_pool; in superres_post_decode()
/external/libxcam/
DAndroid.bp32 "xcore/buffer_pool.cpp",
/external/libaom/libaom/av1/common/
Donyxc_int.h515 BufferPool *buffer_pool; member
586 RefCntBuffer *const frame_bufs = cm->buffer_pool->frame_bufs; in get_free_fb()
589 lock_buffer_pool(cm->buffer_pool); in get_free_fb()
614 unlock_buffer_pool(cm->buffer_pool); in get_free_fb()
629 cm->cur_frame = &cm->buffer_pool->frame_bufs[new_fb_idx]; in assign_cur_frame_new_fb()
Dentropymode.c1080 cm->buffer_pool->frame_bufs[i].frame_context = *cm->fc; in av1_setup_frame_contexts()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_encoder.h946 return fb_idx != INVALID_IDX ? &cm->buffer_pool->frame_bufs[fb_idx] : NULL; in get_ref_cnt_buffer()
953 return buf_idx != INVALID_IDX ? &cm->buffer_pool->frame_bufs[buf_idx].buf in get_ref_frame_buffer()
Dvp9_encoder.c977 vp9_free_ref_frame_buffers(cm->buffer_pool); in dealloc_compressor_data()
2146 cpi->common.buffer_pool = pool; in vp9_create_compressor()
2619 vp9_free_ref_frame_buffers(cm->buffer_pool); in vp9_remove_compressor()
2995 BufferPool *const pool = cm->buffer_pool;
3145 RefCntBuffer *const new_fb_ptr = &cm->buffer_pool->frame_bufs[buffer_idx];
3166 BufferPool *const pool = cm->buffer_pool;
3263 RefCntBuffer *const buf = &cm->buffer_pool->frame_bufs[idx];
3276 RefCntBuffer *const buf = &cm->buffer_pool->frame_bufs[idx];
3608 YV12_BUFFER_CONFIG *const buf = &cm->buffer_pool->frame_bufs[buf_idx].buf;
4782 ref_cnt_fb(cm->buffer_pool->frame_bufs, &cm->new_fb_idx,
[all …]
Dvp9_svc_layercontext.c1175 BufferPool *const pool = cm->buffer_pool; in vp9_svc_update_ref_frame_bypass_mode()
1190 BufferPool *const pool = cm->buffer_pool; in vp9_svc_update_ref_frame()
Dvp9_rd.c632 ? &cm->buffer_pool->frame_bufs[scaled_idx].buf in vp9_get_scaled_ref_frame()
Dvp9_firstpass.c1349 BufferPool *const pool = cm->buffer_pool; in vp9_first_pass()
/external/libaom/libaom/av1/encoder/
Dtpl_model.c475 RefCntBuffer *frame_bufs = cm->buffer_pool->frame_bufs; in init_gop_frames()
Dencoder.c568 av1_free_ref_frame_buffers(cm->buffer_pool); in dealloc_compressor_data()
2602 cpi->common.buffer_pool = pool; in av1_create_compressor()
3142 av1_hash_table_destroy(&cm->buffer_pool->frame_bufs[i].hash_table); in av1_remove_compressor()
3145 av1_free_ref_frame_buffers(cm->buffer_pool); in av1_remove_compressor()
3361 BufferPool *const pool = cm->buffer_pool; in scale_references()
3612 BufferPool *const pool = cm->buffer_pool; in init_ref_frame_bufs()