Home
last modified time | relevance | path

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

12

/external/opencv/cv/src/
Dcvoptflowhs.cpp107 int imageWidth = imgSize.width; in icvCalcOpticalFlowHS_8u32fR() local
167 VelBufX[k] = (float *) cvAlloc( imageWidth * sizeof( float )); in icvCalcOpticalFlowHS_8u32fR()
171 VelBufY[k] = (float *) cvAlloc( imageWidth * sizeof( float )); in icvCalcOpticalFlowHS_8u32fR()
177 BufferSize = imageHeight * imageWidth; in icvCalcOpticalFlowHS_8u32fR()
209 for( j = 1; j < imageWidth - 1; j++ ) in icvCalcOpticalFlowHS_8u32fR()
222 MemY[0][imageWidth - 1] = in icvCalcOpticalFlowHS_8u32fR()
223 MemY[1][imageWidth - 1] = CONV( imgA[imageWidth - 2], in icvCalcOpticalFlowHS_8u32fR()
224 imgA[imageWidth - 1], imgA[imageWidth - 1] ); in icvCalcOpticalFlowHS_8u32fR()
270 for( j = 1; j < imageWidth - 1; j++ ) in icvCalcOpticalFlowHS_8u32fR()
293 ConvX = CONV( imgA[Line1 + imageWidth - 1], imgA[Line2 + imageWidth - 1], in icvCalcOpticalFlowHS_8u32fR()
[all …]
Dcvoptflowlk.cpp110 int imageWidth = imgSize.width; in icvCalcOpticalFlowLK_8u32fR() local
158 if( imageWidth < winWidth ) in icvCalcOpticalFlowLK_8u32fR()
172 BufferWidth = imageWidth; in icvCalcOpticalFlowLK_8u32fR()
246 for( j = 1; j < imageWidth - 1; j++ ) in icvCalcOpticalFlowLK_8u32fR()
259 MemY[0][imageWidth - 1] = in icvCalcOpticalFlowLK_8u32fR()
260 MemY[1][imageWidth - 1] = CONV( imgA[imageWidth - 2], in icvCalcOpticalFlowLK_8u32fR()
261 imgA[imageWidth - 1], imgA[imageWidth - 1] ); in icvCalcOpticalFlowLK_8u32fR()
323 for( j = 1; j < imageWidth - 1; j++ ) in icvCalcOpticalFlowLK_8u32fR()
345 ConvX = CONV( imgA[Line1 + imageWidth - 1], imgA[Line2 + imageWidth - 1], in icvCalcOpticalFlowLK_8u32fR()
346 imgA[Line3 + imageWidth - 1] ); in icvCalcOpticalFlowLK_8u32fR()
[all …]
/external/deqp/modules/gles3/functional/
Des3fPrerequisiteTests.cpp182 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()
Des3fASTCDecompressionCases.cpp423 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 …]
Des3fTextureSpecificationTests.cpp3020 int imageWidth, in TexImage2DDepthCase() argument
3022 …me, desc, glu::mapGLInternalFormat(internalFormat), imageWidth, imageHeight, maxLevelCount(imageWi… in TexImage2DDepthCase()
3066 int imageWidth, in TexImage2DArrayDepthCase() argument
3069 …sc, glu::mapGLInternalFormat(internalFormat), imageWidth, imageHeight, numLayers, maxLevelCount(im… in TexImage2DArrayDepthCase()
3113 int imageWidth, in TexSubImage2DDepthCase() argument
3115 …me, desc, glu::mapGLInternalFormat(internalFormat), imageWidth, imageHeight, maxLevelCount(imageWi… in TexSubImage2DDepthCase()
3182 int imageWidth, in TexSubImage2DArrayDepthCase() argument
3185 …sc, glu::mapGLInternalFormat(internalFormat), imageWidth, imageHeight, numLayers, maxLevelCount(im… in TexSubImage2DArrayDepthCase()
3254 int imageWidth, in TexImage2DDepthBufferCase() argument
3256 …: Texture2DSpecCase (context, name, desc, glu::mapGLInternalFormat(internalFormat), imageWidth, im… in TexImage2DDepthBufferCase()
[all …]
/external/deqp/modules/gles2/functional/
Des2fPrerequisiteTests.cpp182 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/skia/gm/
Dencode-srgb.cpp21 static const int imageWidth = 128; variable
71 SkImageInfo info = SkImageInfo::Make(imageWidth, imageHeight, kIndex_8_SkColorType, in make_index8()
75 for (int x = 0; x < imageWidth; x++) { in make_index8()
76 *bitmap->getAddr8(x, y) = (x / div_round_up(imageWidth, 2)) + in make_index8()
167 return SkISize::Make(imageWidth * 2, imageHeight * 15); in onISize()
190 canvas->translate((float) imageWidth, 0.0f); in onDraw()
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ui/
DDrawUtils.java101 int imageWidth = image.getBounds().width; in drawScaledImage() local
106 if (imageWidth <= targetRectangle.width && imageHeight <= targetRectangle.height) { in drawScaledImage()
107 newImageWidth = imageWidth; in drawScaledImage()
113 double k_w = targetRectangle.width / (double) imageWidth; in drawScaledImage()
118 newImageWidth = (int) (imageWidth * k); in drawScaledImage()
124 gc.drawImage(image, 0, 0, imageWidth, imageHeight, destX, destY, newImageWidth, newImageHeight); in drawScaledImage()
231 int imageWidth = imageBounds.width; in getThubmnail() local
233 if (imageWidth < minWidth && imageHeight < minHeight) { in getThubmnail()
250 } else if (imageWidth <= maxWidth && imageHeight <= maxHeight) { in getThubmnail()
253 double kX = (double) maxWidth / imageWidth; in getThubmnail()
[all …]
/external/ImageMagick/MagickCore/
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 …channel & AlphaChannel)!=0)?ClampToQuantum(sum.w):input[imageIndex.y * imageWidth + imageIndex.x].…
1362 output[imageIndex.y * imageWidth + imageIndex.x] = outputPixel;
1369 const uint imageWidth, const uint imageHeight,
1381 if (imageIndex.x >= imageWidth
1399 inputPixelIndex.x = ClampToCanvas(inputPixelIndex.x, imageWidth);
1401 CLPixelType p = input[inputPixelIndex.y * imageWidth + inputPixelIndex.x];
[all …]
Daccelerate.c1632 imageWidth, in ComputeConvolveImage() local
1772 imageWidth = (unsigned int) image->columns; in ComputeConvolveImage()
1774 clStatus|=clEnv->library->clSetKernelArg(clkernel,i++,sizeof(unsigned int),(void *)&imageWidth); in ComputeConvolveImage()
1819 imageWidth = (unsigned int) image->columns; in ComputeConvolveImage()
1821 clStatus|=clEnv->library->clSetKernelArg(clkernel,i++,sizeof(unsigned int),(void *)&imageWidth); in ComputeConvolveImage()
1990 imageWidth; in ComputeDespeckleImage() local
2087 imageWidth = (unsigned int) image->columns; in ComputeDespeckleImage()
2088 clStatus |=clEnv->library->clSetKernelArg(hullPass1,2,sizeof(unsigned int),(void *)&imageWidth); in ComputeDespeckleImage()
2101 imageWidth = (unsigned int) image->columns; in ComputeDespeckleImage()
2102 clStatus |=clEnv->library->clSetKernelArg(hullPass2,2,sizeof(unsigned int),(void *)&imageWidth); in ComputeDespeckleImage()
[all …]
/external/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);
DSkDistanceFieldGen.cpp70 int imageWidth, int imageHeight, in init_glyph_data() argument
77 for (int i = 0; i < imageWidth; ++i) { in init_glyph_data()
87 if (i == imageWidth-1) { in init_glyph_data()
96 if (found_edge(image, imageWidth, checkMask)) { in init_glyph_data()
/external/dng_sdk/source/
Ddng_lossless_jpeg.cpp314 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/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/editor/
DBooleanPropertyEditor.java68 int imageWidth = image.getBounds().width + 2; in paint() local
69 x += imageWidth; in paint()
70 width -= imageWidth; in paint()
DBooleanObjectPropertyEditor.java68 int imageWidth = image.getBounds().width + 2; in paint() local
69 x += imageWidth; in paint()
70 width -= imageWidth; in paint()
/external/skia/src/gpu/ops/
DGrLatticeOp.cpp31 NonAALatticeOp(GrColor color, const SkMatrix& viewMatrix, int imageWidth, int imageHeight, in NonAALatticeOp() argument
40 fImageWidth = imageWidth; in NonAALatticeOp()
169 std::unique_ptr<GrMeshDrawOp> MakeNonAA(GrColor color, const SkMatrix& viewMatrix, int imageWidth, in MakeNonAA() argument
173 new NonAALatticeOp(color, viewMatrix, imageWidth, imageHeight, std::move(iter), dst)); in MakeNonAA()
DGrLatticeOp.h20 std::unique_ptr<GrMeshDrawOp> MakeNonAA(GrColor color, const SkMatrix& viewMatrix, int imageWidth,
/external/deqp/external/vulkancts/modules/vulkan/wsi/
DvktWsiIncrementalPresentTests.cpp294 deUint32 imageWidth, in getRenderFrameRect() argument
299 : de::min(((deUint32)frameNdx) % imageWidth, imageWidth - 1u); in getRenderFrameRect()
304 ? imageWidth in getRenderFrameRect()
305 … : 1 + de::min((deUint32)(frameNdx) % de::min<deUint32>(100, imageWidth / 3), imageWidth - x); in getRenderFrameRect()
349 deUint32 imageWidth, in cmdRenderFrame() argument
359 { imageWidth, imageHeight } in cmdRenderFrame()
380 const vk::VkRect2D scissor = getRenderFrameRect(frameNdx, imageWidth, imageHeight); in cmdRenderFrame()
398 deUint32 imageWidth, in createCommandBuffer() argument
433 { imageWidth, imageHeight } in createCommandBuffer()
442 cmdRenderFrame(vkd, *commandBuffer, pipelineLayout, pipeline, frameNdx, imageWidth, imageHeight); in createCommandBuffer()
[all …]
DvktWsiSharedPresentableImageTests.cpp325 deUint32 imageWidth, in createCommandBuffer() argument
360 { imageWidth, imageHeight } in createCommandBuffer()
847 const deUint32 imageWidth = scaling == SCALING_NONE in generateSwapchainConfigs() local
861 const vk::VkExtent2D imageSize = { imageWidth, imageHeight }; in generateSwapchainConfigs()
1005 const deUint32 imageWidth = m_swapchainConfigs[m_swapchainConfigNdx].imageExtent.width; in initSwapchainResources() local
1013 …rPass, *m_pipelineLayout, *m_vertexShaderModule, *m_fragmentShaderModule, imageWidth, imageHeight); in initSwapchainResources()
1016 …createFramebuffer(m_vkd, *m_device, *m_renderPass, *m_swapchainImageView, imageWidth, imageHeight); in initSwapchainResources()
DvktWsiDisplayTimingTests.cpp328 deUint32 imageWidth, in createCommandBuffer() argument
363 { imageWidth, imageHeight } in createCommandBuffer()
905 const deUint32 imageWidth = (properties.currentExtent.width != 0xFFFFFFFFu) in createSwapchainConfig() local
911 const vk::VkExtent2D imageSize = { imageWidth, imageHeight }; in createSwapchainConfig()
1026 const deUint32 imageWidth = m_swapchainConfig.imageExtent.width; in initSwapchainResources() local
1034 …rPass, *m_pipelineLayout, *m_vertexShaderModule, *m_fragmentShaderModule, imageWidth, imageHeight); in initSwapchainResources()
1051 …initFramebuffers(m_vkd, *m_device, *m_renderPass, m_swapchainImageViews, imageWidth, imageHeight, … in initSwapchainResources()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/
DFingerPrintGraph.java85 int imageWidth; field in FingerPrintGraph
174 this.imageWidth = width; in FingerPrintGraph()
351 int titleStart = (int) (RATIO * this.imageWidth); in drawBars()
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/
Dtexobj.c1448 int imageWidth; in _mesa_InvalidateTexSubImage() local
1465 imageWidth = 1; in _mesa_InvalidateTexSubImage()
1473 imageWidth = image->Width; in _mesa_InvalidateTexSubImage()
1481 imageWidth = image->Width; in _mesa_InvalidateTexSubImage()
1492 imageWidth = image->Width; in _mesa_InvalidateTexSubImage()
1501 imageWidth = image->Width; in _mesa_InvalidateTexSubImage()
1509 imageWidth = image->Width; in _mesa_InvalidateTexSubImage()
1518 imageWidth = 0; in _mesa_InvalidateTexSubImage()
1529 if (xoffset + width > imageWidth + xBorder) { in _mesa_InvalidateTexSubImage()
/external/deqp/modules/gles31/functional/
Des31fShaderImageLoadStoreTests.cpp2119 static int getCompareArg (const IVec3& invocationID, int imageWidth);
2120 static int getAssignArg (const IVec3& invocationID, int imageWidth);
2121 …ing getCompareArgShaderStr (const string& x, const string& y, const string& z, int imageWidth);
2122 …ring getAssignArgShaderStr (const string& x, const string& y, const string& z, int imageWidth);
2131 int AtomicCompSwapCase::getCompareArg (const IVec3& invocationID, int imageWidth) in getCompareArg() argument
2136 const int wrapX = x % imageWidth; in getCompareArg()
2137 const int curPixelInvocationNdx = x / imageWidth; in getCompareArg()
2142 int AtomicCompSwapCase::getAssignArg (const IVec3& invocationID, int imageWidth) in getAssignArg() argument
2144 …return getCompareArg(IVec3(invocationID.x() + imageWidth, invocationID.y(), invocationID.z()), ima… in getAssignArg()
2147 …wapCase::getCompareArgShaderStr (const string& x, const string& y, const string& z, int imageWidth) in getCompareArgShaderStr() argument
[all …]
Des31fSynchronizationTests.cpp1655 const int imageWidth = m_invocationGridSize; in genStorage() local
1661 << "Creating image #" << friendlyName << ", size " << imageWidth << "x" << imageHeight in genStorage()
1663 << ", size = " << (imageWidth*imageHeight*sizeof(deUint32)) << " bytes." in genStorage()
1670 gl.texStorage2D(GL_TEXTURE_2D, 1, GL_R32I, imageWidth, imageHeight); in genStorage()
1672 gl.texStorage2D(GL_TEXTURE_2D, 1, GL_R32F, imageWidth, imageHeight); in genStorage()
1685 const std::vector<deInt32> zeroBuffer(imageWidth * imageHeight, 0); in genStorage()
1686 …gl.texSubImage2D(GL_TEXTURE_2D, 0, 0, 0, imageWidth, imageHeight, GL_RED_INTEGER, GL_INT, &zeroBuf… in genStorage()
1690 const std::vector<float> zeroBuffer(imageWidth * imageHeight, 0.0f); in genStorage()
1691 …gl.texSubImage2D(GL_TEXTURE_2D, 0, 0, 0, imageWidth, imageHeight, GL_RED, GL_FLOAT, &zeroBuffer[0]… in genStorage()
/external/deqp/external/vulkancts/modules/vulkan/tessellation/
DvktTessellationCoordinatesTests.cpp247 const int imageWidth = 256; in drawTessCoordVisualization() local
249 dst.setSize(imageWidth, imageHeight); in drawTessCoordVisualization()

12