# include "config.h"
#endif
-#include <vlc/vlc.h>
+#include <vlc_common.h>
#include <vlc_filter.h>
-#include <vlc_vout.h>
#include "i420_rgb.h"
#include "i420_rgb_c.h"
- p_src->p[1].i_visible_pitch;
/* The dithering matrices */
- static int dither10[4] = { 0x0, 0x8, 0x2, 0xa };
- static int dither11[4] = { 0xc, 0x4, 0xe, 0x6 };
- static int dither12[4] = { 0x3, 0xb, 0x1, 0x9 };
- static int dither13[4] = { 0xf, 0x7, 0xd, 0x5 };
-
- static int dither20[4] = { 0x0, 0x10, 0x4, 0x14 };
- static int dither21[4] = { 0x18, 0x8, 0x1c, 0xc };
- static int dither22[4] = { 0x6, 0x16, 0x2, 0x12 };
- static int dither23[4] = { 0x1e, 0xe, 0x1a, 0xa };
+ static const int dither10[4] = { 0x0, 0x8, 0x2, 0xa };
+ static const int dither11[4] = { 0xc, 0x4, 0xe, 0x6 };
+ static const int dither12[4] = { 0x3, 0xb, 0x1, 0x9 };
+ static const int dither13[4] = { 0xf, 0x7, 0xd, 0x5 };
+
+ static const int dither20[4] = { 0x0, 0x10, 0x4, 0x14 };
+ static const int dither21[4] = { 0x18, 0x8, 0x1c, 0xc };
+ static const int dither22[4] = { 0x6, 0x16, 0x2, 0x12 };
+ static const int dither23[4] = { 0x1e, 0xe, 0x1a, 0xa };
SetOffset( p_filter->fmt_in.video.i_width,
p_filter->fmt_in.video.i_height,