Mercurial > mplayer.hg
comparison libswscale/swscale.h @ 30339:39bf760bf7ce
More const-correctness for sws_scale
author | conrad |
---|---|
date | Thu, 21 Jan 2010 09:52:11 +0000 |
parents | b4c3e12c9a08 |
children | ef00ce26e9b5 |
comparison
equal
deleted
inserted
replaced
30338:4f25e4d519f4 | 30339:39bf760bf7ce |
---|---|
28 */ | 28 */ |
29 | 29 |
30 #include "libavutil/avutil.h" | 30 #include "libavutil/avutil.h" |
31 | 31 |
32 #define LIBSWSCALE_VERSION_MAJOR 0 | 32 #define LIBSWSCALE_VERSION_MAJOR 0 |
33 #define LIBSWSCALE_VERSION_MINOR 8 | 33 #define LIBSWSCALE_VERSION_MINOR 9 |
34 #define LIBSWSCALE_VERSION_MICRO 0 | 34 #define LIBSWSCALE_VERSION_MICRO 0 |
35 | 35 |
36 #define LIBSWSCALE_VERSION_INT AV_VERSION_INT(LIBSWSCALE_VERSION_MAJOR, \ | 36 #define LIBSWSCALE_VERSION_INT AV_VERSION_INT(LIBSWSCALE_VERSION_MAJOR, \ |
37 LIBSWSCALE_VERSION_MINOR, \ | 37 LIBSWSCALE_VERSION_MINOR, \ |
38 LIBSWSCALE_VERSION_MICRO) | 38 LIBSWSCALE_VERSION_MICRO) |
182 * the destination image | 182 * the destination image |
183 * @param dstStride the array containing the strides for each plane of | 183 * @param dstStride the array containing the strides for each plane of |
184 * the destination image | 184 * the destination image |
185 * @return the height of the output slice | 185 * @return the height of the output slice |
186 */ | 186 */ |
187 int sws_scale(struct SwsContext *context, const uint8_t* const srcSlice[], int srcStride[], | 187 int sws_scale(struct SwsContext *context, const uint8_t* const srcSlice[], const int srcStride[], |
188 int srcSliceY, int srcSliceH, uint8_t* dst[], int dstStride[]); | 188 int srcSliceY, int srcSliceH, uint8_t* const dst[], const int dstStride[]); |
189 #if LIBSWSCALE_VERSION_MAJOR < 1 | 189 #if LIBSWSCALE_VERSION_MAJOR < 1 |
190 /** | 190 /** |
191 * @deprecated Use sws_scale() instead. | 191 * @deprecated Use sws_scale() instead. |
192 */ | 192 */ |
193 int sws_scale_ordered(struct SwsContext *context, const uint8_t* const src[], | 193 int sws_scale_ordered(struct SwsContext *context, const uint8_t* const src[], |