HomeSort by relevance Sort by last modified time
    Searched refs:imageWidth (Results 1 - 25 of 60) sorted by null

1 2 3

  /external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/heightmap/
ImageBasedHeightMap.java 95 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)+ w;
    [all...]
  /external/opencv/cv/src/
cvoptflowhs.cpp 107 int imageWidth = imgSize.width;
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 - 1] )
    [all...]
cvoptflowlk.cpp 110 int imageWidth = imgSize.width;
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 - 1; j++
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/cairo/
GraphicsContext3DCairo.cpp 87 void GraphicsContext3D::paintToCanvas(const unsigned char* imagePixels, int imageWidth, int imageHeight, int canvasWidth, int canvasHeight, PlatformContextCairo* context)
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/
DragImageChromiumSkia.cpp 62 int imageWidth = scale.width() * image->width();
66 imageWidth, imageHeight));
  /external/webkit/Source/WebKit2/Platform/cg/
CGUtilities.cpp 41 size_t imageWidth = CGImageGetWidth(image);
46 CGContextDrawImage(context, CGRectMake(destX, destY, imageWidth, imageHeight), image);
  /external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/editor/
BooleanObjectPropertyEditor.java 68 int imageWidth = image.getBounds().width + 2;
69 x += imageWidth;
70 width -= imageWidth;
BooleanPropertyEditor.java 68 int imageWidth = image.getBounds().width + 2;
69 x += imageWidth;
70 width -= imageWidth;
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/properties/
BooleanXmlPropertyEditor.java 72 int imageWidth = image.getBounds().width + 2;
73 width -= imageWidth;
77 x += imageWidth;
XmlPropertyEditor.java 244 int imageWidth = awtImage.getWidth();
248 if (imageWidth > maxWidth || imageHeight > height) {
250 int scaledWidth = (int) (imageWidth * scale);
252 scale = maxWidth / (double) imageWidth;
280 int imageWidth = imageData.width;
282 if (imageWidth > 0 && imageHeight > 0) {
284 int delta = imageWidth + SAMPLE_MARGIN;
  /external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ui/
DrawUtils.java 101 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...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
ImageControl.java 96 int imageWidth = imageRect.width;
97 if (imageWidth <= width) {
102 mScale = width / (float) imageWidth;
184 int imageWidth = imageRect.width;
185 int destWidth = imageWidth;
197 gc.drawImage(mImage, 0, 0, imageWidth, imageHeight, rect.x + mLeftMargin, rect.y
  /sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/widgets/
ImageCanvas.java 118 int imageWidth, imageHeight;
120 imageWidth = mImage.getBounds().width;
123 imageWidth = client.width;
127 mHorizontalScrollBar.setMaximum(imageWidth);
129 mHorizontalScrollBar.setThumb(Math.min(imageWidth, client.width));
132 int hPage = imageWidth - client.width;
  /frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
h264bsd_deblocking.c 174 u32 imageWidth);
177 u32 imageWidth);
180 u32 imageWidth);
182 i32 imageWidth);
184 i32 imageWidth);
187 u32 imageWidth);
189 i32 imageWidth);
191 i32 imageWidth);
653 u32 imageWidth)
674 for (i = 4; i; i--, data += imageWidth)
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/cg/
GraphicsContext3DCG.cpp 257 void GraphicsContext3D::paintToCanvas(const unsigned char* imagePixels, int imageWidth, int imageHeight, int canvasWidth, int canvasHeight, CGContextRef context)
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,
  /development/samples/training/bitmapfun/src/com/example/android/bitmapfun/util/
ImageResizer.java 45 * @param imageWidth
48 public ImageResizer(Context context, int imageWidth, int imageHeight) {
50 setImageSize(imageWidth, imageHeight);
ImageFetcher.java 59 * @param imageWidth
62 public ImageFetcher(Context context, int imageWidth, int imageHeight) {
63 super(context, imageWidth, imageHeight);
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
ImageGeometry.java 107 float imageWidth = mLocalGeometry.getPhotoBounds().width();
109 return GeometryMath.scale(imageWidth, imageHeight, width, height);
116 float imageWidth = imageBounds.width();
124 mXOffset = (displayWidth - imageWidth) / 2.0f;
493 float imageWidth = cropBounds.width();
495 float scale = GeometryMath.scale(imageWidth, imageHeight, getWidth(), getHeight());
498 scale = GeometryMath.scale(imageWidth, imageHeight, getHeight(), getWidth());
  /hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/component/video/dec/
Exynos_OMX_Vdec.h 80 OMX_U32 imageWidth;
  /packages/apps/Gallery/src/com/android/camera/
GalleryPicker.java 621 int imageWidth, int widthPadding, int imageHeight,
627 int xPos = (col * (imageWidth + widthPadding)) - offsetX;
643 int imageWidth = width;
648 imageWidth = (imageWidth - padding) / 2; // 2 here because we show two
704 temp = Util.transform(m, temp, imageWidth,
708 Bitmap thumb = Bitmap.createBitmap(imageWidth, imageHeight,
714 mCellOutline.setBounds(0, 0, imageWidth, imageHeight);
717 placeImage(thumb, c, pdpaint, imageWidth, padding, imageHeight,
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/
DetermineFovActivity.java 177 private float focalLengthPixels(float fovDegrees, float imageWidth) {
178 return (float) (imageWidth
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/
FingerPrintGraph.java 85 int imageWidth;
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/
RenderDeviceJme.java 267 float imageWidth = jmeImage.getWidth();
271 float startX = srcX / imageWidth;
273 float endX = startX + (srcW / imageWidth);
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
SwtUtilsTest.java 324 * @param imageWidth the width of the target image
328 private Image createSampleImage(int imageWidth, int imageHeight) {
332 ImageData data = new ImageData(imageWidth, imageHeight, 32, new PaletteData(0x00FF0000,
335 for (int x = 0; x < imageWidth; x++) {
  /external/qemu/distrib/sdl-1.2.15/src/video/Xext/extensions/
xf86dga.h 68 int imageWidth; /* linear accessible portion (pixels) */

Completed in 539 milliseconds

1 2 3