/external/libvpx/libvpx/vp9/decoder/ |
vp9_decoder.h | 112 static INLINE void decrease_ref_count(int idx, RefCntBuffer *const frame_bufs, 114 if (idx >= 0 && frame_bufs[idx].ref_count > 0) { 115 --frame_bufs[idx].ref_count; 118 // So any error happens during decoding header, the frame_bufs will not 120 if (!frame_bufs[idx].released && frame_bufs[idx].ref_count == 0 && 121 frame_bufs[idx].raw_frame_buffer.priv) { 122 pool->release_fb_cb(pool->cb_priv, &frame_bufs[idx].raw_frame_buffer); 123 frame_bufs[idx].released = 1;
|
vp9_decoder.c | 214 ref_buf = &cm->buffer_pool->frame_bufs[idx].buf; 232 RefCntBuffer *const frame_bufs = cm->buffer_pool->frame_bufs; local 237 decrease_ref_count(old_idx, frame_bufs, pool); 241 decrease_ref_count(old_idx, frame_bufs, pool); 250 decrease_ref_count(old_idx, frame_bufs, pool); 256 --frame_bufs[cm->new_fb_idx].ref_count; 267 RefCntBuffer *volatile const frame_bufs = cm->buffer_pool->frame_bufs; local 290 if (cm->new_fb_idx >= 0 && frame_bufs[cm->new_fb_idx].ref_count == 0 & [all...] |
vp9_decodeframe.c | 649 RefCntBuffer *const ref_frame_buf = &pool->frame_bufs[idx]; 1731 RefCntBuffer *const frame_bufs = pool->frame_bufs; local [all...] |
/external/libvpx/libvpx/vp9/common/ |
vp9_alloccommon.c | 68 if (!pool->frame_bufs[i].released && 69 pool->frame_bufs[i].raw_frame_buffer.data != NULL) { 70 pool->release_fb_cb(pool->cb_priv, &pool->frame_bufs[i].raw_frame_buffer); 71 pool->frame_bufs[i].ref_count = 0; 72 pool->frame_bufs[i].released = 1; 74 vpx_free(pool->frame_bufs[i].mvs); 75 pool->frame_bufs[i].mvs = NULL; 76 vpx_free_frame_buffer(&pool->frame_bufs[i].buf);
|
vp9_onyxc_int.h | 84 RefCntBuffer frame_bufs[FRAME_BUFFERS]; member in struct:BufferPool 265 return &cm->buffer_pool->frame_bufs[cm->ref_frame_map[index]].buf; 269 return &cm->buffer_pool->frame_bufs[cm->new_fb_idx].buf; 273 RefCntBuffer *const frame_bufs = cm->buffer_pool->frame_bufs; local 277 if (frame_bufs[i].ref_count == 0) break; 280 frame_bufs[i].ref_count = 1;
|
/external/libvpx/libvpx/vp9/ |
vp9_dx_iface.c | 391 RefCntBuffer *const frame_bufs = cm->buffer_pool->frame_bufs; local 395 ctx->img.fb_priv = frame_bufs[cm->new_fb_idx].raw_frame_buffer.priv; 514 RefCntBuffer *const frame_bufs = ctx->pbi->common.buffer_pool->frame_bufs; local 517 *corrupted = frame_bufs[ctx->last_show_frame].buf.corrupted;
|
/external/libvpx/libvpx/vp9/encoder/ |
vp9_encoder.c | [all...] |
vp9_encoder.h | 802 return buf_idx != INVALID_IDX ? &cm->buffer_pool->frame_bufs[buf_idx].buf
|
vp9_rd.c | 577 ? &cm->buffer_pool->frame_bufs[scaled_idx].buf
|
vp9_firstpass.c | [all...] |