Further spelling/grammar/wording fixes as suggested by the Wanderer and Mans
[ffmpeg.git] / postproc / swscale_internal.h
index c7761ee..fff8732 100644 (file)
 #include <altivec.h>
 #endif
 
+#ifdef CONFIG_DARWIN
+#define AVV(x...) (x)
+#else
+#define AVV(x...) {x}
+#endif
+
 #include "../mp_msg.h"
 
 #define MSG_WARN(args...) mp_msg(MSGT_SWS,MSGL_WARN, ##args )
@@ -54,6 +60,8 @@ typedef struct SwsContext{
        int chrIntHSubSample, chrIntVSubSample;
        int chrDstHSubSample, chrDstVSubSample;
        int vChrDrop;
+        int sliceDir;
+       double param[2];
 
        int16_t **lumPixBuf;
        int16_t **chrPixBuf;
@@ -75,8 +83,8 @@ typedef struct SwsContext{
        int vLumBufSize;
        int vChrBufSize;
 
-       uint8_t __attribute__((aligned(32))) funnyYCode[10000];
-       uint8_t __attribute__((aligned(32))) funnyUVCode[10000];
+       uint8_t *funnyYCode;
+       uint8_t *funnyUVCode;
        int32_t *lumMmx2FilterPos;
        int32_t *chrMmx2FilterPos;
        int16_t *lumMmx2Filter;