/external/libvpx/libvpx/vp8/decoder/ |
D | onyxd_if.c | 130 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/vp9/encoder/ |
D | vp9_svc_layercontext.c | 68 svc->lst_fb_idx[sl] = 0; 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() 467 cpi->lst_fb_idx = first_fb_idx; in reset_fb_idx_unused() 568 cpi->lst_fb_idx = spatial_id; in set_flags_and_fb_idx_for_temporal_mode3() 571 cpi->lst_fb_idx = spatial_id - 1; in set_flags_and_fb_idx_for_temporal_mode3() 581 cpi->lst_fb_idx = spatial_id; in set_flags_and_fb_idx_for_temporal_mode3() 585 cpi->lst_fb_idx = spatial_id; in set_flags_and_fb_idx_for_temporal_mode3() 589 cpi->lst_fb_idx = cpi->svc.number_spatial_layers + spatial_id; in set_flags_and_fb_idx_for_temporal_mode3() 639 cpi->lst_fb_idx = spatial_id; in set_flags_and_fb_idx_for_temporal_mode2() 642 cpi->lst_fb_idx = spatial_id - 1; in set_flags_and_fb_idx_for_temporal_mode2() [all …]
|
D | vp9_denoiser.c | 191 int num_spatial_layers, int width, int lst_fb_idx, int gld_fb_idx, in perform_motion_compensation() argument 256 frame = lst_fb_idx + 1; in perform_motion_compensation() 415 cpi->svc.number_spatial_layers, cpi->Source->y_width, cpi->lst_fb_idx, 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 506 copy_frame(&denoiser->running_avg_y[lst_fb_idx + 1 + shift], in vp9_denoiser_update_frame_info() 519 swap_frame_buffer(&denoiser->running_avg_y[lst_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 599 lst_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() 818 cpi->lst_fb_idx, cpi->resize_pending, svc_refresh_denoiser_buffers, in vp9_denoiser_update_ref_frame()
|
D | vp9_denoiser.h | 76 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);
|
D | vp9_svc_layercontext.h | 103 int lst_fb_idx[VPX_MAX_LAYERS]; member
|
D | vp9_ratectrl.c | 2205 cpi->lst_fb_idx = 0; in set_intra_only_frame() 2211 cpi->lst_fb_idx = -1; in set_intra_only_frame() 2219 if (count == 1 && cpi->lst_fb_idx == -1) cpi->lst_fb_idx = i; in set_intra_only_frame() 2225 if (cpi->gld_fb_idx == -1) cpi->gld_fb_idx = cpi->lst_fb_idx; in set_intra_only_frame() 2226 if (cpi->alt_fb_idx == -1) cpi->alt_fb_idx = cpi->lst_fb_idx; in set_intra_only_frame() 2291 cpi->lst_fb_idx = 0; in vp9_rc_get_svc_params() 2295 cpi->lst_fb_idx = 1; in vp9_rc_get_svc_params() 2301 cpi->lst_fb_idx = 0; in vp9_rc_get_svc_params() 2305 cpi->lst_fb_idx = 1; in vp9_rc_get_svc_params() 2309 cpi->lst_fb_idx = 2; in vp9_rc_get_svc_params()
|
D | vp9_encoder.h | 596 int lst_fb_idx; member 941 return cpi->lst_fb_idx; in get_ref_frame_map_idx()
|
D | vp9_bitstream.c | 914 return (cpi->refresh_last_frame << cpi->lst_fb_idx) | in vp9_get_refresh_mask() 922 if (arf_idx != cpi->alt_fb_idx && arf_idx != cpi->lst_fb_idx && in vp9_get_refresh_mask() 936 return (cpi->refresh_last_frame << cpi->lst_fb_idx) | in vp9_get_refresh_mask()
|
D | vp9_firstpass.c | 1445 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()
|
D | vp9_encoder.c | 1451 cpi->lst_fb_idx = cpi->ref_fb_idx[LAST_FRAME - 1]; in init_buffer_indices() 3200 cpi->lst_fb_idx = cpi->alt_fb_idx; 3264 ref_cnt_fb(pool->frame_bufs, &cm->ref_frame_map[cpi->lst_fb_idx], 4560 const int gold_is_last = map[cpi->gld_fb_idx] == map[cpi->lst_fb_idx]; 4561 const int alt_is_last = map[cpi->alt_fb_idx] == map[cpi->lst_fb_idx]; 5258 cpi->svc.fb_idx_upd_tl0[cpi->svc.spatial_layer_id] = cpi->lst_fb_idx; 5613 level_stats->ref_refresh_map |= (1 << cpi->lst_fb_idx);
|
/external/libvpx/libvpx/examples/ |
D | vp9_spatial_svc_encoder.c | 622 ref_frame_config->lst_fb_idx[sl] = sl; in set_frame_flags_bypass_mode_ex0() 625 ref_frame_config->lst_fb_idx[sl] = sl - 1; in set_frame_flags_bypass_mode_ex0() 635 ref_frame_config->lst_fb_idx[sl] = sl; in set_frame_flags_bypass_mode_ex0() 647 1 << ref_frame_config->lst_fb_idx[sl]; in set_frame_flags_bypass_mode_ex0() 661 1 << ref_frame_config->lst_fb_idx[sl]; in set_frame_flags_bypass_mode_ex0() 703 ref_frame_config->lst_fb_idx[1] = 0; in set_frame_flags_bypass_mode_ex1() 706 ref_frame_config->lst_fb_idx[1] = 1; in set_frame_flags_bypass_mode_ex1() 711 ref_frame_config->lst_fb_idx[0] = 0; in set_frame_flags_bypass_mode_ex1() 716 ref_frame_config->lst_fb_idx[0] = 0; in set_frame_flags_bypass_mode_ex1() 720 ref_frame_config->lst_fb_idx[1] = 1; in set_frame_flags_bypass_mode_ex1() [all …]
|
/external/libvpx/libvpx/vp8/common/ |
D | onyxc_int.h | 80 int new_fb_idx, lst_fb_idx, gld_fb_idx, alt_fb_idx; member
|
D | alloccommon.c | 71 oci->lst_fb_idx = 1; in vp8_alloc_frame_buffers()
|
/external/libvpx/libvpx/test/ |
D | svc_datarate_test.cc | 95 ref_frame_config->lst_fb_idx[sl] = sl; in set_frame_flags_bypass_mode() 98 ref_frame_config->lst_fb_idx[sl] = sl - 1; in set_frame_flags_bypass_mode() 108 ref_frame_config->lst_fb_idx[sl] = sl; in set_frame_flags_bypass_mode() 120 1 << ref_frame_config->lst_fb_idx[sl]; in set_frame_flags_bypass_mode() 133 1 << ref_frame_config->lst_fb_idx[sl]; in set_frame_flags_bypass_mode()
|
/external/libvpx/libvpx/vp8/encoder/ |
D | rdopt.h | 87 get_plane_pointers(&cpi->common.yv12_fb[cpi->common.lst_fb_idx], in get_predictor_pointers()
|
D | onyx_if.c | 1039 cm->yv12_fb[cm->lst_fb_idx].y_stride); in vp8_set_speed_features() 1042 cm->yv12_fb[cm->lst_fb_idx].y_stride); in vp8_set_speed_features() 1682 if (((cm->Width + 15) & ~15) != cm->yv12_fb[cm->lst_fb_idx].y_width || in vp8_change_config() 1683 ((cm->Height + 15) & ~15) != cm->yv12_fb[cm->lst_fb_idx].y_height || in vp8_change_config() 1684 cm->yv12_fb[cm->lst_fb_idx].y_width == 0) { in vp8_change_config() 2426 ref_fb_idx = cm->lst_fb_idx; in vp8_get_reference() 2446 ref_fb_idx = cm->lst_fb_idx; in vp8_set_reference() 2885 if (cm->alt_fb_idx != cm->lst_fb_idx) { in update_reference_frames() 2886 yv12_fb[cm->lst_fb_idx].flags |= VP8_ALTR_FRAME; in update_reference_frames() 2888 cm->alt_fb_idx = cm->lst_fb_idx; in update_reference_frames() [all …]
|
D | encodeframe.c | 330 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()
|
D | ethreading.c | 78 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()
|
D | firstpass.c | 475 YV12_BUFFER_CONFIG *lst_yv12 = &cm->yv12_fb[cm->lst_fb_idx]; in vp8_first_pass() 2851 YV12_BUFFER_CONFIG *lst_yv12 = &cpi->common.yv12_fb[cpi->common.lst_fb_idx]; in find_next_key_frame()
|
D | rdopt.c | 1524 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()
|
/external/libvpx/libvpx/vpx/ |
D | vp8cx.h | 818 int lst_fb_idx[VPX_SS_MAX_LAYERS]; /**< Last buffer index. */ member
|
/external/libvpx/libvpx/vp8/ |
D | vp8_dx_iface.c | 406 xd->pre = pc->yv12_fb[pc->lst_fb_idx]; in vp8_decode() 464 pc->yv12_fb[pc->lst_fb_idx].corrupted = 1; in vp8_decode()
|
/external/libvpx/libvpx/vp9/ |
D | vp9_cx_iface.c | 1587 data->lst_fb_idx[sl] = cpi->svc.lst_fb_idx[sl]; in ctrl_get_svc_ref_frame_config() 1609 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/ |
D | vp9_impl.cc | 737 sf_conf.lst_fb_idx[layer_idx] = refs[ref_idx]; in GenerateRefsAndFlags()
|