Searched refs:buffer_pool (Results 1 – 11 of 11) sorted by relevance
/external/mesa3d/src/gallium/state_trackers/nine/ |
D | nine_buffer_upload.c | 65 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/ |
D | vp9_onyxc_int.h | 279 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/ |
D | vp9_dx_iface.c | 88 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 …]
|
D | vp9_dx_iface.h | 57 BufferPool *buffer_pool; member
|
D | vp9_cx_iface.c | 111 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/ |
D | vp9_decoder.c | 104 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()
|
D | vp9_decodeframe.c | 664 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/ |
D | vp9_encoder.c | 806 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 …]
|
D | vp9_encoder.h | 793 return buf_idx != INVALID_IDX ? &cm->buffer_pool->frame_bufs[buf_idx].buf in get_ref_frame_buffer()
|
D | vp9_rd.c | 577 ? &cm->buffer_pool->frame_bufs[scaled_idx].buf in vp9_get_scaled_ref_frame()
|
D | vp9_firstpass.c | 1369 BufferPool *const pool = cm->buffer_pool; in vp9_first_pass()
|