Home
last modified time | relevance | path

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

/frameworks/native/libs/gui/
DCpuConsumer.cpp100 if (mSlots[buf].mGraphicBuffer->getPixelFormat() == in lockNextBuffer()
128 if (mSlots[buf].mGraphicBuffer->getPixelFormat() == in lockNextBuffer()
173 nativeBuffer->format = mSlots[buf].mGraphicBuffer->getPixelFormat(); in lockNextBuffer()
DGLConsumer.cpp799 switch (buf->getPixelFormat()) { in computeCurrentTransformMatrixLocked()
1100 buffer->getUsage(), buffer->getPixelFormat()); in createIfNeeded()
/frameworks/base/core/jni/
Dandroid_view_GraphicBuffer.cpp188 ssize_t bytesCount = buffer->getStride() * bytesPerPixel(buffer->getPixelFormat()); in android_view_GraphicBuffer_lockCanvas()
192 convertPixelFormat(buffer->getPixelFormat()), in android_view_GraphicBuffer_lockCanvas()
202 SET_INT(canvas, gCanvasClassInfo.mSurfaceFormat, buffer->getPixelFormat()); in android_view_GraphicBuffer_lockCanvas()
/frameworks/native/opengl/tests/hwc/
DhwcTestLib.cpp621 if (gBuf->getPixelFormat() == HAL_PIXEL_FORMAT_YV12) { in hwcTestSetPixel()
642 if (attrib->format == gBuf->getPixelFormat()) { break; } in hwcTestSetPixel()
646 gBuf->getPixelFormat()); in hwcTestSetPixel()
661 pixel = hwcTestColor2Pixel(gBuf->getPixelFormat(), color, alpha); in hwcTestFillColor()
720 if (colorFormat != (uint32_t) gBuf->getPixelFormat()) { in hwcTestFillColorHBlend()
721 hwcTestColorConvert(colorFormat, gBuf->getPixelFormat(), color); in hwcTestFillColorHBlend()
723 pixel = hwcTestColor2Pixel(gBuf->getPixelFormat(), color, 1.0); in hwcTestFillColorHBlend()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DVirtualDisplaySurface.cpp324 mProducerBuffers[pslot]->getPixelFormat(), in dequeueBuffer()
367 (format != 0 && format != (uint32_t)buf->getPixelFormat()) || in dequeueBuffer()
375 buf->getPixelFormat(), buf->getUsage()); in dequeueBuffer()
DHWComposer.cpp1159 format = buffer->getPixelFormat(); in dump()
/frameworks/native/include/ui/
DGraphicBuffer.h91 PixelFormat getPixelFormat() const { return format; } in getPixelFormat() function
/frameworks/rs/
DrsGrallocConsumer.cpp93 if (mSlots[buf].mGraphicBuffer->getPixelFormat() == in lockNextBuffer()
/frameworks/base/core/java/android/view/
DDisplay.java603 public int getPixelFormat() { in getPixelFormat() method in Display
/frameworks/base/api/
Dcurrent.txt31914 method public deprecated int getPixelFormat();