Home
last modified time | relevance | path

Searched refs:qp (Results 1 – 25 of 123) sorted by relevance

12345

/third_party/libunwind/include/
Dlibunwind-dynamic.h90 int8_t qp; /* qualifying predicate register */ member
183 #define _U_dyn_op_save_reg(op, qp, when, reg, dst) \ argument
184 (*(op) = _U_dyn_op (UNW_DYN_SAVE_REG, (qp), (when), (reg), (dst)))
186 #define _U_dyn_op_spill_fp_rel(op, qp, when, reg, offset) \ argument
187 (*(op) = _U_dyn_op (UNW_DYN_SPILL_FP_REL, (qp), (when), (reg), \
190 #define _U_dyn_op_spill_sp_rel(op, qp, when, reg, offset) \ argument
191 (*(op) = _U_dyn_op (UNW_DYN_SPILL_SP_REL, (qp), (when), (reg), \
194 #define _U_dyn_op_add(op, qp, when, reg, value) \ argument
195 (*(op) = _U_dyn_op (UNW_DYN_ADD, (qp), (when), (reg), (value)))
197 #define _U_dyn_op_pop_frames(op, qp, when, num_frames) \ argument
[all …]
/third_party/ffmpeg/libavfilter/
Dvf_pp7.c48 …{ "qp", "force a constant quantizer parameter", OFFSET(qp), AV_OPT_TYPE_INT, {.i64 = 0}, 0, 64, FL…
86 int qp, i; in init_thres2() local
89 for (qp = 0; qp < 99; qp++) { in init_thres2()
91 … p->thres2[qp][i] = ((i&1) ? SN2 : SN0) * ((i&4) ? SN2 : SN0) * FFMAX(1, qp) * (1<<2) - 1 - bias; in init_thres2()
142 static int hardthresh_c(PP7Context *p, int16_t *src, int qp) in hardthresh_c() argument
149 unsigned int threshold1 = p->thres2[qp][i]; in hardthresh_c()
158 static int mediumthresh_c(PP7Context *p, int16_t *src, int qp) in mediumthresh_c() argument
165 unsigned int threshold1 = p->thres2[qp][i]; in mediumthresh_c()
182 static int softthresh_c(PP7Context *p, int16_t *src, int qp) in softthresh_c() argument
189 unsigned int threshold1 = p->thres2[qp][i]; in softthresh_c()
[all …]
Dvf_spp.c74 …{ "qp", "force a constant quantizer parameter", OFFSET(qp), AV_OPT_TYPE_INT, {.i64 = 0}, 0, 63, FL…
132 int qp, const uint8_t *permutation) in hardthresh_c() argument
137 unsigned threshold1 = qp * ((1<<4) - bias) - 1; in hardthresh_c()
153 int qp, const uint8_t *permutation) in softthresh_c() argument
158 unsigned threshold1 = qp * ((1<<4) - bias) - 1; in softthresh_c()
287 int qp; in filter() local
289 if (p->qp) { in filter()
290 qp = p->qp; in filter()
293qp = qp_table[(FFMIN(x, width - 1) >> qps) + (FFMIN(y, height - 1) >> qps) * qp_stride]; in filter()
294 qp = FFMAX(1, ff_norm_qscale(qp, p->qscale_type)); in filter()
[all …]
Dvf_qp.c51 AVFILTER_DEFINE_CLASS(qp);
115 in_qp_global = par_in->qp; in filter_frame()
146 int qp = sd_in ? in_qp_global + BLOCK_QP_DELTA(block_idx) : NAN; in filter_frame() local
147 double var_values[] = { !!sd_in, qp, x, y, s->qstride, s->h, 0}; in filter_frame()
167 par_out->qp = s->lut[0]; in filter_frame()
Dvf_pp7.h31 int qp; member
39 int (*requantize)(struct PP7Context *p, int16_t *src, int qp);
Dvf_spp.h34 int qp; member
52 int qp, const uint8_t *permutation);
Dqp_table.c61 memset(*table, par->qp, nb_mb); in ff_qp_table_extract()
67 (*table)[block_idx] = par->qp + b->delta_qp; in ff_qp_table_extract()
Dvf_codecview.c54 int qp; member
66 { "qp", NULL, OFFSET(qp), AV_OPT_TYPE_BOOL, {.i64=0}, 0, 1, .flags = FLAGS },
222 if (s->qp) { in filter_frame()
243 … const int qp = ff_norm_qscale(qp_table[(y >> 3) * qstride + (x >> 3)], qp_type) * 128/31; in filter_frame() local
244 pu[x] = pv[x] = qp; in filter_frame()
Dvf_uspp.c46 int qp; member
66 …{ "qp", "force a constant quantizer parameter", OFFSET(qp), AV_OPT_TYPE_INT,…
221 if (p->qp) in filter()
222 p->frame->quality = p->qp * FF_QP2LAMBDA; in filter()
401 if (!uspp->qp && (uspp->use_bframe_qp || in->pict_type != AV_PICTURE_TYPE_B)) { in filter_frame()
421 if (qp_table || uspp->qp) { in filter_frame()
/third_party/ffmpeg/libavcodec/
Dh264_loopfilter.c105 unsigned int qp, int a, int b, in filter_mb_edgev() argument
108 const unsigned int index_a = qp + a; in filter_mb_edgev()
110 const int beta = beta_table[qp + b]; in filter_mb_edgev()
127 unsigned int qp, int a, int b, in filter_mb_edgecv() argument
130 const unsigned int index_a = qp + a; in filter_mb_edgecv()
132 const int beta = beta_table[qp + b]; in filter_mb_edgecv()
150 int qp, int a, int b, in filter_mb_mbaff_edgev() argument
153 const unsigned int index_a = qp + a; in filter_mb_mbaff_edgev()
155 const int beta = beta_table[qp + b]; in filter_mb_mbaff_edgev()
173 int bsi, int qp, int a, in filter_mb_mbaff_edgecv() argument
[all …]
Dproresenc_anatoliy.c381 int qp) in encode_slice_data() argument
386 buf, data_size, ctx->qmat_luma[qp - 1], 0, ctx->scantable); in encode_slice_data()
390 ctx->qmat_chroma[qp - 1], ctx->is_422, ctx->scantable); in encode_slice_data()
394 ctx->qmat_chroma[qp - 1], ctx->is_422, ctx->scantable); in encode_slice_data()
539 int unsafe, int *qp, int is_interlaced, int is_top_field) in encode_slice() argument
596 *qp); in encode_slice()
611 *qp); in encode_slice()
613 if (slice_size > high_bytes && *qp < qp_end_table[avctx->profile]) { in encode_slice()
615 *qp += 1; in encode_slice()
619 *qp); in encode_slice()
[all …]
Dh264_redundant_pps_bsf.c71 int qp; in h264_redundant_pps_fixup_slice() local
73 qp = ctx->current_pic_init_qp + slice->slice_qp_delta; in h264_redundant_pps_fixup_slice()
74 slice->slice_qp_delta = qp - ctx->global_pic_init_qp; in h264_redundant_pps_fixup_slice()
Dh264_mb_template.c228 int qp[2]; in FUNC() local
230 qp[0] = sl->chroma_qp[0] + 3; in FUNC()
231 qp[1] = sl->chroma_qp[1] + 3; in FUNC()
233 qp[0] = sl->chroma_qp[0]; in FUNC()
234 qp[1] = sl->chroma_qp[1]; in FUNC()
238 … h->ps.pps->dequant4_coeff[IS_INTRA(mb_type) ? 1 : 4][qp[0]][0]); in FUNC()
241 … h->ps.pps->dequant4_coeff[IS_INTRA(mb_type) ? 2 : 5][qp[1]][0]); in FUNC()
Dcavsdec.c548 int qp, uint8_t *dst, ptrdiff_t stride) in decode_residual_block() argument
585 if ((ret = dequant(h, level_buf, run_buf, block, dequant_mul[qp], in decode_residual_block()
586 dequant_shift[qp], i)) < 0) in decode_residual_block()
598 ff_cavs_chroma_qp[h->qp], h->cu, h->c_stride); in decode_residual_chroma()
604 ff_cavs_chroma_qp[h->qp], h->cv, h->c_stride); in decode_residual_chroma()
625 h->qp = (h->qp + (unsigned)get_se_golomb(&h->gb)) & 63; in decode_residual_inter()
628 decode_residual_block(h, &h->gb, inter_dec, 0, h->qp, in decode_residual_inter()
695 h->qp = (h->qp + (unsigned)get_se_golomb(gb)) & 63; //qp_delta in decode_mb_i()
704 ret = decode_residual_block(h, gb, intra_dec, 1, h->qp, d, h->l_stride); in decode_mb_i()
941 h->qp = get_bits(gb, 6); in decode_slice_header()
[all …]
Dhevc_filter.c54 int qp, qp_i, offset, idxt; in chroma_tc() local
65 qp = qp_i; in chroma_tc()
67 qp = qp_i - 6; in chroma_tc()
69 qp = qp_c[qp_i - 30]; in chroma_tc()
71 qp = av_clip(qp_i, 0, 51); in chroma_tc()
74 idxt = av_clip(qp + DEFAULT_INTRA_TC_OFFSET + tc_offset, 0, 53); in chroma_tc()
471 #define TC_CALC(qp, bs) \ argument
472 tctable[av_clip((qp) + DEFAULT_INTRA_TC_OFFSET * ((bs) - 1) + \
525 const int qp = (get_qPy(s, x - 1, y) + get_qPy(s, x, y) + 1) >> 1; in deblocking_filter_CTB() local
527 beta = betatable[av_clip(qp + beta_offset, 0, MAX_QP)]; in deblocking_filter_CTB()
[all …]
/third_party/openh264/test/encoder/
DEncUT_EncoderMb.cpp119 void TestQuant (uint32_t qp, uint8_t* pSrc, uint8_t* pPred, int16_t* pDct, in TestQuant() argument
121 const int16_t* pMf = g_kiQuantMF[qp]; in TestQuant()
122 const int16_t* pFfCompareI = g_kiQuantInterFFCompare[52 + qp]; in TestQuant()
123 const int16_t* pFfCompareP = g_kiQuantInterFFCompare[qp]; in TestQuant()
124 const int16_t* pFfI = g_kiQuantInterFF[6 + qp]; in TestQuant()
125 const int16_t* pFfP = g_kiQuantInterFF[qp]; in TestQuant()
/third_party/boost/boost/geometry/srs/projections/proj/
Dlaea.hpp79 T qp; member
105 sinb = q / this->m_proj_parm.qp; in fwd()
118 q = this->m_proj_parm.qp - q; in fwd()
122 q = this->m_proj_parm.qp + q; in fwd()
192 ab = 1. - q / this->m_proj_parm.qp; in inv()
321 proj_parm.qp = pj_qsfn(1., par.e, par.one_es); in setup_laea()
330 proj_parm.dd = 1. / (proj_parm.rq = sqrt(.5 * proj_parm.qp)); in setup_laea()
332 proj_parm.ymf = .5 * proj_parm.qp; in setup_laea()
335 proj_parm.rq = sqrt(.5 * proj_parm.qp); in setup_laea()
337 proj_parm.sinb1 = pj_qsfn(sinphi, par.e, par.one_es) / proj_parm.qp; in setup_laea()
Dcea.hpp67 T qp; member
88 … lp_lat = pj_authlat(asin( 2. * xy_y * par.k0 / this->m_proj_parm.qp), this->m_proj_parm.apa); in inv()
155 proj_parm.qp = pj_qsfn(T(1), par.e, par.one_es); in setup_cea()
Dhealpix.hpp77 T qp; member
259 T qp = proj_parm.qp; in auth_lat() local
260 T ratio = q/qp; in auth_lat()
691 proj_parm.qp = pj_qsfn(1.0, par.e, par.one_es); /* For auth_lat(). */ in setup_healpix()
692 par.a = par.a*sqrt(0.5*proj_parm.qp); /* Set par.a to authalic radius. */ in setup_healpix()
713 proj_parm.qp = pj_qsfn(1.0, par.e, par.one_es); /* For auth_lat(). */ in setup_rhealpix()
714 par.a = par.a*sqrt(0.5*proj_parm.qp); /* Set par.a to authalic radius. */ in setup_rhealpix()
/third_party/ffmpeg/libavfilter/x86/
Dvf_spp.c31 int qp, const uint8_t *permutation) in hardthresh_mmx() argument
36 threshold1 = qp * ((1<<4) - bias) - 1; in hardthresh_mmx()
101 int qp, const uint8_t *permutation) in softthresh_mmx() argument
106 threshold1 = qp*((1<<4) - bias) - 1; in softthresh_mmx()
/third_party/ltp/tools/sparse/sparse-src/validation/
Drestrict.c22 void *const qp; in ref() local
27 pqp = &qp; /* check-should-pass */ in ref()
33 pup = &qp; /* check-should-fail */ in ref()
/third_party/libunwind/src/ia64/
Dunwind_decoder.h144 unsigned char byte1, byte2, abreg, qp; in unw_decode_x3() local
151 qp = (byte1 & 0x3f); in unw_decode_x3()
155 UNW_DEC_SPILL_SPREL_P(X3, qp, t, abreg, off, arg); in unw_decode_x3()
157 UNW_DEC_SPILL_PSPREL_P(X3, qp, t, abreg, off, arg); in unw_decode_x3()
164 unsigned char byte1, byte2, byte3, qp, abreg, x, ytreg; in unw_decode_x4() local
170 qp = (byte1 & 0x3f); in unw_decode_x4()
176 UNW_DEC_RESTORE_P(X4, qp, t, abreg, arg); in unw_decode_x4()
178 UNW_DEC_SPILL_REG_P(X4, qp, t, abreg, x, ytreg, arg); in unw_decode_x4()
DGparser.c546 desc_is_active (unsigned char qp, unw_word t, struct ia64_state_record *sr) in desc_is_active() argument
550 if (qp > 0) in desc_is_active()
552 if ((sr->pr_val & ((unw_word_t) 1 << qp)) == 0) in desc_is_active()
554 sr->pr_mask |= ((unw_word_t) 1 << qp); in desc_is_active()
560 desc_restore_p (unsigned char qp, unw_word t, unsigned char abreg, in desc_restore_p() argument
565 if (!desc_is_active (qp, t, sr)) in desc_restore_p()
575 desc_spill_reg_p (unsigned char qp, unw_word t, unsigned char abreg, in desc_spill_reg_p() argument
582 if (!desc_is_active (qp, t, sr)) in desc_spill_reg_p()
597 desc_spill_psprel_p (unsigned char qp, unw_word t, unsigned char abreg, in desc_spill_psprel_p() argument
602 if (!desc_is_active (qp, t, sr)) in desc_spill_psprel_p()
[all …]
/third_party/mesa3d/src/gallium/frontends/omx/bellagio/
Dvid_dec_av1.c780 struct quantization_params* qp = &(priv->codec_data.av1.uncompressed_header.qp); in quantization_params() local
783 qp->base_q_idx = av1_f(vlc, 8); in quantization_params()
784 qp->DeltaQYDc = read_delta_q(vlc); in quantization_params()
789 qp->DeltaQUDc = read_delta_q(vlc); in quantization_params()
790 qp->DeltaQUAc = read_delta_q(vlc); in quantization_params()
792 qp->DeltaQVDc = read_delta_q(vlc); in quantization_params()
793 qp->DeltaQVAc = read_delta_q(vlc); in quantization_params()
795 qp->DeltaQVDc = qp->DeltaQUDc; in quantization_params()
796 qp->DeltaQVAc = qp->DeltaQUAc; in quantization_params()
799 qp->DeltaQVDc = 0; in quantization_params()
[all …]
/third_party/gstreamer/gstplugins_bad/sys/mediafoundation/
Dgstmfh264enc.cpp213 guint qp; member
280 if (device_caps->quality && !device_caps->qp) { in gst_mf_h264_enc_class_init()
403 if (device_caps->qp) { in gst_mf_h264_enc_class_init()
549 self->qp = DEFAULT_QP; in gst_mf_h264_enc_init()
620 g_value_set_uint (value, self->qp); in gst_mf_h264_enc_get_property()
705 self->qp = g_value_get_uint (value); in gst_mf_h264_enc_set_property()
878 if (device_caps->quality && !device_caps->qp) { in gst_mf_h264_enc_set_option()
980 if (device_caps->qp) { in gst_mf_h264_enc_set_option()
982 &CODECAPI_AVEncVideoEncodeQP, self->qp); in gst_mf_h264_enc_set_option()

12345