Home
last modified time | relevance | path

Searched refs:i_quant_factor (Results 1 - 13 of 13) sorted by relevance

/third_party/ffmpeg/libavcodec/
H A Dvaapi_encode_vp8.c168 if (avctx->i_quant_factor > 0.0) in vaapi_encode_vp8_configure()
170 av_clip((avctx->i_quant_factor * priv->q_index_p + in vaapi_encode_vp8_configure()
H A Dvaapi_encode_vp9.c205 if (avctx->i_quant_factor > 0.0) in vaapi_encode_vp9_configure()
207 av_clip((avctx->i_quant_factor * priv->q_idx_p + in vaapi_encode_vp9_configure()
H A Dratecontrol.c88 (a->i_quant_factor > 0.0 || rcc->last_non_b_pict_type == AV_PICTURE_TYPE_P)) in get_diff_limited_q()
89 q = last_p_q * FFABS(a->i_quant_factor) + a->i_quant_offset; in get_diff_limited_q()
131 qmin = (int)(qmin * FFABS(s->avctx->i_quant_factor) + s->avctx->i_quant_offset + 0.5); in get_qminmax()
132 qmax = (int)(qmax * FFABS(s->avctx->i_quant_factor) + s->avctx->i_quant_offset + 0.5); in get_qminmax()
300 if (pict_type == AV_PICTURE_TYPE_I && s->avctx->i_quant_factor < 0.0) in get_qscale()
301 q = -q * s->avctx->i_quant_factor + s->avctx->i_quant_offset; in get_qscale()
H A Dnvenc.c772 } else if (avctx->i_quant_factor != 0.0 && avctx->b_quant_factor != 0.0) { in set_constqp()
774 rc->constQP.qpInterP * fabs(avctx->i_quant_factor) + avctx->i_quant_offset + 0.5, 0, 51); in set_constqp()
785 if (avctx->i_quant_factor != 0.0) in set_constqp()
786 rc->constQP.qpIntra = av_clip(ctx->cqp * fabs(avctx->i_quant_factor) + avctx->i_quant_offset + 0.5, 0, 51); in set_constqp()
833 if (avctx->i_quant_factor != 0.0 && avctx->b_quant_factor != 0.0) { in set_vbr()
835 rc->initialRCQP.qpInterP * fabs(avctx->i_quant_factor) + avctx->i_quant_offset + 0.5, 0, 51); in set_vbr()
844 if (avctx->i_quant_factor != 0.0 && avctx->b_quant_factor != 0.0) { in set_vbr()
H A Dvaapi_encode_mpeg2.c526 if (avctx->i_quant_factor > 0.0) in vaapi_encode_mpeg2_configure()
528 av_clip((avctx->i_quant_factor * priv->quant_p + in vaapi_encode_mpeg2_configure()
H A Dlibx265.c323 if (avctx->i_quant_factor >= 0) { in libx265_encode_init()
324 ret = libx265_param_parse_float(avctx, "ipratio", avctx->i_quant_factor); in libx265_encode_init()
H A Davcodec.h694 float i_quant_factor; member
H A Dlibxavs.c333 x4->params.rc.f_ip_factor = 1 / fabs(avctx->i_quant_factor); in XAVS_init()
H A Dvaapi_encode_h264.c1057 if (avctx->i_quant_factor > 0.0) in vaapi_encode_h264_configure()
1059 av_clip((avctx->i_quant_factor * priv->fixed_qp_p + in vaapi_encode_h264_configure()
H A Dlibx264.c716 if (avctx->i_quant_factor > 0) in X264_init()
717 x4->params.rc.f_ip_factor = 1 / fabs(avctx->i_quant_factor); in X264_init()
H A Dvaapi_encode_h265.c1242 if (avctx->i_quant_factor > 0.0) in vaapi_encode_h265_configure()
1244 av_clip((avctx->i_quant_factor * priv->fixed_qp_p + in vaapi_encode_h265_configure()
H A Dqsvenc.c738 q->param.mfx.QPI = av_clip(quant * fabs(avctx->i_quant_factor) + avctx->i_quant_offset, 0, 51); in init_video_param()
1647 new_qp = av_clip(qp * fabs(avctx->i_quant_factor) + in update_qp()
H A Doptions_table.h150 {"i_qfactor", "QP factor between P- and I-frames", OFFSET(i_quant_factor), AV_OPT_TYPE_FLOAT, {.dbl = -0.8 }, -FLT_MAX, FLT_MAX, V|E},

Completed in 23 milliseconds