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.c68 svc->gld_fb_idx[sl] = 1; 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()
469 cpi->gld_fb_idx = first_fb_idx; in reset_fb_idx_unused()
559 cpi->gld_fb_idx = spatial_id; in set_flags_and_fb_idx_for_temporal_mode3()
561 cpi->gld_fb_idx = spatial_id - 1; in set_flags_and_fb_idx_for_temporal_mode3()
564 cpi->gld_fb_idx = 0; in set_flags_and_fb_idx_for_temporal_mode3()
569 cpi->gld_fb_idx = cpi->svc.number_spatial_layers + spatial_id - 1; in set_flags_and_fb_idx_for_temporal_mode3()
573 cpi->gld_fb_idx = cpi->svc.number_spatial_layers + spatial_id - 1; in set_flags_and_fb_idx_for_temporal_mode3()
577 cpi->gld_fb_idx = cpi->svc.number_spatial_layers + spatial_id - 1; in set_flags_and_fb_idx_for_temporal_mode3()
628 cpi->gld_fb_idx = spatial_id; 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
259 frame = gld_fb_idx + 1; in perform_motion_compensation()
417 cpi->gld_fb_idx, cpi->use_svc, cpi->svc.spatial_layer_id, 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
503 copy_frame(&denoiser->running_avg_y[gld_fb_idx + 1 + shift], in vp9_denoiser_update_frame_info()
516 swap_frame_buffer(&denoiser->running_avg_y[gld_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
595 gld_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()
818 cpi->refresh_last_frame, cpi->alt_fb_idx, cpi->gld_fb_idx, 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.h105 int gld_fb_idx[VPX_MAX_LAYERS]; member
Dvp9_encoder.h605 int gld_fb_idx; member
932 return cpi->gld_fb_idx; in get_ref_frame_map_idx()
Dvp9_ratectrl.c2133 cpi->gld_fb_idx = 1; in set_intra_only_frame()
2139 cpi->gld_fb_idx = -1; in set_intra_only_frame()
2147 if (count == 2 && cpi->gld_fb_idx == -1) cpi->gld_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()
2217 cpi->gld_fb_idx = svc->buffer_gf_temporal_ref[index].idx; in vp9_rc_get_svc_params()
Dvp9_encoder.c1405 cpi->gld_fb_idx = cpi->ref_fb_idx[GOLDEN_FRAME - 1]; in init_buffer_indices()
3009 ref_cnt_fb(pool->frame_bufs, &cm->ref_frame_map[cpi->gld_fb_idx],
3028 cpi->alt_fb_idx = cpi->gld_fb_idx;
3029 cpi->gld_fb_idx = tmp;
3050 ref_cnt_fb(pool->frame_bufs, &cm->ref_frame_map[cpi->gld_fb_idx],
4350 const int gold_is_last = map[cpi->gld_fb_idx] == map[cpi->lst_fb_idx];
4352 const int gold_is_alt = map[cpi->gld_fb_idx] == map[cpi->alt_fb_idx];
4854 cpi->svc.fb_idx_upd_tl0[cpi->svc.spatial_layer_id] = cpi->gld_fb_idx;
5257 level_stats->ref_refresh_map |= (1 << cpi->gld_fb_idx);
Dvp9_bitstream.c918 arf_idx != cpi->gld_fb_idx) { in vp9_get_refresh_mask()
932 (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()
322 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.c610 ref_frame_config->gld_fb_idx[sl] = sl; in set_frame_flags_bypass_mode_ex0()
612 ref_frame_config->gld_fb_idx[sl] = sl - 1; in set_frame_flags_bypass_mode_ex0()
615 ref_frame_config->gld_fb_idx[sl] = 0; in set_frame_flags_bypass_mode_ex0()
620 ref_frame_config->gld_fb_idx[sl] = num_spatial_layers + sl - 1; in set_frame_flags_bypass_mode_ex0()
638 1 << ref_frame_config->gld_fb_idx[sl]; in set_frame_flags_bypass_mode_ex0()
688 ref_frame_config->gld_fb_idx[1] = 1; in set_frame_flags_bypass_mode_ex1()
691 ref_frame_config->gld_fb_idx[1] = 0; in set_frame_flags_bypass_mode_ex1()
696 ref_frame_config->gld_fb_idx[0] = 0; in set_frame_flags_bypass_mode_ex1()
701 ref_frame_config->gld_fb_idx[0] = 1; in set_frame_flags_bypass_mode_ex1()
705 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.cc86 ref_frame_config->gld_fb_idx[sl] = sl; in set_frame_flags_bypass_mode()
88 ref_frame_config->gld_fb_idx[sl] = sl - 1; in set_frame_flags_bypass_mode()
91 ref_frame_config->gld_fb_idx[sl] = 0; in set_frame_flags_bypass_mode()
96 ref_frame_config->gld_fb_idx[sl] = in set_frame_flags_bypass_mode()
114 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.c2424 ref_fb_idx = cm->gld_fb_idx; in vp8_get_reference()
2444 ref_fb_idx = cm->gld_fb_idx; in vp8_set_reference()
2866 yv12_fb[cm->gld_fb_idx].flags &= ~VP8_GOLD_FRAME; in update_reference_frames()
2869 cm->alt_fb_idx = cm->gld_fb_idx = cm->new_fb_idx; in update_reference_frames()
2895 if (cm->alt_fb_idx != cm->gld_fb_idx) { in update_reference_frames()
2896 yv12_fb[cm->gld_fb_idx].flags |= VP8_ALTR_FRAME; in update_reference_frames()
2898 cm->alt_fb_idx = cm->gld_fb_idx; in update_reference_frames()
2910 cm->yv12_fb[cm->gld_fb_idx].flags &= ~VP8_GOLD_FRAME; in update_reference_frames()
2911 cm->gld_fb_idx = cm->new_fb_idx; in update_reference_frames()
2918 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.c481 YV12_BUFFER_CONFIG *gld_yv12 = &cm->yv12_fb[cm->gld_fb_idx]; in vp8_first_pass()
/external/libvpx/libvpx/vpx/
Dvp8cx.h816 int gld_fb_idx[VPX_SS_MAX_LAYERS]; /**< Golden buffer index. */ member
/external/libvpx/libvpx/vp9/
Dvp9_cx_iface.c1519 data->gld_fb_idx[sl] = cpi->svc.gld_fb_idx[sl]; in ctrl_get_svc_ref_frame_config()
1541 cpi->svc.gld_fb_idx[sl] = data->gld_fb_idx[sl]; in ctrl_set_svc_ref_frame_config()
/external/webrtc/webrtc/modules/video_coding/codecs/vp9/
Dvp9_impl.cc742 sf_conf.gld_fb_idx[layer_idx] = refs[ref_idx]; in GenerateRefsAndFlags()