/aosp12/frameworks/native/services/surfaceflinger/tests/utils/ |
H A D | ScreenshotUtils.h | 89 ASSERT_EQ(HAL_PIXEL_FORMAT_RGBA_8888, mOutBuffer->getPixelFormat()); 95 ASSERT_EQ(HAL_PIXEL_FORMAT_RGBA_8888, mOutBuffer->getPixelFormat()); 153 ASSERT_EQ(HAL_PIXEL_FORMAT_RGBA_8888, mOutBuffer->getPixelFormat()); in checkPixel() 164 if (!mOutBuffer || mOutBuffer->getPixelFormat() != HAL_PIXEL_FORMAT_RGBA_8888) { in getPixelColor()
|
/aosp12/frameworks/base/cmds/screencap/ |
H A D | screencap.cpp | 215 info.format = flinger2bitmapFormat(buffer->getPixelFormat()); in main() 219 info.stride = buffer->getStride() * bytesPerPixel(buffer->getPixelFormat()); in main() 240 uint32_t f = buffer->getPixelFormat(); in main()
|
/aosp12/frameworks/native/services/surfaceflinger/tests/ |
H A D | LayerState_test.cpp | 110 ASSERT_EQ(results.buffer->getPixelFormat(), results2.buffer->getPixelFormat()); in TEST()
|
/aosp12/frameworks/native/opengl/tests/hwc/ |
H A D | hwcTestLib.cpp | 619 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()
|
/aosp12/frameworks/base/core/java/android/hardware/display/ |
H A D | DisplayedContentSamplingAttributes.java | 46 public int getPixelFormat() { in getPixelFormat() method in DisplayedContentSamplingAttributes
|
/aosp12/frameworks/base/core/jni/ |
H A D | android_hardware_HardwareBuffer.cpp | 154 buffer->getPixelFormat())); in android_hardware_HardwareBuffer_getFormat() 172 uint32_t bpp = bytesPerPixel(buffer->getPixelFormat()); in android_hardware_HardwareBuffer_estimateSize()
|
H A D | android_graphics_GraphicBuffer.cpp | 170 nativeBuffer.format = AHardwareBuffer_convertFromPixelFormat(buffer->getPixelFormat()); in android_graphics_GraphicBuffer_lockCanvas() 251 buffer->getPixelFormat(), (jint)buffer->getUsage(), reinterpret_cast<jlong>(wrapper)); in android_graphics_GraphicBuffer_createFromAHardwareBuffer()
|
/aosp12/frameworks/base/libs/hostgraphics/ui/ |
H A D | GraphicBuffer.h | 41 PixelFormat getPixelFormat() const { return PIXEL_FORMAT_RGBA_8888; } in getPixelFormat() function
|
/aosp12/frameworks/native/libs/gui/ |
H A D | GLConsumerUtils.cpp | 73 switch (buf->getPixelFormat()) { in computeTransformMatrix()
|
H A D | CpuConsumer.cpp | 93 PixelFormat format = item.mGraphicBuffer->getPixelFormat(); in lockBufferItem()
|
/aosp12/frameworks/base/libs/hwui/tests/common/scenes/ |
H A D | HwBitmapInCompositeShader.cpp | 44 bytesPerPixel(buffer->getPixelFormat()) * buffer->getStride() * buffer->getHeight(); in createContent()
|
/aosp12/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
H A D | TaskSnapshotControllerTest.java | 168 assertEquals(pixelFormat, builder.getPixelFormat()); in testSnapshotBuilder() 255 assertNotEquals(PixelFormat.UNKNOWN, builder.getPixelFormat()); in testPrepareTaskSnapshot()
|
/aosp12/frameworks/native/services/surfaceflinger/DisplayHardware/ |
H A D | VirtualDisplaySurface.cpp | 368 mProducerBuffers[pslot]->getPixelFormat(), in dequeueBuffer() 417 (format != 0 && format != buf->getPixelFormat()) || in dequeueBuffer() 425 buf->getPixelFormat(), buf->getUsage()); in dequeueBuffer()
|
/aosp12/frameworks/base/media/jni/ |
H A D | android_media_ImageReader.cpp | 478 if (!isFormatOpaque(buffer->mGraphicBuffer->getPixelFormat())) { in Image_unlockIfLocked() 579 int bufferFormat = buffer->mGraphicBuffer->getPixelFormat(); in ImageReader_imageSetup() 718 buffer->mGraphicBuffer->getPixelFormat()); in Image_getLockedImage() 923 buffer->mGraphicBuffer->getPixelFormat(), readerHalFormat); in Image_getFormat()
|
H A D | android_media_Utils.cpp | 425 if (isFormatOpaque(buffer->getPixelFormat())) { in lockImageFromBuffer() 433 int format = buffer->getPixelFormat(); in lockImageFromBuffer()
|
H A D | android_media_ImageWriter.cpp | 885 if (!isFormatOpaque(buffer->getPixelFormat())) { in Image_unlockIfLocked() 937 PublicFormat publicFmt = mapHalFormatDataspaceToPublicFormat(buffer->getPixelFormat(), in Image_getFormat() 981 buffer->getPixelFormat()); in Image_getLockedImage()
|
/aosp12/frameworks/native/libs/vr/libbufferhub/include/private/dvr/ |
H A D | ion_buffer.h | 84 return buffer_.get() ? buffer_->getPixelFormat() : 0; in format()
|
/aosp12/frameworks/native/services/surfaceflinger/ |
H A D | BufferLayer.h | 220 PixelFormat getPixelFormat() const;
|
H A D | BufferLayer.cpp | 111 return ((s.flags & layer_state_t::eLayerOpaque) != 0) || getOpacityForFormat(getPixelFormat()); in isOpaque() 730 PixelFormat BufferLayer::getPixelFormat() const { in getPixelFormat() function in android::BufferLayer
|
/aosp12/frameworks/av/media/libstagefright/ |
H A D | FrameCaptureLayer.cpp | 72 bi.mGraphicBuffer->getPixelFormat() == HAL_PIXEL_FORMAT_RGBA_1010102); in isHdrY410()
|
/aosp12/frameworks/native/libs/nativewindow/ |
H A D | AHardwareBuffer.cpp | 89 outDesc->format = AHardwareBuffer_convertFromPixelFormat(uint32_t(gbuffer->getPixelFormat())); in AHardwareBuffer_describe() 202 int format = AHardwareBuffer_convertFromPixelFormat(uint32_t(gBuffer->getPixelFormat())); in AHardwareBuffer_lockPlanes()
|
/aosp12/frameworks/native/libs/ui/include/ui/ |
H A D | GraphicBuffer.h | 153 PixelFormat getPixelFormat() const { return format; } in getPixelFormat() function
|
/aosp12/frameworks/native/libs/ui/include_vndk/ui/ |
H A D | GraphicBuffer.h | 153 PixelFormat getPixelFormat() const { return format; } in getPixelFormat() function
|
/aosp12/frameworks/base/core/java/android/window/ |
H A D | TaskSnapshot.java | 391 public int getPixelFormat() {
|
/aosp12/frameworks/av/media/libmedia/include/media/omx/1.0/ |
H A D | Conversion.h | 608 t->attr.format = static_cast<PixelFormat>(l.getPixelFormat()); in wrapAs() 723 l.mGraphicBuffer->getPixelFormat()); in wrapAs()
|