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

/frameworks/base/core/jni/
H A Dandroid_view_GraphicBuffer.cpp180 ssize_t bytesCount = buffer->getStride() * bytesPerPixel(buffer->getPixelFormat());
184 convertPixelFormat(buffer->getPixelFormat()),
/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/include/ui/
H A DGraphicBuffer.h93 PixelFormat getPixelFormat() const { return format; } function in class:android::GraphicBuffer
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DVirtualDisplaySurface.cpp327 mProducerBuffers[pslot]->getPixelFormat(),
370 (format != 0 && format != buf->getPixelFormat()) ||
378 buf->getPixelFormat(), buf->getUsage());
H A DHWComposer.cpp1189 format = buffer->getPixelFormat();
/frameworks/native/libs/gui/
H A DCpuConsumer.cpp114 PixelFormat format = mSlots[buf].mGraphicBuffer->getPixelFormat();
H A DGLConsumer.cpp812 switch (buf->getPixelFormat()) {
1128 buffer->getUsage(), buffer->getPixelFormat());
/frameworks/rs/
H A DrsGrallocConsumer.cpp99 if (mSlots[buf].mGraphicBuffer->getPixelFormat() ==
143 //mAlloc->format = mSlots[buf].mGraphicBuffer->getPixelFormat();
/frameworks/base/core/java/android/view/
H A DDisplay.java630 public int getPixelFormat() { method in class:Display
/frameworks/base/media/jni/
H A Dandroid_media_ImageWriter.cpp637 if (!isFormatOpaque(buffer->getPixelFormat())) {
709 return Image_getPixelFormat(env, buffer->getPixelFormat());

Completed in 1427 milliseconds