Home
last modified time | relevance | path

Searched refs:imageHeight (Results 1 – 25 of 105) sorted by relevance

12345

/third_party/vk-gl-cts/modules/gles2/functional/
Des2fPrerequisiteTests.cpp183 int imageHeight = 0; in iterate() local
195 imageHeight = targetHeight; in iterate()
202 imageHeight = targetHeight / 2; in iterate()
209 imageHeight = targetHeight - y; in iterate()
215 imageHeight = 1 + (deRandom_getUint32(&rnd) % (targetHeight - y - 1)); in iterate()
219 Surface resImage(imageWidth, imageHeight); in iterate()
220 Surface refImage(imageWidth, imageHeight); in iterate()
221 Surface diffImage(imageWidth, imageHeight); in iterate()
239 for (int j = 0; j < imageHeight; j++) in iterate()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fPrerequisiteTests.cpp183 int imageHeight = 0; in iterate() local
195 imageHeight = targetHeight; in iterate()
202 imageHeight = targetHeight / 2; in iterate()
209 imageHeight = targetHeight - y; in iterate()
215 imageHeight = 1 + (deRandom_getUint32(&rnd) % (targetHeight - y - 1)); in iterate()
219 Surface resImage(imageWidth, imageHeight); in iterate()
220 Surface refImage(imageWidth, imageHeight); in iterate()
221 Surface diffImage(imageWidth, imageHeight); in iterate()
239 for (int j = 0; j < imageHeight; j++) in iterate()
Des3fASTCDecompressionCases.cpp424 const int imageHeight = numYBlocksPerImage * blockSize.y(); 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()
558 const int imageHeight = (MAX_NUM_BLOCKS_Y-1)*blockSize.y() + curRemainderY; in iterate() local
560 const int numBlocksY = deDivRoundUp32(imageHeight, blockSize.y()); 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 …]
Des3fTextureSpecificationTests.cpp1127 int imageHeight, in TexImage3DParamsCase() argument
1135 , m_imageHeight (imageHeight) in TexImage3DParamsCase()
1151 int imageHeight = m_imageHeight > 0 ? m_imageHeight : m_height; in createTexture() local
1152 int slicePitch = imageHeight*rowPitch; in createTexture()
1776 int imageHeight, in TexSubImage3DParamsCase() argument
1790 , m_imageHeight (imageHeight) in TexSubImage3DParamsCase()
1827 int imageHeight = m_imageHeight > 0 ? m_imageHeight : m_subH; in createTexture() local
1828 int slicePitch = imageHeight*rowPitch; in createTexture()
2447 int imageHeight, in TexImage2DArrayBufferCase() argument
2456 , m_imageHeight (imageHeight) in TexImage2DArrayBufferCase()
[all …]
/third_party/flutter/skia/tests/
DSVGDeviceTest.cpp181 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()
257 REPORTER_ASSERT(reporter, atoi(dom.findAttr(imageNode, "height")) == imageHeight); in DEF_TEST()
268 int imageWidth = 3, imageHeight = 3; in DEF_TEST() local
270 ImageShaderTestSetup(&dom, &paint, imageWidth, imageHeight, rectWidth, rectHeight, in DEF_TEST()
287 REPORTER_ASSERT(reporter, atoi(dom.findAttr(imageNode, "height")) == imageHeight); in DEF_TEST()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/marl/examples/
Dfractal.cpp141 constexpr uint32_t imageHeight = 2048; variable
159 auto pixels = new Color<uint8_t>[imageWidth * imageHeight]; in main()
165 marl::WaitGroup wg(imageHeight); in main()
168 for (uint32_t y = 0; y < imageHeight; y++) { in main()
182 auto dy = float(fy) / float(imageHeight); in main()
204 if (!writeBMP(pixels, imageWidth, imageHeight, "fractal.bmp")) { in main()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemStackTests.cpp63 deUint32 imageHeight; member
70 imageHeight = 1; in Params()
72 while (imageWidth * imageHeight < stackSize) in Params()
77 imageHeight *= 2; in Params()
151 …ing(m_params.imageWidth) + ", local_size_y = " + de::toString(m_params.imageHeight) + ", local_siz… in initPrograms()
214 …tcu::Texture2D> texture2D (new tcu::Texture2D(texFmt, m_params.imageWidth, m_params.imageHeight)); 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()
277 m_params.imageWidth, m_params.imageHeight, in iterate()
[all …]
DvktProtectedMemWorkgroupStorageTests.cpp62 deUint32 imageHeight; member
69 imageHeight = 1; in Params()
71 while (imageWidth * imageHeight < sharedMemorySize) in Params()
76 imageHeight *= 2; in Params()
146 …ing(m_params.imageWidth) + ", local_size_y = " + de::toString(m_params.imageHeight) + ", local_siz… in initPrograms()
183 …tcu::Texture2D> texture2D (new tcu::Texture2D(texFmt, m_params.imageWidth, m_params.imageHeight)); 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()
250 m_params.imageWidth, m_params.imageHeight, in iterate()
[all …]
/third_party/skia/src/core/
DSkLatticeIter.h24 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);
/third_party/flutter/skia/src/core/
DSkLatticeIter.h24 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);
DSkDeferredDisplayListRecorder.cpp48 int imageHeight, in makeYUVAPromiseTexture() argument
273 int imageHeight, in makeYUVAPromiseTexture() argument
291 imageHeight, in makeYUVAPromiseTexture()
/third_party/skia/tests/
DSVGDeviceTest.cpp181 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()
257 REPORTER_ASSERT(reporter, atoi(dom.findAttr(imageNode, "height")) == imageHeight); in DEF_TEST()
268 int imageWidth = 3, imageHeight = 3; in DEF_TEST() local
270 ImageShaderTestSetup(&dom, &paint, imageWidth, imageHeight, rectWidth, rectHeight, in DEF_TEST()
287 REPORTER_ASSERT(reporter, atoi(dom.findAttr(imageNode, "height")) == imageHeight); in DEF_TEST()
[all …]
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DTextureCopySplitter.cpp43 uint32_t imageHeight) { in ComputeTextureCopySplit() argument
72 uint32_t slicePitch = rowPitch * (imageHeight / format.blockHeight); in ComputeTextureCopySplit()
110 copy.copies[0].bufferSize.height = imageHeight + texelOffset.y; in ComputeTextureCopySplit()
162 copy.copies[0].bufferSize.height = imageHeight + texelOffset.y; in ComputeTextureCopySplit()
178 copy.copies[1].bufferSize.height = imageHeight + texelOffset.y + format.blockHeight; in ComputeTextureCopySplit()
/third_party/mesa3d/src/glx/
Dpixel.c170 GLint imageHeight = state->storeUnpack.imageHeight; in __glFillImage() local
192 if (imageHeight > 0) { in __glFillImage()
193 rowsPerImage = imageHeight; in __glFillImage()
397 GLint imageHeight = state->storePack.imageHeight; in __glEmptyImage() local
418 if (imageHeight > 0) { in __glEmptyImage()
419 rowsPerImage = imageHeight; in __glEmptyImage()
Dpixelstore.c94 state->storePack.imageHeight = a; in __indirect_glPixelStoref()
155 state->storeUnpack.imageHeight = a; in __indirect_glPixelStoref()
241 state->storePack.imageHeight = param; in __indirect_glPixelStorei()
296 state->storeUnpack.imageHeight = param; in __indirect_glPixelStorei()
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/
DCommandEncoder.cpp109 uint32_t imageHeight, in ValidateImageHeight() argument
111 if (imageHeight < copyHeight) { in ValidateImageHeight()
115 if (imageHeight % format.blockHeight != 0) { in ValidateImageHeight()
202 uint32_t imageHeight, in ComputeTextureCopyBufferSize() argument
204 ASSERT(imageHeight >= copySize.height); in ComputeTextureCopyBufferSize()
210 uint32_t slicePitch = rowPitch * imageHeight / blockWidth; in ComputeTextureCopyBufferSize()
794 if (source->imageHeight == 0) { in CopyBufferToTexture()
795 copy->source.imageHeight = copySize->height; in CopyBufferToTexture()
797 copy->source.imageHeight = source->imageHeight; in CopyBufferToTexture()
831 if (destination->imageHeight == 0) { in CopyTextureToBuffer()
[all …]
/third_party/skia/gm/
Dencode_srgb.cpp33 static const int imageHeight = 128; variable
114 return SkISize::Make(imageWidth * 2, imageHeight * 15); in onISize()
139 canvas->translate(0.0f, (float) imageHeight); in onDraw()
Dencode_color_types.cpp22 static const int imageHeight = 128; variable
92 return SkISize::Make(width, imageHeight); in onISize()
/third_party/flutter/skia/gm/
Dencode_srgb.cpp33 static const int imageHeight = 128; variable
114 return SkISize::Make(imageWidth * 2, imageHeight * 15); in onISize()
139 canvas->translate(0.0f, (float) imageHeight); in onDraw()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/wsi/
DvktWsiIncrementalPresentTests.cpp240 deUint32 imageHeight) in getRenderFrameRect() argument
247 : de::min(((deUint32)frameNdx) % imageHeight, imageHeight - 1u); in getRenderFrameRect()
252 ? imageHeight in getRenderFrameRect()
253 … : 1 + de::min((deUint32)(frameNdx) % de::min<deUint32>(100, imageHeight / 3), imageHeight - y); in getRenderFrameRect()
295 deUint32 imageHeight) 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()
341 deUint32 imageHeight) in createCommandBuffer() argument
381 …d, *commandBuffer, renderPass, framebuffer, vk::makeRect2D(imageWidth, imageHeight), tcu::Vec4(0.2… in createCommandBuffer()
384 cmdRenderFrame(vkd, *commandBuffer, pipelineLayout, pipeline, frameNdx, imageWidth, imageHeight); in createCommandBuffer()
[all …]
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fTextureSpecificationTests.cpp409 int imageHeight, in TexImageCubeArrayBufferCase() argument
418 , m_imageHeight (imageHeight) in TexImageCubeArrayBufferCase()
435 int imageHeight = m_imageHeight > 0 ? m_imageHeight : m_size; in createTexture() local
436 int slicePitch = imageHeight*rowPitch; in createTexture()
496 int imageHeight, in TexSubImageCubeArrayBufferCase() argument
511 , m_imageHeight (imageHeight) in TexSubImageCubeArrayBufferCase()
550 int imageHeight = m_imageHeight > 0 ? m_imageHeight : m_subH; in createTexture() local
551 int slicePitch = imageHeight*rowPitch; in createTexture()
729 int imageHeight = m_size; in createTexture() local
730 int slicePitch = imageHeight*rowPitch; in createTexture()
[all …]
/third_party/flutter/engine/flutter/shell/common/fixtures/
Dshell_test.dart84 const int imageHeight = 10;
86 imageWidth * imageHeight * 4,
92 pixels, imageWidth, imageHeight, PixelFormat.rgba8888,
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DCopyTexImageTest.cpp489 const GLsizei imageHeight,
494 const GLsizei imageHeight,
498 const GLsizei imageHeight,
588 const GLsizei imageHeight, in initialize3DTexture() argument
593 glTexImage3D(GL_TEXTURE_3D, 0, GL_RGBA, imageWidth, imageHeight, imageDepth, 0, GL_RGBA, in initialize3DTexture()
604 const GLsizei imageHeight, in initialize2DTexture() argument
608 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, imageWidth, imageHeight, 0, GL_RGBA, GL_UNSIGNED_BYTE, in initialize2DTexture()
616 const GLsizei imageHeight, in initialize2DTextureUShort4444() argument
620 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, imageWidth, imageHeight, 0, GL_RGBA, in initialize2DTextureUShort4444()
/third_party/flutter/skia/third_party/externals/dawn/src/tests/unittests/d3d12/
DCopySplitTests.cpp43 uint32_t imageHeight; member
129 rowPitchInTexels * (bufferSpec.imageHeight / textureSpec.blockHeight); in ValidateBufferOffset()
171 << bufferSpec.imageHeight << ")"; in operator <<()
283 bufferSpec.offset, bufferSpec.rowPitch, bufferSpec.imageHeight); in DoTest()
440 uint32_t baseImageHeight = bufferSpec.imageHeight; in TEST_F()
442 bufferSpec.imageHeight = baseImageHeight + i * 256; in TEST_F()
/third_party/skia/third_party/externals/dng_sdk/source/
Ddng_lossless_jpeg.cpp315 int32 imageHeight; member
413 uint32 &imageHeight,
724 info.imageHeight = Get2bytes (); in GetSof()
732 if ((info.imageHeight <= 0) || in GetSof()
1183 ((info.imageHeight & 1) == 0); in DecoderStructInit()
1858 int32 numROW = info.imageHeight; in DecodeImage()
2543 uint32 &imageHeight, in StartRead() argument
2553 imageHeight = info.imageHeight; in StartRead()
2581 uint32 imageHeight; in DecodeLosslessJPEG() local
2585 imageHeight, in DecodeLosslessJPEG()
[all …]

12345