OLD | NEW |
1 | 1 |
2 /* pngrtran.c - transforms the data in a row for PNG readers | 2 /* pngrtran.c - transforms the data in a row for PNG readers |
3 * | 3 * |
4 * Last changed in libpng 1.6.19 [November 12, 2015] | 4 * Last changed in libpng 1.6.19 [November 12, 2015] |
5 * Copyright (c) 1998-2015 Glenn Randers-Pehrson | 5 * Copyright (c) 1998-2015 Glenn Randers-Pehrson |
6 * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) | 6 * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) |
7 * (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.) | 7 * (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.) |
8 * | 8 * |
9 * This code is released under the libpng license. | 9 * This code is released under the libpng license. |
10 * For conditions of distribution and use, see the disclaimer | 10 * For conditions of distribution and use, see the disclaimer |
(...skipping 4977 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4988 row_info->pixel_depth = (png_byte)(row_info->bit_depth * | 4988 row_info->pixel_depth = (png_byte)(row_info->bit_depth * |
4989 row_info->channels); | 4989 row_info->channels); |
4990 | 4990 |
4991 row_info->rowbytes = PNG_ROWBYTES(row_info->pixel_depth, row_info->width); | 4991 row_info->rowbytes = PNG_ROWBYTES(row_info->pixel_depth, row_info->width); |
4992 } | 4992 } |
4993 #endif | 4993 #endif |
4994 } | 4994 } |
4995 | 4995 |
4996 #endif /* READ_TRANSFORMS */ | 4996 #endif /* READ_TRANSFORMS */ |
4997 #endif /* READ */ | 4997 #endif /* READ */ |
OLD | NEW |