HomeSort by relevance Sort by last modified time
    Searched refs:bytesPerPixel (Results 1 - 25 of 123) 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) {
  /hardware/ti/omap4-aah/camera/
CameraHalCommon.cpp 124 unsigned int bytesPerPixel;
128 bytesPerPixel = 2;
131 bytesPerPixel = 2;
133 bytesPerPixel = 1;
135 bytesPerPixel = 1;
138 return bytesPerPixel;
  /frameworks/native/include/ui/
PixelFormat.h 72 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/chromium_org/third_party/skia/include/core/
SkImageInfo.h 207 int bytesPerPixel() const {
212 return sk_64_mul(fWidth, this->bytesPerPixel());
233 return sk_64_mul(fHeight - 1, rowBytes) + fWidth * this->bytesPerPixel();
241 uint64_t rb = sk_64_mul(fWidth, this->bytesPerPixel());
SkBitmap.h 116 int bytesPerPixel() const { return fInfo.bytesPerPixel(); }
130 int shiftPerPixel() const { return this->bytesPerPixel() >> 1; }
    [all...]
  /external/skia/include/core/
SkImageInfo.h 207 int bytesPerPixel() const {
212 return sk_64_mul(fWidth, this->bytesPerPixel());
233 return sk_64_mul(fHeight - 1, rowBytes) + fWidth * this->bytesPerPixel();
241 uint64_t rb = sk_64_mul(fWidth, this->bytesPerPixel());
SkBitmap.h 116 int bytesPerPixel() const { return fInfo.bytesPerPixel(); }
130 int shiftPerPixel() const { return this->bytesPerPixel() >> 1; }
    [all...]
  /frameworks/base/libs/hwui/
TextureCache.cpp 294 uploadToTexture(resize, GL_ALPHA, bitmap->rowBytesAsPixels(), bitmap->bytesPerPixel(),
299 glPixelStorei(GL_UNPACK_ALIGNMENT, bitmap->bytesPerPixel());
300 uploadToTexture(resize, GL_RGB, bitmap->rowBytesAsPixels(), bitmap->bytesPerPixel(),
305 glPixelStorei(GL_UNPACK_ALIGNMENT, bitmap->bytesPerPixel());
306 uploadToTexture(resize, GL_RGBA, bitmap->rowBytesAsPixels(), bitmap->bytesPerPixel(),
314 glPixelStorei(GL_UNPACK_ALIGNMENT, bitmap->bytesPerPixel());
345 uploadToTexture(resize, GL_RGBA, rgbaBitmap.rowBytesAsPixels(), rgbaBitmap.bytesPerPixel(),
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 {
243 const GLsizei rowBytes = 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/platform/image-decoders/bmp/
BMPImageReader.h 192 inline uint32_t readCurrentPixel(int bytesPerPixel) const
194 const int offset = m_coord.x() * bytesPerPixel;
195 switch (bytesPerPixel) {
  /external/chromium_org/ui/ozone/platform/dri/
dri_buffer.cc 55 request.bpp = info.bytesPerPixel() << 3;
123 info.bytesPerPixel() << 3,
  /external/chromium_org/chrome/browser/chromeos/login/users/avatar/
user_image.cc 42 bitmap.width() * bitmap.bytesPerPixel(),
  /external/chromium_org/third_party/skia/src/core/
SkBitmap_scroll.cpp 26 int shift = this->bytesPerPixel() >> 1;
SkConfig8888.cpp 151 if (4 == srcInfo.bytesPerPixel() && 4 == dstInfo.bytesPerPixel()) {
183 rect_memcpy(dstPixels, dstRB, srcPixels, srcRB, width * srcInfo.bytesPerPixel(), height);
  /external/skia/src/core/
SkBitmap_scroll.cpp 26 int shift = this->bytesPerPixel() >> 1;
  /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/layers/
LayerDetailsView.js 144 const bytesPerPixel = 4;
145 this._memoryEstimateCell.textContent = Number.bytesToString(this._layer.invisible() ? 0 : this._layer.width() * this._layer.height() * bytesPerPixel);
  /frameworks/base/cmds/screencap/
screencap.cpp 180 b.installPixels(info, const_cast<void*>(base), s*bytesPerPixel(f));
191 size_t Bpp = bytesPerPixel(f);
  /external/chromium_org/third_party/skia/src/gpu/
GrTextStrike.cpp 298 int bytesPerPixel = GrMaskFormatBytesPerPixel(fMaskFormat);
300 size_t size = glyph->fBounds.area() * bytesPerPixel;
311 glyph->width() * bytesPerPixel,
  /external/skia/src/gpu/
GrTextStrike.cpp 298 int bytesPerPixel = GrMaskFormatBytesPerPixel(fMaskFormat);
300 size_t size = glyph->fBounds.area() * bytesPerPixel;
311 glyph->width() * bytesPerPixel,

Completed in 645 milliseconds

1 2 3 4 5