/external/libvpx/libvpx/vp9/decoder/ |
vp9_decoder.c | 190 RefCntBuffer *const frame_bufs = cm->buffer_pool->frame_bufs; local 221 --frame_bufs[free_fb].ref_count; 224 ref_cnt_fb(frame_bufs, ref_fb_ptr, free_fb); 225 ref_buf->buf = &frame_bufs[*ref_fb_ptr].buf; 237 RefCntBuffer *const frame_bufs = cm->buffer_pool->frame_bufs; local 243 decrease_ref_count(old_idx, frame_bufs, pool); 247 decrease_ref_count(old_idx, frame_bufs, pool); 256 decrease_ref_count(old_idx, frame_bufs, pool) 278 RefCntBuffer *volatile const frame_bufs = cm->buffer_pool->frame_bufs; local [all...] |
vp9_decoder.h | 129 static INLINE void decrease_ref_count(int idx, RefCntBuffer *const frame_bufs, 132 --frame_bufs[idx].ref_count; 135 // So any error happens during decoding header, the frame_bufs will not 137 if (frame_bufs[idx].ref_count == 0 && 138 frame_bufs[idx].raw_frame_buffer.priv) { 139 pool->release_fb_cb(pool->cb_priv, &frame_bufs[idx].raw_frame_buffer);
|
vp9_decodeframe.c | 733 RefCntBuffer *const ref_frame_buf = &pool->frame_bufs[idx]; 1831 RefCntBuffer *const frame_bufs = pool->frame_bufs; local [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/decoder/ |
vp9_decoder.c | 197 &cm->frame_bufs[cm->ref_frame_map[0]].buf; 243 cm->frame_bufs[free_fb].ref_count--; 246 ref_cnt_fb(cm->frame_bufs, ref_fb_ptr, free_fb); 247 ref_buf->buf = &cm->frame_bufs[*ref_fb_ptr].buf; 261 *fb = &cm->frame_bufs[cm->ref_frame_map[index]].buf; 273 ref_cnt_fb(cm->frame_bufs, &cm->ref_frame_map[ref_index], 275 if (old_idx >= 0 && cm->frame_bufs[old_idx].ref_count == 0) 277 &cm->frame_bufs[old_idx].raw_frame_buffer); 283 cm->frame_bufs[cm->new_fb_idx].ref_count--; 313 if (cm->new_fb_idx >= 0 && cm->frame_bufs[cm->new_fb_idx].ref_count == 0 [all...] |
vp9_decodeframe.c | 637 &cm->frame_bufs[cm->new_fb_idx].raw_frame_buffer, cm->get_fb_cb, [all...] |
/external/libvpx/libvpx/vp9/common/ |
vp9_alloccommon.c | 91 if (pool->frame_bufs[i].ref_count > 0 && 92 pool->frame_bufs[i].raw_frame_buffer.data != NULL) { 93 pool->release_fb_cb(pool->cb_priv, &pool->frame_bufs[i].raw_frame_buffer); 94 pool->frame_bufs[i].ref_count = 0; 96 vpx_free(pool->frame_bufs[i].mvs); 97 pool->frame_bufs[i].mvs = NULL; 98 vpx_free_frame_buffer(&pool->frame_bufs[i].buf);
|
vp9_onyxc_int.h | 106 RefCntBuffer frame_bufs[FRAME_BUFFERS]; member in struct:BufferPool 298 return &cm->buffer_pool->frame_bufs[cm->ref_frame_map[index]].buf; 302 return &cm->buffer_pool->frame_bufs[cm->new_fb_idx].buf; 306 RefCntBuffer *const frame_bufs = cm->buffer_pool->frame_bufs; local 311 if (frame_bufs[i].ref_count == 0) 315 frame_bufs[i].ref_count = 1;
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/ |
vp9_alloccommon.c | 93 vp9_free_frame_buffer(&cm->frame_bufs[i].buf); 95 if (cm->frame_bufs[i].ref_count > 0 && 96 cm->frame_bufs[i].raw_frame_buffer.data != NULL) { 97 cm->release_fb_cb(cm->cb_priv, &cm->frame_bufs[i].raw_frame_buffer); 98 cm->frame_bufs[i].ref_count = 0; 172 cm->frame_bufs[i].ref_count = 0; 173 if (vp9_alloc_frame_buffer(&cm->frame_bufs[i].buf, width, height, 179 cm->frame_bufs[cm->new_fb_idx].ref_count = 1; 183 cm->frame_bufs[i].ref_count = 1;
|
vp9_onyxc_int.h | 92 RefCntBuffer frame_bufs[FRAME_BUFFERS]; member in struct:VP9Common 211 return &cm->frame_bufs[cm->new_fb_idx].buf; 217 if (cm->frame_bufs[i].ref_count == 0) 221 cm->frame_bufs[i].ref_count = 1;
|
/external/libvpx/libvpx/vp9/ |
vp9_dx_iface.c | 533 RefCntBuffer *const frame_bufs = cm->buffer_pool->frame_bufs; local 538 frame_bufs[cm->new_fb_idx].raw_frame_buffer.priv; 672 RefCntBuffer *const frame_bufs = ctx->buffer_pool->frame_bufs; local 677 decrease_ref_count(ctx->last_show_frame, frame_bufs, pool); 730 RefCntBuffer *const frame_bufs = cm->buffer_pool->frame_bufs; local 736 ctx->img.fb_priv = frame_bufs[cm->new_fb_idx].raw_frame_buffer.priv; 900 RefCntBuffer *const frame_bufs local [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/ |
vp9_onyx_if.c | [all...] |
vp9_onyx_int.h | 588 return &cm->frame_bufs[cm->ref_frame_map[get_ref_frame_idx(cpi, ref_frame)]]
|
vp9_rdopt.c | [all...] |
/external/libvpx/libvpx/vp9/encoder/ |
vp9_encoder.c | [all...] |
vp9_encoder.h | 584 buf_idx != INVALID_IDX ? &cm->buffer_pool->frame_bufs[buf_idx].buf : NULL;
|
vp9_rd.c | 554 &cm->buffer_pool->frame_bufs[scaled_idx].buf : NULL;
|
vp9_firstpass.c | [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/ |
vp9_dx_iface.c | 268 ctx->img.fb_priv = cm->frame_bufs[cm->new_fb_idx].raw_frame_buffer.priv;
|