Home
last modified time | relevance | path

Searched refs:lst_fb_idx (Results 1 – 24 of 24) sorted by relevance

/external/libvpx/libvpx/vp9/encoder/
Dvp9_svc_layercontext.c67 svc->lst_fb_idx[sl] = 0; in vp9_init_layer_context()
453 int fb_idx[3] = { cpi->lst_fb_idx, cpi->gld_fb_idx, cpi->alt_fb_idx }; in reset_fb_idx_unused()
465 cpi->lst_fb_idx = first_fb_idx; in reset_fb_idx_unused()
555 cpi->lst_fb_idx = spatial_id; in set_flags_and_fb_idx_for_temporal_mode3()
558 cpi->lst_fb_idx = spatial_id - 1; in set_flags_and_fb_idx_for_temporal_mode3()
568 cpi->lst_fb_idx = spatial_id; in set_flags_and_fb_idx_for_temporal_mode3()
572 cpi->lst_fb_idx = spatial_id; in set_flags_and_fb_idx_for_temporal_mode3()
576 cpi->lst_fb_idx = cpi->svc.number_spatial_layers + spatial_id; in set_flags_and_fb_idx_for_temporal_mode3()
624 cpi->lst_fb_idx = spatial_id; in set_flags_and_fb_idx_for_temporal_mode2()
627 cpi->lst_fb_idx = spatial_id - 1; in set_flags_and_fb_idx_for_temporal_mode2()
[all …]
Dvp9_denoiser.c191 int num_spatial_layers, int width, int lst_fb_idx, int gld_fb_idx, in perform_motion_compensation() argument
257 frame = lst_fb_idx + 1; in perform_motion_compensation()
416 cpi->svc.number_spatial_layers, cpi->Source->y_width, cpi->lst_fb_idx, in vp9_denoiser_denoise()
468 int refresh_last_frame, int alt_fb_idx, int gld_fb_idx, int lst_fb_idx, in vp9_denoiser_update_frame_info() argument
507 copy_frame(&denoiser->running_avg_y[lst_fb_idx + 1 + shift], in vp9_denoiser_update_frame_info()
520 swap_frame_buffer(&denoiser->running_avg_y[lst_fb_idx + 1 + shift], in vp9_denoiser_update_frame_info()
573 int alt_fb_idx, int gld_fb_idx, int lst_fb_idx) { in vp9_denoiser_realloc_svc() argument
600 lst_fb_idx + 1 + svc_buf_shift); in vp9_denoiser_realloc_svc()
811 cpi->gld_fb_idx, cpi->lst_fb_idx)) in vp9_denoiser_update_ref_frame()
819 cpi->lst_fb_idx, cpi->resize_pending, svc_refresh_denoiser_buffers, in vp9_denoiser_update_ref_frame()
Dvp9_denoiser.h76 int refresh_last_frame, int alt_fb_idx, int gld_fb_idx, int lst_fb_idx,
93 int alt_fb_idx, int gld_fb_idx, int lst_fb_idx);
Dvp9_svc_layercontext.h104 int lst_fb_idx[VPX_MAX_LAYERS]; member
Dvp9_encoder.h604 int lst_fb_idx; member
930 return cpi->lst_fb_idx; in get_ref_frame_map_idx()
Dvp9_ratectrl.c2132 cpi->lst_fb_idx = 0; in set_intra_only_frame()
2138 cpi->lst_fb_idx = -1; in set_intra_only_frame()
2146 if (count == 1 && cpi->lst_fb_idx == -1) cpi->lst_fb_idx = i; in set_intra_only_frame()
2152 if (cpi->gld_fb_idx == -1) cpi->gld_fb_idx = cpi->lst_fb_idx; in set_intra_only_frame()
2153 if (cpi->alt_fb_idx == -1) cpi->alt_fb_idx = cpi->lst_fb_idx; in set_intra_only_frame()
Dvp9_bitstream.c909 return (cpi->refresh_last_frame << cpi->lst_fb_idx) | in vp9_get_refresh_mask()
917 if (arf_idx != cpi->alt_fb_idx && arf_idx != cpi->lst_fb_idx && in vp9_get_refresh_mask()
931 return (cpi->refresh_last_frame << cpi->lst_fb_idx) | in vp9_get_refresh_mask()
Dvp9_firstpass.c1445 cm->ref_frame_map[cpi->lst_fb_idx]); in vp9_first_pass()
1455 ref_cnt_fb(pool->frame_bufs, &cm->ref_frame_map[cpi->lst_fb_idx], in vp9_first_pass()
1462 cm->ref_frame_map[cpi->lst_fb_idx]); in vp9_first_pass()
Dvp9_encoder.c1404 cpi->lst_fb_idx = cpi->ref_fb_idx[LAST_FRAME - 1]; in init_buffer_indices()
3000 cpi->lst_fb_idx = cpi->alt_fb_idx;
3064 ref_cnt_fb(pool->frame_bufs, &cm->ref_frame_map[cpi->lst_fb_idx],
4350 const int gold_is_last = map[cpi->gld_fb_idx] == map[cpi->lst_fb_idx];
4351 const int alt_is_last = map[cpi->alt_fb_idx] == map[cpi->lst_fb_idx];
4852 cpi->svc.fb_idx_upd_tl0[cpi->svc.spatial_layer_id] = cpi->lst_fb_idx;
5256 level_stats->ref_refresh_map |= (1 << cpi->lst_fb_idx);
/external/libvpx/libvpx/vp8/decoder/
Donyxd_if.c130 ref_fb_idx = cm->lst_fb_idx; in vp8dx_get_reference()
161 ref_fb_ptr = &cm->lst_fb_idx; in vp8dx_set_reference()
225 new_fb = cm->lst_fb_idx; in swap_frame_buffers()
239 new_fb = cm->lst_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()
260 cm->frame_to_show = &cm->yv12_fb[cm->lst_fb_idx]; in swap_frame_buffers()
278 if (cm->fb_idx_ref_cnt[cm->lst_fb_idx] > 1) { in check_fragments_for_errors()
283 const int prev_idx = cm->lst_fb_idx; in check_fragments_for_errors()
285 cm->lst_fb_idx = get_free_fb(cm); in check_fragments_for_errors()
286 vp8_yv12_copy_frame(&cm->yv12_fb[prev_idx], &cm->yv12_fb[cm->lst_fb_idx]); in check_fragments_for_errors()
[all …]
/external/libvpx/libvpx/examples/
Dvp9_spatial_svc_encoder.c606 ref_frame_config->lst_fb_idx[sl] = sl; in set_frame_flags_bypass_mode_ex0()
609 ref_frame_config->lst_fb_idx[sl] = sl - 1; in set_frame_flags_bypass_mode_ex0()
619 ref_frame_config->lst_fb_idx[sl] = sl; in set_frame_flags_bypass_mode_ex0()
631 1 << ref_frame_config->lst_fb_idx[sl]; in set_frame_flags_bypass_mode_ex0()
645 1 << ref_frame_config->lst_fb_idx[sl]; in set_frame_flags_bypass_mode_ex0()
687 ref_frame_config->lst_fb_idx[1] = 0; in set_frame_flags_bypass_mode_ex1()
690 ref_frame_config->lst_fb_idx[1] = 1; in set_frame_flags_bypass_mode_ex1()
695 ref_frame_config->lst_fb_idx[0] = 0; in set_frame_flags_bypass_mode_ex1()
700 ref_frame_config->lst_fb_idx[0] = 0; in set_frame_flags_bypass_mode_ex1()
704 ref_frame_config->lst_fb_idx[1] = 1; in set_frame_flags_bypass_mode_ex1()
[all …]
/external/libvpx/libvpx/vp8/common/
Donyxc_int.h80 int new_fb_idx, lst_fb_idx, gld_fb_idx, alt_fb_idx; member
Dalloccommon.c71 oci->lst_fb_idx = 1; in vp8_alloc_frame_buffers()
/external/libvpx/libvpx/test/
Dsvc_datarate_test.cc82 ref_frame_config->lst_fb_idx[sl] = sl; in set_frame_flags_bypass_mode()
85 ref_frame_config->lst_fb_idx[sl] = sl - 1; in set_frame_flags_bypass_mode()
95 ref_frame_config->lst_fb_idx[sl] = sl; in set_frame_flags_bypass_mode()
107 1 << ref_frame_config->lst_fb_idx[sl]; in set_frame_flags_bypass_mode()
120 1 << ref_frame_config->lst_fb_idx[sl]; in set_frame_flags_bypass_mode()
/external/libvpx/libvpx/vp8/encoder/
Drdopt.h87 get_plane_pointers(&cpi->common.yv12_fb[cpi->common.lst_fb_idx], in get_predictor_pointers()
Donyx_if.c1038 cm->yv12_fb[cm->lst_fb_idx].y_stride); in vp8_set_speed_features()
1041 cm->yv12_fb[cm->lst_fb_idx].y_stride); in vp8_set_speed_features()
1679 if (((cm->Width + 15) & ~15) != cm->yv12_fb[cm->lst_fb_idx].y_width || in vp8_change_config()
1680 ((cm->Height + 15) & ~15) != cm->yv12_fb[cm->lst_fb_idx].y_height || in vp8_change_config()
1681 cm->yv12_fb[cm->lst_fb_idx].y_width == 0) { in vp8_change_config()
2422 ref_fb_idx = cm->lst_fb_idx; in vp8_get_reference()
2442 ref_fb_idx = cm->lst_fb_idx; in vp8_set_reference()
2886 if (cm->alt_fb_idx != cm->lst_fb_idx) { in update_reference_frames()
2887 yv12_fb[cm->lst_fb_idx].flags |= VP8_ALTR_FRAME; in update_reference_frames()
2889 cm->alt_fb_idx = cm->lst_fb_idx; in update_reference_frames()
[all …]
Dencodeframe.c330 int ref_fb_idx = cm->lst_fb_idx; in encode_mb_row()
600 xd->pre = cm->yv12_fb[cm->lst_fb_idx]; in init_encode_frame_mb_context()
1246 ref_fb_idx = cpi->common.lst_fb_idx; in vp8cx_encode_inter_macroblock()
Dethreading.c78 int ref_fb_idx = cm->lst_fb_idx; in thread_encoding_proc()
459 mbd->pre = cm->yv12_fb[cm->lst_fb_idx]; in vp8cx_init_mbrthread_data()
Drdopt.c1524 cpi->common.yv12_fb[cpi->common.lst_fb_idx].y_buffer + recon_yoffset; in vp8_cal_sad()
1525 int pre_y_stride = cpi->common.yv12_fb[cpi->common.lst_fb_idx].y_stride; in vp8_cal_sad()
Dfirstpass.c479 YV12_BUFFER_CONFIG *lst_yv12 = &cm->yv12_fb[cm->lst_fb_idx]; in vp8_first_pass()
2859 YV12_BUFFER_CONFIG *lst_yv12 = &cpi->common.yv12_fb[cpi->common.lst_fb_idx]; in find_next_key_frame()
/external/libvpx/libvpx/vpx/
Dvp8cx.h815 int lst_fb_idx[VPX_SS_MAX_LAYERS]; /**< Last buffer index. */ member
/external/libvpx/libvpx/vp8/
Dvp8_dx_iface.c406 xd->pre = pc->yv12_fb[pc->lst_fb_idx]; in vp8_decode()
463 pc->yv12_fb[pc->lst_fb_idx].corrupted = 1; in vp8_decode()
/external/libvpx/libvpx/vp9/
Dvp9_cx_iface.c1518 data->lst_fb_idx[sl] = cpi->svc.lst_fb_idx[sl]; in ctrl_get_svc_ref_frame_config()
1540 cpi->svc.lst_fb_idx[sl] = data->lst_fb_idx[sl]; in ctrl_set_svc_ref_frame_config()
/external/webrtc/webrtc/modules/video_coding/codecs/vp9/
Dvp9_impl.cc737 sf_conf.lst_fb_idx[layer_idx] = refs[ref_idx]; in GenerateRefsAndFlags()