OLD | NEW |
1 /* | 1 /* |
2 * PNG image format | 2 * PNG image format |
3 * Copyright (c) 2003 Fabrice Bellard | 3 * Copyright (c) 2003 Fabrice Bellard |
4 * | 4 * |
5 * This file is part of FFmpeg. | 5 * This file is part of FFmpeg. |
6 * | 6 * |
7 * FFmpeg is free software; you can redistribute it and/or | 7 * FFmpeg is free software; you can redistribute it and/or |
8 * modify it under the terms of the GNU Lesser General Public | 8 * modify it under the terms of the GNU Lesser General Public |
9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
10 * version 2.1 of the License, or (at your option) any later version. | 10 * version 2.1 of the License, or (at your option) any later version. |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 | 66 |
67 void *ff_png_zalloc(void *opaque, unsigned int items, unsigned int size); | 67 void *ff_png_zalloc(void *opaque, unsigned int items, unsigned int size); |
68 | 68 |
69 void ff_png_zfree(void *opaque, void *ptr); | 69 void ff_png_zfree(void *opaque, void *ptr); |
70 | 70 |
71 int ff_png_get_nb_channels(int color_type); | 71 int ff_png_get_nb_channels(int color_type); |
72 | 72 |
73 /* compute the row size of an interleaved pass */ | 73 /* compute the row size of an interleaved pass */ |
74 int ff_png_pass_row_size(int pass, int bits_per_pixel, int width); | 74 int ff_png_pass_row_size(int pass, int bits_per_pixel, int width); |
75 | 75 |
| 76 void ff_add_png_paeth_prediction(uint8_t *dst, uint8_t *src, uint8_t *top, int w
, int bpp); |
| 77 |
76 #endif /* AVCODEC_PNG_H */ | 78 #endif /* AVCODEC_PNG_H */ |
OLD | NEW |