/frameworks/base/core/jni/android/graphics/ |
D | GraphicBuffer.cpp | 194 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/ |
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()
|
/frameworks/base/libs/hwui/tests/common/scenes/ |
D | HwBitmapInCompositeShader.cpp | 44 bytesPerPixel(buffer->getPixelFormat()) * buffer->getStride() * buffer->getHeight(); in createContent()
|
/frameworks/native/services/surfaceflinger/ |
D | BufferLayer.h | 171 PixelFormat getPixelFormat() const override { return mFormat; } in getPixelFormat() function
|
D | BufferLayerConsumer.cpp | 638 buffer->getPixelFormat()); in createIfNeeded()
|
D | Layer.h | 705 virtual PixelFormat getPixelFormat() const { return PIXEL_FORMAT_NONE; } in getPixelFormat() function
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | VirtualDisplaySurface.cpp | 351 mProducerBuffers[pslot]->getPixelFormat(), in dequeueBuffer() 397 (format != 0 && format != buf->getPixelFormat()) || in dequeueBuffer() 405 buf->getPixelFormat(), buf->getUsage()); in dequeueBuffer()
|
D | ComposerHal.cpp | 531 .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/ |
D | ion_buffer.h | 84 return buffer_.get() ? buffer_->getPixelFormat() : 0; in format()
|
/frameworks/base/media/jni/ |
D | android_media_ImageReader.cpp | 471 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()
|
D | android_media_ImageWriter.cpp | 658 if (!isFormatOpaque(buffer->getPixelFormat())) { in Image_unlockIfLocked() 710 buffer->getPixelFormat(), HAL_DATASPACE_UNKNOWN); in Image_getFormat() 753 buffer->getPixelFormat()); in Image_getLockedImage()
|
D | android_media_Utils.cpp | 864 if (isFormatOpaque(buffer->getPixelFormat())) { in lockImageFromBuffer() 872 int format = buffer->getPixelFormat(); in lockImageFromBuffer()
|
/frameworks/base/libs/hwui/hwui/ |
D | Bitmap.cpp | 137 PixelFormat format = graphicBuffer->getPixelFormat(); in createFrom() 202 bytesPerPixel(buffer->getPixelFormat()) * buffer->getStride()) in Bitmap()
|
/frameworks/base/core/jni/ |
D | android_hardware_HardwareBuffer.cpp | 132 buffer->getPixelFormat())); in android_hardware_HardwareBuffer_getFormat()
|
D | android_view_SurfaceControl.cpp | 185 buffer->getPixelFormat(), in nativeScreenshotToBuffer() 218 PixelFormat format = buffer->getPixelFormat(); in nativeScreenshotBitmap() 307 buffer->getPixelFormat(), in nativeCaptureLayers()
|
/frameworks/base/cmds/screencap/ |
D | screencap.cpp | 220 f = outBuffer->getPixelFormat(); in main()
|
/frameworks/native/libs/ui/include/ui/ |
D | GraphicBuffer.h | 146 PixelFormat getPixelFormat() const { return format; } in getPixelFormat() function
|
/frameworks/native/libs/ui/include_vndk/ui/ |
D | GraphicBuffer.h | 146 PixelFormat getPixelFormat() const { return format; } in getPixelFormat() function
|
/frameworks/native/libs/gui/ |
D | CpuConsumer.cpp | 93 PixelFormat format = item.mGraphicBuffer->getPixelFormat(); in lockBufferItem()
|
D | GLConsumer.cpp | 823 switch (buf->getPixelFormat()) { in computeTransformMatrix() 1109 buffer->getUsage(), buffer->getPixelFormat()); in createIfNeeded()
|
/frameworks/av/media/libmedia/include/media/omx/1.0/ |
D | Conversion.h | 604 t->attr.format = static_cast<PixelFormat>(l.getPixelFormat()); in wrapAs() 709 l.mGraphicBuffer->getPixelFormat()); in wrapAs()
|
/frameworks/native/libs/nativewindow/ |
D | AHardwareBuffer.cpp | 111 outDesc->format = AHardwareBuffer_convertFromPixelFormat(uint32_t(gbuffer->getPixelFormat())); in AHardwareBuffer_describe()
|
/frameworks/base/core/java/android/view/ |
D | Display.java | 764 public int getPixelFormat() { in getPixelFormat() method in Display
|
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/1.0/ |
D | Conversion.h | 486 graphicBuffer->getPixelFormat()); in wrapAs()
|
/frameworks/av/media/ndk/ |
D | NdkImageReader.cpp | 398 const int bufferFmt = buffer->mGraphicBuffer->getPixelFormat(); in acquireImageLocked()
|