Lines Matching refs:bits_per_pixel
79 unsigned int w, h, bits_per_pixel, bytes_per_line, nplanes, stride, y, x,
96 bits_per_pixel = bytestream2_get_byteu(&gb);
117 if (bytes_per_scanline < (w * bits_per_pixel * nplanes + 7) / 8 ||
123 switch ((nplanes << 8) + bits_per_pixel) {
158 if (nplanes == 3 && bits_per_pixel == 8) {
172 } else if (nplanes == 1 && bits_per_pixel == 8) {
210 ptr[x] = get_bits(&s, bits_per_pixel);
234 if (nplanes == 1 && bits_per_pixel == 8) {
237 } else if (bits_per_pixel * nplanes == 1) {
240 } else if (bits_per_pixel < 8) {