Home
last modified time | relevance | path

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

/external/libvpx/libvpx/vp9/decoder/
Dvp9_decoder.c127 &cm->frame_bufs[cm->ref_frame_map[0]].buf; in vp9_copy_reference_dec()
173 cm->frame_bufs[free_fb].ref_count--; in vp9_set_reference_dec()
176 ref_cnt_fb(cm->frame_bufs, ref_fb_ptr, free_fb); in vp9_set_reference_dec()
177 ref_buf->buf = &cm->frame_bufs[*ref_fb_ptr].buf; in vp9_set_reference_dec()
192 ref_cnt_fb(cm->frame_bufs, &cm->ref_frame_map[ref_index], in swap_frame_buffers()
194 if (old_idx >= 0 && cm->frame_bufs[old_idx].ref_count == 0) in swap_frame_buffers()
196 &cm->frame_bufs[old_idx].raw_frame_buffer); in swap_frame_buffers()
202 cm->frame_bufs[cm->new_fb_idx].ref_count--; in swap_frame_buffers()
231 if (cm->new_fb_idx >= 0 && cm->frame_bufs[cm->new_fb_idx].ref_count == 0) in vp9_receive_compressed_data()
233 &cm->frame_bufs[cm->new_fb_idx].raw_frame_buffer); in vp9_receive_compressed_data()
[all …]
Dvp9_decodeframe.c658 &cm->frame_bufs[cm->new_fb_idx].raw_frame_buffer, cm->get_fb_cb, in setup_frame_size()
705 &cm->frame_bufs[cm->new_fb_idx].raw_frame_buffer, cm->get_fb_cb, in setup_frame_size_with_refs()
1154 if (frame_to_show < 0 || cm->frame_bufs[frame_to_show].ref_count < 1) in read_uncompressed_header()
1159 ref_cnt_fb(cm->frame_bufs, &cm->new_fb_idx, frame_to_show); in read_uncompressed_header()
1214 ref_frame->buf = &cm->frame_bufs[idx].buf; in read_uncompressed_header()
/external/libvpx/libvpx/vp9/common/
Dvp9_alloccommon.c105 vp9_free_frame_buffer(&cm->frame_bufs[i].buf); in vp9_free_ref_frame_buffers()
107 if (cm->frame_bufs[i].ref_count > 0 && in vp9_free_ref_frame_buffers()
108 cm->frame_bufs[i].raw_frame_buffer.data != NULL) { in vp9_free_ref_frame_buffers()
109 cm->release_fb_cb(cm->cb_priv, &cm->frame_bufs[i].raw_frame_buffer); in vp9_free_ref_frame_buffers()
110 cm->frame_bufs[i].ref_count = 0; in vp9_free_ref_frame_buffers()
159 cm->frame_bufs[cm->new_fb_idx].ref_count = 1; in init_frame_bufs()
163 cm->frame_bufs[i].ref_count = 1; in init_frame_bufs()
175 cm->frame_bufs[i].ref_count = 0; in vp9_alloc_ref_frame_buffers()
176 if (vp9_alloc_frame_buffer(&cm->frame_bufs[i].buf, width, height, in vp9_alloc_ref_frame_buffers()
Dvp9_onyxc_int.h89 RefCntBuffer frame_bufs[FRAME_BUFFERS]; member
211 return &cm->frame_bufs[cm->ref_frame_map[index]].buf; in get_ref_frame()
215 return &cm->frame_bufs[cm->new_fb_idx].buf; in get_frame_new_buffer()
221 if (cm->frame_bufs[i].ref_count == 0) in get_free_fb()
225 cm->frame_bufs[i].ref_count = 1; in get_free_fb()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_encoder.c1498 ref_cnt_fb(cm->frame_bufs, in vp9_update_reference_frames()
1500 ref_cnt_fb(cm->frame_bufs, in vp9_update_reference_frames()
1513 ref_cnt_fb(cm->frame_bufs, in vp9_update_reference_frames()
1532 ref_cnt_fb(cm->frame_bufs, in vp9_update_reference_frames()
1537 ref_cnt_fb(cm->frame_bufs, in vp9_update_reference_frames()
1543 ref_cnt_fb(cm->frame_bufs, in vp9_update_reference_frames()
1590 const YV12_BUFFER_CONFIG *const ref = &cm->frame_bufs[idx].buf; in vp9_scale_references()
1596 vp9_realloc_frame_buffer(&cm->frame_bufs[new_fb].buf, in vp9_scale_references()
1600 scale_and_extend_frame(ref, &cm->frame_bufs[new_fb].buf); in vp9_scale_references()
1604 cm->frame_bufs[idx].ref_count++; in vp9_scale_references()
[all …]
Dvp9_encoder.h495 return &cm->frame_bufs[cm->ref_frame_map[get_ref_frame_idx(cpi, ref_frame)]] in get_ref_frame_buffer()
Dvp9_rd.c447 return (scaled_idx != ref_idx) ? &cm->frame_bufs[scaled_idx].buf : NULL; in vp9_get_scaled_ref_frame()
/external/libvpx/libvpx/vp9/
Dvp9_dx_iface.c329 ctx->img.fb_priv = cm->frame_bufs[cm->new_fb_idx].raw_frame_buffer.priv; in decode_one()