Searched refs:imageWidth (Results 1 - 25 of 35) sorted by relevance

12

/external/skia/src/core/
H A 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);
H A DSkDistanceFieldGen.cpp70 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 Dcvoptflowhs.cpp107 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 Dcvoptflowlk.cpp110 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 DGrLatticeOp.h20 std::unique_ptr<GrMeshDrawOp> MakeNonAA(GrColor color, const SkMatrix& viewMatrix, int imageWidth,
H A DGrLatticeOp.cpp31 NonAALatticeOp(GrColor color, const SkMatrix& viewMatrix, int imageWidth, int imageHeight, argument
40 fImageWidth = imageWidth;
169 std::unique_ptr<GrMeshDrawOp> MakeNonAA(GrColor color, const SkMatrix& viewMatrix, int imageWidth, argument
173 new NonAALatticeOp(color, viewMatrix, imageWidth, imageHeight, std::move(iter), dst));
/external/deqp/modules/gles2/functional/
H A Des2fPrerequisiteTests.cpp182 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 Des3fPrerequisiteTests.cpp182 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 Des3fASTCDecompressionCases.cpp423 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...]
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/editor/
H A DBooleanObjectPropertyEditor.java68 int imageWidth = image.getBounds().width + 2;
69 x += imageWidth;
70 width -= imageWidth;
H A DBooleanPropertyEditor.java68 int imageWidth = image.getBounds().width + 2;
69 x += imageWidth;
70 width -= imageWidth;
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ui/
H A DDrawUtils.java101 int imageWidth = image.getBounds().width;
106 if (imageWidth <= targetRectangle.width && imageHeight <= targetRectangle.height) {
107 newImageWidth = imageWidth;
113 double k_w = targetRectangle.width / (double) imageWidth;
118 newImageWidth = (int) (imageWidth * k);
124 gc.drawImage(image, 0, 0, imageWidth, imageHeight, destX, destY, newImageWidth, newImageHeight);
231 int imageWidth = imageBounds.width;
233 if (imageWidth < minWidth && imageHeight < minHeight) {
250 } else if (imageWidth <= maxWidth && imageHeight <= maxHeight) {
253 double kX = (double) maxWidth / imageWidth;
[all...]
/external/skia/gm/
H A Dencode-srgb.cpp21 static const int imageWidth = 128; member in namespace:skiagm
71 SkImageInfo info = SkImageInfo::Make(imageWidth, imageHeight, kIndex_8_SkColorType,
75 for (int x = 0; x < imageWidth; x++) {
76 *bitmap->getAddr8(x, y) = (x / div_round_up(imageWidth, 2)) +
167 return SkISize::Make(imageWidth * 2, imageHeight * 15);
190 canvas->translate((float) imageWidth, 0.0f);
/external/autotest/client/deps/glbench/src/
H A Dyuv2rgb_1.glslf48 uniform float imageWidth;
/external/ImageMagick/MagickCore/
H A Daccelerate-kernels-private.h1246 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 Daccelerate.c1632 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 Ddng_lossless_jpeg.cpp314 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 DvktWsiIncrementalPresentTests.cpp294 deUint32 imageWidth,
299 : de::min(((deUint32)frameNdx) % imageWidth, imageWidth - 1u);
304 ? imageWidth
305 : 1 + de::min((deUint32)(frameNdx) % de::min<deUint32>(100, imageWidth / 3), imageWidth - x);
349 deUint32 imageWidth,
359 { imageWidth, imageHeight }
380 const vk::VkRect2D scissor = getRenderFrameRect(frameNdx, imageWidth, imageHeight);
398 deUint32 imageWidth,
293 getRenderFrameRect(size_t frameNdx, deUint32 imageWidth, deUint32 imageHeight) argument
344 cmdRenderFrame(const vk::DeviceInterface& vkd, vk::VkCommandBuffer commandBuffer, vk::VkPipelineLayout pipelineLayout, vk::VkPipeline pipeline, size_t frameNdx, deUint32 imageWidth, deUint32 imageHeight) argument
389 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 imageNextFrame, size_t currentFrame, deUint32 imageWidth, deUint32 imageHeight) argument
975 const deUint32 imageWidth = scaling == SCALING_NONE local
1104 const deUint32 imageWidth = m_swapchainConfigs[m_swapchainConfigNdx].imageExtent.width; local
[all...]
H A DvktWsiSharedPresentableImageTests.cpp325 deUint32 imageWidth,
360 { imageWidth, imageHeight }
847 const deUint32 imageWidth = scaling == SCALING_NONE local
861 const vk::VkExtent2D imageSize = { imageWidth, imageHeight };
1005 const deUint32 imageWidth = m_swapchainConfigs[m_swapchainConfigNdx].imageExtent.width; local
1013 m_pipeline = createPipeline(m_vkd, *m_device, *m_renderPass, *m_pipelineLayout, *m_vertexShaderModule, *m_fragmentShaderModule, imageWidth, imageHeight);
1016 m_framebuffer = createFramebuffer(m_vkd, *m_device, *m_renderPass, *m_swapchainImageView, imageWidth, imageHeight);
316 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 DvktWsiDisplayTimingTests.cpp328 deUint32 imageWidth,
363 { imageWidth, imageHeight }
905 const deUint32 imageWidth = (properties.currentExtent.width != 0xFFFFFFFFu) local
911 const vk::VkExtent2D imageSize = { imageWidth, imageHeight };
1026 const deUint32 imageWidth = m_swapchainConfig.imageExtent.width; local
1034 m_pipeline = createPipeline(m_vkd, *m_device, *m_renderPass, *m_pipelineLayout, *m_vertexShaderModule, *m_fragmentShaderModule, imageWidth, imageHeight);
1051 initFramebuffers(m_vkd, *m_device, *m_renderPass, m_swapchainImageViews, imageWidth, imageHeight, m_framebuffers);
319 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/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/
H A DFingerPrintGraph.java85 int imageWidth; field in class:FingerPrintGraph
174 this.imageWidth = width;
351 int titleStart = (int) (RATIO * this.imageWidth);
532 this.gc.fillRectangle(0, MARGIN + i * LINE_HEIGHT, this.imageWidth, LINE_HEIGHT);
556 this.image = new Image(DEFAULT_DISPLAY, this.imageWidth, this.imageHeight);
561 this.gc.fillRectangle(0, 0, this.imageWidth, this.imageHeight);
564 int width= (int) (RATIO * this.imageWidth); // width for results bar
/external/mesa3d/src/mesa/main/
H A Dtexobj.c1448 int imageWidth; local
1465 imageWidth = 1;
1473 imageWidth = image->Width;
1481 imageWidth = image->Width;
1492 imageWidth = image->Width;
1501 imageWidth = image->Width;
1509 imageWidth = image->Width;
1518 imageWidth = 0;
1529 if (xoffset + width > imageWidth + xBorder) {
/external/deqp/modules/gles31/functional/
H A Des31fShaderImageLoadStoreTests.cpp2119 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...]
/external/skia/src/gpu/
H A DGrRenderTargetContext.h332 int imageWidth,
/external/deqp/external/vulkancts/modules/vulkan/api/
H A DvktApiImageClearingTests.cpp341 Move<VkFramebuffer> createFrameBuffer (VkImageView imageView, VkRenderPass renderPass, deUint32 imageWidth, deUint32 imageHeight) const;
673 Move<VkFramebuffer> ImageClearingTestInstance::createFrameBuffer (VkImageView imageView, VkRenderPass renderPass, deUint32 imageWidth, deUint32 imageHeight) const argument
688 imageWidth, // deUint32 width;

Completed in 1336 milliseconds

12