Home
last modified time | relevance | path

Searched refs:getPixelFormat (Results 1 – 25 of 34) sorted by relevance

12

/frameworks/base/core/jni/android/graphics/
DGraphicBuffer.cpp194 ssize_t bytesCount = buffer->getStride() * bytesPerPixel(buffer->getPixelFormat()); in android_graphics_GraphicBuffer_lockCanvas()
198 convertPixelFormat(buffer->getPixelFormat()), in android_graphics_GraphicBuffer_lockCanvas()
286 buffer->getPixelFormat(), (jint)buffer->getUsage(), reinterpret_cast<jlong>(wrapper)); in createJavaGraphicBuffer()
/frameworks/native/opengl/tests/hwc/
DhwcTestLib.cpp619 if (gBuf->getPixelFormat() == HAL_PIXEL_FORMAT_YV12) { in hwcTestSetPixel()
640 if (attrib->format == gBuf->getPixelFormat()) { break; } in hwcTestSetPixel()
644 gBuf->getPixelFormat()); in hwcTestSetPixel()
659 pixel = hwcTestColor2Pixel(gBuf->getPixelFormat(), color, alpha); in hwcTestFillColor()
717 if (colorFormat != (uint32_t) gBuf->getPixelFormat()) { in hwcTestFillColorHBlend()
718 hwcTestColorConvert(colorFormat, gBuf->getPixelFormat(), color); in hwcTestFillColorHBlend()
720 pixel = hwcTestColor2Pixel(gBuf->getPixelFormat(), color, 1.0); in hwcTestFillColorHBlend()
/frameworks/base/libs/hwui/tests/common/scenes/
DHwBitmapInCompositeShader.cpp44 bytesPerPixel(buffer->getPixelFormat()) * buffer->getStride() * buffer->getHeight(); in createContent()
/frameworks/native/services/surfaceflinger/
DBufferLayer.h171 PixelFormat getPixelFormat() const override { return mFormat; } in getPixelFormat() function
DBufferLayerConsumer.cpp638 buffer->getPixelFormat()); in createIfNeeded()
DLayer.h705 virtual PixelFormat getPixelFormat() const { return PIXEL_FORMAT_NONE; } in getPixelFormat() function
/frameworks/native/services/surfaceflinger/DisplayHardware/
DVirtualDisplaySurface.cpp351 mProducerBuffers[pslot]->getPixelFormat(), in dequeueBuffer()
397 (format != 0 && format != buf->getPixelFormat()) || in dequeueBuffer()
405 buf->getPixelFormat(), buf->getUsage()); in dequeueBuffer()
DComposerHal.cpp531 .format = static_cast<types::V1_0::PixelFormat>(target->getPixelFormat()), in setClientTarget()
658 .format = static_cast<types::V1_0::PixelFormat>(buffer->getPixelFormat()), in setLayerBuffer()
/frameworks/native/libs/vr/libbufferhub/include/private/dvr/
Dion_buffer.h84 return buffer_.get() ? buffer_->getPixelFormat() : 0; in format()
/frameworks/base/media/jni/
Dandroid_media_ImageReader.cpp471 if (!isFormatOpaque(buffer->mGraphicBuffer->getPixelFormat())) { in Image_unlockIfLocked()
572 int bufferFormat = buffer->mGraphicBuffer->getPixelFormat(); in ImageReader_imageSetup()
698 buffer->mGraphicBuffer->getPixelFormat()); in Image_getLockedImage()
808 buffer->mGraphicBuffer->getPixelFormat(), readerHalFormat); in Image_getFormat()
Dandroid_media_ImageWriter.cpp658 if (!isFormatOpaque(buffer->getPixelFormat())) { in Image_unlockIfLocked()
710 buffer->getPixelFormat(), HAL_DATASPACE_UNKNOWN); in Image_getFormat()
753 buffer->getPixelFormat()); in Image_getLockedImage()
Dandroid_media_Utils.cpp864 if (isFormatOpaque(buffer->getPixelFormat())) { in lockImageFromBuffer()
872 int format = buffer->getPixelFormat(); in lockImageFromBuffer()
/frameworks/base/libs/hwui/hwui/
DBitmap.cpp137 PixelFormat format = graphicBuffer->getPixelFormat(); in createFrom()
202 bytesPerPixel(buffer->getPixelFormat()) * buffer->getStride()) in Bitmap()
/frameworks/base/core/jni/
Dandroid_hardware_HardwareBuffer.cpp132 buffer->getPixelFormat())); in android_hardware_HardwareBuffer_getFormat()
Dandroid_view_SurfaceControl.cpp185 buffer->getPixelFormat(), in nativeScreenshotToBuffer()
218 PixelFormat format = buffer->getPixelFormat(); in nativeScreenshotBitmap()
307 buffer->getPixelFormat(), in nativeCaptureLayers()
/frameworks/base/cmds/screencap/
Dscreencap.cpp220 f = outBuffer->getPixelFormat(); in main()
/frameworks/native/libs/ui/include/ui/
DGraphicBuffer.h146 PixelFormat getPixelFormat() const { return format; } in getPixelFormat() function
/frameworks/native/libs/ui/include_vndk/ui/
DGraphicBuffer.h146 PixelFormat getPixelFormat() const { return format; } in getPixelFormat() function
/frameworks/native/libs/gui/
DCpuConsumer.cpp93 PixelFormat format = item.mGraphicBuffer->getPixelFormat(); in lockBufferItem()
DGLConsumer.cpp823 switch (buf->getPixelFormat()) { in computeTransformMatrix()
1109 buffer->getUsage(), buffer->getPixelFormat()); in createIfNeeded()
/frameworks/av/media/libmedia/include/media/omx/1.0/
DConversion.h604 t->attr.format = static_cast<PixelFormat>(l.getPixelFormat()); in wrapAs()
709 l.mGraphicBuffer->getPixelFormat()); in wrapAs()
/frameworks/native/libs/nativewindow/
DAHardwareBuffer.cpp111 outDesc->format = AHardwareBuffer_convertFromPixelFormat(uint32_t(gbuffer->getPixelFormat())); in AHardwareBuffer_describe()
/frameworks/base/core/java/android/view/
DDisplay.java764 public int getPixelFormat() { in getPixelFormat() method in Display
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/1.0/
DConversion.h486 graphicBuffer->getPixelFormat()); in wrapAs()
/frameworks/av/media/ndk/
DNdkImageReader.cpp398 const int bufferFmt = buffer->mGraphicBuffer->getPixelFormat(); in acquireImageLocked()

12