Home
last modified time | relevance | path

Searched refs:new_fb_idx (Results 1 – 14 of 14) sorted by relevance

/external/libvpx/libvpx/vp9/decoder/
Dvp9_decoder.c216 if (cm->new_fb_idx == INVALID_IDX) in vp9_set_reference_dec()
265 --frame_bufs[cm->new_fb_idx].ref_count; in swap_frame_buffers()
302 if (!pbi->frame_parallel_decode && cm->new_fb_idx >= 0 in vp9_receive_compressed_data()
303 && frame_bufs[cm->new_fb_idx].ref_count == 0) in vp9_receive_compressed_data()
305 &frame_bufs[cm->new_fb_idx].raw_frame_buffer); in vp9_receive_compressed_data()
307 cm->new_fb_idx = get_free_fb(cm); in vp9_receive_compressed_data()
308 if (cm->new_fb_idx == INVALID_IDX) in vp9_receive_compressed_data()
312 cm->cur_frame = &pool->frame_bufs[cm->new_fb_idx]; in vp9_receive_compressed_data()
318 frame_bufs[cm->new_fb_idx].frame_worker_owner = worker; in vp9_receive_compressed_data()
320 pbi->cur_buf = &frame_bufs[cm->new_fb_idx]; in vp9_receive_compressed_data()
[all …]
Dvp9_decodeframe.c1251 &pool->frame_bufs[cm->new_fb_idx].raw_frame_buffer, pool->get_fb_cb, in setup_frame_size()
1259 pool->frame_bufs[cm->new_fb_idx].buf.subsampling_x = cm->subsampling_x; in setup_frame_size()
1260 pool->frame_bufs[cm->new_fb_idx].buf.subsampling_y = cm->subsampling_y; in setup_frame_size()
1261 pool->frame_bufs[cm->new_fb_idx].buf.bit_depth = (unsigned int)cm->bit_depth; in setup_frame_size()
1262 pool->frame_bufs[cm->new_fb_idx].buf.color_space = cm->color_space; in setup_frame_size()
1263 pool->frame_bufs[cm->new_fb_idx].buf.color_range = cm->color_range; in setup_frame_size()
1264 pool->frame_bufs[cm->new_fb_idx].buf.render_width = cm->render_width; in setup_frame_size()
1265 pool->frame_bufs[cm->new_fb_idx].buf.render_height = cm->render_height; in setup_frame_size()
1335 &pool->frame_bufs[cm->new_fb_idx].raw_frame_buffer, pool->get_fb_cb, in setup_frame_size_with_refs()
1343 pool->frame_bufs[cm->new_fb_idx].buf.subsampling_x = cm->subsampling_x; in setup_frame_size_with_refs()
[all …]
/external/libvpx/libvpx/vp8/decoder/
Donyxd_if.c259 ref_cnt_fb (cm->fb_idx_ref_cnt, &cm->gld_fb_idx, cm->new_fb_idx); in swap_frame_buffers()
262 ref_cnt_fb (cm->fb_idx_ref_cnt, &cm->alt_fb_idx, cm->new_fb_idx); in swap_frame_buffers()
266 ref_cnt_fb (cm->fb_idx_ref_cnt, &cm->lst_fb_idx, cm->new_fb_idx); in swap_frame_buffers()
271 cm->frame_to_show = &cm->yv12_fb[cm->new_fb_idx]; in swap_frame_buffers()
273 cm->fb_idx_ref_cnt[cm->new_fb_idx]--; in swap_frame_buffers()
332 cm->new_fb_idx = get_free_fb (cm); in vp8dx_receive_compressed_data()
335 pbi->dec_fb_ref[INTRA_FRAME] = &cm->yv12_fb[cm->new_fb_idx]; in vp8dx_receive_compressed_data()
348 if (cm->fb_idx_ref_cnt[cm->new_fb_idx] > 0) in vp8dx_receive_compressed_data()
349 cm->fb_idx_ref_cnt[cm->new_fb_idx]--; in vp8dx_receive_compressed_data()
360 if (cm->fb_idx_ref_cnt[cm->new_fb_idx] > 0) in vp8dx_receive_compressed_data()
[all …]
/external/libvpx/libvpx/vp8/common/
Donyxc_int.h85 int new_fb_idx, lst_fb_idx, gld_fb_idx, alt_fb_idx; member
Dalloccommon.c70 oci->new_fb_idx = 0; in vp8_alloc_frame_buffers()
/external/libvpx/libvpx/vp9/
Dvp9_dx_iface.c240 cm->new_fb_idx = INVALID_IDX; in init_buffer_callbacks()
525 ctx->frame_cache[ctx->frame_cache_write].fb_idx = cm->new_fb_idx; in wait_worker_and_cache_frame()
529 frame_bufs[cm->new_fb_idx].raw_frame_buffer.priv; in wait_worker_and_cache_frame()
723 ctx->last_show_frame = frame_worker_data->pbi->common.new_fb_idx; in decoder_get_frame()
727 ctx->img.fb_priv = frame_bufs[cm->new_fb_idx].raw_frame_buffer.priv; in decoder_get_frame()
/external/libvpx/libvpx/vp9/common/
Dvp9_onyxc_int.h151 int new_fb_idx; member
302 return &cm->buffer_pool->frame_bufs[cm->new_fb_idx].buf; in get_frame_new_buffer()
/external/libvpx/libvpx/vp8/encoder/
Dencodeframe.c271 YV12_BUFFER_CONFIG *new_yv12 = &cm->yv12_fb[cm->new_fb_idx]; in build_activity_map()
375 int dst_fb_idx = cm->new_fb_idx; in encode_mb_row()
655 xd->dst = cm->yv12_fb[cm->new_fb_idx]; in init_encode_frame_mb_context()
658 vp8_setup_intra_recon(&cm->yv12_fb[cm->new_fb_idx]); in init_encode_frame_mb_context()
Dethreading.c84 int dst_fb_idx = cm->new_fb_idx; in thread_encoding_proc()
483 mbd->dst = cm->yv12_fb[cm->new_fb_idx]; in vp8cx_init_mbrthread_data()
Donyx_if.c3173 yv12_fb[cm->new_fb_idx].flags |= VP8_GOLD_FRAME | VP8_ALTR_FRAME ; in update_reference_frames()
3178 cm->alt_fb_idx = cm->gld_fb_idx = cm->new_fb_idx; in update_reference_frames()
3189 cm->yv12_fb[cm->new_fb_idx].flags |= VP8_ALTR_FRAME; in update_reference_frames()
3191 cm->alt_fb_idx = cm->new_fb_idx; in update_reference_frames()
3229 cm->yv12_fb[cm->new_fb_idx].flags |= VP8_GOLD_FRAME; in update_reference_frames()
3231 cm->gld_fb_idx = cm->new_fb_idx; in update_reference_frames()
3268 cm->yv12_fb[cm->new_fb_idx].flags |= VP8_LAST_FRAME; in update_reference_frames()
3270 cm->lst_fb_idx = cm->new_fb_idx; in update_reference_frames()
4464 &cm->yv12_fb[cm->new_fb_idx]); in encode_frame_to_data_rate()
4677 &cm->yv12_fb[cm->new_fb_idx]); in encode_frame_to_data_rate()
[all …]
Dfirstpass.c517 YV12_BUFFER_CONFIG *new_yv12 = &cm->yv12_fb[cm->new_fb_idx]; in vp8_first_pass()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_encoder.c2690 &cm->ref_frame_map[cpi->gld_fb_idx], cm->new_fb_idx);
2692 &cm->ref_frame_map[cpi->alt_fb_idx], cm->new_fb_idx);
2705 &cm->ref_frame_map[cpi->alt_fb_idx], cm->new_fb_idx);
2724 &cm->ref_frame_map[arf_idx], cm->new_fb_idx);
2732 &cm->ref_frame_map[cpi->gld_fb_idx], cm->new_fb_idx);
2746 &cm->ref_frame_map[cpi->lst_fb_idx], cm->new_fb_idx);
3182 alloc_frame_mvs(cm, cm->new_fb_idx);
3982 cm->new_fb_idx = INVALID_IDX;
4338 if (cm->new_fb_idx != INVALID_IDX) {
4339 --pool->frame_bufs[cm->new_fb_idx].ref_count;
[all …]
Dvp9_firstpass.c1123 cm->new_fb_idx); in vp9_first_pass()
/external/libvpx/libvpx/vp8/
Dvp8_dx_iface.c437 xd->dst = pc->yv12_fb[pc->new_fb_idx]; in vp8_decode()
442 pbi->mb_row_di[i].mbd.dst = pc->yv12_fb[pc->new_fb_idx]; in vp8_decode()