Searched defs:bytesPerPixel (Results 1 - 9 of 9) sorted by relevance
/frameworks/native/libs/ui/ |
H A D | PixelFormat.cpp | 23 uint32_t bytesPerPixel(PixelFormat format) { function in namespace:android
|
/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/base/libs/hwui/ |
H A D | GradientCache.cpp | 158 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 109 notifySizeChanged(mWidth * mHeight * bytesPerPixel(internalFormat)); 361 rgbaBitmap.bytesPerPixel(), rgbaBitmap.width(), 367 bitmap.info().bytesPerPixel(), bitmap.width(), bitmap.height(), bitmap.pixels());
|
/frameworks/av/media/ndk/ |
H A D | NdkImage.cpp | 438 int bytesPerPixel = 0; local 497 bytesPerPixel = 2; 501 mLockedBuffer->stride * mLockedBuffer->height * bytesPerPixel; 516 bytesPerPixel = 2; 519 mLockedBuffer->stride * mLockedBuffer->height * bytesPerPixel; 570 bytesPerPixel = 4; 573 mLockedBuffer->stride * mLockedBuffer->height * bytesPerPixel; 577 bytesPerPixel = 2; 580 mLockedBuffer->stride * mLockedBuffer->height * bytesPerPixel; 584 bytesPerPixel [all...] |
/frameworks/native/libs/gui/tests/ |
H A D | CpuConsumer_test.cpp | 204 const int bytesPerPixel = 4; local 206 bPtr += (y * buf.stride + x) * bytesPerPixel; 258 const int bytesPerPixel = 4; local 270 buf[(y*stride + x)*bytesPerPixel + 0] = r; 271 buf[(y*stride + x)*bytesPerPixel + 1] = g; 272 buf[(y*stride + x)*bytesPerPixel + 2] = b; 273 buf[(y*stride + x)*bytesPerPixel + 3] = 255;
|
/frameworks/base/core/jni/android/graphics/ |
H A D | BitmapFactory.cpp | 152 const int bytesPerPixel = SkColorTypeBytesPerPixel( local 154 const int requestedSize = bytesPerPixel *
|
/frameworks/base/media/jni/ |
H A D | android_media_Utils.cpp | 662 int bytesPerPixel = 0; local 739 bytesPerPixel = 2; 744 dataSize = buffer->stride * buffer->height * bytesPerPixel; 745 pStride = bytesPerPixel; 768 bytesPerPixel = 2; 771 dataSize = buffer->stride * buffer->height * bytesPerPixel; 772 pStride = bytesPerPixel; 818 bytesPerPixel = 4; 821 dataSize = buffer->stride * buffer->height * bytesPerPixel; 822 pStride = bytesPerPixel; [all...] |
/frameworks/base/core/jni/ |
H A D | android_hardware_camera2_DngCreator.cpp | 2185 uint32_t bytesPerPixel = SAMPLES_PER_RGB_PIXEL * BYTES_PER_RGB_SAMPLE; local 2188 thumbWidth, context->getThumbnailHeight(), bytesPerPixel, 2189 bytesPerPixel * thumbWidth, /*offset*/0, BYTES_PER_RGB_SAMPLE, 2291 uint32_t bytesPerPixel = SAMPLES_PER_RGB_PIXEL * BYTES_PER_RGB_SAMPLE; local 2294 width, context->getThumbnailHeight(), bytesPerPixel, 2295 bytesPerPixel * width, /*offset*/0, BYTES_PER_RGB_SAMPLE,
|
Completed in 196 milliseconds