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

1 2 3 4 5

  /external/chromium_org/skia/ext/
bitmap_platform_device.h 30 int bytesPerPixel = 4;
31 int64_t bytes = (int64_t)width * height * bytesPerPixel;
  /frameworks/base/graphics/java/android/graphics/
PixelFormat.java 89 info.bytesPerPixel = 4;
93 info.bytesPerPixel = 3;
100 info.bytesPerPixel = 2;
106 info.bytesPerPixel = 1;
111 info.bytesPerPixel = 1;
115 info.bytesPerPixel = 1;
136 public int bytesPerPixel;
  /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...]
  /frameworks/native/libs/ui/
PixelFormat.cpp 24 ssize_t bytesPerPixel(PixelFormat format) {
  /frameworks/native/include/ui/
PixelFormat.h 70 ssize_t bytesPerPixel(PixelFormat format);
  /external/qemu/distrib/sdl-1.2.15/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;
  /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];
  /external/chromium_org/chrome/browser/thumbnails/
content_analysis.cc 261 0, input_bitmap->bytesPerPixel(),
266 0, intermediate.bytesPerPixel(), false);
270 0, intermediate.bytesPerPixel(),
275 0, input_bitmap->bytesPerPixel(), false);
282 0, input_bitmap->bytesPerPixel(),
287 0, intermediate.bytesPerPixel(), true);
291 0, input_bitmap->bytesPerPixel(),
296 0, intermediate2.bytesPerPixel(), true);
304 0, input_bitmap->bytesPerPixel(),
309 0, intermediate.bytesPerPixel(), false)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/platform/image-decoders/bmp/
BMPImageReader.h 197 inline uint32_t readCurrentPixel(int bytesPerPixel) const
199 const int offset = m_coord.x() * bytesPerPixel;
200 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];
  /external/chromium_org/cc/resources/
caching_bitmap_content_layer_updater.cc 49 DCHECK_GT(new_bitmap.bytesPerPixel(), 0);
  /external/chromium_org/chrome/browser/chromeos/login/
user_image.cc 43 bitmap.width() * bitmap.bytesPerPixel(),
  /frameworks/native/services/surfaceflinger/tests/resize/
resize.cpp 52 ssize_t bpr = outBuffer.stride * bytesPerPixel(outBuffer.format);
  /external/chromium_org/third_party/skia/src/images/
SkImageRefPool.cpp 35 ref->fBitmap.bytesPerPixel(),
71 ref->fBitmap.bytesPerPixel(),
  /external/skia/src/images/
SkImageRefPool.cpp 35 ref->fBitmap.bytesPerPixel(),
71 ref->fBitmap.bytesPerPixel(),
  /frameworks/base/cmds/screencap/
screencap.cpp 178 b.setConfig(flinger2skia(f), w, h, s*bytesPerPixel(f));
190 size_t Bpp = bytesPerPixel(f);
  /frameworks/base/libs/hwui/
GradientCache.cpp 120 const uint32_t size = texture->width * texture->height * bytesPerPixel();
183 const uint32_t size = texture->width * texture->height * bytesPerPixel();
196 size_t GradientCache::bytesPerPixel() const {
244 const GLsizei rowBytes = width * bytesPerPixel();
  /cts/tests/tests/hardware/src/android/hardware/camera2/cts/
CameraTestUtils.java 200 int bytesPerPixel = ImageFormat.getBitsPerPixel(format) / 8;
201 if (pixelStride == bytesPerPixel) {
203 int length = w * bytesPerPixel;
  /external/chromium_org/third_party/skia/src/gpu/
GrTextStrike.cpp 240 int bytesPerPixel = GrMaskFormatBytesPerPixel(fMaskFormat);
241 size_t size = glyph->fBounds.area() * bytesPerPixel;
245 glyph->width() * bytesPerPixel,
  /external/skia/src/gpu/
GrTextStrike.cpp 240 int bytesPerPixel = GrMaskFormatBytesPerPixel(fMaskFormat);
241 size_t size = glyph->fBounds.area() * bytesPerPixel;
245 glyph->width() * bytesPerPixel,

Completed in 361 milliseconds

1 2 3 4 5