summaryrefslogtreecommitdiffstats
path: root/postproc/swscale_internal.h
diff options
context:
space:
mode:
authormichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-02-24 00:12:30 +0000
committermichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-02-24 00:12:30 +0000
commit546b584627d830a7bb28e1b57a8841ae22e32cdc (patch)
tree2e8cb0573cbba004167dc7c534137e46dad6b7ba /postproc/swscale_internal.h
parent9e9a38814dd203077492924f9d7e135abe711390 (diff)
downloadmpv-546b584627d830a7bb28e1b57a8841ae22e32cdc.tar.bz2
mpv-546b584627d830a7bb28e1b57a8841ae22e32cdc.tar.xz
cleanup
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9500 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'postproc/swscale_internal.h')
-rw-r--r--postproc/swscale_internal.h5
1 files changed, 4 insertions, 1 deletions
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);