Lines Matching refs:svc_params
768 vpx_svc_parameters_t svc_params;
771 memset(&svc_params, 0, sizeof(svc_params));
772 svc_params.temporal_layer = 0;
773 svc_params.spatial_layer = si->layer;
774 svc_params.flags = si->enc_frame_flags;
785 &svc_params.width,
786 &svc_params.height)) {
793 svc_params.min_quantizer = si->quantizer_keyframe[layer_index];
794 svc_params.max_quantizer = si->quantizer_keyframe[layer_index];
796 svc_params.min_quantizer = si->quantizer[layer_index];
797 svc_params.max_quantizer = si->quantizer[layer_index];
800 svc_params.min_quantizer = codec_ctx->config.enc->rc_min_quantizer;
801 svc_params.max_quantizer = codec_ctx->config.enc->rc_max_quantizer;
804 svc_params.distance_from_i_frame = si->frame_within_gop;
807 svc_params.lst_fb_idx = si->layer;
814 svc_params.alt_fb_idx = use_higher_layer ? si->layer - 2 : si->layer - 1;
818 svc_params.gld_fb_idx = si->layer + 1;
821 svc_params.gld_fb_idx = svc_params.lst_fb_idx;
823 svc_params.gld_fb_idx = 2 * si->layers - 1 - si->layer;
827 si->encode_frame_count, si->layer, svc_params.width,
828 svc_params.height, svc_params.min_quantizer);
830 if (svc_params.flags == VPX_EFLAG_FORCE_KF) {
835 svc_params.flags & VP8_EFLAG_NO_REF_LAST ? -1 : svc_params.lst_fb_idx,
836 svc_params.flags & VP8_EFLAG_NO_REF_GF ? -1 : svc_params.gld_fb_idx,
837 svc_params.flags & VP8_EFLAG_NO_REF_ARF ? -1 : svc_params.alt_fb_idx);
840 svc_params.flags & VP8_EFLAG_NO_UPD_LAST ? -1 : svc_params.lst_fb_idx,
841 svc_params.flags & VP8_EFLAG_NO_UPD_GF ? -1 : svc_params.gld_fb_idx,
842 svc_params.flags & VP8_EFLAG_NO_UPD_ARF ? -1 : svc_params.alt_fb_idx);
845 vpx_codec_control(codec_ctx, VP9E_SET_SVC_PARAMETERS, &svc_params);