Lines Matching refs:format
18 #include <pixelflinger/format.h>
37 ssize_t bytesPerPixel(PixelFormat format)
40 status_t err = getPixelFormatInfo(format, &info);
44 ssize_t bitsPerPixel(PixelFormat format)
47 status_t err = getPixelFormatInfo(format, &info);
51 status_t getPixelFormatInfo(PixelFormat format, PixelFormatInfo* info)
53 if (format < 0)
59 // YUV format from the HAL are handled here
60 switch (format) {
69 info->format = format;
80 const GGLFormat *i = gglGetPixelFormatTable(&numEntries) + format;
81 bool valid = uint32_t(format) < numEntries;
101 info->format = format;