Mercurial > mplayer.hg
comparison libswscale/swscale.h @ 30332:b4c3e12c9a08
Make const prototypes for input sources of sws_scale_* stricter.
Patch by Alexis Ballier gmailify($firstname, $familyname)
author | benoit |
---|---|
date | Tue, 19 Jan 2010 16:30:20 +0000 |
parents | 1032ff2e83f1 |
children | 39bf760bf7ce |
comparison
equal
deleted
inserted
replaced
30331:4398e647c2ea | 30332:b4c3e12c9a08 |
---|---|
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* srcSlice[], int srcStride[], | 187 int sws_scale(struct SwsContext *context, const uint8_t* const srcSlice[], int srcStride[], |
188 int srcSliceY, int srcSliceH, uint8_t* dst[], int dstStride[]); | 188 int srcSliceY, int srcSliceH, uint8_t* dst[], 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* src[], | 193 int sws_scale_ordered(struct SwsContext *context, const uint8_t* const src[], |
194 int srcStride[], int srcSliceY, int srcSliceH, | 194 int srcStride[], int srcSliceY, int srcSliceH, |
195 uint8_t* dst[], int dstStride[]) attribute_deprecated; | 195 uint8_t* dst[], int dstStride[]) attribute_deprecated; |
196 #endif | 196 #endif |
197 | 197 |
198 /** | 198 /** |