[FFmpeg-cvslog] r28491 - trunk/libswscale/swscale.h
stefano
subversion
Mon Feb 9 00:02:06 CET 2009
Author: stefano
Date: Mon Feb 9 00:02:06 2009
New Revision: 28491
Log:
Replace int type with enum PixelFormat for the dstFormat/srcFormat
params of the sws_getContext() and sws_getCachedContext()
declarations, consistent with the implementation.
Modified:
trunk/libswscale/swscale.h
Modified: trunk/libswscale/swscale.h
==============================================================================
--- trunk/libswscale/swscale.h Sun Feb 8 23:50:57 2009 (r28490)
+++ trunk/libswscale/swscale.h Mon Feb 9 00:02:06 2009 (r28491)
@@ -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 lu
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 */
More information about the ffmpeg-cvslog
mailing list