summaryrefslogtreecommitdiffstats
path: root/libswscale/swscale.h
diff options
context:
space:
mode:
authorstefano <stefano@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-02-18 23:16:31 +0000
committerstefano <stefano@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-02-18 23:16:31 +0000
commit908286b437f3b8c8564db3c77456d5350588fb17 (patch)
tree84f059c196bcbd28a5c64c513493f6e5bb49c380 /libswscale/swscale.h
parentddd68248fe1452831df053642384abd22fa10fa4 (diff)
downloadmpv-908286b437f3b8c8564db3c77456d5350588fb17.tar.bz2
mpv-908286b437f3b8c8564db3c77456d5350588fb17.tar.xz
Rename the "src" parameter in the sws_scale() declaration to
"srcSlice" to stress the fact that it references a slice rather than an image. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28655 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libswscale/swscale.h')
-rw-r--r--libswscale/swscale.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libswscale/swscale.h b/libswscale/swscale.h
index d5108e66b1..f73a5bfe52 100644
--- a/libswscale/swscale.h
+++ b/libswscale/swscale.h
@@ -131,13 +131,13 @@ struct SwsContext *sws_getContext(int srcW, int srcH, enum PixelFormat srcFormat
SwsFilter *srcFilter, SwsFilter *dstFilter, double *param);
/**
- * Scales the image slice in \p src and puts the resulting scaled
+ * Scales the image slice in \p srcSlice and puts the resulting scaled
* slice in the image in \p dst. A slice is a sequence of consecutive
* rows in an image.
*
* @param context the scaling context previously created with
* sws_getContext()
- * @param src the array containing the pointers to the planes of
+ * @param srcSlice the array containing the pointers to the planes of
* the source slice
* @param srcStride the array containing the strides for each plane of
* the source image
@@ -152,7 +152,7 @@ struct SwsContext *sws_getContext(int srcW, int srcH, enum PixelFormat srcFormat
* the destination image
* @return the height of the output slice
*/
-int sws_scale(struct SwsContext *context, uint8_t* src[], int srcStride[], int srcSliceY,
+int sws_scale(struct SwsContext *context, uint8_t* srcSlice[], int srcStride[], int srcSliceY,
int srcSliceH, uint8_t* dst[], int dstStride[]);
#if LIBSWSCALE_VERSION_MAJOR < 1
/**