Searched refs:frame_bufs (Results 1 – 10 of 10) sorted by relevance
/external/libvpx/libvpx/vp9/decoder/ |
D | vp9_decoder.c | 214 ref_buf = &cm->buffer_pool->frame_bufs[idx].buf; in vp9_set_reference_dec() 232 RefCntBuffer *const frame_bufs = cm->buffer_pool->frame_bufs; in swap_frame_buffers() local 237 decrease_ref_count(old_idx, frame_bufs, pool); in swap_frame_buffers() 241 decrease_ref_count(old_idx, frame_bufs, pool); in swap_frame_buffers() 250 decrease_ref_count(old_idx, frame_bufs, pool); in swap_frame_buffers() 256 --frame_bufs[cm->new_fb_idx].ref_count; in swap_frame_buffers() 267 RefCntBuffer *volatile const frame_bufs = cm->buffer_pool->frame_bufs; in vp9_receive_compressed_data() local 290 if (cm->new_fb_idx >= 0 && frame_bufs[cm->new_fb_idx].ref_count == 0 && in vp9_receive_compressed_data() 291 !frame_bufs[cm->new_fb_idx].released) { in vp9_receive_compressed_data() 293 &frame_bufs[cm->new_fb_idx].raw_frame_buffer); in vp9_receive_compressed_data() [all …]
|
D | vp9_decoder.h | 112 static INLINE void decrease_ref_count(int idx, RefCntBuffer *const frame_bufs, in decrease_ref_count() argument 114 if (idx >= 0 && frame_bufs[idx].ref_count > 0) { in decrease_ref_count() 115 --frame_bufs[idx].ref_count; in decrease_ref_count() 120 if (!frame_bufs[idx].released && frame_bufs[idx].ref_count == 0 && in decrease_ref_count() 121 frame_bufs[idx].raw_frame_buffer.priv) { in decrease_ref_count() 122 pool->release_fb_cb(pool->cb_priv, &frame_bufs[idx].raw_frame_buffer); in decrease_ref_count() 123 frame_bufs[idx].released = 1; in decrease_ref_count()
|
D | vp9_decodeframe.c | 649 RefCntBuffer *const ref_frame_buf = &pool->frame_bufs[idx]; in dec_build_inter_predictors_sb() 1181 &pool->frame_bufs[cm->new_fb_idx].raw_frame_buffer, pool->get_fb_cb, in setup_frame_size() 1187 pool->frame_bufs[cm->new_fb_idx].released = 0; in setup_frame_size() 1188 pool->frame_bufs[cm->new_fb_idx].buf.subsampling_x = cm->subsampling_x; in setup_frame_size() 1189 pool->frame_bufs[cm->new_fb_idx].buf.subsampling_y = cm->subsampling_y; in setup_frame_size() 1190 pool->frame_bufs[cm->new_fb_idx].buf.bit_depth = (unsigned int)cm->bit_depth; in setup_frame_size() 1191 pool->frame_bufs[cm->new_fb_idx].buf.color_space = cm->color_space; in setup_frame_size() 1192 pool->frame_bufs[cm->new_fb_idx].buf.color_range = cm->color_range; in setup_frame_size() 1193 pool->frame_bufs[cm->new_fb_idx].buf.render_width = cm->render_width; in setup_frame_size() 1194 pool->frame_bufs[cm->new_fb_idx].buf.render_height = cm->render_height; in setup_frame_size() [all …]
|
/external/libvpx/libvpx/vp9/common/ |
D | vp9_alloccommon.c | 68 if (!pool->frame_bufs[i].released && in vp9_free_ref_frame_buffers() 69 pool->frame_bufs[i].raw_frame_buffer.data != NULL) { in vp9_free_ref_frame_buffers() 70 pool->release_fb_cb(pool->cb_priv, &pool->frame_bufs[i].raw_frame_buffer); in vp9_free_ref_frame_buffers() 71 pool->frame_bufs[i].ref_count = 0; in vp9_free_ref_frame_buffers() 72 pool->frame_bufs[i].released = 1; in vp9_free_ref_frame_buffers() 74 vpx_free(pool->frame_bufs[i].mvs); in vp9_free_ref_frame_buffers() 75 pool->frame_bufs[i].mvs = NULL; in vp9_free_ref_frame_buffers() 76 vpx_free_frame_buffer(&pool->frame_bufs[i].buf); in vp9_free_ref_frame_buffers()
|
D | vp9_onyxc_int.h | 84 RefCntBuffer frame_bufs[FRAME_BUFFERS]; member 265 return &cm->buffer_pool->frame_bufs[cm->ref_frame_map[index]].buf; in get_ref_frame() 269 return &cm->buffer_pool->frame_bufs[cm->new_fb_idx].buf; in get_frame_new_buffer() 273 RefCntBuffer *const frame_bufs = cm->buffer_pool->frame_bufs; in get_free_fb() local 277 if (frame_bufs[i].ref_count == 0) break; in get_free_fb() 280 frame_bufs[i].ref_count = 1; in get_free_fb()
|
/external/libvpx/libvpx/vp9/ |
D | vp9_dx_iface.c | 391 RefCntBuffer *const frame_bufs = cm->buffer_pool->frame_bufs; in decoder_get_frame() local 395 ctx->img.fb_priv = frame_bufs[cm->new_fb_idx].raw_frame_buffer.priv; in decoder_get_frame() 514 RefCntBuffer *const frame_bufs = ctx->pbi->common.buffer_pool->frame_bufs; in ctrl_get_frame_corrupted() local 517 *corrupted = frame_bufs[ctx->last_show_frame].buf.corrupted; in ctrl_get_frame_corrupted()
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_encoder.c | 2818 ref_cnt_fb(pool->frame_bufs, &cm->ref_frame_map[cpi->gld_fb_idx], 2820 ref_cnt_fb(pool->frame_bufs, &cm->ref_frame_map[cpi->alt_fb_idx], 2833 ref_cnt_fb(pool->frame_bufs, &cm->ref_frame_map[cpi->alt_fb_idx], 2852 ref_cnt_fb(pool->frame_bufs, &cm->ref_frame_map[arf_idx], cm->new_fb_idx); 2859 ref_cnt_fb(pool->frame_bufs, &cm->ref_frame_map[cpi->gld_fb_idx], 2873 ref_cnt_fb(pool->frame_bufs, &cm->ref_frame_map[cpi->lst_fb_idx], 2984 RefCntBuffer *const new_fb_ptr = &cm->buffer_pool->frame_bufs[buffer_idx]; 3024 new_fb_ptr = &pool->frame_bufs[new_fb]; 3049 new_fb_ptr = &pool->frame_bufs[new_fb]; 3069 buf = (buf_idx != INVALID_IDX) ? &pool->frame_bufs[buf_idx] : NULL; [all …]
|
D | vp9_encoder.h | 802 return buf_idx != INVALID_IDX ? &cm->buffer_pool->frame_bufs[buf_idx].buf in get_ref_frame_buffer()
|
D | vp9_rd.c | 577 ? &cm->buffer_pool->frame_bufs[scaled_idx].buf in vp9_get_scaled_ref_frame()
|
D | vp9_firstpass.c | 1517 ref_cnt_fb(pool->frame_bufs, &cm->ref_frame_map[cpi->gld_fb_idx], in vp9_first_pass() 1531 ref_cnt_fb(pool->frame_bufs, &cm->ref_frame_map[cpi->lst_fb_idx], in vp9_first_pass() 1539 ref_cnt_fb(pool->frame_bufs, &cm->ref_frame_map[cpi->gld_fb_idx], in vp9_first_pass()
|