/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fPrerequisiteTests.cpp | 182 int imageWidth = 0; in iterate() local 194 imageWidth = targetWidth; in iterate() 201 imageWidth = targetWidth / 2; in iterate() 208 imageWidth = targetWidth - x; in iterate() 214 imageWidth = 1 + (deRandom_getUint32(&rnd) % (targetWidth - x - 1)); in iterate() 219 Surface resImage(imageWidth, imageHeight); in iterate() 220 Surface refImage(imageWidth, imageHeight); in iterate() 221 Surface diffImage(imageWidth, imageHeight); in iterate() 241 for (int i = 0; i < imageWidth; i++) in iterate()
|
D | es3fASTCDecompressionCases.cpp | 423 const int imageWidth = numXBlocksPerImage * blockSize.x(); in iterate() local 430 tcu::CompressedTexture compressed (m_format, imageWidth, imageHeight); in iterate() 435 << imageWidth << "x" << imageHeight in iterate() 452 Surface renderedFrame (imageWidth, imageHeight); in iterate() 453 Surface referenceFrame (imageWidth, imageHeight); in iterate() 557 const int imageWidth = (MAX_NUM_BLOCKS_X-1)*blockSize.x() + curRemainderX; in iterate() local 559 const int numBlocksX = deDivRoundUp32(imageWidth, blockSize.x()); in iterate() 564 tcu::CompressedTexture compressed (m_format, imageWidth, imageHeight); in iterate() 574 Surface renderedFrame (imageWidth, imageHeight); in iterate() 575 Surface referenceFrame (imageWidth, imageHeight); in iterate() [all …]
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
D | es2fPrerequisiteTests.cpp | 182 int imageWidth = 0; in iterate() local 194 imageWidth = targetWidth; in iterate() 201 imageWidth = targetWidth / 2; in iterate() 208 imageWidth = targetWidth - x; in iterate() 214 imageWidth = 1 + (deRandom_getUint32(&rnd) % (targetWidth - x - 1)); in iterate() 219 Surface resImage(imageWidth, imageHeight); in iterate() 220 Surface refImage(imageWidth, imageHeight); in iterate() 221 Surface diffImage(imageWidth, imageHeight); in iterate() 241 for (int i = 0; i < imageWidth; i++) in iterate()
|
/third_party/flutter/skia/tests/ |
D | SVGDeviceTest.cpp | 181 void SetImageShader(SkPaint* paint, int imageWidth, int imageHeight, SkTileMode xTile, in SetImageShader() argument 183 auto surface = SkSurface::MakeRasterN32Premul(imageWidth, imageHeight); in SetImageShader() 230 void ImageShaderTestSetup(SkDOM* dom, SkPaint* paint, int imageWidth, int imageHeight, in ImageShaderTestSetup() argument 232 SetImageShader(paint, imageWidth, imageHeight, xTile, yTile); in ImageShaderTestSetup() 243 int imageWidth = 3, imageHeight = 3; in DEF_TEST() local 245 ImageShaderTestSetup(&dom, &paint, imageWidth, imageHeight, rectWidth, rectHeight, in DEF_TEST() 256 REPORTER_ASSERT(reporter, atoi(dom.findAttr(imageNode, "width")) == imageWidth); in DEF_TEST() 268 int imageWidth = 3, imageHeight = 3; in DEF_TEST() local 270 ImageShaderTestSetup(&dom, &paint, imageWidth, imageHeight, rectWidth, rectHeight, in DEF_TEST() 286 REPORTER_ASSERT(reporter, atoi(dom.findAttr(imageNode, "width")) == imageWidth); in DEF_TEST() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/protected_memory/ |
D | vktProtectedMemWorkgroupStorageTests.cpp | 61 deUint32 imageWidth; member 68 imageWidth = 1; in Params() 71 while (imageWidth * imageHeight < sharedMemorySize) in Params() 74 imageWidth *= 2; in Params() 146 …"layout(local_size_x = " + de::toString(m_params.imageWidth) + ", local_size_y = " + de::toString(… in initPrograms() 155 " int idx0 = gy * " + de::toString(m_params.imageWidth) + " + gx;\n" in initPrograms() 183 …de::MovePtr<tcu::Texture2D> texture2D (new tcu::Texture2D(texFmt, m_params.imageWidth, m_params.i… in createTestTexture2D() 228 if (properties.limits.maxComputeWorkGroupInvocations < m_params.imageWidth * m_params.imageHeight) in iterate() 239 m_params.imageWidth, m_params.imageHeight, in iterate() 244 m_params.imageWidth, m_params.imageHeight, in iterate() [all …]
|
D | vktProtectedMemStackTests.cpp | 62 deUint32 imageWidth; member 69 imageWidth = 1; in Params() 72 while (imageWidth * imageHeight < stackSize) in Params() 75 imageWidth *= 2; in Params() 151 …"layout(local_size_x = " + de::toString(m_params.imageWidth) + ", local_size_y = " + de::toString(… in initPrograms() 172 " int w = " + de::toString(m_params.imageWidth) + ";\n" in initPrograms() 214 …de::MovePtr<tcu::Texture2D> texture2D (new tcu::Texture2D(texFmt, m_params.imageWidth, m_params.i… in createTestTexture2D() 255 if (properties.limits.maxComputeWorkGroupInvocations < m_params.imageWidth * m_params.imageHeight) in iterate() 266 m_params.imageWidth, m_params.imageHeight, in iterate() 271 m_params.imageWidth, m_params.imageHeight, in iterate() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/protected_memory/ |
D | vktProtectedMemWorkgroupStorageTests.cpp | 61 deUint32 imageWidth; member 68 imageWidth = 1; in Params() 71 while (imageWidth * imageHeight < sharedMemorySize) in Params() 74 imageWidth *= 2; in Params() 146 …"layout(local_size_x = " + de::toString(m_params.imageWidth) + ", local_size_y = " + de::toString(… in initPrograms() 155 " int idx0 = gy * " + de::toString(m_params.imageWidth) + " + gx;\n" in initPrograms() 183 …de::MovePtr<tcu::Texture2D> texture2D (new tcu::Texture2D(texFmt, m_params.imageWidth, m_params.i… in createTestTexture2D() 228 if (properties.limits.maxComputeWorkGroupInvocations < m_params.imageWidth * m_params.imageHeight) in iterate() 239 m_params.imageWidth, m_params.imageHeight, in iterate() 244 m_params.imageWidth, m_params.imageHeight, in iterate() [all …]
|
D | vktProtectedMemStackTests.cpp | 62 deUint32 imageWidth; member 69 imageWidth = 1; in Params() 72 while (imageWidth * imageHeight < stackSize) in Params() 75 imageWidth *= 2; in Params() 151 …"layout(local_size_x = " + de::toString(m_params.imageWidth) + ", local_size_y = " + de::toString(… in initPrograms() 172 " int w = " + de::toString(m_params.imageWidth) + ";\n" in initPrograms() 214 …de::MovePtr<tcu::Texture2D> texture2D (new tcu::Texture2D(texFmt, m_params.imageWidth, m_params.i… in createTestTexture2D() 255 if (properties.limits.maxComputeWorkGroupInvocations < m_params.imageWidth * m_params.imageHeight) in iterate() 266 m_params.imageWidth, m_params.imageHeight, in iterate() 271 m_params.imageWidth, m_params.imageHeight, in iterate() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/marl/examples/ |
D | fractal.cpp | 140 constexpr uint32_t imageWidth = 2048; variable 159 auto pixels = new Color<uint8_t>[imageWidth * imageHeight]; in main() 176 for (uint32_t x = 0; x < imageWidth; x++) { in main() 185 auto dx = float(fx) / float(imageWidth); in main() 193 pixels[x + y * imageWidth] = {static_cast<uint8_t>(color.r * 255), in main() 204 if (!writeBMP(pixels, imageWidth, imageHeight, "fractal.bmp")) { in main()
|
/third_party/skia/tests/ |
D | SVGDeviceTest.cpp | 181 void SetImageShader(SkPaint* paint, int imageWidth, int imageHeight, SkTileMode xTile, in SetImageShader() argument 183 auto surface = SkSurface::MakeRasterN32Premul(imageWidth, imageHeight); in SetImageShader() 230 void ImageShaderTestSetup(SkDOM* dom, SkPaint* paint, int imageWidth, int imageHeight, in ImageShaderTestSetup() argument 232 SetImageShader(paint, imageWidth, imageHeight, xTile, yTile); in ImageShaderTestSetup() 243 int imageWidth = 3, imageHeight = 3; in DEF_TEST() local 245 ImageShaderTestSetup(&dom, &paint, imageWidth, imageHeight, rectWidth, rectHeight, in DEF_TEST() 256 REPORTER_ASSERT(reporter, atoi(dom.findAttr(imageNode, "width")) == imageWidth); in DEF_TEST() 268 int imageWidth = 3, imageHeight = 3; in DEF_TEST() local 270 ImageShaderTestSetup(&dom, &paint, imageWidth, imageHeight, rectWidth, rectHeight, in DEF_TEST() 286 REPORTER_ASSERT(reporter, atoi(dom.findAttr(imageNode, "width")) == imageWidth); in DEF_TEST() [all …]
|
/third_party/skia/gm/ |
D | encode_color_types.cpp | 21 static const int imageWidth = 128; variable 91 const int width = fVariant == Variant::kNormal ? imageWidth * 7 : imageWidth * 2; in onISize() 139 canvas->translate((float) imageWidth, 0.0f); in onDraw() 142 canvas->translate((float) imageWidth * 1.5, 0.0f); in onDraw()
|
D | encode_srgb.cpp | 32 static const int imageWidth = 128; variable 114 return SkISize::Make(imageWidth * 2, imageHeight * 15); in onISize() 136 canvas->translate((float) imageWidth, 0.0f); in onDraw()
|
/third_party/skia/src/core/ |
D | SkLatticeIter.h | 24 static bool Valid(int imageWidth, int imageHeight, const SkCanvas::Lattice& lattice); 28 static bool Valid(int imageWidth, int imageHeight, const SkIRect& center); 30 SkLatticeIter(int imageWidth, int imageHeight, const SkIRect& center, const SkRect& dst);
|
D | SkDistanceFieldGen.cpp | 75 int imageWidth, int imageHeight, in init_glyph_data() argument 82 for (int i = 0; i < imageWidth; ++i) { in init_glyph_data() 92 if (i == imageWidth-1) { in init_glyph_data() 101 if (found_edge(image, imageWidth, checkMask)) { in init_glyph_data()
|
/third_party/flutter/skia/src/core/ |
D | SkLatticeIter.h | 24 static bool Valid(int imageWidth, int imageHeight, const SkCanvas::Lattice& lattice); 28 static bool Valid(int imageWidth, int imageHeight, const SkIRect& center); 30 SkLatticeIter(int imageWidth, int imageHeight, const SkIRect& center, const SkRect& dst);
|
D | SkDeferredDisplayListRecorder.cpp | 47 int imageWidth, in makeYUVAPromiseTexture() argument 272 int imageWidth, in makeYUVAPromiseTexture() argument 290 imageWidth, in makeYUVAPromiseTexture()
|
D | SkDistanceFieldGen.cpp | 74 int imageWidth, int imageHeight, in init_glyph_data() argument 81 for (int i = 0; i < imageWidth; ++i) { in init_glyph_data() 91 if (i == imageWidth-1) { in init_glyph_data() 100 if (found_edge(image, imageWidth, checkMask)) { in init_glyph_data()
|
/third_party/skia/third_party/externals/dng_sdk/source/ |
D | dng_lossless_jpeg.cpp | 314 int32 imageWidth; member 412 void StartRead (uint32 &imageWidth, 725 info.imageWidth = Get2bytes (); in GetSof() 733 (info.imageWidth <= 0) || in GetSof() 1171 ((info.imageWidth & 1) == 0); in DecoderStructInit() 1182 ((info.imageWidth & 1) == 0) && in DecoderStructInit() 1227 mcuBuffer1.Allocate (info.imageWidth, sizeof (MCU)); in DecoderStructInit() 1228 mcuBuffer2.Allocate (info.imageWidth, sizeof (MCU)); in DecoderStructInit() 1233 mcuBuffer3.Allocate (info.imageWidth, mcuSize); in DecoderStructInit() 1234 mcuBuffer4.Allocate (info.imageWidth, mcuSize); in DecoderStructInit() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/wsi/ |
D | vktWsiIncrementalPresentTests.cpp | 241 deUint32 imageWidth, in getRenderFrameRect() argument 246 : de::min(((deUint32)frameNdx) % imageWidth, imageWidth - 1u); in getRenderFrameRect() 251 ? imageWidth in getRenderFrameRect() 252 … : 1 + de::min((deUint32)(frameNdx) % de::min<deUint32>(100, imageWidth / 3), imageWidth - x); in getRenderFrameRect() 296 deUint32 imageWidth, in cmdRenderFrame() argument 303 const vk::VkRect2D scissor = vk::makeRect2D(imageWidth, imageHeight); in cmdRenderFrame() 322 const vk::VkRect2D scissor = getRenderFrameRect(frameNdx, imageWidth, imageHeight); in cmdRenderFrame() 342 deUint32 imageWidth, in createCommandBuffer() argument 383 …beginRenderPass(vkd, *commandBuffer, renderPass, framebuffer, vk::makeRect2D(imageWidth, imageHeig… in createCommandBuffer() 386 cmdRenderFrame(vkd, *commandBuffer, pipelineLayout, pipeline, frameNdx, imageWidth, imageHeight); in createCommandBuffer() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/wsi/ |
D | vktWsiIncrementalPresentTests.cpp | 241 deUint32 imageWidth, in getRenderFrameRect() argument 246 : de::min(((deUint32)frameNdx) % imageWidth, imageWidth - 1u); in getRenderFrameRect() 251 ? imageWidth in getRenderFrameRect() 252 … : 1 + de::min((deUint32)(frameNdx) % de::min<deUint32>(100, imageWidth / 3), imageWidth - x); in getRenderFrameRect() 296 deUint32 imageWidth, in cmdRenderFrame() argument 303 const vk::VkRect2D scissor = vk::makeRect2D(imageWidth, imageHeight); in cmdRenderFrame() 322 const vk::VkRect2D scissor = getRenderFrameRect(frameNdx, imageWidth, imageHeight); in cmdRenderFrame() 342 deUint32 imageWidth, in createCommandBuffer() argument 383 …beginRenderPass(vkd, *commandBuffer, renderPass, framebuffer, vk::makeRect2D(imageWidth, imageHeig… in createCommandBuffer() 386 cmdRenderFrame(vkd, *commandBuffer, pipelineLayout, pipeline, frameNdx, imageWidth, imageHeight); in createCommandBuffer() [all …]
|
/third_party/flutter/skia/gm/ |
D | encode_srgb.cpp | 32 static const int imageWidth = 128; variable 114 return SkISize::Make(imageWidth * 2, imageHeight * 15); in onISize() 136 canvas->translate((float) imageWidth, 0.0f); in onDraw()
|
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | CopyTexImageTest.cpp | 488 const GLsizei imageWidth, 493 const GLsizei imageWidth, 497 const GLsizei imageWidth, 587 const GLsizei imageWidth, in initialize3DTexture() argument 593 glTexImage3D(GL_TEXTURE_3D, 0, GL_RGBA, imageWidth, imageHeight, imageDepth, 0, GL_RGBA, in initialize3DTexture() 603 const GLsizei imageWidth, in initialize2DTexture() argument 608 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, imageWidth, imageHeight, 0, GL_RGBA, GL_UNSIGNED_BYTE, in initialize2DTexture() 615 const GLsizei imageWidth, in initialize2DTextureUShort4444() argument 620 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, imageWidth, imageHeight, 0, GL_RGBA, in initialize2DTextureUShort4444()
|
/third_party/flutter/engine/flutter/shell/common/fixtures/ |
D | shell_test.dart | 83 const int imageWidth = 10; 86 imageWidth * imageHeight * 4, 92 pixels, imageWidth, imageHeight, PixelFormat.rgba8888,
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | CopyTexImageTest.cpp | 575 const GLsizei imageWidth, 580 const GLsizei imageWidth, 584 const GLsizei imageWidth, 823 const GLsizei imageWidth, in initialize3DTexture() argument 829 glTexImage3D(GL_TEXTURE_3D, 0, GL_RGBA, imageWidth, imageHeight, imageDepth, 0, GL_RGBA, in initialize3DTexture() 839 const GLsizei imageWidth, in initialize2DTexture() argument 844 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, imageWidth, imageHeight, 0, GL_RGBA, GL_UNSIGNED_BYTE, in initialize2DTexture() 851 const GLsizei imageWidth, in initialize2DTextureUShort4444() argument 856 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, imageWidth, imageHeight, 0, GL_RGBA, in initialize2DTextureUShort4444()
|
/third_party/flutter/skia/src/image/ |
D | SkImage_GpuYUVA.cpp | 303 int imageWidth, in MakePromiseYUVATexture() argument 336 if (imageWidth <= 0 || imageHeight <= 0) { in MakePromiseYUVATexture() 342 SkImageInfo info = SkImageInfo::Make(imageWidth, imageHeight, kAssumedColorType, in MakePromiseYUVATexture() 380 return sk_make_sp<SkImage_GpuYUVA>(sk_ref_sp(context), imageWidth, imageHeight, in MakePromiseYUVATexture()
|