/external/skqp/gm/ |
D | flippity.cpp | 18 static const int kImageSize = 128; variable 23 static const int kCellSize = kImageSize+2*kLabelSize; 28 { 0, kImageSize }, // LL 29 { kImageSize, kImageSize }, // LR 31 { kImageSize, 0 }, // UR 97 SkImageInfo::Make(kImageSize, kImageSize, kRGBA_8888_SkColorType, kOpaque_SkAlphaType); in make_reference_image() 111 auto proxy = sk_gpu_test::MakeTextureProxyFromData(context, false, kImageSize, kImageSize, in make_reference_image() 132 tmp.preScale(1.0f/kImageSize, 1.0f/kImageSize); in UVMatToGeomMatForImage() 135 tmp.postScale(kImageSize, kImageSize); in UVMatToGeomMatForImage() 162 SkRect::MakeXYWH(kInset, 0, kImageSize-kInset, kImageSize), in drawImageWithMatrixAndLabels() [all …]
|
D | anisotropic.cpp | 24 return SkISize::Make(2*kImageSize + 3*kSpacer, in onISize() 25 kNumVertImages*kImageSize + (kNumVertImages+1)*kSpacer); in onISize() 34 fBM.allocN32Pixels(kImageSize, kImageSize, true); in onOnceBeforeDraw() 45 canvas.translate(kImageSize/2.0f, kImageSize/2.0f); in onOnceBeforeDraw() 49 cos * kImageSize/2, sin * kImageSize/2, p); in onOnceBeforeDraw() 100 static constexpr int kImageSize = 256; member in skiagm::AnisotropicGM
|
D | imagesource2.cpp | 44 auto surface(SkSurface::MakeRasterN32Premul(kImageSize, kImageSize)); in onOnceBeforeDraw() 49 for (int x = 0; x < kImageSize; x += 3) { in onOnceBeforeDraw() 51 SkIntToScalar(3), SkIntToScalar(kImageSize)); in onOnceBeforeDraw() 64 SkIntToScalar(kImageSize), in onDraw() 65 SkIntToScalar(kImageSize)); in onDraw() 76 static constexpr int kImageSize = 503; member in skiagm::ImageSourceGM
|
/external/skia/gm/ |
D | flippity.cpp | 18 static const int kImageSize = 128; variable 23 static const int kCellSize = kImageSize+2*kLabelSize; 28 { 0, kImageSize }, // LL 29 { kImageSize, kImageSize }, // LR 31 { kImageSize, 0 }, // UR 97 SkImageInfo::Make(kImageSize, kImageSize, kRGBA_8888_SkColorType, kOpaque_SkAlphaType); in make_reference_image() 111 auto proxy = sk_gpu_test::MakeTextureProxyFromData(context, false, kImageSize, kImageSize, in make_reference_image() 132 tmp.preScale(1.0f/kImageSize, 1.0f/kImageSize); in UVMatToGeomMatForImage() 135 tmp.postScale(kImageSize, kImageSize); in UVMatToGeomMatForImage() 162 SkRect::MakeXYWH(kInset, 0, kImageSize-kInset, kImageSize), in drawImageWithMatrixAndLabels() [all …]
|
D | anisotropic.cpp | 24 return SkISize::Make(2*kImageSize + 3*kSpacer, in onISize() 25 kNumVertImages*kImageSize + (kNumVertImages+1)*kSpacer); in onISize() 34 fBM.allocN32Pixels(kImageSize, kImageSize, true); in onOnceBeforeDraw() 45 canvas.translate(kImageSize/2.0f, kImageSize/2.0f); in onOnceBeforeDraw() 49 cos * kImageSize/2, sin * kImageSize/2, p); in onOnceBeforeDraw() 100 static constexpr int kImageSize = 256; member in skiagm::AnisotropicGM
|
D | imagesource2.cpp | 44 auto surface(SkSurface::MakeRasterN32Premul(kImageSize, kImageSize)); in onOnceBeforeDraw() 49 for (int x = 0; x < kImageSize; x += 3) { in onOnceBeforeDraw() 51 SkIntToScalar(3), SkIntToScalar(kImageSize)); in onOnceBeforeDraw() 64 SkIntToScalar(kImageSize), in onDraw() 65 SkIntToScalar(kImageSize)); in onDraw() 76 static constexpr int kImageSize = 503; member in skiagm::ImageSourceGM
|
/external/skqp/bench/ |
D | ImageCycleBench.cpp | 37 auto ii = SkImageInfo::Make(kImageSize.fWidth, kImageSize.fHeight, kRGBA_8888_SkColorType, in onPerCanvasPreDraw() 49 SkRect::MakeLTRB(1, 1, kImageSize.fWidth - 1, kImageSize.fHeight - 1), paint); in onPerCanvasPreDraw() 64 SkScalarFloorToInt(kDeviceSize.fWidth / (kImageSize.fWidth + kPad)); in onDraw() 69 SkScalar imageYOffset = i * rowsPerImage * (kImageSize.fHeight + kPad); in onDraw() 70 SkScalar rowYOffset = (r / imagesPerRow) * (kImageSize.fHeight + kPad); in onDraw() 71 SkScalar x = (r % imagesPerRow) * (kImageSize.fWidth + kPad); in onDraw() 83 static constexpr SkISize kImageSize{4, 4}; member in ImageCycle
|
D | AAClipBench.cpp | 96 static const int kImageSize = 400; member in NestedAAClipBench 105 SkIntToScalar(kImageSize), in NestedAAClipBench() 106 SkIntToScalar(kImageSize)); in NestedAAClipBench() 108 fSizes[0].set(SkIntToScalar(kImageSize), SkIntToScalar(kImageSize)); in NestedAAClipBench()
|
/external/skia/bench/ |
D | ImageCycleBench.cpp | 37 auto ii = SkImageInfo::Make(kImageSize.fWidth, kImageSize.fHeight, kRGBA_8888_SkColorType, in onPerCanvasPreDraw() 49 SkRect::MakeLTRB(1, 1, kImageSize.fWidth - 1, kImageSize.fHeight - 1), paint); in onPerCanvasPreDraw() 64 SkScalarFloorToInt(kDeviceSize.fWidth / (kImageSize.fWidth + kPad)); in onDraw() 69 SkScalar imageYOffset = i * rowsPerImage * (kImageSize.fHeight + kPad); in onDraw() 70 SkScalar rowYOffset = (r / imagesPerRow) * (kImageSize.fHeight + kPad); in onDraw() 71 SkScalar x = (r % imagesPerRow) * (kImageSize.fWidth + kPad); in onDraw() 83 static constexpr SkISize kImageSize{4, 4}; member in ImageCycle
|
D | AAClipBench.cpp | 96 static const int kImageSize = 400; member in NestedAAClipBench 105 SkIntToScalar(kImageSize), in NestedAAClipBench() 106 SkIntToScalar(kImageSize)); in NestedAAClipBench() 108 fSizes[0].set(SkIntToScalar(kImageSize), SkIntToScalar(kImageSize)); in NestedAAClipBench()
|
/external/libyuv/files/unit_test/ |
D | convert_test.cc | 1260 const int kImageSize = benchmark_width_ * benchmark_height_ >= kMinJpeg in TEST_F() local 1263 const int kSize = kImageSize + kOff; in TEST_F() 1288 const int kImageSize = benchmark_width_ * benchmark_height_ >= kMinJpeg in TEST_F() local 1291 const int kSize = kImageSize + kOff; in TEST_F() 1293 const int kBufSize = kImageSize * kMultiple + kOff; in TEST_F() 1314 const int kImageSize = benchmark_width_ * benchmark_height_ >= kMinJpeg in TEST_F() local 1317 const int kSize = kImageSize + kOff; in TEST_F() 1369 const int kImageSize = benchmark_width_ * benchmark_height_ >= kMinJpeg in TEST_F() local 1372 const int kSize = kImageSize + kOff; in TEST_F() 1406 const int kImageSize = benchmark_width_ * benchmark_height_ >= kMinJpeg in TEST_F() local [all …]
|