/external/libvpx/libvpx/vp9/decoder/ |
vp9_decoder.h | 116 static INLINE void decrease_ref_count(int idx, RefCntBuffer *const frame_bufs, 118 if (idx >= 0 && frame_bufs[idx].ref_count > 0) { 119 --frame_bufs[idx].ref_count; 122 // So any error happens during decoding header, the frame_bufs will not 124 if (frame_bufs[idx].ref_count == 0 && 125 frame_bufs[idx].raw_frame_buffer.priv) { 126 pool->release_fb_cb(pool->cb_priv, &frame_bufs[idx].raw_frame_buffer);
|
vp9_decoder.c | 213 ref_buf = &cm->buffer_pool->frame_bufs[idx].buf; 231 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); 259 --frame_bufs[cm->new_fb_idx].ref_count; 272 RefCntBuffer *volatile const frame_bufs = cm->buffer_pool->frame_bufs; local 297 frame_bufs[cm->new_fb_idx].ref_count == 0 [all...] |
vp9_decodeframe.c | 665 RefCntBuffer *const ref_frame_buf = &pool->frame_bufs[idx]; 1756 RefCntBuffer *const frame_bufs = pool->frame_bufs; local [all...] |
/external/libvpx/libvpx/vp9/common/ |
vp9_alloccommon.c | 90 if (pool->frame_bufs[i].ref_count > 0 && 91 pool->frame_bufs[i].raw_frame_buffer.data != NULL) { 92 pool->release_fb_cb(pool->cb_priv, &pool->frame_bufs[i].raw_frame_buffer); 93 pool->frame_bufs[i].ref_count = 0; 95 vpx_free(pool->frame_bufs[i].mvs); 96 pool->frame_bufs[i].mvs = NULL; 97 vpx_free_frame_buffer(&pool->frame_bufs[i].buf);
|
vp9_onyxc_int.h | 105 RefCntBuffer frame_bufs[FRAME_BUFFERS]; member in struct:BufferPool 295 return &cm->buffer_pool->frame_bufs[cm->ref_frame_map[index]].buf; 299 return &cm->buffer_pool->frame_bufs[cm->new_fb_idx].buf; 303 RefCntBuffer *const frame_bufs = cm->buffer_pool->frame_bufs; local 308 if (frame_bufs[i].ref_count == 0) break; 311 frame_bufs[i].ref_count = 1;
|
/external/libvpx/libvpx/vp9/ |
vp9_dx_iface.c | 515 RefCntBuffer *const frame_bufs = cm->buffer_pool->frame_bufs; local 520 frame_bufs[cm->new_fb_idx].raw_frame_buffer.priv; 649 RefCntBuffer *const frame_bufs = ctx->buffer_pool->frame_bufs; local 654 decrease_ref_count(ctx->last_show_frame, frame_bufs, pool); 705 RefCntBuffer *const frame_bufs = cm->buffer_pool->frame_bufs; local 710 ctx->img.fb_priv = frame_bufs[cm->new_fb_idx].raw_frame_buffer.priv; 875 RefCntBuffer *const frame_bufs local [all...] |
/external/libvpx/libvpx/vp9/encoder/ |
vp9_encoder.c | [all...] |
vp9_encoder.h | 793 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...] |