/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 | 228 int bytesPerPixel() const { 233 return sk_64_mul(fWidth, this->bytesPerPixel()); 254 return sk_64_mul(fHeight - 1, rowBytes) + fWidth * this->bytesPerPixel(); 262 uint64_t rb = sk_64_mul(fWidth, this->bytesPerPixel());
|
SkBitmap.h | 90 int bytesPerPixel() const { return fInfo.bytesPerPixel(); } 104 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...] |
/external/chromium_org/chrome/browser/thumbnails/ |
content_analysis.cc | 258 0, input_bitmap->bytesPerPixel(), 263 0, intermediate.bytesPerPixel(), false); 267 0, intermediate.bytesPerPixel(), 272 0, input_bitmap->bytesPerPixel(), false); 279 0, input_bitmap->bytesPerPixel(), 284 0, intermediate.bytesPerPixel(), true); 288 0, input_bitmap->bytesPerPixel(), 293 0, intermediate2.bytesPerPixel(), true); 301 0, input_bitmap->bytesPerPixel(), 306 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/components/user_manager/user_image/ |
user_image.cc | 31 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);
|
/frameworks/base/libs/hwui/ |
TextureCache.cpp | 305 uploadToTexture(resize, GL_ALPHA, bitmap->rowBytesAsPixels(), bitmap->bytesPerPixel(), 310 glPixelStorei(GL_UNPACK_ALIGNMENT, bitmap->bytesPerPixel()); 311 uploadToTexture(resize, GL_RGB, bitmap->rowBytesAsPixels(), bitmap->bytesPerPixel(), 316 glPixelStorei(GL_UNPACK_ALIGNMENT, bitmap->bytesPerPixel()); 317 uploadToTexture(resize, GL_RGBA, bitmap->rowBytesAsPixels(), bitmap->bytesPerPixel(), 325 glPixelStorei(GL_UNPACK_ALIGNMENT, bitmap->bytesPerPixel()); 356 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/third_party/WebKit/Source/devtools/front_end/layers/ |
LayerDetailsView.js | 145 const bytesPerPixel = 4; 146 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/ui/ozone/platform/dri/ |
dri_buffer.cc | 65 info.bytesPerPixel() << 3,
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
ItsUtils.java | 156 int bytesPerPixel = ImageFormat.getBitsPerPixel(format) / 8; 164 if (pixelStride == bytesPerPixel) { 166 int length = w * bytesPerPixel;
|
/external/skia/src/gpu/ |
GrTextStrike.cpp | 298 int bytesPerPixel = GrMaskFormatBytesPerPixel(fMaskFormat); 300 size_t size = glyph->fBounds.area() * bytesPerPixel; 311 glyph->width() * bytesPerPixel,
|