Home
last modified time | relevance | path

Searched refs:global_quality (Results 1 - 25 of 31) sorted by relevance

12

/third_party/ffmpeg/libavcodec/
H A Daacpsy.c163 float global_quality; ///< normalized global quality taken from avctx member
270 pch->attack_threshold = psy_vbr_map[av_clip(avctx->global_quality / FF_QP2LAMBDA, 0, 10)].st_lrm; in lame_window_init()
318 pctx->global_quality = (ctx->avctx->global_quality ? ctx->avctx->global_quality : 120) * 0.01f; in psy_3gpp_init()
322 chan_bitrate = (int)(chan_bitrate / 120.0 * (ctx->avctx->global_quality ? ctx->avctx->global_quality : 120)); in psy_3gpp_init()
714 desired_pe = pe * (ctx->avctx->global_quality ? ctx->avctx->global_quality : 120) / (2 * 2.5f * 120.0f); in psy_3gpp_analyze_channel()
H A Dasvenc.c319 if (avctx->global_quality <= 0) in encode_init()
320 avctx->global_quality = 4 * FF_QUALITY_SCALE; in encode_init()
323 avctx->global_quality / 2) / avctx->global_quality; in encode_init()
H A Dsbcenc.c225 if (avctx->global_quality > 255*FF_QP2LAMBDA) { in sbc_encode_init()
256 if (avctx->global_quality > 0) in sbc_encode_init()
257 frame->bitpool = avctx->global_quality / FF_QP2LAMBDA; in sbc_encode_init()
H A Dlibwebpenc_common.c32 { "global_quality", "-1" },
86 if (avctx->global_quality >= 0) in ff_libwebp_encode_init_common()
87 s->quality = av_clipf(avctx->global_quality / (float)FF_QP2LAMBDA, in ff_libwebp_encode_init_common()
H A Da64multienc.c217 if (avctx->global_quality < 1) { in a64multi_encode_init()
220 c->mc_lifetime = avctx->global_quality / FF_QP2LAMBDA; in a64multi_encode_init()
H A Dlibtwolame.c94 avctx->global_quality / (float) FF_QP2LAMBDA); in twolame_encode_init()
H A Dqsvenc.c468 if (avctx->global_quality > 0) { in select_rc_mode()
473 else if (avctx->global_quality > 0 && !avctx->rc_max_rate) { in select_rc_mode()
487 else if (avctx->global_quality > 0) { in select_rc_mode()
588 q->param.mfx.Quality = av_clip(avctx->global_quality, 1, 100); in init_video_param_jpeg()
733 q->extco3.QVBRQuality = av_clip(avctx->global_quality, 0, 51); in init_video_param()
736 quant = avctx->global_quality / FF_QP2LAMBDA; in init_video_param()
759 q->param.mfx.ICQQuality = av_clip(avctx->global_quality, 1, 51); in init_video_param()
H A Dlibmp3lame.c119 lame_set_VBR_quality(s->gfp, avctx->global_quality / (float)FF_QP2LAMBDA); in mp3lame_encode_init()
H A Dlibspeexenc.c44 * avctx->global_quality is used to set the encoding quality.
187 s->vbr_quality = av_clipf(avctx->global_quality / (float)FF_QP2LAMBDA, in encode_init()
H A Dlibtheoraenc.c217 /* Clip global_quality in QP units to the [0 - 10] range in encode_init()
222 t_info.quality = av_clipf(avc_context->global_quality / (float)FF_QP2LAMBDA, 0, 10) * 6.3; in encode_init()
H A Daacenc.c722 * (s->lambda / (avctx->global_quality ? avctx->global_quality : 120)); in aac_encode_frame()
963 s->lambda = avctx->global_quality > 0 ? avctx->global_quality : 120; in aac_encode_init()
H A Dlibjxlenc.c125 ctx->distance = quality_to_distance((float)avctx->global_quality / FF_QP2LAMBDA); in libjxl_init_jxl_encoder()
H A Davcodec.h455 int global_quality; member
H A Dlibopusenc.c117 if (avctx->global_quality) { in libopus_configure_encoder()
H A Dlibvorbisenc.c107 * NOTE: we use the oggenc range of -1 to 10 for global_quality for in libvorbis_setup()
110 float q = avctx->global_quality / (float)FF_QP2LAMBDA; in libvorbis_setup()
H A Dlibfdk-aacenc.c226 int mode = s->vbr ? s->vbr : avctx->global_quality; in aac_encode_init()
H A Dvaapi_encode.c1650 if (avctx->bit_rate > 0 && avctx->global_quality > 0) in vaapi_encode_init_rate_control()
1653 if (avctx->global_quality > 0) { in vaapi_encode_init_rate_control()
1738 } else if (avctx->global_quality > 0) { in vaapi_encode_init_rate_control()
1739 rc_quality = avctx->global_quality; in vaapi_encode_init_rate_control()
H A Daaccoder_twoloop.h136 * (lambda / (avctx->global_quality ? avctx->global_quality : 120)); in search_for_quantizers_twoloop()
H A Daudiotoolboxenc.c322 int q = avctx->global_quality / FF_QP2LAMBDA; in ffat_init_encoder()
H A Dnvenc.c943 if (avctx->global_quality > 0) in nvenc_setup_rate_control()
944 av_log(avctx, AV_LOG_WARNING, "Using global_quality with nvenc is deprecated. Use qp instead.\n"); in nvenc_setup_rate_control()
946 if (ctx->cqp < 0 && avctx->global_quality > 0) in nvenc_setup_rate_control()
947 ctx->cqp = avctx->global_quality; in nvenc_setup_rate_control()
H A Dflashsv2enc.c797 return s->avctx->global_quality == 0; in optimum_use15_7()
H A Dlibx264.c641 if (avctx->global_quality > 0) in X264_init()
H A Dproresenc_kostya.c1252 ctx->force_quant = avctx->global_quality / FF_QP2LAMBDA; in encode_init()
/third_party/ffmpeg/libavfilter/
H A Dvf_mcdeint.c131 enc_ctx->global_quality = 1; in config_props()
H A Dvf_uspp.c360 avctx_enc->global_quality = 123; in config_input()

Completed in 55 milliseconds

12