/frameworks/base/graphics/java/android/graphics/ |
H A D | PixelFormat.java | 100 public int bytesPerPixel; field in class:PixelFormat 109 info.bytesPerPixel = 4; 113 info.bytesPerPixel = 3; 120 info.bytesPerPixel = 2; 126 info.bytesPerPixel = 1; 131 info.bytesPerPixel = 1; 135 info.bytesPerPixel = 1; 139 info.bytesPerPixel = 8;
|
/frameworks/native/libs/ui/ |
H A D | PixelFormat.cpp | 23 uint32_t bytesPerPixel(PixelFormat format) { function in namespace:android
|
H A D | GraphicBufferAllocator.cpp | 122 uint32_t bpp = bytesPerPixel(format);
|
/frameworks/native/include/ui/ |
H A D | PixelFormat.h | 69 uint32_t bytesPerPixel(PixelFormat format);
|
/frameworks/native/libs/ui/include/ui/ |
H A D | PixelFormat.h | 69 uint32_t bytesPerPixel(PixelFormat format);
|
/frameworks/native/libs/ui/include_vndk/ui/ |
H A D | PixelFormat.h | 69 uint32_t bytesPerPixel(PixelFormat format);
|
/frameworks/av/media/ndk/ |
H A D | NdkImage.cpp | 439 int bytesPerPixel = 0; local 498 bytesPerPixel = 2; 502 mLockedBuffer->stride * mLockedBuffer->height * bytesPerPixel; 517 bytesPerPixel = 2; 520 mLockedBuffer->stride * mLockedBuffer->height * bytesPerPixel; 571 bytesPerPixel = 4; 574 mLockedBuffer->stride * mLockedBuffer->height * bytesPerPixel; 578 bytesPerPixel = 2; 581 mLockedBuffer->stride * mLockedBuffer->height * bytesPerPixel; 585 bytesPerPixel [all...] |
/frameworks/base/media/jni/ |
H A D | android_media_Utils.cpp | 663 int bytesPerPixel = 0; local 740 bytesPerPixel = 2; 745 dataSize = buffer->stride * buffer->height * bytesPerPixel; 746 pStride = bytesPerPixel; 769 bytesPerPixel = 2; 772 dataSize = buffer->stride * buffer->height * bytesPerPixel; 773 pStride = bytesPerPixel; 819 bytesPerPixel = 4; 822 dataSize = buffer->stride * buffer->height * bytesPerPixel; 823 pStride = bytesPerPixel; [all...] |
/frameworks/base/libs/hwui/tests/common/scenes/ |
H A D | HwBitmapInCompositeShader.cpp | 44 bytesPerPixel(buffer->getPixelFormat()) * buffer->getStride() * buffer->getHeight();
|
/frameworks/base/cmds/screencap/ |
H A D | screencap.cpp | 222 size = s * h * bytesPerPixel(f); 227 SkPixmap pixmap(info, base, s * bytesPerPixel(f)); 248 size_t Bpp = bytesPerPixel(f);
|
/frameworks/base/libs/hwui/ |
H A D | GradientCache.cpp | 157 const uint32_t size = info.width * 2 * bytesPerPixel(); 171 " width = %" PRIu32 " bytesPerPixel() = %zu", 172 size, texture->objectSize(), info.width, bytesPerPixel()); 178 size_t GradientCache::bytesPerPixel() const { function in class:android::uirenderer::GradientCache
|
H A D | Texture.cpp | 33 static int bytesPerPixel(GLint glFormat) { function in namespace:android::uirenderer 106 notifySizeChanged(mWidth * mHeight * bytesPerPixel(internalFormat)); 358 rgbaBitmap.bytesPerPixel(), rgbaBitmap.width(), rgbaBitmap.height(), 364 bitmap.info().bytesPerPixel(), bitmap.width(), bitmap.height(),
|
H A D | GradientCache.h | 150 size_t bytesPerPixel() const;
|
H A D | OpenGLReadback.cpp | 183 glPixelStorei(GL_PACK_ALIGNMENT, bitmap->bytesPerPixel());
|
/frameworks/native/libs/gui/tests/ |
H A D | CpuConsumer_test.cpp | 206 const int bytesPerPixel = 4; local 208 bPtr += (y * buf.stride + x) * bytesPerPixel; 260 const int bytesPerPixel = 4; local 272 buf[(y*stride + x)*bytesPerPixel + 0] = r; 273 buf[(y*stride + x)*bytesPerPixel + 1] = g; 274 buf[(y*stride + x)*bytesPerPixel + 2] = b; 275 buf[(y*stride + x)*bytesPerPixel + 3] = 255;
|
/frameworks/base/core/jni/ |
H A D | android_view_TextureView.cpp | 160 ssize_t bytesCount = buffer.stride * bytesPerPixel(buffer.format);
|
H A D | android_hardware_camera2_DngCreator.cpp | 2238 uint32_t bytesPerPixel = SAMPLES_PER_RGB_PIXEL * BYTES_PER_RGB_SAMPLE; local 2241 thumbWidth, context->getThumbnailHeight(), bytesPerPixel, 2242 bytesPerPixel * thumbWidth, /*offset*/0, BYTES_PER_RGB_SAMPLE, 2344 uint32_t bytesPerPixel = SAMPLES_PER_RGB_PIXEL * BYTES_PER_RGB_SAMPLE; local 2347 width, context->getThumbnailHeight(), bytesPerPixel, 2348 bytesPerPixel * width, /*offset*/0, BYTES_PER_RGB_SAMPLE,
|
H A D | android_view_Surface.cpp | 339 ssize_t bpr = outBuffer.stride * bytesPerPixel(outBuffer.format);
|
/frameworks/base/core/jni/android/graphics/ |
H A D | BitmapFactory.cpp | 107 const int bytesPerPixel = SkColorTypeBytesPerPixel(bitmap->colorType()); local 108 const int requestedSize = bytesPerPixel *
|
H A D | GraphicBuffer.cpp | 194 ssize_t bytesCount = buffer->getStride() * bytesPerPixel(buffer->getPixelFormat());
|
H A D | Bitmap.cpp | 1498 const size_t size = bm0.width() * bm0.bytesPerPixel();
|
/frameworks/base/libs/hwui/hwui/ |
H A D | Bitmap.cpp | 202 bytesPerPixel(buffer->getPixelFormat()) * buffer->getStride())
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
H A D | CameraTestUtils.java | 861 int bytesPerPixel = ImageFormat.getBitsPerPixel(format) / 8; 863 if (pixelStride == bytesPerPixel) { 865 length = w * bytesPerPixel; 872 length = (w - 1) * pixelStride + bytesPerPixel;
|
/frameworks/base/libs/input/ |
H A D | SpriteController.cpp | 200 ssize_t bpr = outBuffer.stride * bytesPerPixel(outBuffer.format);
|
/frameworks/native/libs/gui/ |
H A D | Surface.cpp | 1629 const size_t bpp = bytesPerPixel(src->format);
|