Home
last modified time | relevance | path

Searched refs:SCALE (Results 1 – 25 of 27) sorted by relevance

12

/external/skia/gm/
Dall_bitmap_configs.cpp23 #define SCALE 128 macro
30 bm.allocPixels(SkImageInfo::MakeA8(SCALE, SCALE)); in make_bitmap()
34 SkImageInfo::Make(SCALE, SCALE, ct, kOpaque_SkAlphaType)); in make_bitmap()
67 canvas->translate(0.5f * SCALE, 0.5f * SCALE); in color_wheel_native()
71 canvas->drawCircle(0.0f, 0.0f, SCALE * 0.5f, p); in color_wheel_native()
75 const SkScalar D = 0.3f * SkIntToScalar(SCALE); in color_wheel_native()
79 p.setTextSize(0.28125f * SCALE); in color_wheel_native()
106 n32bitmap.allocN32Pixels(SCALE, SCALE); in indexed_bitmap()
128 SkImageInfo info = SkImageInfo::Make(SCALE, SCALE, kIndex_8_SkColorType, in indexed_bitmap()
133 for (int y = 0; y < SCALE; ++y) { in indexed_bitmap()
[all …]
/external/libgsm/src/
Dlpc.c67 # define SCALE(n) \ macro
73 # define SCALE(n) \
80 SCALE(1)
81 SCALE(2)
82 SCALE(3)
83 SCALE(4)
85 # undef SCALE
/external/opencv/otherlibs/highgui/
Dutils.cpp77 #define SCALE 14 macro
78 #define cR (int)(0.299*(1 << SCALE) + 0.5)
79 #define cG (int)(0.587*(1 << SCALE) + 0.5)
80 #define cB ((1 << SCALE) - cR - cG)
93 int t = descale( rgb[swap_rb]*cB + rgb[1]*cG + rgb[swap_rb^2]*cR, SCALE ); in icvCvt_BGR2Gray_8u_C3C1R()
112 int t = descale( rgb[swap_rb]*cB + rgb[1]*cG + rgb[swap_rb^2]*cR, SCALE ); in icvCvt_BGR2Gray_16u_C3C1R()
131 int t = descale( rgba[swap_rb]*cB + rgba[1]*cG + rgba[swap_rb^2]*cR, SCALE ); in icvCvt_BGRA2Gray_8u_C4C1R()
240 ((((ushort*)bgr555)[i] >> 7) & 0xf8)*cR, SCALE ); in icvCvt_BGR5552Gray_8u_C2C1R()
257 ((((ushort*)bgr565)[i] >> 8) & 0xf8)*cR, SCALE ); in icvCvt_BGR5652Gray_8u_C2C1R()
332 int t = descale( y*cB + m*cG + c*cR, SCALE ); in icvCvt_CMYK2Gray_8u_C4C1R()
/external/opencv3/modules/imgcodecs/src/
Dutils.cpp45 #define SCALE 14 macro
46 #define cR (int)(0.299*(1 << SCALE) + 0.5)
47 #define cG (int)(0.587*(1 << SCALE) + 0.5)
48 #define cB ((1 << SCALE) - cR - cG)
60 int t = descale( rgb[swap_rb]*cB + rgb[1]*cG + rgb[swap_rb^2]*cR, SCALE ); in icvCvt_BGR2Gray_8u_C3C1R()
79 int t = descale( rgb[swap_rb]*cB + rgb[1]*cG + rgb[swap_rb^2]*cR, SCALE ); in icvCvt_BGRA2Gray_16u_CnC1R()
98 int t = descale( rgba[swap_rb]*cB + rgba[1]*cG + rgba[swap_rb^2]*cR, SCALE ); in icvCvt_BGRA2Gray_8u_C4C1R()
261 ((((ushort*)bgr555)[i] >> 7) & 0xf8)*cR, SCALE ); in icvCvt_BGR5552Gray_8u_C2C1R()
278 ((((ushort*)bgr565)[i] >> 8) & 0xf8)*cR, SCALE ); in icvCvt_BGR5652Gray_8u_C2C1R()
353 int t = descale( y*cB + m*cG + c*cR, SCALE ); in icvCvt_CMYK2Gray_8u_C4C1R()
/external/netperf/doc/examples/
Dbloat.sh104 SCALE=`echo $MAXLATMAXBPS | awk '{print $2/$1}'`
112 --right-axis $SCALE:0 \
119 CDEF:sbps=bps,$SCALE,/ \
/external/boringssl/src/ssl/test/runner/poly1305/
Dconst_amd64.s10 DATA ·SCALE(SB)/8, $0x37F4000000000000
11 GLOBL ·SCALE(SB), 8, $8
Dpoly1305_amd64.s61 FMULD ·SCALE(SB), F0
64 FMULD ·SCALE(SB), F0
67 FMULD ·SCALE(SB), F0
115 FMULD ·SCALE(SB), F0
208 FMULD ·SCALE(SB), F0
310 FMULD ·SCALE(SB), F0
386 FMULD ·SCALE(SB), F0
/external/skia/src/core/
DSkScan_AntiPath.cpp18 #define SCALE (1 << SHIFT) macro
19 #define MASK (SCALE - 1)
244 fb = SCALE - fb; in blitH()
342 xrite = SCALE; in blitRect()
356 SkASSERT(xleft <= SCALE); in blitRect()
365 xleft = SCALE - xleft; in blitRect()
572 fb = SCALE - fb; in blitH()
DSkPictureFlat.h55 SCALE, enumerator
DSkPicturePlayback.cpp505 case SCALE: { in handleOp()
DSkPictureRecord.cpp181 size_t initialOffset = this->addDraw(SCALE, &size); in recordScale()
/external/fio/tools/
Dfio_generate_plots88 SCALE=$4
106 …PLOT_LINE=$PLOT_LINE"'$x' using (\$1/1000):(\$2/$SCALE) title \"Queue depth $DEPTH\" with lines ls…
/external/opencv/cvaux/src/
Dcvhmmobs.cpp103 #define SCALE(x) CV_FLT_TO_FIX((x),DCT_SCALE) macro
108 #define SCALE(x) (float)(x) macro
542 cfs[j] = SCALE(a); \ in icvCalcDCTMatrix()
543 cfs2[j] = SCALE(b); \ in icvCalcDCTMatrix()
549 cfs[0] = SCALE( scale ); in icvCalcDCTMatrix()
551 cfs[1] = SCALE( scale ); in icvCalcDCTMatrix()
/external/opencv3/modules/imgproc/src/
Dlsd.cpp249 const double SCALE; member in cv::LineSegmentDetectorImpl
404 :SCALE(_scale), doRefine(_refine), SIGMA_SCALE(_sigma_scale), QUANT(_quant), in LineSegmentDetectorImpl()
448 if(SCALE != 1) in flsd()
451 const double sigma = (SCALE < 1)?(SIGMA_SCALE / SCALE):(SIGMA_SCALE); in flsd()
457 resize(gaussian_img, scaled_image, Size(), SCALE, SCALE); in flsd()
513 if(SCALE != 1) in flsd()
515 rec.x1 /= SCALE; rec.y1 /= SCALE; in flsd()
516 rec.x2 /= SCALE; rec.y2 /= SCALE; in flsd()
517 rec.width /= SCALE; in flsd()
/external/opencv3/modules/core/src/
Dmatmul.cpp1559 const int BITS = 10, SCALE = 1 << BITS; in transform_8u() local
1568 short m00 = saturate_cast<short>(m[0]*SCALE), m01 = saturate_cast<short>(m[1]*SCALE), in transform_8u()
1569 m02 = saturate_cast<short>(m[2]*SCALE), m10 = saturate_cast<short>(m[4]*SCALE), in transform_8u()
1570 m11 = saturate_cast<short>(m[5]*SCALE), m12 = saturate_cast<short>(m[6]*SCALE), in transform_8u()
1571 m20 = saturate_cast<short>(m[8]*SCALE), m21 = saturate_cast<short>(m[9]*SCALE), in transform_8u()
1572 m22 = saturate_cast<short>(m[10]*SCALE); in transform_8u()
1573 … int m03 = saturate_cast<int>((m[3]+0.5f)*SCALE), m13 = saturate_cast<int>((m[7]+0.5f)*SCALE ), in transform_8u()
1574 m23 = saturate_cast<int>((m[11]+0.5f)*SCALE); in transform_8u()
/external/autotest/client/site_tests/firmware_TouchMTB/
Dfirmware_window.py150 pango.SCALE)
/external/opencv3/modules/imgproc/src/opencl/
Dresize.cl275 storepix(convertToT(convertToWT2V(sum) * (WT2V)(SCALE)), dst + mad24(dx, TSIZE, dst_index));
/external/opencv3/modules/video/src/opencl/
Dpyrlk.cl223 #define SCALE (1.0f / (1 << 20))
/external/pdfium/xfa/src/fgas/src/localization/
Dfx_locale.cpp4486 #define FXMATH_DECIMAL_MAKEFLAGS(NEG, SCALE) \ argument
4487 (((SCALE) << 0x10) | ((NEG) ? FXMATH_DECIMAL_NEGMASK : 0))
/external/owasp/sanitizer/lib/htmlparser-1.3/
Dhtmlparser-1.3-with-transitions.jarMETA-INF/MANIFEST.MF nu/validator/htmlparser/tools/XSLT4HTML5XOM.class XSLT4HTML5XOM ...
Dhtmlparser-1.3.jarMETA-INF/MANIFEST.MF nu/validator/htmlparser/tools/XSLT4HTML5XOM.class XSLT4HTML5XOM ...
/external/robolectric/v3/runtime/
Dshadows-core-3.1-SNAPSHOT-22.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/ ...
Dshadows-core-3.1-SNAPSHOT-19.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/ ...
Dshadows-core-3.1-SNAPSHOT-16.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/ ...
Dshadows-core-3.1-SNAPSHOT-21.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/ ...

12