Lines Matching defs:depth
33 unsigned int depth;
134 unsigned int len = s->height * s->depth * 4;
145 for (z = 0; z < s->depth; z++) {
148 linesize = s->width * s->depth;
153 ret = expand_rle_row8(s, dest_row + z, linesize, s->depth);
155 ret = expand_rle_row16(s, (uint16_t *)dest_row + z, linesize, s->depth);
177 if (offset * s->depth > bytestream2_get_bytes_left(&s->g))
181 for (z = 0; z < s->depth; z++) {
190 for (z = 0; z < s->depth; z++)
195 for (z = 0; z < s->depth; z++)
227 s->depth = bytestream2_get_be16u(&s->g);
240 if (s->depth == SGI_GRAYSCALE) {
242 } else if (s->depth == SGI_RGB) {
244 } else if (s->depth == SGI_RGBA) {