comparison libswscale/swscale.h @ 30264:1032ff2e83f1

Const correctness for src pointer. Remove all constness related warnings in libswscale.
author zuxy
date Fri, 15 Jan 2010 08:51:51 +0000
parents bd9db1814611
children b4c3e12c9a08
comparison
equal deleted inserted replaced
30263:98cc153d1726 30264:1032ff2e83f1
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, uint8_t* srcSlice[], int srcStride[], 187 int sws_scale(struct SwsContext *context, const uint8_t* 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, uint8_t* src[], 193 int sws_scale_ordered(struct SwsContext *context, const uint8_t* 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 /**