Lines Matching refs:format
352 // of the graphic format named by the desc parameter. Search failure
366 // of the graphic format specified by the id parameter. Search failure
371 if (id == hwcTestGraphicFormat[n1].format) {
380 // Given the integer ID of a graphic format, return a pointer to
381 // a string that describes the format.
382 const char *hwcTestGraphicFormat2str(uint32_t format)
387 if (format == hwcTestGraphicFormat[n1].format) {
539 // Returns a uint32_t that contains a format specific representation of a
541 uint32_t hwcTestColor2Pixel(uint32_t format, ColorFract color, float alpha)
544 uint32_t format;
569 if (attrib->format == format) { break; }
572 testPrintE("colorFract2Pixel unsupported format of: %u", format);
600 // value given by pixel. The contents of pixel is format specific. It's
607 int format;
640 if (attrib->format == gBuf->getPixelFormat()) { break; }
643 testPrintE("setPixel unsupported format of: %u",
684 // endColor. The startColor and endColor values are specified in the format
685 // given by colorFormat, which might be different from the format of the
687 // to the graphic format of the graphic buffer. A color of black is
743 * or black in the full range output format is produced. The input
748 * Each graphic format has 3 color components and each of these
766 * 3. Convert from the fraction of the in gamut from format range to
767 * the fraction of the in gamut to format range. Produce black
770 * 4. Covert from the fraction of the in gamut to format to the
771 * fraction of the full range to format.
773 * From Format To Format
797 uint32_t format;
825 if (fromAttrib->format == fromFormat) { break; }
828 testPrintE("hwcTestColorConvert unsupported from format of: %u",
836 if (toAttrib->format == toFormat) { break; }
839 testPrintE("hwcTestColorConvert unsupported to format of: %u",
857 // Will use representation of black from RGBA8888 graphic format
858 // and recursively convert it to the requested graphic format.
864 // Within from format, convert from fraction of full range
928 // Within to format, convert from fraction of valid range