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.c298 --frame_bufs[cm->new_fb_idx].ref_count; in swap_frame_buffers()
370 if (cm->new_fb_idx >= 0 && frame_bufs[cm->new_fb_idx].ref_count == 0 && in vp9_receive_compressed_data()
371 !frame_bufs[cm->new_fb_idx].released) { in vp9_receive_compressed_data()
373 &frame_bufs[cm->new_fb_idx].raw_frame_buffer); in vp9_receive_compressed_data()
374 frame_bufs[cm->new_fb_idx].released = 1; in vp9_receive_compressed_data()
378 cm->new_fb_idx = get_free_fb(cm); in vp9_receive_compressed_data()
379 if (cm->new_fb_idx == INVALID_IDX) { in vp9_receive_compressed_data()
389 cm->cur_frame = &pool->frame_bufs[cm->new_fb_idx]; in vp9_receive_compressed_data()
392 pbi->cur_buf = &frame_bufs[cm->new_fb_idx]; in vp9_receive_compressed_data()
399 decrease_ref_count(cm->new_fb_idx, frame_bufs, pool); in vp9_receive_compressed_data()
[all …]
Dvp9_decodeframe.c1521 &pool->frame_bufs[cm->new_fb_idx].raw_frame_buffer, pool->get_fb_cb, in setup_frame_size()
1527 pool->frame_bufs[cm->new_fb_idx].released = 0; in setup_frame_size()
1528 pool->frame_bufs[cm->new_fb_idx].buf.subsampling_x = cm->subsampling_x; in setup_frame_size()
1529 pool->frame_bufs[cm->new_fb_idx].buf.subsampling_y = cm->subsampling_y; in setup_frame_size()
1530 pool->frame_bufs[cm->new_fb_idx].buf.bit_depth = (unsigned int)cm->bit_depth; in setup_frame_size()
1531 pool->frame_bufs[cm->new_fb_idx].buf.color_space = cm->color_space; in setup_frame_size()
1532 pool->frame_bufs[cm->new_fb_idx].buf.color_range = cm->color_range; in setup_frame_size()
1533 pool->frame_bufs[cm->new_fb_idx].buf.render_width = cm->render_width; in setup_frame_size()
1534 pool->frame_bufs[cm->new_fb_idx].buf.render_height = cm->render_height; in setup_frame_size()
1605 &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()
317 cm->new_fb_idx = get_free_fb(cm); in vp8dx_receive_compressed_data()
320 pbi->dec_fb_ref[INTRA_FRAME] = &cm->yv12_fb[cm->new_fb_idx]; in vp8dx_receive_compressed_data()
328 if (cm->fb_idx_ref_cnt[cm->new_fb_idx] > 0) { in vp8dx_receive_compressed_data()
329 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()
465 if (pc->fb_idx_ref_cnt[pc->new_fb_idx] > 0) { in vp8_decode()
466 pc->fb_idx_ref_cnt[pc->new_fb_idx]--; in vp8_decode()
/external/libvpx/libvpx/vp9/common/
Dvp9_onyxc_int.h129 int new_fb_idx; member
279 return &cm->buffer_pool->frame_bufs[cm->new_fb_idx].buf; in get_frame_new_buffer()
/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/
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()
Donyx_if.c2864 yv12_fb[cm->new_fb_idx].flags |= VP8_GOLD_FRAME | VP8_ALTR_FRAME; in update_reference_frames()
2869 cm->alt_fb_idx = cm->gld_fb_idx = cm->new_fb_idx; in update_reference_frames()
2877 cm->yv12_fb[cm->new_fb_idx].flags |= VP8_ALTR_FRAME; in update_reference_frames()
2879 cm->alt_fb_idx = cm->new_fb_idx; in update_reference_frames()
2909 cm->yv12_fb[cm->new_fb_idx].flags |= VP8_GOLD_FRAME; in update_reference_frames()
2911 cm->gld_fb_idx = cm->new_fb_idx; in update_reference_frames()
2940 cm->yv12_fb[cm->new_fb_idx].flags |= VP8_LAST_FRAME; in update_reference_frames()
2942 cm->lst_fb_idx = cm->new_fb_idx; in update_reference_frames()
4041 int kf_err = vp8_calc_ss_err(cpi->Source, &cm->yv12_fb[cm->new_fb_idx]); in encode_frame_to_data_rate()
4259 vp8_calc_ss_err(cpi->Source, &cm->yv12_fb[cm->new_fb_idx]); in encode_frame_to_data_rate()
[all …]
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()
Dfirstpass.c480 YV12_BUFFER_CONFIG *new_yv12 = &cm->yv12_fb[cm->new_fb_idx]; in vp8_first_pass()
/external/libaom/libaom/av1/common/
Donyxc_int.h626 const int new_fb_idx = get_free_fb(cm); in assign_cur_frame_new_fb() local
627 if (new_fb_idx == INVALID_IDX) return NULL; in assign_cur_frame_new_fb()
629 cm->cur_frame = &cm->buffer_pool->frame_bufs[new_fb_idx]; in assign_cur_frame_new_fb()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_encoder.c3010 cm->new_fb_idx);
3012 cm->new_fb_idx);
3025 cm->new_fb_idx);
3041 ref_cnt_fb(pool->frame_bufs, &cm->ref_frame_map[arf_idx], cm->new_fb_idx);
3051 cm->new_fb_idx);
3065 cm->new_fb_idx);
3585 alloc_frame_mvs(cm, cm->new_fb_idx);
4444 RefCntBuffer *const ref_buffer = get_ref_cnt_buffer(cm, cm->new_fb_idx);
4665 RefCntBuffer *const ref_buffer = get_ref_cnt_buffer(cm, cm->new_fb_idx);
4782 ref_cnt_fb(cm->buffer_pool->frame_bufs, &cm->new_fb_idx,
[all …]
Dvp9_svc_layercontext.c1180 ref_cnt_fb(pool->frame_bufs, &cm->ref_frame_map[i], cm->new_fb_idx); in vp9_svc_update_ref_frame_bypass_mode()
1204 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.c3388 const int new_fb_idx = get_free_fb(cm); in scale_references() local
3389 if (new_fb_idx == INVALID_IDX) { in scale_references()
3394 new_fb = &pool->frame_bufs[new_fb_idx]; in scale_references()