Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/hardware/display/
DDisplayedContentSamplingAttributes.java46 public int getPixelFormat() { in getPixelFormat() method in DisplayedContentSamplingAttributes
/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()
285 buffer->getPixelFormat(), (jint)buffer->getUsage(), reinterpret_cast<jlong>(wrapper)); in createJavaGraphicBuffer()
/frameworks/native/libs/ui/tests/
DGraphicBuffer_test.cpp66 EXPECT_EQ(static_cast<uint32_t>(gb->getPixelFormat()), kTestFormat); in TEST_F()
131 EXPECT_EQ(static_cast<uint32_t>(gb2->getPixelFormat()), kTestFormat); in TEST_F()
/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/native/libs/gui/
DGLConsumerUtils.cpp73 switch (buf->getPixelFormat()) { in computeTransformMatrix()
DCpuConsumer.cpp93 PixelFormat format = item.mGraphicBuffer->getPixelFormat(); in lockBufferItem()
/frameworks/base/libs/hwui/surfacetexture/
DImageConsumer.cpp99 buffer->getPixelFormat(), in AutoBackendTextureRelease()
146 graphicBuffer->getPixelFormat()); in makeImage()
DSurfaceTexture.cpp318 switch (buf->getPixelFormat()) { in computeTransformMatrix()
/frameworks/base/libs/hwui/tests/common/scenes/
DHwBitmapInCompositeShader.cpp44 bytesPerPixel(buffer->getPixelFormat()) * buffer->getStride() * buffer->getHeight(); in createContent()
/frameworks/base/media/jni/
Dandroid_media_ImageReader.cpp461 if (!isFormatOpaque(buffer->mGraphicBuffer->getPixelFormat())) { in Image_unlockIfLocked()
562 int bufferFormat = buffer->mGraphicBuffer->getPixelFormat(); in ImageReader_imageSetup()
692 buffer->mGraphicBuffer->getPixelFormat()); in Image_getLockedImage()
802 buffer->mGraphicBuffer->getPixelFormat(), readerHalFormat); in Image_getFormat()
Dandroid_media_Utils.cpp335 if (isFormatOpaque(buffer->getPixelFormat())) { in lockImageFromBuffer()
343 int format = buffer->getPixelFormat(); in lockImageFromBuffer()
Dandroid_media_ImageWriter.cpp792 if (!isFormatOpaque(buffer->getPixelFormat())) { in Image_unlockIfLocked()
844 buffer->getPixelFormat(), HAL_DATASPACE_UNKNOWN); in Image_getFormat()
887 buffer->getPixelFormat()); in Image_getLockedImage()
/frameworks/native/libs/vr/libbufferhub/include/private/dvr/
Dion_buffer.h84 return buffer_.get() ? buffer_->getPixelFormat() : 0; in format()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DVirtualDisplaySurface.cpp359 mProducerBuffers[pslot]->getPixelFormat(), in dequeueBuffer()
405 (format != 0 && format != buf->getPixelFormat()) || in dequeueBuffer()
413 buf->getPixelFormat(), buf->getUsage()); in dequeueBuffer()
/frameworks/native/services/surfaceflinger/
DBufferLayer.cpp97 return ((s.flags & layer_state_t::eLayerOpaque) != 0) || getOpacityForFormat(getPixelFormat()); in isOpaque()
253 getPixelFormat() == HAL_PIXEL_FORMAT_RGBA_1010102); in isHdrY410()
256 PixelFormat BufferLayer::getPixelFormat() const { in getPixelFormat() function in android::BufferLayer
DBufferLayer.h194 PixelFormat getPixelFormat() const;
/frameworks/base/cmds/screencap/
Dscreencap.cpp231 f = outBuffer->getPixelFormat(); in main()
/frameworks/base/core/jni/
Dandroid_hardware_HardwareBuffer.cpp154 buffer->getPixelFormat())); in android_hardware_HardwareBuffer_getFormat()
/frameworks/native/libs/nativewindow/
DAHardwareBuffer.cpp89 outDesc->format = AHardwareBuffer_convertFromPixelFormat(uint32_t(gbuffer->getPixelFormat())); in AHardwareBuffer_describe()
202 int format = AHardwareBuffer_convertFromPixelFormat(uint32_t(gBuffer->getPixelFormat())); in AHardwareBuffer_lockPlanes()
/frameworks/native/libs/ui/include_vndk/ui/
DGraphicBuffer.h162 PixelFormat getPixelFormat() const { return format; } in getPixelFormat() function
/frameworks/native/libs/ui/include/ui/
DGraphicBuffer.h162 PixelFormat getPixelFormat() const { return format; } in getPixelFormat() function
/frameworks/av/media/libmedia/include/media/omx/1.0/
DConversion.h609 t->attr.format = static_cast<PixelFormat>(l.getPixelFormat()); in wrapAs()
724 l.mGraphicBuffer->getPixelFormat()); in wrapAs()
/frameworks/av/media/codec2/hidl/1.0/utils/
DClientBlockHelper.cpp123 << ", format 0x" << std::setw(8) << graphicBuffer->getPixelFormat() in attachToBufferQueue()
/frameworks/base/libs/hwui/hwui/
DBitmap.cpp219 …bytesPerPixel(buffer->getPixelFormat()) * (buffer->getStride() > 0 ? buffer->getStride() : buffer-… in Bitmap()
/frameworks/base/services/core/java/com/android/server/display/
DBrightnessTracker.java781 + " pixelFormat=0x" + Integer.toHexString(attributes.getPixelFormat())); in enableColorSampling()
784 if (attributes != null && attributes.getPixelFormat() == PixelFormat.HSV_888 in enableColorSampling()

12