/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 | 43 static const int kImageSize = 128; variable 48 static const int kCellSize = kImageSize+2*kLabelSize; 53 { 0, kImageSize }, // LL 54 { kImageSize, kImageSize }, // LR 56 { kImageSize, 0 }, // UR 121 SkImageInfo::Make(kImageSize, kImageSize, kRGBA_8888_SkColorType, kOpaque_SkAlphaType); in make_reference_image() 157 tmp.preScale(1.0f/kImageSize, 1.0f/kImageSize); in UVMatToGeomMatForImage() 160 tmp.postScale(kImageSize, kImageSize); in UVMatToGeomMatForImage() 186 SkRect::MakeXYWH(kInset, 0, kImageSize-kInset, kImageSize), in drawImageWithMatrixAndLabels() 187 SkRect::MakeXYWH(0, kInset, kImageSize, kImageSize-kInset), in drawImageWithMatrixAndLabels() [all …]
|
D | anisotropic.cpp | 34 return SkISize::Make(2*kImageSize + 3*kSpacer, in onISize() 35 kNumVertImages*kImageSize + (kNumVertImages+1)*kSpacer); in onISize() 44 auto info = SkImageInfo::MakeN32(kImageSize, kImageSize, kOpaque_SkAlphaType); in onOnceBeforeDraw() 55 canvas->translate(kImageSize/2.0f, kImageSize/2.0f); in onOnceBeforeDraw() 60 cos * kImageSize/2, sin * kImageSize/2, p); in onOnceBeforeDraw() 110 static constexpr int kImageSize = 256; member in skiagm::AnisotropicGM
|
D | imagesource2.cpp | 56 auto surface(SkSurface::MakeRasterN32Premul(kImageSize, kImageSize)); in onOnceBeforeDraw() 61 for (int x = 0; x < kImageSize; x += 3) { in onOnceBeforeDraw() 63 SkIntToScalar(3), SkIntToScalar(kImageSize)); in onOnceBeforeDraw() 76 SkIntToScalar(kImageSize), in onDraw() 77 SkIntToScalar(kImageSize)); in onDraw() 88 static constexpr int kImageSize = 503; member in skiagm::ImageSourceGM
|
D | ycbcrimage.cpp | 42 return SkISize::Make(2*kPad+kImageSize, 2*kPad+kImageSize); in onISize() 53 if (!ycbcrHelper->createBackendTexture(kImageSize, kImageSize)) { in createYCbCrImage() 103 static const int kImageSize = 112; member in skiagm::YCbCrImageGM
|
D | texelsubset.cpp | 73 int w = kTestPad + 2*kN*(kImageSize.width() + 2*kDrawPad + kTestPad); in onISize() 74 int h = kTestPad + 2*kN*(kImageSize.height() + 2*kDrawPad + kTestPad); in onISize() 82 SkASSERT(fBitmap.dimensions() == kImageSize); in onOnceBeforeDraw() 210 static constexpr SkISize kImageSize = {128, 88}; member in skiagm::TexelSubset
|
/external/skia/bench/ |
D | ImageCycleBench.cpp | 39 auto ii = SkImageInfo::Make(kImageSize.fWidth, kImageSize.fHeight, kRGBA_8888_SkColorType, in onPerCanvasPreDraw() 51 SkRect::MakeLTRB(1, 1, kImageSize.fWidth - 1, kImageSize.fHeight - 1), paint); in onPerCanvasPreDraw() 65 SkScalarFloorToInt(kDeviceSize.fWidth / (kImageSize.fWidth + kPad)); in onDraw() 70 SkScalar imageYOffset = i * rowsPerImage * (kImageSize.fHeight + kPad); in onDraw() 71 SkScalar rowYOffset = (r / imagesPerRow) * (kImageSize.fHeight + kPad); in onDraw() 72 SkScalar x = (r % imagesPerRow) * (kImageSize.fWidth + kPad); in onDraw() 87 static constexpr SkISize kImageSize{4, 4}; member in ImageCycle
|
D | AAClipBench.cpp | 94 static const int kImageSize = 400; member in NestedAAClipBench 103 SkIntToScalar(kImageSize), in NestedAAClipBench() 104 SkIntToScalar(kImageSize)); in NestedAAClipBench() 106 fSizes[0].set(SkIntToScalar(kImageSize), SkIntToScalar(kImageSize)); in NestedAAClipBench()
|
/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/libyuv/files/unit_test/ |
D | convert_test.cc | 1376 const int kImageSize = benchmark_width_ * benchmark_height_ >= kMinJpeg in TEST_F() local 1379 const int kSize = kImageSize + kOff; in TEST_F() 1405 const int kImageSize = benchmark_width_ * benchmark_height_ >= kMinJpeg in TEST_F() local 1408 const int kSize = kImageSize + kOff; in TEST_F() 1410 const int kBufSize = kImageSize * kMultiple + kOff; in TEST_F() 1432 const int kImageSize = benchmark_width_ * benchmark_height_ >= kMinJpeg in TEST_F() local 1435 const int kSize = kImageSize + kOff; in TEST_F()
|
/external/angle/src/tests/gl_tests/ |
D | TextureTest.cpp | 1895 constexpr size_t kImageSize = 256; in TEST_P() local 1896 std::array<GLColor, kImageSize * kImageSize> kMipColors[2]; in TEST_P() 1906 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, kImageSize, kImageSize, 0, GL_RGBA, GL_UNSIGNED_BYTE, in TEST_P() 1916 glTexImage2D(GL_TEXTURE_2D, 1, GL_RGBA, kImageSize, kImageSize, 0, GL_RGBA, GL_UNSIGNED_BYTE, in TEST_P()
|