Lines Matching refs:format
78 ssize_t bytesPerPixel(PixelFormat format)
81 status_t err = getPixelFormatInfo(format, &info);
85 ssize_t bitsPerPixel(PixelFormat format)
88 status_t err = getPixelFormatInfo(format, &info);
92 status_t getPixelFormatInfo(PixelFormat format, PixelFormatInfo* info)
94 if (format <= 0)
100 // YUV format from the HAL are handled here
101 switch (format) {
110 info->format = format;
121 const Info *i = gGetPixelFormatTable(&numEntries) + format;
122 bool valid = uint32_t(format) < numEntries;
127 info->format = format;