Home
last modified time | relevance | path

Searched refs:imageWidth (Results 1 – 25 of 30) 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/jmonkeyengine/engine/src/terrain/com/jme3/terrain/heightmap/
DImageBasedHeightMap.java95 int imageWidth = colorImage.getWidth(); in load() local
98 if (imageWidth != imageHeight) in load()
99 throw new RuntimeException("imageWidth: " + imageWidth in load()
102 size = imageWidth; in load()
106 heightData = new float[(imageWidth * imageHeight)]; in load()
114 for (int w = imageWidth - 1; w >= 0; --w) { in load()
115 int baseIndex = (h * imageWidth)+ w; in load()
119 for (int w = 0; w < imageWidth; ++w) { in load()
120 int baseIndex = (h * imageWidth)+ w; in load()
128 for (int w = imageWidth - 1; w >= 0; --w) { in load()
[all …]
/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/chromium_org/remoting/android/java/src/org/chromium/chromoting/
DTrackingInputHandler.java118 if (newX > mRenderData.imageWidth) newX = mRenderData.imageWidth; in moveCursor()
148 float[] rectScreen = {0, 0, mRenderData.imageWidth, mRenderData.imageHeight}; in repositionImage()
192 if (mRenderData.imageWidth == 0 || mRenderData.imageHeight == 0) { in repositionImageWithZoom()
203 float[] imageSize = {(float)mRenderData.imageWidth, (float)mRenderData.imageHeight}; in repositionImageWithZoom()
209 float scale = Math.min((float)mRenderData.screenWidth / mRenderData.imageWidth, in repositionImageWithZoom()
DRenderData.java20 public int imageWidth = 0; field in RenderData
DDesktopView.java175 if (mRenderData.imageWidth != width || mRenderData.imageHeight != height) { in paint()
179 mRenderData.imageWidth = width; in paint()
/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/chromium_org/chrome/browser/resources/file_manager/foreground/js/media/
Dmedia_util.js356 var imageWidth = img.width;
375 var imageRatio = imageWidth / imageHeight;
389 var fitScaleX = (rotate ? boxHeight : boxWidth) / imageWidth;
399 fractionX = imageWidth * scale / boxWidth;
405 fractionX = imageWidth / imageHeight;
/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/chromium_org/third_party/mesa/src/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/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/chromium_org/chrome/browser/resources/file_manager/foreground/js/ui/
Dpreview_panel.js477 var imageWidth = ~~(width * scale);
488 canvas.width = imageWidth * INTERMEDIATE_SCALE;
499 var boxWidth = Math.max(PreviewPanel.Thumbnails.THUMBNAIL_SIZE, imageWidth);
/external/chromium_org/chrome/browser/resources/file_manager/foreground/js/image_editor/
Dimage_view.js374 var imageWidth = metadata.media && metadata.media.width ||
375 metadata.drive && metadata.drive.imageWidth;
386 !(imageWidth && imageHeight &&
387 ImageUtil.ImageLoader.isTooLarge(imageWidth, imageHeight))) {
409 metadata.media.width || metadata.drive.imageWidth,
/external/jmonkeyengine/engine/src/niftygui/com/jme3/niftygui/
DRenderDeviceJme.java267 float imageWidth = jmeImage.getWidth(); in renderImage() local
271 float startX = srcX / imageWidth; in renderImage()
273 float endX = startX + (srcW / imageWidth); in renderImage()
/external/chromium_org/third_party/WebKit/Source/core/platform/
DDragImage.cpp244 int imageWidth = scaleX * m_bitmap.width(); in scale() local
247 m_bitmap, skia::ImageOperations::RESIZE_LANCZOS3, imageWidth, imageHeight); in scale()
/external/qemu/distrib/sdl-1.2.15/src/video/Xext/extensions/
Dxf86dga.h68 int imageWidth; /* linear accessible portion (pixels) */ member
/external/chromium_org/chrome/browser/resources/file_manager/foreground/js/metadata/
Dmetadata_cache.js820 imageWidth: data.imageWidth, property
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderBoxModelObject.cpp1181 int imageWidth = imageSize.width(); in paintNinePieceImage() local
1187 …int rightSlice = min<int>(imageWidth, valueForLength(ninePieceImage.imageSlices().right(), imageWi… in paintNinePieceImage()
1189 …int leftSlice = min<int>(imageWidth, valueForLength(ninePieceImage.imageSlices().left(), imageWidt… in paintNinePieceImage()
1217 …bool drawMiddle = ninePieceImage.fill() && (imageWidth - leftSlice - rightSlice) > 0 && (borderIma… in paintNinePieceImage()
1225 float sourceWidth = imageWidth - leftSlice - rightSlice; in paintNinePieceImage()
1262 … LayoutRect(imageWidth - rightSlice, 0, rightSlice, topSlice), op); in paintNinePieceImage()
1268 … LayoutRect(imageWidth - rightSlice, imageHeight - bottomSlice, rightSlice, bottomSlice), op); in paintNinePieceImage()
1274 … IntRect(imageWidth - rightSlice, topSlice, rightSlice, sourceHeight), in paintNinePieceImage()
/external/v8/benchmarks/
Draytrace.js880 var imageWidth = 100; // $F('imageWidth');
891 canvasWidth: imageWidth,
/external/chromium_org/v8/benchmarks/
Draytrace.js880 var imageWidth = 100; // $F('imageWidth');
891 canvasWidth: imageWidth,
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/v8-v6/
Dv8-raytrace.js875 var imageWidth = 100; // $F('imageWidth');
886 canvasWidth: imageWidth,
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/v8-v5/
Dv8-raytrace.js906 var imageWidth = 100; // $F('imageWidth');
917 canvasWidth: imageWidth,
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/v8-v4/
Dv8-raytrace.js906 var imageWidth = 100; // $F('imageWidth');
917 canvasWidth: imageWidth,

12