/external/skia/src/core/ |
H A 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);
|
H A D | SkDistanceFieldGen.cpp | 70 int imageWidth, int imageHeight, 77 for (int i = 0; i < imageWidth; ++i) { 87 if (i == imageWidth-1) { 96 if (found_edge(image, imageWidth, checkMask)) { 68 init_glyph_data(DFData* data, unsigned char* edges, const unsigned char* image, int dataWidth, int dataHeight, int imageWidth, int imageHeight, int pad) argument
|
/external/opencv/cv/src/ |
H A D | cvoptflowhs.cpp | 107 int imageWidth = imgSize.width; local 167 VelBufX[k] = (float *) cvAlloc( imageWidth * sizeof( float )); 171 VelBufY[k] = (float *) cvAlloc( imageWidth * sizeof( float )); 177 BufferSize = imageHeight * imageWidth; 209 for( j = 1; j < imageWidth - 1; j++ ) 222 MemY[0][imageWidth - 1] = 223 MemY[1][imageWidth - 1] = CONV( imgA[imageWidth - 2], 224 imgA[imageWidth - 1], imgA[imageWidth [all...] |
H A D | cvoptflowlk.cpp | 110 int imageWidth = imgSize.width; local 158 if( imageWidth < winWidth ) 172 BufferWidth = imageWidth; 246 for( j = 1; j < imageWidth - 1; j++ ) 259 MemY[0][imageWidth - 1] = 260 MemY[1][imageWidth - 1] = CONV( imgA[imageWidth - 2], 261 imgA[imageWidth - 1], imgA[imageWidth - 1] ); 323 for( j = 1; j < imageWidth [all...] |
/external/skia/src/gpu/ops/ |
H A D | GrLatticeOp.h | 21 std::unique_ptr<GrDrawOp> MakeNonAA(GrPaint&& paint, const SkMatrix& viewMatrix, int imageWidth,
|
H A D | GrLatticeOp.cpp | 38 int imageWidth, int imageHeight, 40 return Helper::FactoryHelper<NonAALatticeOp>(std::move(paint), viewMatrix, imageWidth, 45 int imageWidth, int imageHeight, std::unique_ptr<SkLatticeIter> iter, 54 fImageWidth = imageWidth; 186 std::unique_ptr<GrDrawOp> MakeNonAA(GrPaint&& paint, const SkMatrix& viewMatrix, int imageWidth, argument 189 return NonAALatticeOp::Make(std::move(paint), viewMatrix, imageWidth, imageHeight, 37 Make(GrPaint&& paint, const SkMatrix& viewMatrix, int imageWidth, int imageHeight, std::unique_ptr<SkLatticeIter> iter, const SkRect& dst) argument 44 NonAALatticeOp(Helper::MakeArgs& helperArgs, GrColor color, const SkMatrix& viewMatrix, int imageWidth, int imageHeight, std::unique_ptr<SkLatticeIter> iter, const SkRect& dst) argument
|
/external/deqp/modules/gles2/functional/ |
H A D | es2fPrerequisiteTests.cpp | 182 int imageWidth = 0; local 194 imageWidth = targetWidth; 201 imageWidth = targetWidth / 2; 208 imageWidth = targetWidth - x; 214 imageWidth = 1 + (deRandom_getUint32(&rnd) % (targetWidth - x - 1)); 219 Surface resImage(imageWidth, imageHeight); 220 Surface refImage(imageWidth, imageHeight); 221 Surface diffImage(imageWidth, imageHeight); 241 for (int i = 0; i < imageWidth; i++)
|
/external/deqp/modules/gles3/functional/ |
H A D | es3fPrerequisiteTests.cpp | 182 int imageWidth = 0; local 194 imageWidth = targetWidth; 201 imageWidth = targetWidth / 2; 208 imageWidth = targetWidth - x; 214 imageWidth = 1 + (deRandom_getUint32(&rnd) % (targetWidth - x - 1)); 219 Surface resImage(imageWidth, imageHeight); 220 Surface refImage(imageWidth, imageHeight); 221 Surface diffImage(imageWidth, imageHeight); 241 for (int i = 0; i < imageWidth; i++)
|
H A D | es3fASTCDecompressionCases.cpp | 423 const int imageWidth = numXBlocksPerImage * blockSize.x(); local 430 tcu::CompressedTexture compressed (m_format, imageWidth, imageHeight); 435 << imageWidth << "x" << imageHeight 452 Surface renderedFrame (imageWidth, imageHeight); 453 Surface referenceFrame (imageWidth, imageHeight); 557 const int imageWidth = (MAX_NUM_BLOCKS_X-1)*blockSize.x() + curRemainderX; 559 const int numBlocksX = deDivRoundUp32(imageWidth, blockSize.x()); 564 tcu::CompressedTexture compressed (m_format, imageWidth, imageHeight); 574 Surface renderedFrame (imageWidth, imageHeight); 575 Surface referenceFrame (imageWidth, imageHeigh [all...] |
H A D | es3fTextureSpecificationTests.cpp | 3020 int imageWidth, 3022 : Texture2DSpecCase (context, name, desc, glu::mapGLInternalFormat(internalFormat), imageWidth, imageHeight, maxLevelCount(imageWidth, imageHeight)) 3066 int imageWidth, 3069 : Texture2DArraySpecCase(context, name, desc, glu::mapGLInternalFormat(internalFormat), imageWidth, imageHeight, numLayers, maxLevelCount(imageWidth, imageHeight)) 3113 int imageWidth, 3115 : Texture2DSpecCase (context, name, desc, glu::mapGLInternalFormat(internalFormat), imageWidth, imageHeight, maxLevelCount(imageWidth, imageHeight)) 3182 int imageWidth, 3016 TexImage2DDepthCase(Context& context, const char* name, const char* desc, deUint32 internalFormat, int imageWidth, int imageHeight) argument 3062 TexImage2DArrayDepthCase(Context& context, const char* name, const char* desc, deUint32 internalFormat, int imageWidth, int imageHeight, int numLayers) argument 3109 TexSubImage2DDepthCase(Context& context, const char* name, const char* desc, deUint32 internalFormat, int imageWidth, int imageHeight) argument 3178 TexSubImage2DArrayDepthCase(Context& context, const char* name, const char* desc, deUint32 internalFormat, int imageWidth, int imageHeight, int numLayers) argument 3250 TexImage2DDepthBufferCase(Context& context, const char* name, const char* desc, deUint32 internalFormat, int imageWidth, int imageHeight) argument 3310 TexImage2DArrayDepthBufferCase(Context& context, const char* name, const char* desc, deUint32 internalFormat, int imageWidth, int imageHeight, int numLayers) argument [all...] |
/external/skia/gm/ |
H A D | encode-srgb.cpp | 25 static const int imageWidth = 128; member in namespace:skiagm 123 return SkISize::Make(imageWidth * 2, imageHeight * 15); 145 canvas->translate((float) imageWidth, 0.0f);
|
/external/autotest/client/deps/glbench/src/ |
H A D | yuv2rgb_1.glslf | 48 uniform float imageWidth;
|
/external/ImageMagick/MagickCore/ |
H A D | accelerate-kernels-private.h | 1246 const unsigned int imageWidth, const unsigned int imageHeight, 1285 imagePixelIndex.x = ClampToCanvas(imagePixelIndex.x, imageWidth); 1288 pixelLocalCache[i] = input[imagePixelIndex.y * imageWidth + imagePixelIndex.x]; 1303 if (imageIndex.x >= imageWidth 1360 outputPixel.w = ((channel & AlphaChannel)!=0)?ClampToQuantum(sum.w):input[imageIndex.y * imageWidth + imageIndex.x].w; 1362 output[imageIndex.y * imageWidth + imageIndex.x] = outputPixel; 1369 const uint imageWidth, const uint imageHeight, 1378 unsigned int imageWidth = get_global_size(0); 1381 if (imageIndex.x >= imageWidth 1399 inputPixelIndex.x = ClampToCanvas(inputPixelIndex.x, imageWidth); [all...] |
H A D | accelerate.c | 1632 imageWidth, local 1772 imageWidth = (unsigned int) image->columns; 1774 clStatus|=clEnv->library->clSetKernelArg(clkernel,i++,sizeof(unsigned int),(void *)&imageWidth); 1819 imageWidth = (unsigned int) image->columns; 1821 clStatus|=clEnv->library->clSetKernelArg(clkernel,i++,sizeof(unsigned int),(void *)&imageWidth); 1990 imageWidth; local 2087 imageWidth = (unsigned int) image->columns; 2088 clStatus |=clEnv->library->clSetKernelArg(hullPass1,2,sizeof(unsigned int),(void *)&imageWidth); 2101 imageWidth = (unsigned int) image->columns; 2102 clStatus |=clEnv->library->clSetKernelArg(hullPass2,2,sizeof(unsigned int),(void *)&imageWidth); 3689 imageWidth, local [all...] |
/external/dng_sdk/source/ |
H A D | dng_lossless_jpeg.cpp | 314 int32 imageWidth; member in struct:DecompressInfo 412 void StartRead (uint32 &imageWidth, 725 info.imageWidth = Get2bytes (); 733 (info.imageWidth <= 0) || 1171 ((info.imageWidth & 1) == 0); 1182 ((info.imageWidth & 1) == 0) && 1227 mcuBuffer1.Allocate (info.imageWidth, sizeof (MCU)); 1228 mcuBuffer2.Allocate (info.imageWidth, sizeof (MCU)); 1233 mcuBuffer3.Allocate (info.imageWidth, mcuSize); 1234 mcuBuffer4.Allocate (info.imageWidth, mcuSiz 2542 StartRead(uint32 &imageWidth, uint32 &imageHeight, uint32 &imageChannels) argument 2580 uint32 imageWidth; local [all...] |
/external/deqp/external/vulkancts/modules/vulkan/wsi/ |
H A D | vktWsiIncrementalPresentTests.cpp | 264 deUint32 imageWidth, 269 : de::min(((deUint32)frameNdx) % imageWidth, imageWidth - 1u); 274 ? imageWidth 275 : 1 + de::min((deUint32)(frameNdx) % de::min<deUint32>(100, imageWidth / 3), imageWidth - x); 319 deUint32 imageWidth, 329 { imageWidth, imageHeight } 350 const vk::VkRect2D scissor = getRenderFrameRect(frameNdx, imageWidth, imageHeight); 370 deUint32 imageWidth, 263 getRenderFrameRect(size_t frameNdx, deUint32 imageWidth, deUint32 imageHeight) argument 314 cmdRenderFrame(const vk::DeviceInterface& vkd, vk::VkCommandBuffer commandBuffer, vk::VkPipelineLayout pipelineLayout, vk::VkPipeline pipeline, size_t frameNdx, deUint32 imageWidth, deUint32 imageHeight) argument 359 createCommandBuffer(const vk::DeviceInterface& vkd, vk::VkDevice device, vk::VkCommandPool commandPool, vk::VkPipelineLayout pipelineLayout, vk::VkRenderPass renderPass, vk::VkFramebuffer framebuffer, vk::VkPipeline pipeline, vk::VkImage image, bool isFirst, size_t imageNextFrame, size_t currentFrame, deUint32 imageWidth, deUint32 imageHeight) argument 973 const deUint32 imageWidth = scaling == SCALING_NONE local 1102 const deUint32 imageWidth = m_swapchainConfigs[m_swapchainConfigNdx].imageExtent.width; local [all...] |
H A D | vktWsiSharedPresentableImageTests.cpp | 295 deUint32 imageWidth, 330 { imageWidth, imageHeight } 817 const deUint32 imageWidth = scaling == SCALING_NONE local 831 const vk::VkExtent2D imageSize = { imageWidth, imageHeight }; 975 const deUint32 imageWidth = m_swapchainConfigs[m_swapchainConfigNdx].imageExtent.width; local 983 m_pipeline = createPipeline(m_vkd, *m_device, *m_renderPass, *m_pipelineLayout, *m_vertexShaderModule, *m_fragmentShaderModule, imageWidth, imageHeight); 986 m_framebuffer = createFramebuffer(m_vkd, *m_device, *m_renderPass, *m_swapchainImageView, imageWidth, imageHeight); 286 createCommandBuffer(const vk::DeviceInterface& vkd, vk::VkDevice device, vk::VkCommandPool commandPool, vk::VkPipelineLayout pipelineLayout, vk::VkRenderPass renderPass, vk::VkFramebuffer framebuffer, vk::VkPipeline pipeline, size_t frameNdx, deUint32 quadCount, deUint32 imageWidth, deUint32 imageHeight) argument
|
H A D | vktWsiDisplayTimingTests.cpp | 283 deUint32 imageWidth, 318 { imageWidth, imageHeight } 860 const deUint32 imageWidth = (properties.currentExtent.width != 0xFFFFFFFFu) local 866 const vk::VkExtent2D imageSize = { imageWidth, imageHeight }; 981 const deUint32 imageWidth = m_swapchainConfig.imageExtent.width; local 989 m_pipeline = createPipeline(m_vkd, *m_device, *m_renderPass, *m_pipelineLayout, *m_vertexShaderModule, *m_fragmentShaderModule, imageWidth, imageHeight); 1006 initFramebuffers(m_vkd, *m_device, *m_renderPass, m_swapchainImageViews, imageWidth, imageHeight, m_framebuffers); 274 createCommandBuffer(const vk::DeviceInterface& vkd, vk::VkDevice device, vk::VkCommandPool commandPool, vk::VkPipelineLayout pipelineLayout, vk::VkRenderPass renderPass, vk::VkFramebuffer framebuffer, vk::VkPipeline pipeline, size_t frameNdx, deUint32 quadCount, deUint32 imageWidth, deUint32 imageHeight) argument
|
/external/deqp/external/vulkancts/modules/vulkan/image/ |
H A D | vktImageTestsUtil.hpp | 214 vk::VkBufferImageCopy makeBufferImageCopy (const deUint32 imageWidth, const deUint32 imageHeight, const deUint32 mipLevel = 0u, const deUint32 layer = 0u); 215 vk::VkBufferImageCopy makeBufferImageCopy (const deUint32 imageWidth, const deUint32 imageHeight, const deUint32 mipLevel, const deUint32 layer, const deUint32 bufferRowLength, const deUint32 bufferImageHeight);
|
H A D | vktImageTestsUtil.cpp | 1275 vk::VkBufferImageCopy makeBufferImageCopy (const deUint32 imageWidth, const deUint32 imageHeight, const deUint32 mipLevel, const deUint32 layer) argument 1280 imageWidth, // bufferRowLength 1290 imageWidth, 1299 vk::VkBufferImageCopy makeBufferImageCopy (const deUint32 imageWidth, const deUint32 imageHeight, const deUint32 mipLevel, const deUint32 layer, const deUint32 bufferRowLength, const deUint32 bufferImageHeight) argument 1314 imageWidth,
|
/external/mesa3d/src/mesa/main/ |
H A D | texobj.c | 2063 int imageWidth; local 2080 imageWidth = 1; 2088 imageWidth = image->Width; 2096 imageWidth = image->Width; 2107 imageWidth = image->Width; 2117 imageWidth = image->Width; 2125 imageWidth = image->Width; 2134 imageWidth = 0; 2145 if (xoffset + width > imageWidth + xBorder) {
|
/external/deqp/modules/gles31/functional/ |
H A D | es31fShaderImageLoadStoreTests.cpp | 2119 static int getCompareArg (const IVec3& invocationID, int imageWidth); 2120 static int getAssignArg (const IVec3& invocationID, int imageWidth); 2121 static string getCompareArgShaderStr (const string& x, const string& y, const string& z, int imageWidth); 2122 static string getAssignArgShaderStr (const string& x, const string& y, const string& z, int imageWidth); 2131 int AtomicCompSwapCase::getCompareArg (const IVec3& invocationID, int imageWidth) argument 2136 const int wrapX = x % imageWidth; 2137 const int curPixelInvocationNdx = x / imageWidth; 2142 int AtomicCompSwapCase::getAssignArg (const IVec3& invocationID, int imageWidth) argument 2144 return getCompareArg(IVec3(invocationID.x() + imageWidth, invocationID.y(), invocationID.z()), imageWidth); 2147 getCompareArgShaderStr(const string& x, const string& y, const string& z, int imageWidth) argument 2155 getAssignArgShaderStr(const string& x, const string& y, const string& z, int imageWidth) argument 2174 EndResultVerifier(TextureType imageType, int imageWidth) argument [all...] |
H A D | es31fSynchronizationTests.cpp | 1655 const int imageWidth = m_invocationGridSize; 1661 << "Creating image #" << friendlyName << ", size " << imageWidth << "x" << imageHeight 1663 << ", size = " << (imageWidth*imageHeight*sizeof(deUint32)) << " bytes." 1670 gl.texStorage2D(GL_TEXTURE_2D, 1, GL_R32I, imageWidth, imageHeight); 1672 gl.texStorage2D(GL_TEXTURE_2D, 1, GL_R32F, imageWidth, imageHeight); 1685 const std::vector<deInt32> zeroBuffer(imageWidth * imageHeight, 0); 1686 gl.texSubImage2D(GL_TEXTURE_2D, 0, 0, 0, imageWidth, imageHeight, GL_RED_INTEGER, GL_INT, &zeroBuffer[0]); 1690 const std::vector<float> zeroBuffer(imageWidth * imageHeight, 0.0f); 1691 gl.texSubImage2D(GL_TEXTURE_2D, 0, 0, 0, imageWidth, imageHeight, GL_RED, GL_FLOAT, &zeroBuffer[0]);
|
/external/skia/src/gpu/ |
H A D | GrRenderTargetContext.h | 297 int imageWidth,
|
/external/deqp/external/vulkancts/modules/vulkan/tessellation/ |
H A D | vktTessellationCoordinatesTests.cpp | 247 const int imageWidth = 256; 249 dst.setSize(imageWidth, imageHeight);
|