Lines Matching defs:nplanes
87 unsigned int w, h, bits_per_pixel, bytes_per_line, nplanes, stride, y, x,
115 nplanes = buf[65];
116 bytes_per_scanline = nplanes * bytes_per_line;
118 if (bytes_per_scanline < w * bits_per_pixel * nplanes / 8) {
123 switch ((nplanes<<8) + bits_per_pixel) {
164 if (nplanes == 3 && bits_per_pixel == 8) {
177 } else if (nplanes == 1 && bits_per_pixel == 8) {
194 } else if (nplanes == 1) { /* all packed formats, max. 16 colors */
215 for (i=nplanes - 1; i>=0; i--) {
225 if (nplanes == 1 && bits_per_pixel == 8) {