Home
last modified time | relevance | path

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

/external/libvpx/libvpx/vp9/decoder/
Dvp9_decoder.c357 --frame_bufs[cm->new_fb_idx].ref_count; in swap_frame_buffers()
429 if (cm->new_fb_idx >= 0 && frame_bufs[cm->new_fb_idx].ref_count == 0 && in vp9_receive_compressed_data()
430 !frame_bufs[cm->new_fb_idx].released) { in vp9_receive_compressed_data()
432 &frame_bufs[cm->new_fb_idx].raw_frame_buffer); in vp9_receive_compressed_data()
433 frame_bufs[cm->new_fb_idx].released = 1; in vp9_receive_compressed_data()
437 cm->new_fb_idx = get_free_fb(cm); in vp9_receive_compressed_data()
438 if (cm->new_fb_idx == INVALID_IDX) { in vp9_receive_compressed_data()
448 cm->cur_frame = &pool->frame_bufs[cm->new_fb_idx]; in vp9_receive_compressed_data()
451 pbi->cur_buf = &frame_bufs[cm->new_fb_idx]; in vp9_receive_compressed_data()
458 decrease_ref_count(cm->new_fb_idx, frame_bufs, pool); in vp9_receive_compressed_data()
[all …]
Dvp9_decodeframe.c1530 &pool->frame_bufs[cm->new_fb_idx].raw_frame_buffer, pool->get_fb_cb, in setup_frame_size()
1536 pool->frame_bufs[cm->new_fb_idx].released = 0; in setup_frame_size()
1537 pool->frame_bufs[cm->new_fb_idx].buf.subsampling_x = cm->subsampling_x; in setup_frame_size()
1538 pool->frame_bufs[cm->new_fb_idx].buf.subsampling_y = cm->subsampling_y; in setup_frame_size()
1539 pool->frame_bufs[cm->new_fb_idx].buf.bit_depth = (unsigned int)cm->bit_depth; in setup_frame_size()
1540 pool->frame_bufs[cm->new_fb_idx].buf.color_space = cm->color_space; in setup_frame_size()
1541 pool->frame_bufs[cm->new_fb_idx].buf.color_range = cm->color_range; in setup_frame_size()
1542 pool->frame_bufs[cm->new_fb_idx].buf.render_width = cm->render_width; in setup_frame_size()
1543 pool->frame_bufs[cm->new_fb_idx].buf.render_height = cm->render_height; in setup_frame_size()
1614 &pool->frame_bufs[cm->new_fb_idx].raw_frame_buffer, pool->get_fb_cb, in setup_frame_size_with_refs()
[all …]
/external/libvpx/libvpx/vp8/decoder/
Donyxd_if.c250 ref_cnt_fb(cm->fb_idx_ref_cnt, &cm->gld_fb_idx, cm->new_fb_idx); in swap_frame_buffers()
254 ref_cnt_fb(cm->fb_idx_ref_cnt, &cm->alt_fb_idx, cm->new_fb_idx); in swap_frame_buffers()
258 ref_cnt_fb(cm->fb_idx_ref_cnt, &cm->lst_fb_idx, cm->new_fb_idx); in swap_frame_buffers()
262 cm->frame_to_show = &cm->yv12_fb[cm->new_fb_idx]; in swap_frame_buffers()
265 cm->fb_idx_ref_cnt[cm->new_fb_idx]--; in swap_frame_buffers()
314 cm->new_fb_idx = get_free_fb(cm); in vp8dx_receive_compressed_data()
317 pbi->dec_fb_ref[INTRA_FRAME] = &cm->yv12_fb[cm->new_fb_idx]; in vp8dx_receive_compressed_data()
325 if (cm->fb_idx_ref_cnt[cm->new_fb_idx] > 0) { in vp8dx_receive_compressed_data()
326 cm->fb_idx_ref_cnt[cm->new_fb_idx]--; in vp8dx_receive_compressed_data()
/external/libvpx/libvpx/vp8/
Dvp8_dx_iface.c407 xd->dst = pc->yv12_fb[pc->new_fb_idx]; in vp8_decode()
411 pbi->mb_row_di[i].mbd.dst = pc->yv12_fb[pc->new_fb_idx]; in vp8_decode()
466 if (pc->fb_idx_ref_cnt[pc->new_fb_idx] > 0) { in vp8_decode()
467 pc->fb_idx_ref_cnt[pc->new_fb_idx]--; in vp8_decode()
/external/libvpx/libvpx/vp8/common/
Donyxc_int.h80 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/common/
Dvp9_onyxc_int.h129 int new_fb_idx; member
299 return &cm->buffer_pool->frame_bufs[cm->new_fb_idx].buf; in get_frame_new_buffer()
/external/libvpx/libvpx/vp9/
Dvp9_dx_iface.c208 cm->new_fb_idx = INVALID_IDX; in init_buffer_callbacks()
414 ctx->last_show_frame = ctx->pbi->common.new_fb_idx; in decoder_get_frame()
417 ctx->img.fb_priv = frame_bufs[cm->new_fb_idx].raw_frame_buffer.priv; in decoder_get_frame()
/external/libvpx/libvpx/vp8/encoder/
Dencodeframe.c240 YV12_BUFFER_CONFIG *new_yv12 = &cm->yv12_fb[cm->new_fb_idx]; in build_activity_map()
331 int dst_fb_idx = cm->new_fb_idx; in encode_mb_row()
601 xd->dst = cm->yv12_fb[cm->new_fb_idx]; in init_encode_frame_mb_context()
604 vp8_setup_intra_recon(&cm->yv12_fb[cm->new_fb_idx]); in init_encode_frame_mb_context()
Dethreading.c79 int dst_fb_idx = cm->new_fb_idx; in thread_encoding_proc()
460 mbd->dst = cm->yv12_fb[cm->new_fb_idx]; in vp8cx_init_mbrthread_data()
Donyx_if.c2868 yv12_fb[cm->new_fb_idx].flags |= VP8_GOLD_FRAME | VP8_ALTR_FRAME; in update_reference_frames()
2873 cm->alt_fb_idx = cm->gld_fb_idx = cm->new_fb_idx; in update_reference_frames()
2881 cm->yv12_fb[cm->new_fb_idx].flags |= VP8_ALTR_FRAME; in update_reference_frames()
2883 cm->alt_fb_idx = cm->new_fb_idx; in update_reference_frames()
2913 cm->yv12_fb[cm->new_fb_idx].flags |= VP8_GOLD_FRAME; in update_reference_frames()
2915 cm->gld_fb_idx = cm->new_fb_idx; in update_reference_frames()
2944 cm->yv12_fb[cm->new_fb_idx].flags |= VP8_LAST_FRAME; in update_reference_frames()
2946 cm->lst_fb_idx = cm->new_fb_idx; in update_reference_frames()
4052 int kf_err = vp8_calc_ss_err(cpi->Source, &cm->yv12_fb[cm->new_fb_idx]); in encode_frame_to_data_rate()
4271 vp8_calc_ss_err(cpi->Source, &cm->yv12_fb[cm->new_fb_idx]); in encode_frame_to_data_rate()
[all …]
Dfirstpass.c476 YV12_BUFFER_CONFIG *new_yv12 = &cm->yv12_fb[cm->new_fb_idx]; in vp8_first_pass()
/external/libaom/libaom/av1/common/
Dav1_common_int.h805 const int new_fb_idx = get_free_fb(cm); in assign_cur_frame_new_fb() local
806 if (new_fb_idx == INVALID_IDX) return NULL; in assign_cur_frame_new_fb()
808 cm->cur_frame = &cm->buffer_pool->frame_bufs[new_fb_idx]; in assign_cur_frame_new_fb()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_encoder.c2165 cm->new_fb_idx = INVALID_IDX; in init_ref_frame_bufs()
3210 cm->new_fb_idx);
3212 cm->new_fb_idx);
3225 cm->new_fb_idx);
3241 ref_cnt_fb(pool->frame_bufs, &cm->ref_frame_map[arf_idx], cm->new_fb_idx);
3251 cm->new_fb_idx);
3265 cm->new_fb_idx);
3768 alloc_frame_mvs(cm, cm->new_fb_idx);
4654 RefCntBuffer *const ref_buffer = get_ref_cnt_buffer(cm, cm->new_fb_idx);
4877 RefCntBuffer *const ref_buffer = get_ref_cnt_buffer(cm, cm->new_fb_idx);
[all …]
Dvp9_svc_layercontext.c1244 ref_cnt_fb(pool->frame_bufs, &cm->ref_frame_map[i], cm->new_fb_idx); in vp9_svc_update_ref_frame_bypass_mode()
1268 ref_cnt_fb(pool->frame_bufs, &cm->ref_frame_map[i], cm->new_fb_idx); in vp9_svc_update_ref_frame()
Dvp9_firstpass.c1456 cm->new_fb_idx); in vp9_first_pass()
/external/libaom/libaom/av1/encoder/
Dencoder.c3915 const int new_fb_idx = get_free_fb(cm); in scale_references() local
3916 if (new_fb_idx == INVALID_IDX) { in scale_references()
3921 new_fb = &pool->frame_bufs[new_fb_idx]; in scale_references()