Searched refs:getPixelFormat (Results 1 - 25 of 32) sorted by relevance

12

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

Completed in 480 milliseconds

12