Searched refs:qval (Results 1 - 10 of 10) sorted by relevance

/external/opencv3/3rdparty/libjpeg/
H A Djcdctmgr.c85 { register DCTELEM temp, qval; local
90 qval = divisors[i];
92 /* Divide the coefficient value by qval, ensuring proper rounding.
111 temp += qval>>1; /* for rounding */
112 DIVIDE_BY(temp, qval);
115 temp += qval>>1; /* for rounding */
116 DIVIDE_BY(temp, qval);
H A Djcmarker.c173 unsigned int qval = qtbl->quantval[cinfo->natural_order[i]]; local
175 emit_byte(cinfo, (int) (qval >> 8));
176 emit_byte(cinfo, (int) (qval & 0xFF));
/external/pdfium/third_party/libjpeg/
H A Dfpdfapi_jcdctmgr.c227 { register DCTELEM temp, qval; local
232 qval = divisors[i];
234 /* Divide the coefficient value by qval, ensuring proper rounding.
253 temp += qval>>1; /* for rounding */
254 DIVIDE_BY(temp, qval);
257 temp += qval>>1; /* for rounding */
258 DIVIDE_BY(temp, qval);
H A Dfpdfapi_jcmarker.c170 unsigned int qval = qtbl->quantval[jpeg_natural_order[i]]; local
172 emit_byte(cinfo, (int) (qval >> 8));
173 emit_byte(cinfo, (int) (qval & 0xFF));
/external/mksh/src/
H A Dvar.c810 const char *qval, *ccp; local
816 if ((qval = val) == NULL) {
820 qval = str_val(vp);
823 ccp = skip_varname(qval, false);
824 if (ccp == qval) {
825 if (ksh_isdigit(qval[0])) {
828 if (getn(qval, &c))
830 } else if (qval[1] == '\0') switch (qval[0]) {
848 errorf("%s: %s", qval,
[all...]
/external/libjpeg-turbo/
H A Djcdctmgr.c437 register DCTELEM qval; local
440 qval = divisors[i];
442 /* Divide the coefficient value by qval, ensuring proper rounding.
461 temp += qval>>1; /* for rounding */
462 DIVIDE_BY(temp, qval);
465 temp += qval>>1; /* for rounding */
466 DIVIDE_BY(temp, qval);
H A Djcmarker.c174 unsigned int qval = qtbl->quantval[jpeg_natural_order[i]]; local
176 emit_byte(cinfo, (int) (qval >> 8));
177 emit_byte(cinfo, (int) (qval & 0xFF));
/external/opencv/otherlibs/highgui/
H A Dgrfmt_jpeg.cpp1675 int qval = cvRound(qtable[idx]*inv_quality); local
1676 if( qval < 1 )
1677 qval = 1;
1678 if( qval > 255 )
1679 qval = 255;
1681 (qval*chroma_scale*idct_prescale[idx]));
1682 lowstrm.PutByte( qval );
/external/opencv3/modules/videoio/src/
H A Dcap_mjpeg_encoder.cpp1180 int qval = cvRound(qtable[idx]*inv_quality); local
1181 if( qval < 1 )
1182 qval = 1;
1183 if( qval > 255 )
1184 qval = 255;
1186 (qval*chroma_scale*idct_prescale[idx]));
1187 strm.putByte( qval );
/external/skia/src/core/
H A DSkScan_AntiPath.cpp506 uint32_t qval = quadplicate_byte(maxValue);
508 *qptr++ += qval;

Completed in 420 milliseconds