Lines Matching defs:channels
28 PSD (composited view only, no extra channels, 8/16 bit-per-channel)
163 // opaque because e.g. there were only 3 channels in the source image.
1188 static stbi_uc *stbi__convert_16_to_8(stbi__uint16 *orig, int w, int h, int channels)
1191 int img_len = w * h * channels;
1204 static stbi__uint16 *stbi__convert_8_to_16(stbi_uc *orig, int w, int h, int channels)
1207 int img_len = w * h * channels;
1277 int channels = req_comp ? req_comp : *comp;
1278 stbi__vertical_flip(result, *x, *y, channels * sizeof(stbi_uc));
1304 int channels = req_comp ? req_comp : *comp;
1305 stbi__vertical_flip(result, *x, *y, channels * sizeof(stbi__uint16));
1315 int channels = req_comp ? req_comp : *comp;
1316 stbi__vertical_flip(result, *x, *y, channels * sizeof(float));
1924 // - upsampled channels are bilinearly interpolated, even across blocks
3735 // transpose to interleave channels
5855 // we have 3 channels with 5bits each
6146 // Read the number of channels (R, G, B, A, etc).
6149 return stbi__errpuc("wrong channel count", "Unsupported number of channels in PSD image");