Mercurial > libavcore.hg
comparison imgutils.h @ 25:63d8168fa16a libavcore
Cosmetics: use plural form for *linesizes arguments of
av_image_copy(), more consistent with the rest of the API and more
semantically correct.
author | stefano |
---|---|
date | Tue, 07 Sep 2010 21:24:06 +0000 |
parents | c063c88b1309 |
children | ed20007aabe2 |
comparison
equal
deleted
inserted
replaced
24:c063c88b1309 | 25:63d8168fa16a |
---|---|
94 * Copy image in src_data to dst_data. | 94 * Copy image in src_data to dst_data. |
95 * | 95 * |
96 * @param dst_linesize linesizes for the image in dst_data | 96 * @param dst_linesize linesizes for the image in dst_data |
97 * @param src_linesize linesizes for the image in src_data | 97 * @param src_linesize linesizes for the image in src_data |
98 */ | 98 */ |
99 void av_image_copy(uint8_t *dst_data[4], int dst_linesize[4], | 99 void av_image_copy(uint8_t *dst_data[4], int dst_linesizes[4], |
100 const uint8_t *src_data[4], const int src_linesize[4], | 100 const uint8_t *src_data[4], const int src_linesizes[4], |
101 enum PixelFormat pix_fmt, int width, int height); | 101 enum PixelFormat pix_fmt, int width, int height); |
102 | 102 |
103 /** | 103 /** |
104 * Check if the given dimension of an image is valid, meaning that all | 104 * Check if the given dimension of an image is valid, meaning that all |
105 * bytes of the image can be addressed with a signed int. | 105 * bytes of the image can be addressed with a signed int. |