6 #define TOTAL_PATTERNS 2
10 #include "pluginvclient.h"
11 #include "rgb601window.h"
12 #include <sys/types.h>
18 // 0 -> none 1 -> RGB->601 2 -> 601->RGB
22 class RGB601Main
: public PluginVClient
25 RGB601Main(PluginServer
*server
);
28 // required for all realtime plugins
29 int process_realtime(VFrame
*input_ptr
, VFrame
*output_ptr
);
36 void load_configuration();
37 void save_data(KeyFrame
*keyframe
);
38 void read_data(KeyFrame
*keyframe
);
43 void create_table(VFrame
*input_ptr
);
44 void process(int *table
, VFrame
*input_ptr
, VFrame
*output_ptr
);
49 int forward_table
[0x10000], reverse_table
[0x10000];