Home
last modified time | relevance | path

Searched refs:qmax (Results 1 - 25 of 36) sorted by relevance

12

/third_party/ffmpeg/libavcodec/
H A Dv4l2_m2m_enc.c177 int qmin_cid, qmax_cid, qmin, qmax; in v4l2_prepare_encoder() local
203 "gop size (%d), bit rate (%"PRId64"), qmin (%d), qmax (%d)\n", in v4l2_prepare_encoder()
205 avctx->max_b_frames, avctx->gop_size, avctx->bit_rate, avctx->qmin, avctx->qmax); in v4l2_prepare_encoder()
219 qmax = 51; in v4l2_prepare_encoder()
234 qmax = 31; in v4l2_prepare_encoder()
240 qmax = 31; in v4l2_prepare_encoder()
246 qmax = 127; in v4l2_prepare_encoder()
252 qmax = 255; in v4l2_prepare_encoder()
258 if (avctx->qmin >= 0 && avctx->qmax >= 0 && avctx->qmin > avctx->qmax) { in v4l2_prepare_encoder()
[all...]
H A Dratecontrol.c116 * Get the qmin & qmax for pict_type.
121 int qmax = s->lmax; in get_qminmax() local
123 av_assert0(qmin <= qmax); in get_qminmax()
128 qmax = (int)(qmax * FFABS(s->avctx->b_quant_factor) + s->avctx->b_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()
137 qmax = av_clip(qmax, 1, FF_LAMBDA_MAX); in get_qminmax()
139 if (qmax < qmi in get_qminmax()
155 int qmin, qmax; modify_qscale() local
753 const int qmax = s->avctx->mb_lmax; adaptive_quantization() local
870 int qmin, qmax; ff_rate_estimate_qscale() local
[all...]
H A Dlpc.c102 int32_t qmax; in quantize_lpc_coefs() local
106 qmax = (1 << (precision - 1)) - 1; in quantize_lpc_coefs()
123 while((cmax * (1 << sh) > qmax) && (sh > min_shift)) { in quantize_lpc_coefs()
129 if(sh == 0 && cmax > qmax) { in quantize_lpc_coefs()
130 double scale = ((double)qmax) / cmax; in quantize_lpc_coefs()
140 lpc_out[i] = av_clip(lrintf(error), -qmax, qmax); in quantize_lpc_coefs()
H A Damfenc_hevc.c240 } else if (avctx->qmax != -1) { in amf_encode_init_hevc()
241 int qval = avctx->qmax > 51 ? 51 : avctx->qmax; in amf_encode_init_hevc()
252 } else if (avctx->qmax != -1) { in amf_encode_init_hevc()
253 int qval = avctx->qmax > 51 ? 51 : avctx->qmax; in amf_encode_init_hevc()
303 { "qmax", "-1" },
H A Ddnxhdenc.c272 if (!FF_ALLOCZ_TYPED_ARRAY(ctx->qmatrix_l, ctx->m.avctx->qmax + 1) || in dnxhd_init_qmat()
273 !FF_ALLOCZ_TYPED_ARRAY(ctx->qmatrix_c, ctx->m.avctx->qmax + 1) || in dnxhd_init_qmat()
274 !FF_ALLOCZ_TYPED_ARRAY(ctx->qmatrix_l16, ctx->m.avctx->qmax + 1) || in dnxhd_init_qmat()
275 !FF_ALLOCZ_TYPED_ARRAY(ctx->qmatrix_c16, ctx->m.avctx->qmax + 1)) in dnxhd_init_qmat()
285 ctx->m.avctx->qmax, 1); in dnxhd_init_qmat()
292 ctx->m.avctx->qmax, 1); in dnxhd_init_qmat()
294 for (qscale = 1; qscale <= ctx->m.avctx->qmax; qscale++) { in dnxhd_init_qmat()
306 for (qscale = 1; qscale <= ctx->m.avctx->qmax; qscale++) { in dnxhd_init_qmat()
339 if (!FF_ALLOCZ_TYPED_ARRAY(ctx->mb_rc, (ctx->m.avctx->qmax + 1) * ctx->m.mb_num)) in dnxhd_init_rc()
510 if (avctx->qmax < in dnxhd_encode_init()
[all...]
H A Damfenc_h264.c255 if (avctx->qmax != -1) { in amf_encode_init_h264()
256 int qval = avctx->qmax > 51 ? 51 : avctx->qmax; in amf_encode_init_h264()
366 { "qmax", "-1" },
H A Dlibxavs2.c109 xavs2_opt_set2("MaxQP", "%d", avctx->qmax >= 0 ? avctx->qmax : cae->max_qp); in xavs2_init()
H A Dlibopenh264enc.c176 if (avctx->qmax >= 0) in svc_encode_init()
177 param.iMaxQp = av_clip(avctx->qmax, 1, 51); in svc_encode_init()
450 { "qmax", "-1" },
H A Dlibrav1e.c359 int max_quantizer = avctx->qmax >= 0 ? avctx->qmax : 255; in librav1e_encode_init()
589 { "qmax", "-1" },
H A Dnvenc.c790 avctx->qmax = -1; in set_constqp()
799 if (avctx->qmin >= 0 && avctx->qmax >= 0) { in set_vbr()
807 rc->maxQP.qpInterB = avctx->qmax; in set_vbr()
808 rc->maxQP.qpInterP = avctx->qmax; in set_vbr()
809 rc->maxQP.qpIntra = avctx->qmax; in set_vbr()
811 qp_inter_p = (avctx->qmax + 3 * avctx->qmin) / 4; // biased towards Qmin in set_vbr()
866 avctx->qmax = -1; in set_lossless()
995 } else if (avctx->qmin >= 0 && avctx->qmax >= 0) { in nvenc_setup_rate_control()
H A Dlibxvid.c612 xvid_enc_create.max_quant[0] = avctx->qmax; in xvid_encode_init()
613 xvid_enc_create.max_quant[1] = avctx->qmax; in xvid_encode_init()
614 xvid_enc_create.max_quant[2] = avctx->qmax; in xvid_encode_init()
H A Dmpegvideoenc.h81 {"qsquish", "how to keep quantizer between qmin and qmax (0 = clip, 1 = use differentiable function)", \
134 const uint16_t *quant_matrix, int bias, int qmin, int qmax, int intra);
H A Dlibvpxenc.c978 if (avctx->qmax >= 0) in vpx_init()
979 enccfg.rc_max_quantizer = avctx->qmax; in vpx_init()
1613 if (avctx->qmax >= 0 && enccfg->rc_max_quantizer != avctx->qmax) { in vpx_encode()
1615 cfg.rc_max_quantizer = avctx->qmax; in vpx_encode()
1921 { "qmax", "-1" },
H A Daaccoder.c307 float qmin, qmax; in search_for_quantizers_anmr() local
312 qmax = 0.0f; in search_for_quantizers_anmr()
325 qmax = FFMAX(qmax, t); in search_for_quantizers_anmr()
335 maxscale = coef2maxsf(qmax); in search_for_quantizers_anmr()
H A Dlibx265.c302 if (avctx->qmax >= 0) { in libx265_encode_init()
303 ret = libx265_param_parse_int(avctx, "qpmax", avctx->qmax); in libx265_encode_init()
735 { "qmax", "-1" },
H A Dflacenc.c931 int32_t qmax; in encode_residual_ch() local
933 qmax = (1 << (s->options.lpc_coeff_precision - 1)) - 1; in encode_residual_ch()
948 lpc_try[i] = av_clip(coefs[opt_order - 1][i] + diff, -qmax, qmax); in encode_residual_ch()
/third_party/jerryscript/jerry-core/parser/regexp/
H A Dre-parser.c86 uint32_t qmax = re_ctx_p->token.qmax; in re_insert_into_group() local
118 re_append_value (re_ctx_p, qmax + RE_QMAX_OFFSET); in re_insert_into_group()
129 const uint32_t qmax = re_ctx_p->token.qmax; in re_insert_atom_iterator() local
131 if (qmin == 1 && qmax == 1) in re_insert_atom_iterator()
138 re_insert_value (re_ctx_p, start_offset, qmax + RE_QMAX_OFFSET); in re_insert_atom_iterator()
165 * the iteration matched or not. This also allows us to ignore qmax entirely. */ in re_insert_assertion_lookahead()
232 if (re_ctx_p->token.qmin > re_ctx_p->token.qmax) in re_check_quantifier()
258 re_ctx_p->token.qmax in re_parse_quantifier()
285 uint32_t qmax = RE_INFINITY; re_parse_quantifier() local
[all...]
H A Dre-token.h60 uint32_t qmax; /**< maximum number of token iterations */ member
/third_party/skia/third_party/externals/libwebp/src/enc/
H A Dconfig_enc.c43 config->qmax = 100; in WebPConfigInitInternal()
111 if (config->qmin < 0 || config->qmax > 100 || config->qmin > config->qmax) { in WebPValidateConfig()
H A Dframe_enc.c42 float qmin, qmax; member
56 s->qmax = 1.f * enc->config_->qmax; in InitPassStats()
57 s->q = s->last_q = Clamp(enc->config_->quality, s->qmin, s->qmax); in InitPassStats()
81 s->q = Clamp(s->q + s->dq, s->qmin, s->qmax); in ComputeNextQ()
857 stats.last_q, stats.q, stats.dq, stats.qmin, stats.qmax); in VP8EncTokenLoop()
/third_party/jerryscript/jerry-core/ecma/operations/
H A Decma-regexp-object.c772 const uint32_t qmax = re_get_value (&bc_p) - RE_QMAX_OFFSET; in ecma_regexp_run() local
773 if (JERRY_UNLIKELY (group_p->iterator >= qmax)) in ecma_regexp_run()
860 const uint32_t qmax = re_get_value (&bc_p) - RE_QMAX_OFFSET; in ecma_regexp_run() local
861 if (JERRY_UNLIKELY (group_p->iterator >= qmax)) in ecma_regexp_run()
948 const uint32_t qmax = re_get_value (&bc_p) - RE_QMAX_OFFSET; in ecma_regexp_run() local
959 if (JERRY_UNLIKELY (group_p->iterator >= qmax)) in ecma_regexp_run()
1028 const uint32_t qmax = re_get_value (&bc_p) - RE_QMAX_OFFSET; in ecma_regexp_run() local
1038 if (JERRY_UNLIKELY (group_p->iterator >= qmax)) in ecma_regexp_run()
1081 const uint32_t qmax = re_get_value (&bc_p) - RE_QMAX_OFFSET; in ecma_regexp_run() local
1102 while (iterator < qmax) in ecma_regexp_run()
1145 const uint32_t qmax = re_get_value (&bc_p) - RE_QMAX_OFFSET; ecma_regexp_run() local
[all...]
/third_party/ffmpeg/tests/fate/
H A Dvcodec.mak64 -pix_fmt yuv422p -frames 5 -qmax 8
67 -pix_fmt yuv422p -frames 5 -qmax 8
70 -pix_fmt yuv422p10 -frames 5 -qmax 8
108 -pix_fmt yuv422p -frames 5 -qmax 8
111 -pix_fmt yuv422p10 -frames 5 -qmax 8
115 -pix_fmt yuv422p -frames 5 -qmax 8
/third_party/skia/third_party/externals/libwebp/src/webp/
H A Dencode.h152 int qmax; // maximum permissible quality factor member
/third_party/skia/third_party/externals/libwebp/examples/
H A Dcwebp.c808 config.qmax = ExUtilGetInt(argv[++c], 0, &parse_error); in main()
810 if (config.qmax > 100) config.qmax = 100; in main()
/third_party/ffmpeg/libavformat/
H A Ddump.c538 avctx->qmax = sti->avctx->qmax; in dump_stream_format()

Completed in 30 milliseconds

12