Home
last modified time | relevance | path

Searched refs:frame_bufs (Results 1 – 8 of 8) sorted by relevance

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/decoder/
Dvp9_decoder.c197 &cm->frame_bufs[cm->ref_frame_map[0]].buf; in vp9_copy_reference_dec()
243 cm->frame_bufs[free_fb].ref_count--; in vp9_set_reference_dec()
246 ref_cnt_fb(cm->frame_bufs, ref_fb_ptr, free_fb); in vp9_set_reference_dec()
247 ref_buf->buf = &cm->frame_bufs[*ref_fb_ptr].buf; in vp9_set_reference_dec()
261 *fb = &cm->frame_bufs[cm->ref_frame_map[index]].buf; in vp9_get_reference_dec()
273 ref_cnt_fb(cm->frame_bufs, &cm->ref_frame_map[ref_index], in swap_frame_buffers()
275 if (old_idx >= 0 && cm->frame_bufs[old_idx].ref_count == 0) in swap_frame_buffers()
277 &cm->frame_bufs[old_idx].raw_frame_buffer); in swap_frame_buffers()
283 cm->frame_bufs[cm->new_fb_idx].ref_count--; in swap_frame_buffers()
313 if (cm->new_fb_idx >= 0 && cm->frame_bufs[cm->new_fb_idx].ref_count == 0) in vp9_receive_compressed_data()
[all …]
Dvp9_decodeframe.c637 &cm->frame_bufs[cm->new_fb_idx].raw_frame_buffer, cm->get_fb_cb, in apply_frame_size()
1035 if (cm->frame_bufs[frame_to_show].ref_count < 1) in read_uncompressed_header()
1040 ref_cnt_fb(cm->frame_bufs, &cm->new_fb_idx, frame_to_show); in read_uncompressed_header()
1100 cm->frame_refs[i].buf = &cm->frame_bufs[idx].buf; in read_uncompressed_header()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/
Dvp9_alloccommon.c93 vp9_free_frame_buffer(&cm->frame_bufs[i].buf); in vp9_free_frame_buffers()
95 if (cm->frame_bufs[i].ref_count > 0 && in vp9_free_frame_buffers()
96 cm->frame_bufs[i].raw_frame_buffer.data != NULL) { in vp9_free_frame_buffers()
97 cm->release_fb_cb(cm->cb_priv, &cm->frame_bufs[i].raw_frame_buffer); in vp9_free_frame_buffers()
98 cm->frame_bufs[i].ref_count = 0; in vp9_free_frame_buffers()
172 cm->frame_bufs[i].ref_count = 0; in vp9_alloc_frame_buffers()
173 if (vp9_alloc_frame_buffer(&cm->frame_bufs[i].buf, width, height, in vp9_alloc_frame_buffers()
179 cm->frame_bufs[cm->new_fb_idx].ref_count = 1; in vp9_alloc_frame_buffers()
183 cm->frame_bufs[i].ref_count = 1; in vp9_alloc_frame_buffers()
Dvp9_onyxc_int.h92 RefCntBuffer frame_bufs[FRAME_BUFFERS]; member
211 return &cm->frame_bufs[cm->new_fb_idx].buf; in get_frame_new_buffer()
217 if (cm->frame_bufs[i].ref_count == 0) in get_free_fb()
221 cm->frame_bufs[i].ref_count = 1; in get_free_fb()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
Dvp9_onyx_if.c1787 *fb = &cm->frame_bufs[cm->ref_frame_map[index]].buf; in vp9_get_reference_enc()
2047 ref_cnt_fb(cm->frame_bufs,
2049 ref_cnt_fb(cm->frame_bufs,
2070 ref_cnt_fb(cm->frame_bufs,
2084 ref_cnt_fb(cm->frame_bufs,
2089 ref_cnt_fb(cm->frame_bufs,
2095 ref_cnt_fb(cm->frame_bufs,
2131 YV12_BUFFER_CONFIG *const ref = &cm->frame_bufs[idx].buf;
2136 vp9_realloc_frame_buffer(&cm->frame_bufs[new_fb].buf,
2140 scale_and_extend_frame(ref, &cm->frame_bufs[new_fb].buf);
[all …]
Dvp9_onyx_int.h588 return &cm->frame_bufs[cm->ref_frame_map[get_ref_frame_idx(cpi, ref_frame)]] in get_ref_frame_buffer()
Dvp9_rdopt.c2358 return (scaled_idx != ref_idx) ? &cm->frame_bufs[scaled_idx].buf : NULL; in vp9_get_scaled_ref_frame()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/
Dvp9_dx_iface.c268 ctx->img.fb_priv = cm->frame_bufs[cm->new_fb_idx].raw_frame_buffer.priv; in decode_one()