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

1 2 3

  /frameworks/base/core/jni/
android_graphics_PixelFormat.cpp 34 jfieldID bytesPerPixel;
53 info.bytesPerPixel = 1;
58 info.bytesPerPixel = 1;
63 info.bytesPerPixel = 1;
75 env->SetIntField(pixelFormatObject, offsets.bytesPerPixel, info.bytesPerPixel);
94 offsets.bytesPerPixel = env->GetFieldID(clazz, "bytesPerPixel", "I");
  /cts/tests/tests/graphics/src/android/graphics/cts/
PixelFormatTest.java 44 assertEquals(4, mPixelFormat.bytesPerPixel);
48 assertEquals(4, mPixelFormat.bytesPerPixel);
52 assertEquals(3, mPixelFormat.bytesPerPixel);
56 assertEquals(2, mPixelFormat.bytesPerPixel);
60 assertEquals(2, mPixelFormat.bytesPerPixel);
64 assertEquals(2, mPixelFormat.bytesPerPixel);
68 assertEquals(1, mPixelFormat.bytesPerPixel);
72 assertEquals(1, mPixelFormat.bytesPerPixel);
76 assertEquals(2, mPixelFormat.bytesPerPixel);
80 assertEquals(1, mPixelFormat.bytesPerPixel);
    [all...]
  /external/webkit/Source/WebCore/platform/image-decoders/webp/
WEBPImageDecoder.cpp 80 static const int bytesPerPixel = 3;
99 int stride = width * bytesPerPixel;
136 buffer.setRGBA(x, y, src[bytesPerPixel * x + 0], src[bytesPerPixel * x + 1], src[bytesPerPixel * x + 2], 0xff);
  /frameworks/native/libs/ui/
PixelFormat.cpp 73 size = width * bytesPerPixel;
78 ssize_t bytesPerPixel(PixelFormat format)
82 return (err < 0) ? err : info.bytesPerPixel;
112 info->bytesPerPixel = 1;
128 info->bytesPerPixel = i->size;
  /frameworks/native/include/ui/
PixelFormat.h 100 size_t bytesPerPixel;
122 ssize_t bytesPerPixel(PixelFormat format);
  /external/qemu/distrib/sdl-1.2.12/src/video/riscos/
SDL_riscossprite.c 50 int bytesPerPixel;
56 case 32: bytesPerPixel = 4; break;
57 case 16: bytesPerPixel = 2; break;
59 bytesPerPixel = 1;
67 bytesPerRow = bytesPerPixel * width;
SDL_wimpvideo.c 89 int bytesPerPixel = 1;
107 bytesPerPixel = 2;
114 bytesPerPixel = 4;
152 current->pitch = width * bytesPerPixel;
459 SDL_memcpy(data, this->hidden->bank[0], width * height * this->screen->format->BytesPerPixel);
  /external/jmonkeyengine/engine/src/core-plugins/com/jme3/texture/plugins/
PFMLoader.java 108 int bytesPerPixel = format.getBitsPerPixel() / 8;
109 int scanLineBytes = bytesPerPixel * width;
111 ByteBuffer imageData = BufferUtils.createByteBuffer(width * height * bytesPerPixel);
112 byte[] scanline = new byte[width * bytesPerPixel];
  /frameworks/base/graphics/java/android/graphics/
PixelFormat.java 104 public int bytesPerPixel;
  /external/skia/src/gpu/
GrTextStrike.cpp 182 int bytesPerPixel = GrMaskFormatBytesPerPixel(fMaskFormat);
183 size_t size = glyph->fBounds.area() * bytesPerPixel;
187 glyph->width() * bytesPerPixel,
  /external/webkit/Source/WebCore/platform/image-decoders/bmp/
BMPImageReader.h 195 inline uint32_t readCurrentPixel(int bytesPerPixel) const
197 const int offset = m_coord.x() * bytesPerPixel;
198 switch (bytesPerPixel) {
  /external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/
TextureGeneratorNoise.java 68 int bytesPerPixel = colorBand != null ? 4 : 1;
71 byte[] data = new byte[width * height * depth * bytesPerPixel];
TextureGeneratorClouds.java 83 int bytesPerPixel = sType == TEX_COLOR || colorBand != null ? 4 : 1;
86 byte[] data = new byte[width * height * depth * bytesPerPixel];
TextureGeneratorDistnoise.java 74 int bytesPerPixel = colorBand != null ? 4 : 1;
77 byte[] data = new byte[width * height * depth * bytesPerPixel];
TextureGeneratorMarble.java 71 int bytesPerPixel = colorBand != null ? 4 : 1;
75 byte[] data = new byte[width * height * depth * bytesPerPixel];
TextureGeneratorMusgrave.java 70 int bytesPerPixel = colorBand != null ? 4 : 1;
75 byte[] data = new byte[width * height * depth * bytesPerPixel];
TextureGeneratorStucci.java 79 int bytesPerPixel = colorBand != null ? 4 : 1;
81 byte[] data = new byte[width * height * depth * bytesPerPixel];
TextureGeneratorBlend.java 126 int bytesPerPixel = colorBand != null ? 4 : 1;
129 byte[] data = new byte[width * height * depth * bytesPerPixel];
TextureGeneratorVoronoi.java 80 int bytesPerPixel = voronoiColorType != 0 || colorBand != null ? 4 : 1;
93 byte[] data = new byte[width * height * depth * bytesPerPixel];
TextureGeneratorWood.java 83 int bytesPerPixel = colorBand != null ? 4 : 1;
88 byte[] data = new byte[width * height * depth * bytesPerPixel];
  /external/skia/tests/
DrawBitmapRectTest.cpp 15 size_t count = bm.width() * bm.bytesPerPixel();
  /frameworks/native/services/surfaceflinger/tests/resize/
resize.cpp 51 ssize_t bpr = info.s * bytesPerPixel(info.format);
  /external/skia/src/images/
SkImageRefPool.cpp 35 ref->fBitmap.bytesPerPixel(),
71 ref->fBitmap.bytesPerPixel(),
  /external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ui/
DrawUtils.java 309 int bytesPerPixel = Math.max(1, srcData.depth / 8);
311 ((srcData.height * bytesPerPixel - 1) / srcData.scanlinePad + 1) * srcData.scanlinePad;
317 int destIndex = destY * destBytesPerLine + destX * bytesPerPixel;
318 int srcIndex = srcY * srcData.bytesPerLine + srcX * bytesPerPixel;
319 System.arraycopy(srcData.data, srcIndex, newData, destIndex, bytesPerPixel);
  /hardware/ti/omap4xxx/camera/
ANativeWindowDisplayAdapter.cpp 1067 uint8_t bytesPerPixel;
1071 bytesPerPixel = 2;
1075 bytesPerPixel = 2;
1079 bytesPerPixel = 1;
1083 bytesPerPixel = 1;
1087 xOff/bytesPerPixel, yOff , (xOff/bytesPerPixel)+mPreviewWidth, yOff+mPreviewHeight);
1090 mANativeWindow->set_crop(mANativeWindow, xOff/bytesPerPixel, yOff,
1091 (xOff/bytesPerPixel)+mPreviewWidth, yOff+mPreviewHeight);
    [all...]

Completed in 524 milliseconds

1 2 3