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

/frameworks/base/core/jni/
H A Dandroid_view_GraphicBuffer.cpp188 ssize_t bytesCount = buffer->getStride() * bytesPerPixel(buffer->getPixelFormat());
192 convertPixelFormat(buffer->getPixelFormat()),
202 SET_INT(canvas, gCanvasClassInfo.mSurfaceFormat, buffer->getPixelFormat());
/frameworks/native/opengl/tests/hwc/
H A DhwcTestLib.cpp621 if (gBuf->getPixelFormat() == HAL_PIXEL_FORMAT_YV12) {
642 if (attrib->format == gBuf->getPixelFormat()) { break; }
646 gBuf->getPixelFormat());
661 pixel = hwcTestColor2Pixel(gBuf->getPixelFormat(), color, alpha);
720 if (colorFormat != (uint32_t) gBuf->getPixelFormat()) {
721 hwcTestColorConvert(colorFormat, gBuf->getPixelFormat(), color);
723 pixel = hwcTestColor2Pixel(gBuf->getPixelFormat(), color, 1.0);
/frameworks/native/include/ui/
H A DGraphicBuffer.h91 PixelFormat getPixelFormat() const { return format; } function in class:android::GraphicBuffer
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DVirtualDisplaySurface.cpp324 mProducerBuffers[pslot]->getPixelFormat(),
367 (format != 0 && format != (uint32_t)buf->getPixelFormat()) ||
375 buf->getPixelFormat(), buf->getUsage());
H A DHWComposer.cpp1159 format = buffer->getPixelFormat();
/frameworks/base/core/java/android/view/
H A DDisplay.java603 public int getPixelFormat() { method in class:Display
/frameworks/native/libs/gui/
H A DCpuConsumer.cpp127 PixelFormat format = mSlots[buf].mGraphicBuffer->getPixelFormat();
H A DGLConsumer.cpp799 switch (buf->getPixelFormat()) {
1102 buffer->getUsage(), buffer->getPixelFormat());
/frameworks/rs/
H A DrsGrallocConsumer.cpp98 if (mSlots[buf].mGraphicBuffer->getPixelFormat() ==
142 //mAlloc->format = mSlots[buf].mGraphicBuffer->getPixelFormat();

Completed in 174 milliseconds