/external/deqp/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()
|
/external/deqp/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 …]
|
/external/tflite-support/tensorflow_lite_support/java/src/java/org/tensorflow/lite/support/image/ |
D | BoundingBoxUtil.java | 192 float[] values, CoordinateType coordinateType, int imageHeight, int imageWidth) { in convertFromBoundaries() argument 197 return getRectF(left, top, right, bottom, imageHeight, imageWidth, coordinateType); in convertFromBoundaries() 201 float[] values, CoordinateType coordinateType, int imageHeight, int imageWidth) { in convertFromUpperLeft() argument 206 return getRectF(left, top, right, bottom, imageHeight, imageWidth, coordinateType); in convertFromUpperLeft() 210 float[] values, CoordinateType coordinateType, int imageHeight, int imageWidth) { in convertFromCenter() argument 220 return getRectF(left, top, right, bottom, imageHeight, imageWidth, coordinateType); in convertFromCenter() 229 int imageWidth, in getRectF() argument 236 left * imageWidth, top * imageHeight, right * imageWidth, bottom * imageHeight); in getRectF()
|
/external/skqp/tests/ |
D | SVGDeviceTest.cpp | 181 void SetImageShader(SkPaint* paint, int imageWidth, int imageHeight, SkShader::TileMode 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 233 SetImageShader(paint, imageWidth, imageHeight, xTile, yTile); in ImageShaderTestSetup() 245 int imageWidth = 3, imageHeight = 3; in DEF_TEST() local 247 ImageShaderTestSetup(&dom, &paint, imageWidth, imageHeight, rectWidth, rectHeight, in DEF_TEST() 258 REPORTER_ASSERT(reporter, atoi(dom.findAttr(imageNode, "width")) == imageWidth); in DEF_TEST() 270 int imageWidth = 3, imageHeight = 3; in DEF_TEST() local 272 ImageShaderTestSetup(&dom, &paint, imageWidth, imageHeight, rectWidth, rectHeight, in DEF_TEST() 288 REPORTER_ASSERT(reporter, atoi(dom.findAttr(imageNode, "width")) == imageWidth); in DEF_TEST() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/ |
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() 253 if (properties.limits.maxComputeWorkGroupInvocations < m_params.imageWidth * m_params.imageHeight) in iterate() 264 m_params.imageWidth, m_params.imageHeight, in iterate() 269 m_params.imageWidth, m_params.imageHeight, in iterate() [all …]
|
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() 226 if (properties.limits.maxComputeWorkGroupInvocations < m_params.imageWidth * m_params.imageHeight) in iterate() 237 m_params.imageWidth, m_params.imageHeight, in iterate() 242 m_params.imageWidth, m_params.imageHeight, in iterate() [all …]
|
/external/swiftshader/third_party/marl/examples/ |
D | fractal.cpp | 138 constexpr uint32_t imageWidth = 2048; variable 157 auto pixels = new Color<uint8_t>[imageWidth * imageHeight]; in main() 174 for (uint32_t x = 0; x < imageWidth; x++) { in main() 183 auto dx = float(fx) / float(imageWidth); in main() 191 pixels[x + y * imageWidth] = {static_cast<uint8_t>(color.r * 255), in main() 202 if (!writeBMP(pixels, imageWidth, imageHeight, "fractal.bmp")) { in main()
|
/external/OpenCL-CTS/test_conformance/gles/ |
D | test_images_2D.cpp | 41 …size_t imageWidth, size_t imageHeight, cl_image_format *outFormat, ExplicitType *outType, void **o… in test_cl_image_read() argument 78 …outStream = clCreateBuffer( context, CL_MEM_READ_WRITE, channelSize * 4 * imageWidth * imageHeight… in test_cl_image_read() 99 threads[ 0 ] = imageWidth; in test_cl_image_read() 113 *outResultBuffer = malloc(channelSize * 4 * imageWidth * imageHeight); in test_cl_image_read() 114 …error = clEnqueueReadBuffer( queue, outStream, CL_TRUE, 0, channelSize * 4 * imageWidth * imageHei… in test_cl_image_read() 122 …size_t imageWidth, size_t imageHeight, cl_image_format *outFormat, ExplicitType *outType, void **o… in test_image_read() argument 138 …return test_cl_image_read( context, queue, image, imageWidth, imageHeight, outFormat, outType, out… in test_image_read() 376 …size_t imageWidth, size_t imageHeight, cl_image_format *outFormat, ExplicitType *outType, void **o… in test_cl_image_write() argument 414 *outSourceBuffer = CreateRandomData(*outType, imageWidth * imageHeight * 4, d); in test_cl_image_write() 417 …inStream = clCreateBuffer( context, CL_MEM_COPY_HOST_PTR, channelSize * 4 * imageWidth * imageHeig… in test_cl_image_write() [all …]
|
D | test_images_3D.cpp | 34 size_t imageWidth, size_t imageHeight, size_t imageDepth, in test_image_read() argument 79 …streams[ 1 ] = clCreateBuffer( context, CL_MEM_READ_WRITE, channelSize * 4 * imageWidth * imageHei… in test_image_read() 100 threads[ 0 ] = imageWidth; in test_image_read() 115 …*outResultBuffer = (void *)( new char[ channelSize * 4 * imageWidth * imageHeight * imageDepth ] ); in test_image_read() 116 …error = clEnqueueReadBuffer( queue, streams[ 1 ], CL_TRUE, 0, channelSize * 4 * imageWidth * image… in test_image_read()
|
D | test_renderbuffer.cpp | 22 size_t imageWidth, size_t imageHeight, cl_image_format *outFormat, 26 size_t imageWidth, size_t imageHeight, cl_image_format *outFormat, 30 …size_t imageWidth, size_t imageHeight, cl_image_format *outFormat, ExplicitType *outType, void **o… in test_attach_renderbuffer_read_image() argument 42 …return test_cl_image_read( context, queue, image, imageWidth, imageHeight, outFormat, outType, out… in test_attach_renderbuffer_read_image() 203 …size_t imageWidth, size_t imageHeight, cl_image_format *outFormat, ExplicitType *outType, MTdata d… in test_attach_renderbuffer_write_to_image() argument 215 …return test_cl_image_write( context, queue, image, imageWidth, imageHeight, outFormat, outType, ou… in test_attach_renderbuffer_write_to_image()
|
/external/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()
|
/external/ImageMagick/MagickCore/ |
D | accelerate-kernels-private.h | 1249 const unsigned int imageWidth, const unsigned int imageHeight, 1288 imagePixelIndex.x = ClampToCanvas(imagePixelIndex.x, imageWidth); 1291 pixelLocalCache[i] = input[imagePixelIndex.y * imageWidth + imagePixelIndex.x]; 1306 if (imageIndex.x >= imageWidth 1363 …channel & AlphaChannel)!=0)?ClampToQuantum(sum.w):input[imageIndex.y * imageWidth + imageIndex.x].… 1365 output[imageIndex.y * imageWidth + imageIndex.x] = outputPixel; 1372 const uint imageWidth, const uint imageHeight, 1384 if (imageIndex.x >= imageWidth 1402 inputPixelIndex.x = ClampToCanvas(inputPixelIndex.x, imageWidth); 1404 CLPixelType p = input[inputPixelIndex.y * imageWidth + inputPixelIndex.x]; [all …]
|
/external/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 …]
|
/external/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);
|
/external/skqp/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 252 int imageWidth, in makeYUVAPromiseTexture() argument 270 imageWidth, in makeYUVAPromiseTexture()
|
/external/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 …]
|
/external/skqp/include/core/ |
D | SkDeferredDisplayListRecorder.h | 169 int imageWidth, 184 int imageWidth, in makeYUVAPromiseTexture() argument 193 yuvColorSpace, yuvaFormats, yuvaSizes, yuvaIndices, imageWidth, imageHeight, in makeYUVAPromiseTexture()
|
/external/skqp/gm/ |
D | encode-srgb.cpp | 22 static const int imageWidth = 128; variable 104 return SkISize::Make(imageWidth * 2, imageHeight * 15); in onISize() 126 canvas->translate((float) imageWidth, 0.0f); in onDraw()
|
/external/deqp/external/vulkancts/modules/vulkan/wsi/ |
D | vktWsiIncrementalPresentTests.cpp | 239 deUint32 imageWidth, in getRenderFrameRect() argument 244 : de::min(((deUint32)frameNdx) % imageWidth, imageWidth - 1u); in getRenderFrameRect() 249 ? imageWidth in getRenderFrameRect() 250 … : 1 + de::min((deUint32)(frameNdx) % de::min<deUint32>(100, imageWidth / 3), imageWidth - x); in getRenderFrameRect() 294 deUint32 imageWidth, in cmdRenderFrame() argument 301 const vk::VkRect2D scissor = vk::makeRect2D(imageWidth, imageHeight); in cmdRenderFrame() 320 const vk::VkRect2D scissor = getRenderFrameRect(frameNdx, imageWidth, imageHeight); in cmdRenderFrame() 340 deUint32 imageWidth, in createCommandBuffer() argument 381 …beginRenderPass(vkd, *commandBuffer, renderPass, framebuffer, vk::makeRect2D(imageWidth, imageHeig… in createCommandBuffer() 384 cmdRenderFrame(vkd, *commandBuffer, pipelineLayout, pipeline, frameNdx, imageWidth, imageHeight); in createCommandBuffer() [all …]
|
/external/skqp/src/image/ |
D | SkImage_GpuYUVA.cpp | 256 int imageWidth, in MakePromiseYUVATexture() argument 289 if (imageWidth <= 0 || imageWidth <= 0) { in MakePromiseYUVATexture() 295 SkImageInfo info = SkImageInfo::Make(imageWidth, imageHeight, kRGBA_8888_SkColorType, in MakePromiseYUVATexture() 331 return sk_make_sp<SkImage_GpuYUVA>(sk_ref_sp(context), imageWidth, imageHeight, in MakePromiseYUVATexture()
|
/external/OpenCL-CTS/test_conformance/images/kernel_read_write/ |
D | test_common.h | 66 size_t imageWidth = imageInfo->width, imageHeight = imageInfo->height, in determine_validation_error_offset() local 70 zAddressOffset, imageWidth, imageHeight, in determine_validation_error_offset() 182 clampedX, clampedY, clampedZ, (int)imageWidth, (int)imageHeight, in determine_validation_error_offset()
|
/external/angle/src/tests/gl_tests/ |
D | CopyTexImageTest.cpp | 578 const GLsizei imageWidth, 583 const GLsizei imageWidth, 587 const GLsizei imageWidth, 826 const GLsizei imageWidth, in initialize3DTexture() argument 832 glTexImage3D(GL_TEXTURE_3D, 0, GL_RGBA, imageWidth, imageHeight, imageDepth, 0, GL_RGBA, in initialize3DTexture() 842 const GLsizei imageWidth, in initialize2DTexture() argument 847 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, imageWidth, imageHeight, 0, GL_RGBA, GL_UNSIGNED_BYTE, in initialize2DTexture() 854 const GLsizei imageWidth, in initialize2DTextureUShort4444() argument 859 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, imageWidth, imageHeight, 0, GL_RGBA, in initialize2DTextureUShort4444()
|