Home
last modified time | relevance | path

Searched refs:bufferFormat (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/media/jni/
Dandroid_media_ImageReader.cpp562 int bufferFormat = buffer->mGraphicBuffer->getPixelFormat(); in ImageReader_imageSetup() local
563 if ((bufferFormat != HAL_PIXEL_FORMAT_BLOB) && (imgReaderFmt != HAL_PIXEL_FORMAT_BLOB) && in ImageReader_imageSetup()
568 if (imgReaderFmt != bufferFormat) { in ImageReader_imageSetup()
570 isPossiblyYUV(bufferFormat)) { in ImageReader_imageSetup()
574 __FUNCTION__, bufferFormat); in ImageReader_imageSetup()
576 bufferFormat == HAL_PIXEL_FORMAT_RGBA_8888) { in ImageReader_imageSetup()
588 bufferFormat, ctx->getBufferFormat()); in ImageReader_imageSetup()
592 bufferFormat, ctx->getBufferFormat()); in ImageReader_imageSetup()
/frameworks/base/libs/hwui/apex/
Dandroid_canvas.cpp59 bool ACanvas_isSupportedPixelFormat(int32_t bufferFormat) { in ACanvas_isSupportedPixelFormat() argument
61 ANativeWindow_Buffer buffer { 1, 1, 1, bufferFormat, pixels, {0} }; in ACanvas_isSupportedPixelFormat()
/frameworks/base/libs/hwui/apex/include/android/graphics/
Dcanvas.h34 ANDROID_API bool ACanvas_isSupportedPixelFormat(int32_t bufferFormat);