Home
last modified time | relevance | path

Searched refs:gld_fb_idx (Results 1 – 21 of 21) sorted by relevance

/external/libvpx/libvpx/vp9/encoder/
Dvp9_svc_layercontext.c69 svc->gld_fb_idx[sl] = 1; in vp9_init_layer_context()
455 int fb_idx[3] = { cpi->lst_fb_idx, cpi->gld_fb_idx, cpi->alt_fb_idx }; in reset_fb_idx_unused()
471 cpi->gld_fb_idx = first_fb_idx; in reset_fb_idx_unused()
572 cpi->gld_fb_idx = spatial_id; in set_flags_and_fb_idx_for_temporal_mode3()
574 cpi->gld_fb_idx = spatial_id - 1; in set_flags_and_fb_idx_for_temporal_mode3()
577 cpi->gld_fb_idx = 0; in set_flags_and_fb_idx_for_temporal_mode3()
582 cpi->gld_fb_idx = cpi->svc.number_spatial_layers + spatial_id - 1; in set_flags_and_fb_idx_for_temporal_mode3()
586 cpi->gld_fb_idx = cpi->svc.number_spatial_layers + spatial_id - 1; in set_flags_and_fb_idx_for_temporal_mode3()
590 cpi->gld_fb_idx = cpi->svc.number_spatial_layers + spatial_id - 1; in set_flags_and_fb_idx_for_temporal_mode3()
643 cpi->gld_fb_idx = spatial_id; in set_flags_and_fb_idx_for_temporal_mode2()
[all …]
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_denoiser.c191 int num_spatial_layers, int width, int lst_fb_idx, int gld_fb_idx, in perform_motion_compensation() argument
258 frame = gld_fb_idx + 1; in perform_motion_compensation()
416 cpi->gld_fb_idx, cpi->use_svc, cpi->svc.spatial_layer_id, in vp9_denoiser_denoise()
467 int refresh_last_frame, int alt_fb_idx, int gld_fb_idx, int lst_fb_idx, in vp9_denoiser_update_frame_info() argument
502 copy_frame(&denoiser->running_avg_y[gld_fb_idx + 1 + shift], in vp9_denoiser_update_frame_info()
515 swap_frame_buffer(&denoiser->running_avg_y[gld_fb_idx + 1 + shift], in vp9_denoiser_update_frame_info()
572 int alt_fb_idx, int gld_fb_idx, int lst_fb_idx) { in vp9_denoiser_realloc_svc() argument
594 gld_fb_idx + 1 + svc_buf_shift); in vp9_denoiser_realloc_svc()
810 cpi->gld_fb_idx, cpi->lst_fb_idx)) in vp9_denoiser_update_ref_frame()
817 cpi->refresh_last_frame, cpi->alt_fb_idx, cpi->gld_fb_idx, in vp9_denoiser_update_ref_frame()
Dvp9_svc_layercontext.h104 int gld_fb_idx[VPX_MAX_LAYERS]; member
Dvp9_ratectrl.c2208 cpi->gld_fb_idx = 1; in set_intra_only_frame()
2214 cpi->gld_fb_idx = -1; in set_intra_only_frame()
2222 if (count == 2 && cpi->gld_fb_idx == -1) cpi->gld_fb_idx = i; in set_intra_only_frame()
2227 if (cpi->gld_fb_idx == -1) cpi->gld_fb_idx = cpi->lst_fb_idx; in set_intra_only_frame()
2294 cpi->gld_fb_idx = 2; in vp9_rc_get_svc_params()
2298 cpi->gld_fb_idx = 3; in vp9_rc_get_svc_params()
2304 cpi->gld_fb_idx = 3; in vp9_rc_get_svc_params()
2308 cpi->gld_fb_idx = 4; in vp9_rc_get_svc_params()
2312 cpi->gld_fb_idx = 5; in vp9_rc_get_svc_params()
2335 cpi->gld_fb_idx = svc->buffer_gf_temporal_ref[index].idx; in vp9_rc_get_svc_params()
Dvp9_encoder.h597 int gld_fb_idx; member
943 return cpi->gld_fb_idx; in get_ref_frame_map_idx()
Dvp9_encoder.c1452 cpi->gld_fb_idx = cpi->ref_fb_idx[GOLDEN_FRAME - 1]; in init_buffer_indices()
3196 cpi->alt_fb_idx = cpi->gld_fb_idx;
3197 cpi->gld_fb_idx = tmp;
3209 ref_cnt_fb(pool->frame_bufs, &cm->ref_frame_map[cpi->gld_fb_idx],
3228 cpi->alt_fb_idx = cpi->gld_fb_idx;
3229 cpi->gld_fb_idx = tmp;
3250 ref_cnt_fb(pool->frame_bufs, &cm->ref_frame_map[cpi->gld_fb_idx],
4560 const int gold_is_last = map[cpi->gld_fb_idx] == map[cpi->lst_fb_idx];
4562 const int gold_is_alt = map[cpi->gld_fb_idx] == map[cpi->alt_fb_idx];
5260 cpi->svc.fb_idx_upd_tl0[cpi->svc.spatial_layer_id] = cpi->gld_fb_idx;
[all …]
Dvp9_bitstream.c923 arf_idx != cpi->gld_fb_idx) { in vp9_get_refresh_mask()
937 (cpi->refresh_golden_frame << cpi->gld_fb_idx) | in vp9_get_refresh_mask()
Dvp9_firstpass.c1444 ref_cnt_fb(pool->frame_bufs, &cm->ref_frame_map[cpi->gld_fb_idx], in vp9_first_pass()
1460 if (cm->current_video_frame == 0 && cpi->gld_fb_idx != INVALID_IDX) { in vp9_first_pass()
1461 ref_cnt_fb(pool->frame_bufs, &cm->ref_frame_map[cpi->gld_fb_idx], in vp9_first_pass()
/external/libvpx/libvpx/vp8/decoder/
Donyxd_if.c132 ref_fb_idx = cm->gld_fb_idx; in vp8dx_get_reference()
163 ref_fb_ptr = &cm->gld_fb_idx; in vp8dx_set_reference()
227 new_fb = cm->gld_fb_idx; in swap_frame_buffers()
246 ref_cnt_fb(cm->fb_idx_ref_cnt, &cm->gld_fb_idx, new_fb); in swap_frame_buffers()
250 ref_cnt_fb(cm->fb_idx_ref_cnt, &cm->gld_fb_idx, cm->new_fb_idx); in swap_frame_buffers()
319 pbi->dec_fb_ref[GOLDEN_FRAME] = &cm->yv12_fb[cm->gld_fb_idx]; in vp8dx_receive_compressed_data()
/external/libvpx/libvpx/examples/
Dvp9_spatial_svc_encoder.c626 ref_frame_config->gld_fb_idx[sl] = sl; in set_frame_flags_bypass_mode_ex0()
628 ref_frame_config->gld_fb_idx[sl] = sl - 1; in set_frame_flags_bypass_mode_ex0()
631 ref_frame_config->gld_fb_idx[sl] = 0; in set_frame_flags_bypass_mode_ex0()
636 ref_frame_config->gld_fb_idx[sl] = num_spatial_layers + sl - 1; in set_frame_flags_bypass_mode_ex0()
654 1 << ref_frame_config->gld_fb_idx[sl]; in set_frame_flags_bypass_mode_ex0()
704 ref_frame_config->gld_fb_idx[1] = 1; in set_frame_flags_bypass_mode_ex1()
707 ref_frame_config->gld_fb_idx[1] = 0; in set_frame_flags_bypass_mode_ex1()
712 ref_frame_config->gld_fb_idx[0] = 0; in set_frame_flags_bypass_mode_ex1()
717 ref_frame_config->gld_fb_idx[0] = 1; in set_frame_flags_bypass_mode_ex1()
721 ref_frame_config->gld_fb_idx[1] = 2; 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.c72 oci->gld_fb_idx = 2; in vp8_alloc_frame_buffers()
/external/libvpx/libvpx/test/
Dsvc_datarate_test.cc99 ref_frame_config->gld_fb_idx[sl] = sl; in set_frame_flags_bypass_mode()
101 ref_frame_config->gld_fb_idx[sl] = sl - 1; in set_frame_flags_bypass_mode()
104 ref_frame_config->gld_fb_idx[sl] = 0; in set_frame_flags_bypass_mode()
109 ref_frame_config->gld_fb_idx[sl] = in set_frame_flags_bypass_mode()
127 1 << ref_frame_config->gld_fb_idx[sl]; in set_frame_flags_bypass_mode()
/external/libvpx/libvpx/vp8/encoder/
Drdopt.h92 get_plane_pointers(&cpi->common.yv12_fb[cpi->common.gld_fb_idx], in get_predictor_pointers()
Donyx_if.c2433 ref_fb_idx = cm->gld_fb_idx; in vp8_get_reference()
2453 ref_fb_idx = cm->gld_fb_idx; in vp8_set_reference()
2870 yv12_fb[cm->gld_fb_idx].flags &= ~VP8_GOLD_FRAME; in update_reference_frames()
2873 cm->alt_fb_idx = cm->gld_fb_idx = cm->new_fb_idx; in update_reference_frames()
2899 if (cm->alt_fb_idx != cm->gld_fb_idx) { in update_reference_frames()
2900 yv12_fb[cm->gld_fb_idx].flags |= VP8_ALTR_FRAME; in update_reference_frames()
2902 cm->alt_fb_idx = cm->gld_fb_idx; in update_reference_frames()
2914 cm->yv12_fb[cm->gld_fb_idx].flags &= ~VP8_GOLD_FRAME; in update_reference_frames()
2915 cm->gld_fb_idx = cm->new_fb_idx; in update_reference_frames()
2922 if (cm->gld_fb_idx != cm->lst_fb_idx) { in update_reference_frames()
[all …]
Dencodeframe.c1248 ref_fb_idx = cpi->common.gld_fb_idx; in vp8cx_encode_inter_macroblock()
Dfirstpass.c477 YV12_BUFFER_CONFIG *gld_yv12 = &cm->yv12_fb[cm->gld_fb_idx]; in vp8_first_pass()
/external/libvpx/libvpx/vpx/
Dvp8cx.h819 int gld_fb_idx[VPX_SS_MAX_LAYERS]; /**< Golden buffer index. */ member
/external/libvpx/libvpx/vp9/
Dvp9_cx_iface.c1595 data->gld_fb_idx[sl] = cpi->svc.gld_fb_idx[sl]; in ctrl_get_svc_ref_frame_config()
1617 cpi->svc.gld_fb_idx[sl] = data->gld_fb_idx[sl]; in ctrl_set_svc_ref_frame_config()
/external/webrtc/modules/video_coding/codecs/vp9/
Dvp9_impl.cc1248 enc_layer_conf.gld_fb_idx[layer_id.spatial_layer_id]; in FillReferenceIndices()
1431 ref_config.gld_fb_idx[sl_idx] = *last_updated_buf_idx; in SetReferences()