Home
last modified time | relevance | path

Searched refs:kImageSize (Results 1 – 11 of 11) sorted by relevance

/external/skqp/gm/
Dflippity.cpp18 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 …]
Danisotropic.cpp24 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
Dimagesource2.cpp44 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/
Dflippity.cpp18 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 …]
Danisotropic.cpp24 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
Dimagesource2.cpp44 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/
DImageCycleBench.cpp37 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
DAAClipBench.cpp96 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/
DImageCycleBench.cpp37 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
DAAClipBench.cpp96 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/
Dconvert_test.cc1260 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 …]