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

/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/heightmap/
H A DImageBasedHeightMap.java95 int imageWidth = colorImage.getWidth();
98 if (imageWidth != imageHeight)
99 throw new RuntimeException("imageWidth: " + imageWidth
102 size = imageWidth;
106 heightData = new float[(imageWidth * imageHeight)];
114 for (int w = imageWidth - 1; w >= 0; --w) {
115 int baseIndex = (h * imageWidth)+ w;
119 for (int w = 0; w < imageWidth; ++w) {
120 int baseIndex = (h * imageWidth)
[all...]
/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/webkit/Source/WebCore/platform/graphics/cairo/
H A DGraphicsContext3DCairo.cpp87 void GraphicsContext3D::paintToCanvas(const unsigned char* imagePixels, int imageWidth, int imageHeight, int canvasWidth, int canvasHeight, PlatformContextCairo* context) argument
89 if (!imagePixels || imageWidth <= 0 || imageHeight <= 0 || canvasWidth <= 0 || canvasHeight <= 0 || !context)
100 const_cast<unsigned char*>(imagePixels), CAIRO_FORMAT_ARGB32, imageWidth, imageHeight, imageWidth * 4));
/external/webkit/Source/WebCore/platform/chromium/
H A DDragImageChromiumSkia.cpp62 int imageWidth = scale.width() * image->width(); local
66 imageWidth, imageHeight));
/external/webkit/Source/WebKit2/Platform/cg/
H A DCGUtilities.cpp41 size_t imageWidth = CGImageGetWidth(image); local
46 CGContextDrawImage(context, CGRectMake(destX, destY, imageWidth, imageHeight), image);
/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/webkit/Source/WebCore/platform/graphics/cg/
H A DGraphicsContext3DCG.cpp257 void GraphicsContext3D::paintToCanvas(const unsigned char* imagePixels, int imageWidth, int imageHeight, int canvasWidth, int canvasHeight, CGContextRef context) argument
259 if (!imagePixels || imageWidth <= 0 || imageHeight <= 0 || canvasWidth <= 0 || canvasHeight <= 0 || !context)
261 int rowBytes = imageWidth * 4;
263 RetainPtr<CGImageRef> cgImage(AdoptCF, CGImageCreate(imageWidth, imageHeight, 8, 32, rowBytes, deviceRGBColorSpaceRef(), kCGImageAlphaPremultipliedFirst | kCGBitmapByteOrder32Host,
/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/jmonkeyengine/engine/src/niftygui/com/jme3/niftygui/
H A DRenderDeviceJme.java267 float imageWidth = jmeImage.getWidth();
271 float startX = srcX / imageWidth;
273 float endX = startX + (srcW / imageWidth);
/external/qemu/distrib/sdl-1.2.12/src/video/Xext/extensions/
H A Dxf86dga.h68 int imageWidth; /* linear accessible portion (pixels) */ member in struct:__anon9279
/external/webkit/Source/WebCore/rendering/
H A DRenderBoxModelObject.cpp942 int imageWidth = imageSize.width(); local
947 int leftSlice = min(imageWidth, ninePieceImage.slices().left().calcValue(imageWidth));
948 int rightSlice = min(imageWidth, ninePieceImage.slices().right().calcValue(imageWidth));
964 bool drawMiddle = (imageWidth - leftSlice - rightSlice) > 0 && (w - leftWidth - rightWidth) > 0 &&
996 // The rect to use from within the image is obtained from our slice, and is (imageWidth - rightSlice, 0, rightSlice, topSlice)
999 IntRect(imageWidth - rightSlice, 0, rightSlice, topSlice), op);
1002 // The rect to use from within the image is (imageWidth - rightSlice, imageHeight - bottomSlice, rightSlice, bottomSlice)
1005 IntRect(imageWidth
[all...]
/external/skia/src/images/
H A DSkImageDecoder_libjpeg.cpp80 int imageWidth; member in class:SkJPEGImageDecoder
533 this->imageWidth = *width;
545 SkIRect rect = SkIRect::MakeWH(this->imageWidth, this->imageHeight);
/external/qemu/distrib/sdl-1.2.12/src/video/Xext/Xxf86dga/
H A DXF86DGA2.c322 modes[i].imageWidth = info.image_width;
400 dev->mode.imageWidth = info.image_width;
/external/v8/benchmarks/
H A Draytrace.js880 var imageWidth = 100; // $F('imageWidth');
891 canvasWidth: imageWidth,
/external/webkit/PerformanceTests/SunSpider/tests/v8-v4/
H A Dv8-raytrace.js906 var imageWidth = 100; // $F('imageWidth');
917 canvasWidth: imageWidth,
/external/webkit/PerformanceTests/SunSpider/tests/v8-v5/
H A Dv8-raytrace.js906 var imageWidth = 100; // $F('imageWidth');
917 canvasWidth: imageWidth,
/external/webkit/PerformanceTests/SunSpider/tests/v8-v6/
H A Dv8-raytrace.js875 var imageWidth = 100; // $F('imageWidth');
886 canvasWidth: imageWidth,
/external/webkit/Source/WebCore/platform/graphics/
H A DGraphicsContext3D.h766 void paintToCanvas(const unsigned char* imagePixels, int imageWidth, int imageHeight,
769 void paintToCanvas(const unsigned char* imagePixels, int imageWidth, int imageHeight,
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.swt.gtk.linux.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.swt.win32.win32.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.ui.workbench_3.6.1.M20101117-0800.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/
H A Dperformanceui.jarMETA-INF/MANIFEST.MF .project about.html plugin.xml build.properties images/FAIL ...

Completed in 2544 milliseconds