Searched refs:SCALE (Results 1 – 10 of 10) sorted by relevance
/external/skia/gm/ |
D | all_bitmap_configs.cpp | 23 #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() 129 SkImageInfo info = SkImageInfo::Make(SCALE, SCALE, kIndex_8_SkColorType, in indexed_bitmap() 134 for (int y = 0; y < SCALE; ++y) { in indexed_bitmap() [all …]
|
/external/libgsm/src/ |
D | lpc.c | 67 # 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/ |
D | utils.cpp | 77 #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/fio/tools/ |
D | fio_generate_plots | 88 SCALE=$4 106 …PLOT_LINE=$PLOT_LINE"'$x' using (\$1/1000):(\$2/$SCALE) title \"Queue depth $DEPTH\" with lines ls…
|
/external/jmonkeyengine/engine/src/core-data/Common/ShaderLib/ |
D | Bump.glsllib | 1 #define SCALE 0.12 42 float h = texture2D(heightMap, texCoord).a * SCALE + BIAS;
|
/external/skia/src/core/ |
D | SkScan_AntiPath.cpp | 18 #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()
|
D | SkPictureFlat.h | 55 SCALE, enumerator
|
D | SkPicturePlayback.cpp | 417 case SCALE: { in handleOp()
|
D | SkPictureRecord.cpp | 251 size_t initialOffset = this->addDraw(SCALE, &size); in recordScale()
|
/external/opencv/cvaux/src/ |
D | cvhmmobs.cpp | 103 #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()
|