/third_party/ffmpeg/libavcodec/ |
H A D | aacpsy.c | 163 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 D | asvenc.c | 319 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 D | sbcenc.c | 225 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 D | libwebpenc_common.c | 32 { "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 D | a64multienc.c | 217 if (avctx->global_quality < 1) { in a64multi_encode_init() 220 c->mc_lifetime = avctx->global_quality / FF_QP2LAMBDA; in a64multi_encode_init()
|
H A D | libtwolame.c | 94 avctx->global_quality / (float) FF_QP2LAMBDA); in twolame_encode_init()
|
H A D | qsvenc.c | 468 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 D | libmp3lame.c | 119 lame_set_VBR_quality(s->gfp, avctx->global_quality / (float)FF_QP2LAMBDA); in mp3lame_encode_init()
|
H A D | libspeexenc.c | 44 * 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 D | libtheoraenc.c | 217 /* 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 D | aacenc.c | 722 * (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 D | libjxlenc.c | 125 ctx->distance = quality_to_distance((float)avctx->global_quality / FF_QP2LAMBDA); in libjxl_init_jxl_encoder()
|
H A D | avcodec.h | 455 int global_quality; member
|
H A D | libopusenc.c | 117 if (avctx->global_quality) { in libopus_configure_encoder()
|
H A D | libvorbisenc.c | 107 * 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 D | libfdk-aacenc.c | 226 int mode = s->vbr ? s->vbr : avctx->global_quality; in aac_encode_init()
|
H A D | vaapi_encode.c | 1650 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 D | aaccoder_twoloop.h | 136 * (lambda / (avctx->global_quality ? avctx->global_quality : 120)); in search_for_quantizers_twoloop()
|
H A D | audiotoolboxenc.c | 322 int q = avctx->global_quality / FF_QP2LAMBDA; in ffat_init_encoder()
|
H A D | nvenc.c | 943 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 D | flashsv2enc.c | 797 return s->avctx->global_quality == 0; in optimum_use15_7()
|
H A D | libx264.c | 641 if (avctx->global_quality > 0) in X264_init()
|
H A D | proresenc_kostya.c | 1252 ctx->force_quant = avctx->global_quality / FF_QP2LAMBDA; in encode_init()
|
/third_party/ffmpeg/libavfilter/ |
H A D | vf_mcdeint.c | 131 enc_ctx->global_quality = 1; in config_props()
|
H A D | vf_uspp.c | 360 avctx_enc->global_quality = 123; in config_input()
|