summaryrefslogtreecommitdiffstats
path: root/libswscale/swscale.h
diff options
context:
space:
mode:
authorstefano <stefano@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-02-08 23:02:06 +0000
committerstefano <stefano@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-02-08 23:02:06 +0000
commitf6ff53adcca9ccefda471b3a0e16dd89ba82d581 (patch)
tree96390b7553ec9154f246e11484cd2df79e0101ef /libswscale/swscale.h
parent78a33f99f441554b687a06f2716cc8b0fff65f2d (diff)
downloadmpv-f6ff53adcca9ccefda471b3a0e16dd89ba82d581.tar.bz2
mpv-f6ff53adcca9ccefda471b3a0e16dd89ba82d581.tar.xz
Replace int type with enum PixelFormat for the dstFormat/srcFormat
params of the sws_getContext() and sws_getCachedContext() declarations, consistent with the implementation. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28491 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 9350894d49..70a47a9eba 100644
--- a/libswscale/swscale.h
+++ b/libswscale/swscale.h
@@ -114,7 +114,7 @@ struct SwsContext;
void sws_freeContext(struct SwsContext *swsContext);
-struct SwsContext *sws_getContext(int srcW, int srcH, int srcFormat, int dstW, int dstH, int dstFormat, int flags,
+struct SwsContext *sws_getContext(int srcW, int srcH, enum PixelFormat srcFormat, int dstW, int dstH, enum PixelFormat dstFormat, int flags,
SwsFilter *srcFilter, SwsFilter *dstFilter, double *param);
int sws_scale(struct SwsContext *context, uint8_t* src[], int srcStride[], int srcSliceY,
int srcSliceH, uint8_t* dst[], int dstStride[]);
@@ -145,8 +145,8 @@ SwsFilter *sws_getDefaultFilter(float lumaGBlur, float chromaGBlur,
void sws_freeFilter(SwsFilter *filter);
struct SwsContext *sws_getCachedContext(struct SwsContext *context,
- int srcW, int srcH, int srcFormat,
- int dstW, int dstH, int dstFormat, int flags,
+ int srcW, int srcH, enum PixelFormat srcFormat,
+ int dstW, int dstH, enum PixelFormat dstFormat, int flags,
SwsFilter *srcFilter, SwsFilter *dstFilter, double *param);
#endif /* SWSCALE_SWSCALE_H */