/external/opencv/cv/src/ |
D | cvoptflowhs.cpp | 107 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 …]
|
D | cvoptflowlk.cpp | 110 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/ |
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 …]
|
D | es3fTextureSpecificationTests.cpp | 3020 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/ |
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/skia/gm/ |
D | encode-srgb.cpp | 21 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/ |
D | DrawUtils.java | 101 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/ |
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 …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 …]
|
D | accelerate.c | 1632 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/ |
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 | SkDistanceFieldGen.cpp | 70 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/ |
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/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/editor/ |
D | BooleanPropertyEditor.java | 68 int imageWidth = image.getBounds().width + 2; in paint() local 69 x += imageWidth; in paint() 70 width -= imageWidth; in paint()
|
D | BooleanObjectPropertyEditor.java | 68 int imageWidth = image.getBounds().width + 2; in paint() local 69 x += imageWidth; in paint() 70 width -= imageWidth; in paint()
|
/external/skia/src/gpu/ops/ |
D | GrLatticeOp.cpp | 31 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()
|
D | GrLatticeOp.h | 20 std::unique_ptr<GrMeshDrawOp> MakeNonAA(GrColor color, const SkMatrix& viewMatrix, int imageWidth,
|
/external/deqp/external/vulkancts/modules/vulkan/wsi/ |
D | vktWsiIncrementalPresentTests.cpp | 294 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 …]
|
D | vktWsiSharedPresentableImageTests.cpp | 325 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()
|
D | vktWsiDisplayTimingTests.cpp | 328 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/ |
D | FingerPrintGraph.java | 85 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/ |
D | texobj.c | 1448 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/ |
D | es31fShaderImageLoadStoreTests.cpp | 2119 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 …]
|
D | es31fSynchronizationTests.cpp | 1655 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/ |
D | vktTessellationCoordinatesTests.cpp | 247 const int imageWidth = 256; in drawTessCoordVisualization() local 249 dst.setSize(imageWidth, imageHeight); in drawTessCoordVisualization()
|