Searched refs:bufferFormat (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/libs/hwui/ |
D | HardwareBitmapUploader.cpp | 55 AHardwareBuffer_Format bufferFormat; member 334 formatInfo.bufferFormat = AHARDWAREBUFFER_FORMAT_R8G8B8A8_UNORM; in determineFormat() 343 formatInfo.bufferFormat = AHARDWAREBUFFER_FORMAT_R16G16B16A16_FLOAT; in determineFormat() 347 formatInfo.bufferFormat = AHARDWAREBUFFER_FORMAT_R8G8B8A8_UNORM; in determineFormat() 354 formatInfo.bufferFormat = AHARDWAREBUFFER_FORMAT_R5G6B5_UNORM; in determineFormat() 361 formatInfo.bufferFormat = AHARDWAREBUFFER_FORMAT_R8G8B8A8_UNORM; in determineFormat() 370 formatInfo.bufferFormat = AHARDWAREBUFFER_FORMAT_R10G10B10A2_UNORM; in determineFormat() 374 formatInfo.bufferFormat = AHARDWAREBUFFER_FORMAT_R8G8B8A8_UNORM; in determineFormat() 382 formatInfo.bufferFormat = AHARDWAREBUFFER_FORMAT_R8_UNORM; in determineFormat() 388 formatInfo.bufferFormat = AHARDWAREBUFFER_FORMAT_R8G8B8A8_UNORM; in determineFormat() [all …]
|
/frameworks/base/media/jni/ |
D | android_media_ImageReader.cpp | 585 int bufferFormat = buffer->mGraphicBuffer->getPixelFormat(); in ImageReader_imageSetup() local 586 if ((bufferFormat != HAL_PIXEL_FORMAT_BLOB) && (imgReaderHalFmt != HAL_PIXEL_FORMAT_BLOB) && in ImageReader_imageSetup() 591 if (imgReaderHalFmt != bufferFormat) { in ImageReader_imageSetup() 593 isPossiblyYUV(bufferFormat)) { in ImageReader_imageSetup() 597 __FUNCTION__, bufferFormat); in ImageReader_imageSetup() 599 isPossibly10BitYUV(bufferFormat)) { in ImageReader_imageSetup() 603 __FUNCTION__, bufferFormat); in ImageReader_imageSetup() 605 bufferFormat == HAL_PIXEL_FORMAT_RGBA_8888) { in ImageReader_imageSetup() 617 bufferFormat, ctx->getBufferFormat()); in ImageReader_imageSetup() 621 bufferFormat, ctx->getBufferFormat()); in ImageReader_imageSetup()
|
/frameworks/base/libs/hwui/apex/ |
D | android_canvas.cpp | 61 bool ACanvas_isSupportedPixelFormat(int32_t bufferFormat) { in ACanvas_isSupportedPixelFormat() argument 63 ANativeWindow_Buffer buffer { 1, 1, 1, bufferFormat, pixels, {0} }; in ACanvas_isSupportedPixelFormat()
|
/frameworks/base/libs/hwui/renderthread/ |
D | VulkanSurface.cpp | 215 outWindowInfo->bufferFormat = ColorTypeToBufferFormat(colorType); in InitializeWindowInfoStruct() 296 int err = native_window_set_buffers_format(window, windowInfo.bufferFormat); in UpdateWindow() 299 windowInfo.bufferFormat, strerror(-err), err); in UpdateWindow() 554 mWindowInfo.colorspace.get(), BufferFormatToColorType(mWindowInfo.bufferFormat)); in setColorSpace() 557 mWindowInfo.bufferFormat != AHARDWAREBUFFER_FORMAT_R8_UNORM, in setColorSpace()
|
D | VulkanSurface.h | 97 uint32_t bufferFormat; member
|
/frameworks/base/libs/hwui/apex/include/android/graphics/ |
D | canvas.h | 34 ANDROID_API bool ACanvas_isSupportedPixelFormat(int32_t bufferFormat);
|
/frameworks/base/libs/hwui/utils/ |
D | Color.h | 102 SkColorType BufferFormatToColorType(uint32_t bufferFormat);
|