| 1245 | |
| 1246 | #ifndef STBI_NO_GIF |
| 1247 | static void stbi__vertical_flip_slices(void *image, int w, int h, int z, int bytes_per_pixel) |
| 1248 | { |
| 1249 | int slice; |
| 1250 | int slice_size = w * h * bytes_per_pixel; |
| 1251 | |
| 1252 | stbi_uc *bytes = (stbi_uc *)image; |
| 1253 | for (slice = 0; slice < z; ++slice) { |
| 1254 | stbi__vertical_flip(bytes, w, h, bytes_per_pixel); |
| 1255 | bytes += slice_size; |
| 1256 | } |
| 1257 | } |
| 1258 | #endif |
| 1259 | |
| 1260 | static unsigned char *stbi__load_and_postprocess_8bit(stbi__context *s, int *x, int *y, int *comp, int req_comp) |
no test coverage detected