Home
last modified time | relevance | path

Searched refs:imageWidth (Results 1 – 25 of 34) 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/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/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()
449 Surface renderedFrame (imageWidth, imageHeight); in iterate()
450 Surface referenceFrame (imageWidth, imageHeight); in iterate()
554 const int imageWidth = (MAX_NUM_BLOCKS_X-1)*blockSize.x() + curRemainderX; in iterate() local
556 const int numBlocksX = deDivRoundUp32(imageWidth, blockSize.x()); in iterate()
561 tcu::CompressedTexture compressed (m_format, imageWidth, imageHeight); in iterate()
568 Surface renderedFrame (imageWidth, imageHeight); in iterate()
569 Surface referenceFrame (imageWidth, imageHeight); in iterate()
[all …]
/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/ui/
DImage.java38 private float imageX, imageY, imageWidth, imageHeight; field in Image
97 imageWidth = size.x; in layout()
103 imageX = (int)(width - imageWidth); in layout()
105 imageX = (int)(width / 2 - imageWidth / 2); in layout()
130 imageWidth, imageHeight, scaleX, scaleY, rotation); in draw()
134 …if (drawable != null) drawable.draw(batch, x + imageX, y + imageY, imageWidth * scaleX, imageHeigh… in draw()
192 return imageWidth; in getImageWidth()
/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 …]
/external/skia/src/core/
DSkNinePatchIter.h21 static bool Valid(int imageWidth, int imageHeight, const SkIRect& center);
23 SkNinePatchIter(int imageWidth, int imageHeight, const SkIRect& center, const SkRect& dst);
DSkDistanceFieldGen.cpp68 int imageWidth, int imageHeight, in init_glyph_data() argument
75 for (int i = 0; i < imageWidth; ++i) { in init_glyph_data()
85 if (i == imageWidth-1) { in init_glyph_data()
94 if (found_edge(image, imageWidth, checkMask)) { in init_glyph_data()
/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/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/skia/src/gpu/batches/
DGrNinePatch.cpp41 GrNonAANinePatchBatch(GrColor color, const SkMatrix& viewMatrix, int imageWidth, in GrNonAANinePatchBatch() argument
50 fImageWidth = imageWidth; in GrNonAANinePatchBatch()
179 GrDrawBatch* CreateNonAA(GrColor color, const SkMatrix& viewMatrix, int imageWidth, int imageHeight, in CreateNonAA() argument
181 return new GrNonAANinePatchBatch(color, viewMatrix, imageWidth, imageHeight, center, dst); in CreateNonAA()
DGrNinePatch.h20 GrDrawBatch* CreateNonAA(GrColor color, const SkMatrix& viewMatrix, int imageWidth, int imageHeight,
/external/opencv3/modules/videoio/src/
Dcap_ios_abstract_camera.mm61 @synthesize imageWidth;
398 self.imageWidth = 640;
402 self.imageWidth = 640;
406 self.imageWidth = 640;
410 self.imageWidth = 640;
413 self.imageWidth = 352;
416 self.imageWidth = 640;
419 self.imageWidth = 1280;
422 self.imageWidth = 640;
/external/opencv3/modules/videoio/include/opencv2/videoio/
Dcap_ios.h63 int imageWidth; variable
79 @property (nonatomic, assign) int imageWidth;
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g2d/
DPixmapPacker.java179 int imageWidth = image.getWidth(), imageHeight = image.getHeight(); in pack() local
182 page.image.drawPixmap(image, imageWidth - 1, 0, 1, 1, rectX + rectWidth, rectY - 1, 1, 1); in pack()
184 …page.image.drawPixmap(image, imageWidth - 1, imageHeight - 1, 1, 1, rectX + rectWidth, rectY + rec… in pack()
186 page.image.drawPixmap(image, 0, 0, imageWidth, 1, rectX, rectY - 1, rectWidth, 1); in pack()
187 …page.image.drawPixmap(image, 0, imageHeight - 1, imageWidth, 1, rectX, rectY + rectHeight, rectWid… in pack()
189 …page.image.drawPixmap(image, imageWidth - 1, 0, 1, imageHeight, rectX + rectWidth, rectY, 1, rectH… in pack()
/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/libgdx/gdx/src/com/badlogic/gdx/maps/tiled/
DAtlasTmxMapLoader.java296 int imageWidth = 0, imageHeight = 0; in loadTileset() local
316 imageWidth = imageElement.getIntAttribute("width", 0); in loadTileset()
332 imageWidth = imageElement.getIntAttribute("width", 0); in loadTileset()
362 props.put("imagewidth", imageWidth); in loadTileset()
370 int lastgid = firstgid + ((imageWidth / tilewidth) * (imageHeight / tileheight)) - 1; in loadTileset()
DTmxMapLoader.java327 int imageWidth = 0, imageHeight = 0; in loadTileSet() local
347 imageWidth = imageElement.getIntAttribute("width", 0); in loadTileSet()
363 imageWidth = imageElement.getIntAttribute("width", 0); in loadTileSet()
377 props.put("imagewidth", imageWidth); in loadTileSet()
405 imageWidth = imageElement.getIntAttribute("width", 0); in loadTileSet()
/external/deqp/modules/gles31/functional/
Des31fShaderImageLoadStoreTests.cpp2118 static int getCompareArg (const IVec3& invocationID, int imageWidth);
2119 static int getAssignArg (const IVec3& invocationID, int imageWidth);
2120 …ing getCompareArgShaderStr (const string& x, const string& y, const string& z, int imageWidth);
2121 …ring getAssignArgShaderStr (const string& x, const string& y, const string& z, int imageWidth);
2130 int AtomicCompSwapCase::getCompareArg (const IVec3& invocationID, int imageWidth) in getCompareArg() argument
2135 const int wrapX = x % imageWidth; in getCompareArg()
2136 const int curPixelInvocationNdx = x / imageWidth; in getCompareArg()
2141 int AtomicCompSwapCase::getAssignArg (const IVec3& invocationID, int imageWidth) in getAssignArg() argument
2143 …return getCompareArg(IVec3(invocationID.x() + imageWidth, invocationID.y(), invocationID.z()), ima… in getAssignArg()
2146 …wapCase::getCompareArgShaderStr (const string& x, const string& y, const string& z, int imageWidth) in getCompareArgShaderStr() argument
[all …]
/external/opencv3/modules/highgui/src/
Dwindow_carbon.cpp92 int imageWidth;//FD member
225 int width = window->imageWidth; in icvDrawImage()
261 int width = window->imageWidth = window->image->cols; in icvPutImage()
1038 lx = lx * window->imageWidth / (content.right - content.left); in windowEventHandler()
/external/skia/include/gpu/
DGrDrawContext.h237 int imageWidth,

12