HomeSort by relevance Sort by last modified time
    Searched refs:bytesPerPixel (Results 1 - 25 of 107) 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) {
  /external/chromium_org/third_party/skia/include/core/
SkImageInfo.h 116 int bytesPerPixel() const {
121 return fWidth * this->bytesPerPixel();
138 return (fHeight - 1) * rowBytes + fWidth * this->bytesPerPixel();
  /external/skia/include/core/
SkImageInfo.h 116 int bytesPerPixel() const {
121 return fWidth * this->bytesPerPixel();
138 return (fHeight - 1) * rowBytes + fWidth * this->bytesPerPixel();
  /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/skia/src/gpu/
GrTextStrike.cpp 300 int bytesPerPixel = GrMaskFormatBytesPerPixel(fMaskFormat);
305 SkASSERT(1 == bytesPerPixel);
313 size_t stride = width*bytesPerPixel;
315 size_t size = width * height * bytesPerPixel;
322 size_t dfSize = dfWidth * dfHeight * bytesPerPixel;
330 size_t dfStride = dfWidth*bytesPerPixel;
332 dfPtr += DISTANCE_FIELD_PAD*bytesPerPixel;
397 size_t size = glyph->fBounds.area() * bytesPerPixel;
401 glyph->width() * bytesPerPixel,
  /external/skia/src/gpu/
GrTextStrike.cpp 300 int bytesPerPixel = GrMaskFormatBytesPerPixel(fMaskFormat);
305 SkASSERT(1 == bytesPerPixel);
313 size_t stride = width*bytesPerPixel;
315 size_t size = width * height * bytesPerPixel;
322 size_t dfSize = dfWidth * dfHeight * bytesPerPixel;
330 size_t dfStride = dfWidth*bytesPerPixel;
332 dfPtr += DISTANCE_FIELD_PAD*bytesPerPixel;
397 size_t size = glyph->fBounds.area() * bytesPerPixel;
401 glyph->width() * bytesPerPixel,
  /external/chromium_org/third_party/WebKit/Source/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) {
  /pdk/apps/CameraITS/service/src/com/android/camera2/its/
ItsUtils.java 133 int bytesPerPixel = ImageFormat.getBitsPerPixel(format) / 8;
134 if (pixelStride == bytesPerPixel) {
136 int length = w * 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/WebKit/Source/devtools/front_end/
LayerDetailsView.js 131 const bytesPerPixel = 4;
132 this._memoryEstimateCell.textContent = Number.bytesToString(this._layer.invisible() ? 0 : this._layer.width() * this._layer.height() * bytesPerPixel);
  /external/chromium_org/third_party/skia/src/images/
SkImageRefPool.cpp 35 ref->fBitmap.bytesPerPixel(),
71 ref->fBitmap.bytesPerPixel(),

Completed in 1294 milliseconds

1 2 3 4 5