From 3e499f531a4f511c6866ea508d1e19064d07b7ee Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 24 Feb 2003 00:12:30 +0000 Subject: cleanup Originally committed as revision 9500 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc --- postproc/swscale_internal.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'postproc/swscale_internal.h') diff --git a/postproc/swscale_internal.h b/postproc/swscale_internal.h index fe7da66087..84f6db96a2 100644 --- a/postproc/swscale_internal.h +++ b/postproc/swscale_internal.h @@ -26,6 +26,10 @@ typedef int (*SwsFunc)(struct SwsContext *context, uint8_t* src[], int srcStride /* this struct should be aligned on at least 32-byte boundary */ typedef struct SwsContext{ + /** + * + * Note the src,dst,srcStride,dstStride will be copied, in the sws_scale() warper so they can freely be modified here + */ SwsFunc swScale; int srcW, srcH, dstH; int chrSrcW, chrSrcH, chrDstW, chrDstH; @@ -119,7 +123,6 @@ typedef struct SwsContext{ } SwsContext; //FIXME check init (where 0) -inline void sws_orderYUV(int format, uint8_t * sortedP[], int sortedStride[], uint8_t * p[], int stride[]); SwsFunc yuv2rgb_get_func_ptr (SwsContext *c); int yuv2rgb_c_init_tables (SwsContext *c, const int inv_table[4], int fullRange, int brightness, int contrast, int saturation); -- cgit v1.2.3