Lines Matching refs:charsPerPixel

424                   unsigned int const charsPerPixel) {  in validateColorName()  argument
428 for (i = 0; i < charsPerPixel; ++i) { in validateColorName()
442 unsigned int const charsPerPixel, in interpretXpm3ColorTableLine() argument
493 validateColorName(t1, charsPerPixel); in interpretXpm3ColorTableLine()
496 t1 += charsPerPixel; in interpretXpm3ColorTableLine()
574 unsigned int const charsPerPixel) { in readV3ColorTable() argument
580 ColorNameHash * const colorNameHashP = hash_create(nColors, charsPerPixel); in readV3ColorTable()
592 interpretXpm3ColorTableLine(line, seqNum, charsPerPixel, in readV3ColorTable()
626 unsigned int charsPerPixel; in readXpm3Header() local
652 &nColors, &charsPerPixel) != 4) in readXpm3Header()
658 pm_message("chars per pixel: %u", charsPerPixel); in readXpm3Header()
661 readV3ColorTable(ifP, colorNameHashPP, nColors, charsPerPixel); in readXpm3Header()
665 *charsPerPixelP = charsPerPixel; in readXpm3Header()
674 unsigned int const charsPerPixel) { in readV1ColorTable() argument
680 ColorNameHash * const colorNameHashP = hash_create(nColors, charsPerPixel); in readV1ColorTable()
697 if (t2 - t1 - 1 != charsPerPixel) in readV1ColorTable()
826 unsigned int const charsPerPixel) { in validateRasterPixel() argument
830 for (i = 0; i < charsPerPixel; ++i) { in validateRasterPixel()
838 charsPerPixel); in validateRasterPixel()
847 unsigned int const charsPerPixel, in convertRow() argument
887 validateRasterPixel(lineCursor, charsPerPixel); in convertRow()
894 lineCursor += charsPerPixel; in convertRow()
907 unsigned int const charsPerPixel, in convertRaster() argument
938 convertRow(line, cols, charsPerPixel, colorNameHashP, in convertRaster()
969 unsigned int charsPerPixel; in readXpmHeader() local
981 readXpm3Header(ifP, &width, &height, &charsPerPixel, colorNameHashPP); in readXpmHeader()
984 readXpm1Header(ifP, &width, &height, &charsPerPixel, colorNameHashPP); in readXpmHeader()
988 *charsPerPixelP = charsPerPixel; in readXpmHeader()
1000 unsigned int charsPerPixel; in main() local
1029 readXpmHeader(ifP, &cols, &rows, &charsPerPixel, &colorNameHashP); in main()
1037 convertRaster(ifP, cols, rows, charsPerPixel, colorNameHashP, in main()