Home
last modified time | relevance | path

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

/frameworks/base/core/jni/android/graphics/
DGraphicBuffer.cpp183 ssize_t bytesCount = buffer->getStride() * bytesPerPixel(buffer->getPixelFormat()); in android_graphics_GraphicBuffer_lockCanvas()
187 convertPixelFormat(buffer->getPixelFormat()), in android_graphics_GraphicBuffer_lockCanvas()
274 buffer->getPixelFormat(), 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.cpp46 size_t size = bytesPerPixel(buffer->getPixelFormat()) * buffer->getStride() in createContent()
/frameworks/native/libs/vr/libbufferhub/include/private/dvr/
Dion_buffer.h80 return buffer_.get() ? buffer_->getPixelFormat() : 0; in format()
/frameworks/base/media/jni/
Dandroid_media_ImageReader.cpp453 if (!isFormatOpaque(buffer->mGraphicBuffer->getPixelFormat())) { in Image_unlockIfLocked()
554 int bufferFormat = buffer->mGraphicBuffer->getPixelFormat(); in ImageReader_imageSetup()
676 buffer->mGraphicBuffer->getPixelFormat()); in Image_getLockedImage()
786 buffer->mGraphicBuffer->getPixelFormat(), readerHalFormat); in Image_getFormat()
Dandroid_media_ImageWriter.cpp624 if (!isFormatOpaque(buffer->getPixelFormat())) { in Image_unlockIfLocked()
676 buffer->getPixelFormat(), HAL_DATASPACE_UNKNOWN); in Image_getFormat()
705 buffer->getPixelFormat()); in Image_getLockedImage()
Dandroid_media_Utils.cpp863 if (isFormatOpaque(buffer->getPixelFormat())) { in lockImageFromBuffer()
871 int format = buffer->getPixelFormat(); in lockImageFromBuffer()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DVirtualDisplaySurface.cpp376 mProducerBuffers[pslot]->getPixelFormat(), in dequeueBuffer()
421 (format != 0 && format != buf->getPixelFormat()) || in dequeueBuffer()
429 buf->getPixelFormat(), buf->getUsage()); in dequeueBuffer()
DComposerHal.cpp477 .format = static_cast<PixelFormat>(target->getPixelFormat()), in setClientTarget()
592 .format = static_cast<PixelFormat>(buffer->getPixelFormat()), in setLayerBuffer()
DHWComposer_hwc1.cpp1219 format = buffer->getPixelFormat(); in dump()
/frameworks/base/core/jni/
Dandroid_hardware_HardwareBuffer.cpp132 buffer->getPixelFormat())); in android_hardware_HardwareBuffer_getFormat()
Dandroid_view_SurfaceControl.cpp168 buffer->getPixelFormat(), in nativeScreenshotToBuffer()
/frameworks/base/libs/hwui/hwui/
DBitmap.cpp314 PixelFormat format = graphicBuffer->getPixelFormat(); in createFrom()
395 mRowBytes = bytesPerPixel(buffer->getPixelFormat()) * buffer->getStride(); in Bitmap()
/frameworks/native/include/ui/
DGraphicBuffer.h145 PixelFormat getPixelFormat() const { return format; } in getPixelFormat() function
/frameworks/native/libs/gui/
DCpuConsumer.cpp120 PixelFormat format = mSlots[slot].mGraphicBuffer->getPixelFormat(); in lockNextBuffer()
DGLConsumer.cpp861 switch (buf->getPixelFormat()) { in computeTransformMatrix()
1224 buffer->getUsage(), buffer->getPixelFormat()); in createIfNeeded()
/frameworks/av/include/media/omx/1.0/
DConversion.h562 t->attr.format = static_cast<PixelFormat>(l.getPixelFormat()); in wrapAs()
667 l.mGraphicBuffer->getPixelFormat()); in wrapAs()
/frameworks/native/libs/nativewindow/
DAHardwareBuffer.cpp104 outDesc->format = AHardwareBuffer_convertFromPixelFormat(uint32_t(gbuffer->getPixelFormat())); in AHardwareBuffer_describe()
/frameworks/base/core/java/android/view/
DDisplay.java745 public int getPixelFormat() { in getPixelFormat() method in Display
/frameworks/av/media/ndk/
DNdkImageReader.cpp388 const int bufferFmt = buffer->mGraphicBuffer->getPixelFormat(); in acquireImageLocked()
/frameworks/av/media/libstagefright/omx/1.0/
DConversion.h555 t->attr.format = static_cast<PixelFormat>(l.getPixelFormat()); in wrapAs()
638 graphicBuffer->getPixelFormat()); in wrapAs()
/frameworks/native/libs/gui/bufferqueue/1.0/
DH2BGraphicBufferProducer.cpp126 t->attr.format = static_cast<PixelFormat>(l.getPixelFormat()); in wrapAs()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt32085 method public deprecated int getPixelFormat();
/frameworks/base/api/
Dcurrent.txt43705 method public deprecated int getPixelFormat();
Dsystem-current.txt47244 method public deprecated int getPixelFormat();