mirror of
https://github.com/game-stop/veejay.git
synced 2025-12-22 07:40:00 +01:00
palette array size
This commit is contained in:
@@ -118,13 +118,13 @@ livido_port_t *livido_setup(livido_setup_t list[], int version)
|
|||||||
port = out_chans[0];
|
port = out_chans[0];
|
||||||
|
|
||||||
livido_set_string_value( port, "name", "Output Channel");
|
livido_set_string_value( port, "name", "Output Channel");
|
||||||
livido_set_int_array( port, "palette_list", 3, palettes0);
|
livido_set_int_array( port, "palette_list", 2, palettes0);
|
||||||
livido_set_int_value( port, "flags", 0);
|
livido_set_int_value( port, "flags", 0);
|
||||||
|
|
||||||
in_chans[0] = livido_port_new( LIVIDO_PORT_TYPE_CHANNEL_TEMPLATE );
|
in_chans[0] = livido_port_new( LIVIDO_PORT_TYPE_CHANNEL_TEMPLATE );
|
||||||
port = in_chans[0];
|
port = in_chans[0];
|
||||||
livido_set_string_value( port, "name", "Input Channel");
|
livido_set_string_value( port, "name", "Input Channel");
|
||||||
livido_set_int_array( port, "palette_list", 4, palettes0);
|
livido_set_int_array( port, "palette_list", 2, palettes0);
|
||||||
livido_set_int_value( port, "flags", 0);
|
livido_set_int_value( port, "flags", 0);
|
||||||
|
|
||||||
in_params[0] = livido_port_new( LIVIDO_PORT_TYPE_PARAMETER_TEMPLATE );
|
in_params[0] = livido_port_new( LIVIDO_PORT_TYPE_PARAMETER_TEMPLATE );
|
||||||
|
|||||||
@@ -128,13 +128,13 @@ livido_port_t *livido_setup(livido_setup_t list[], int version)
|
|||||||
port = out_chans[0];
|
port = out_chans[0];
|
||||||
|
|
||||||
livido_set_string_value( port, "name", "Output Channel");
|
livido_set_string_value( port, "name", "Output Channel");
|
||||||
livido_set_int_array( port, "palette_list", 3, palettes0);
|
livido_set_int_array( port, "palette_list", 5, palettes0);
|
||||||
livido_set_int_value( port, "flags", 0);
|
livido_set_int_value( port, "flags", 0);
|
||||||
|
|
||||||
in_chans[0] = livido_port_new( LIVIDO_PORT_TYPE_CHANNEL_TEMPLATE );
|
in_chans[0] = livido_port_new( LIVIDO_PORT_TYPE_CHANNEL_TEMPLATE );
|
||||||
port = in_chans[0];
|
port = in_chans[0];
|
||||||
livido_set_string_value( port, "name", "Input Channel");
|
livido_set_string_value( port, "name", "Input Channel");
|
||||||
livido_set_int_array( port, "palette_list", 4, palettes0);
|
livido_set_int_array( port, "palette_list", 5, palettes0);
|
||||||
livido_set_int_value( port, "flags", 0);
|
livido_set_int_value( port, "flags", 0);
|
||||||
|
|
||||||
//@ setup parameters (INDEX type, 0-255)
|
//@ setup parameters (INDEX type, 0-255)
|
||||||
|
|||||||
@@ -122,13 +122,13 @@ livido_port_t *livido_setup(livido_setup_t list[], int version)
|
|||||||
port = out_chans[0];
|
port = out_chans[0];
|
||||||
|
|
||||||
livido_set_string_value( port, "name", "Output Channel");
|
livido_set_string_value( port, "name", "Output Channel");
|
||||||
livido_set_int_array( port, "palette_list", 3, palettes0);
|
livido_set_int_array( port, "palette_list", 2, palettes0);
|
||||||
livido_set_int_value( port, "flags", 0);
|
livido_set_int_value( port, "flags", 0);
|
||||||
|
|
||||||
in_chans[0] = livido_port_new( LIVIDO_PORT_TYPE_CHANNEL_TEMPLATE );
|
in_chans[0] = livido_port_new( LIVIDO_PORT_TYPE_CHANNEL_TEMPLATE );
|
||||||
port = in_chans[0];
|
port = in_chans[0];
|
||||||
livido_set_string_value( port, "name", "Input Channel");
|
livido_set_string_value( port, "name", "Input Channel");
|
||||||
livido_set_int_array( port, "palette_list", 4, palettes0);
|
livido_set_int_array( port, "palette_list", 2, palettes0);
|
||||||
livido_set_int_value( port, "flags", 0);
|
livido_set_int_value( port, "flags", 0);
|
||||||
|
|
||||||
//@ setup parameters (INDEX type, 0-255)
|
//@ setup parameters (INDEX type, 0-255)
|
||||||
|
|||||||
@@ -125,13 +125,13 @@ livido_port_t *livido_setup(livido_setup_t list[], int version)
|
|||||||
port = out_chans[0];
|
port = out_chans[0];
|
||||||
|
|
||||||
livido_set_string_value( port, "name", "Output Channel");
|
livido_set_string_value( port, "name", "Output Channel");
|
||||||
livido_set_int_array( port, "palette_list", 3, palettes0);
|
livido_set_int_array( port, "palette_list", 2, palettes0);
|
||||||
livido_set_int_value( port, "flags", 0);
|
livido_set_int_value( port, "flags", 0);
|
||||||
|
|
||||||
in_chans[0] = livido_port_new( LIVIDO_PORT_TYPE_CHANNEL_TEMPLATE );
|
in_chans[0] = livido_port_new( LIVIDO_PORT_TYPE_CHANNEL_TEMPLATE );
|
||||||
port = in_chans[0];
|
port = in_chans[0];
|
||||||
livido_set_string_value( port, "name", "Input Channel");
|
livido_set_string_value( port, "name", "Input Channel");
|
||||||
livido_set_int_array( port, "palette_list", 4, palettes0);
|
livido_set_int_array( port, "palette_list", 2, palettes0);
|
||||||
livido_set_int_value( port, "flags", 0);
|
livido_set_int_value( port, "flags", 0);
|
||||||
|
|
||||||
//@ setup parameters (INDEX type, 0-255)
|
//@ setup parameters (INDEX type, 0-255)
|
||||||
|
|||||||
@@ -118,13 +118,13 @@ livido_port_t *livido_setup(livido_setup_t list[], int version)
|
|||||||
port = out_chans[0];
|
port = out_chans[0];
|
||||||
|
|
||||||
livido_set_string_value( port, "name", "Output Channel");
|
livido_set_string_value( port, "name", "Output Channel");
|
||||||
livido_set_int_array( port, "palette_list", 3, palettes0);
|
livido_set_int_array( port, "palette_list", 2, palettes0);
|
||||||
livido_set_int_value( port, "flags", 0);
|
livido_set_int_value( port, "flags", 0);
|
||||||
|
|
||||||
in_chans[0] = livido_port_new( LIVIDO_PORT_TYPE_CHANNEL_TEMPLATE );
|
in_chans[0] = livido_port_new( LIVIDO_PORT_TYPE_CHANNEL_TEMPLATE );
|
||||||
port = in_chans[0];
|
port = in_chans[0];
|
||||||
livido_set_string_value( port, "name", "Input Channel");
|
livido_set_string_value( port, "name", "Input Channel");
|
||||||
livido_set_int_array( port, "palette_list", 4, palettes0);
|
livido_set_int_array( port, "palette_list", 2, palettes0);
|
||||||
livido_set_int_value( port, "flags", 0);
|
livido_set_int_value( port, "flags", 0);
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -120,13 +120,13 @@ livido_port_t *livido_setup(livido_setup_t list[], int version)
|
|||||||
port = out_chans[0];
|
port = out_chans[0];
|
||||||
|
|
||||||
livido_set_string_value( port, "name", "Output Channel");
|
livido_set_string_value( port, "name", "Output Channel");
|
||||||
livido_set_int_array( port, "palette_list", 3, palettes0);
|
livido_set_int_array( port, "palette_list", 2, palettes0);
|
||||||
livido_set_int_value( port, "flags", 0);
|
livido_set_int_value( port, "flags", 0);
|
||||||
|
|
||||||
in_chans[0] = livido_port_new( LIVIDO_PORT_TYPE_CHANNEL_TEMPLATE );
|
in_chans[0] = livido_port_new( LIVIDO_PORT_TYPE_CHANNEL_TEMPLATE );
|
||||||
port = in_chans[0];
|
port = in_chans[0];
|
||||||
livido_set_string_value( port, "name", "Input Channel");
|
livido_set_string_value( port, "name", "Input Channel");
|
||||||
livido_set_int_array( port, "palette_list", 4, palettes0);
|
livido_set_int_array( port, "palette_list", 2, palettes0);
|
||||||
livido_set_int_value( port, "flags", 0);
|
livido_set_int_value( port, "flags", 0);
|
||||||
|
|
||||||
in_params[0] = livido_port_new( LIVIDO_PORT_TYPE_PARAMETER_TEMPLATE );
|
in_params[0] = livido_port_new( LIVIDO_PORT_TYPE_PARAMETER_TEMPLATE );
|
||||||
|
|||||||
@@ -116,13 +116,13 @@ livido_port_t *livido_setup(livido_setup_t list[], int version)
|
|||||||
port = out_chans[0];
|
port = out_chans[0];
|
||||||
|
|
||||||
livido_set_string_value( port, "name", "Output Channel");
|
livido_set_string_value( port, "name", "Output Channel");
|
||||||
livido_set_int_array( port, "palette_list", 3, palettes0);
|
livido_set_int_array( port, "palette_list", 2, palettes0);
|
||||||
livido_set_int_value( port, "flags", 0);
|
livido_set_int_value( port, "flags", 0);
|
||||||
|
|
||||||
in_chans[0] = livido_port_new( LIVIDO_PORT_TYPE_CHANNEL_TEMPLATE );
|
in_chans[0] = livido_port_new( LIVIDO_PORT_TYPE_CHANNEL_TEMPLATE );
|
||||||
port = in_chans[0];
|
port = in_chans[0];
|
||||||
livido_set_string_value( port, "name", "Input Channel");
|
livido_set_string_value( port, "name", "Input Channel");
|
||||||
livido_set_int_array( port, "palette_list", 4, palettes0);
|
livido_set_int_array( port, "palette_list", 2, palettes0);
|
||||||
livido_set_int_value( port, "flags", 0);
|
livido_set_int_value( port, "flags", 0);
|
||||||
|
|
||||||
in_params[0] = livido_port_new( LIVIDO_PORT_TYPE_PARAMETER_TEMPLATE );
|
in_params[0] = livido_port_new( LIVIDO_PORT_TYPE_PARAMETER_TEMPLATE );
|
||||||
|
|||||||
@@ -110,7 +110,7 @@ livido_port_t *livido_setup(livido_setup_t list[], int version)
|
|||||||
//@ some palettes veejay-classic uses
|
//@ some palettes veejay-classic uses
|
||||||
int palettes0[] = {
|
int palettes0[] = {
|
||||||
LIVIDO_PALETTE_YUV422P,
|
LIVIDO_PALETTE_YUV422P,
|
||||||
0,
|
0,
|
||||||
};
|
};
|
||||||
|
|
||||||
//@ setup output channel
|
//@ setup output channel
|
||||||
@@ -118,13 +118,13 @@ livido_port_t *livido_setup(livido_setup_t list[], int version)
|
|||||||
port = out_chans[0];
|
port = out_chans[0];
|
||||||
|
|
||||||
livido_set_string_value( port, "name", "Output Channel");
|
livido_set_string_value( port, "name", "Output Channel");
|
||||||
livido_set_int_array( port, "palette_list", 3, palettes0);
|
livido_set_int_array( port, "palette_list", 2, palettes0);
|
||||||
livido_set_int_value( port, "flags", 0);
|
livido_set_int_value( port, "flags", 0);
|
||||||
|
|
||||||
in_chans[0] = livido_port_new( LIVIDO_PORT_TYPE_CHANNEL_TEMPLATE );
|
in_chans[0] = livido_port_new( LIVIDO_PORT_TYPE_CHANNEL_TEMPLATE );
|
||||||
port = in_chans[0];
|
port = in_chans[0];
|
||||||
livido_set_string_value( port, "name", "Input Channel");
|
livido_set_string_value( port, "name", "Input Channel");
|
||||||
livido_set_int_array( port, "palette_list", 4, palettes0);
|
livido_set_int_array( port, "palette_list", 2, palettes0);
|
||||||
livido_set_int_value( port, "flags", 0);
|
livido_set_int_value( port, "flags", 0);
|
||||||
|
|
||||||
in_params[0] = livido_port_new( LIVIDO_PORT_TYPE_PARAMETER_TEMPLATE );
|
in_params[0] = livido_port_new( LIVIDO_PORT_TYPE_PARAMETER_TEMPLATE );
|
||||||
|
|||||||
@@ -119,7 +119,7 @@ livido_port_t *livido_setup(livido_setup_t list[], int version)
|
|||||||
in_chans[0] = livido_port_new( LIVIDO_PORT_TYPE_CHANNEL_TEMPLATE );
|
in_chans[0] = livido_port_new( LIVIDO_PORT_TYPE_CHANNEL_TEMPLATE );
|
||||||
port = in_chans[0];
|
port = in_chans[0];
|
||||||
livido_set_string_value( port, "name", "Input Channel");
|
livido_set_string_value( port, "name", "Input Channel");
|
||||||
livido_set_int_array( port, "palette_list", 4, palettes0);
|
livido_set_int_array( port, "palette_list", 3, palettes0);
|
||||||
livido_set_int_value( port, "flags", 0);
|
livido_set_int_value( port, "flags", 0);
|
||||||
|
|
||||||
livido_set_portptr_array( filter, "out_channel_templates", 1, out_chans );
|
livido_set_portptr_array( filter, "out_channel_templates", 1, out_chans );
|
||||||
|
|||||||
@@ -116,13 +116,13 @@ livido_port_t *livido_setup(livido_setup_t list[], int version)
|
|||||||
port = out_chans[0];
|
port = out_chans[0];
|
||||||
|
|
||||||
livido_set_string_value( port, "name", "Output Channel");
|
livido_set_string_value( port, "name", "Output Channel");
|
||||||
livido_set_int_array( port, "palette_list", 3, palettes0);
|
livido_set_int_array( port, "palette_list", 2, palettes0);
|
||||||
livido_set_int_value( port, "flags", 0);
|
livido_set_int_value( port, "flags", 0);
|
||||||
|
|
||||||
in_chans[0] = livido_port_new( LIVIDO_PORT_TYPE_CHANNEL_TEMPLATE );
|
in_chans[0] = livido_port_new( LIVIDO_PORT_TYPE_CHANNEL_TEMPLATE );
|
||||||
port = in_chans[0];
|
port = in_chans[0];
|
||||||
livido_set_string_value( port, "name", "Input Channel");
|
livido_set_string_value( port, "name", "Input Channel");
|
||||||
livido_set_int_array( port, "palette_list", 4, palettes0);
|
livido_set_int_array( port, "palette_list", 2, palettes0);
|
||||||
livido_set_int_value( port, "flags", 0);
|
livido_set_int_value( port, "flags", 0);
|
||||||
|
|
||||||
in_params[0] = livido_port_new( LIVIDO_PORT_TYPE_PARAMETER_TEMPLATE );
|
in_params[0] = livido_port_new( LIVIDO_PORT_TYPE_PARAMETER_TEMPLATE );
|
||||||
|
|||||||
@@ -130,13 +130,13 @@ livido_port_t *livido_setup(livido_setup_t list[], int version)
|
|||||||
port = out_chans[0];
|
port = out_chans[0];
|
||||||
|
|
||||||
livido_set_string_value( port, "name", "Output Channel");
|
livido_set_string_value( port, "name", "Output Channel");
|
||||||
livido_set_int_array( port, "palette_list", 3, palettes0);
|
livido_set_int_array( port, "palette_list", 2, palettes0);
|
||||||
livido_set_int_value( port, "flags", 0);
|
livido_set_int_value( port, "flags", 0);
|
||||||
|
|
||||||
in_chans[0] = livido_port_new( LIVIDO_PORT_TYPE_CHANNEL_TEMPLATE );
|
in_chans[0] = livido_port_new( LIVIDO_PORT_TYPE_CHANNEL_TEMPLATE );
|
||||||
port = in_chans[0];
|
port = in_chans[0];
|
||||||
livido_set_string_value( port, "name", "Input Channel");
|
livido_set_string_value( port, "name", "Input Channel");
|
||||||
livido_set_int_array( port, "palette_list", 4, palettes0);
|
livido_set_int_array( port, "palette_list", 2, palettes0);
|
||||||
livido_set_int_value( port, "flags", 0);
|
livido_set_int_value( port, "flags", 0);
|
||||||
|
|
||||||
in_params[0] = livido_port_new( LIVIDO_PORT_TYPE_PARAMETER_TEMPLATE );
|
in_params[0] = livido_port_new( LIVIDO_PORT_TYPE_PARAMETER_TEMPLATE );
|
||||||
|
|||||||
@@ -116,13 +116,13 @@ livido_port_t *livido_setup(livido_setup_t list[], int version)
|
|||||||
port = out_chans[0];
|
port = out_chans[0];
|
||||||
|
|
||||||
livido_set_string_value( port, "name", "Output Channel");
|
livido_set_string_value( port, "name", "Output Channel");
|
||||||
livido_set_int_array( port, "palette_list", 3, palettes0);
|
livido_set_int_array( port, "palette_list", 2, palettes0);
|
||||||
livido_set_int_value( port, "flags", 0);
|
livido_set_int_value( port, "flags", 0);
|
||||||
|
|
||||||
in_chans[0] = livido_port_new( LIVIDO_PORT_TYPE_CHANNEL_TEMPLATE );
|
in_chans[0] = livido_port_new( LIVIDO_PORT_TYPE_CHANNEL_TEMPLATE );
|
||||||
port = in_chans[0];
|
port = in_chans[0];
|
||||||
livido_set_string_value( port, "name", "Input Channel");
|
livido_set_string_value( port, "name", "Input Channel");
|
||||||
livido_set_int_array( port, "palette_list", 4, palettes0);
|
livido_set_int_array( port, "palette_list", 2, palettes0);
|
||||||
livido_set_int_value( port, "flags", 0);
|
livido_set_int_value( port, "flags", 0);
|
||||||
|
|
||||||
in_params[0] = livido_port_new( LIVIDO_PORT_TYPE_PARAMETER_TEMPLATE );
|
in_params[0] = livido_port_new( LIVIDO_PORT_TYPE_PARAMETER_TEMPLATE );
|
||||||
|
|||||||
@@ -118,13 +118,13 @@ livido_port_t *livido_setup(livido_setup_t list[], int version)
|
|||||||
port = out_chans[0];
|
port = out_chans[0];
|
||||||
|
|
||||||
livido_set_string_value( port, "name", "Output Channel");
|
livido_set_string_value( port, "name", "Output Channel");
|
||||||
livido_set_int_array( port, "palette_list", 3, palettes0);
|
livido_set_int_array( port, "palette_list", 2, palettes0);
|
||||||
livido_set_int_value( port, "flags", 0);
|
livido_set_int_value( port, "flags", 0);
|
||||||
|
|
||||||
in_chans[0] = livido_port_new( LIVIDO_PORT_TYPE_CHANNEL_TEMPLATE );
|
in_chans[0] = livido_port_new( LIVIDO_PORT_TYPE_CHANNEL_TEMPLATE );
|
||||||
port = in_chans[0];
|
port = in_chans[0];
|
||||||
livido_set_string_value( port, "name", "Input Channel");
|
livido_set_string_value( port, "name", "Input Channel");
|
||||||
livido_set_int_array( port, "palette_list", 4, palettes0);
|
livido_set_int_array( port, "palette_list", 2, palettes0);
|
||||||
livido_set_int_value( port, "flags", 0);
|
livido_set_int_value( port, "flags", 0);
|
||||||
|
|
||||||
in_params[0] = livido_port_new( LIVIDO_PORT_TYPE_PARAMETER_TEMPLATE );
|
in_params[0] = livido_port_new( LIVIDO_PORT_TYPE_PARAMETER_TEMPLATE );
|
||||||
|
|||||||
@@ -119,13 +119,13 @@ livido_port_t *livido_setup(livido_setup_t list[], int version)
|
|||||||
port = out_chans[0];
|
port = out_chans[0];
|
||||||
|
|
||||||
livido_set_string_value( port, "name", "Output Channel");
|
livido_set_string_value( port, "name", "Output Channel");
|
||||||
livido_set_int_array( port, "palette_list", 3, palettes0);
|
livido_set_int_array( port, "palette_list", 2, palettes0);
|
||||||
livido_set_int_value( port, "flags", 0);
|
livido_set_int_value( port, "flags", 0);
|
||||||
|
|
||||||
in_chans[0] = livido_port_new( LIVIDO_PORT_TYPE_CHANNEL_TEMPLATE );
|
in_chans[0] = livido_port_new( LIVIDO_PORT_TYPE_CHANNEL_TEMPLATE );
|
||||||
port = in_chans[0];
|
port = in_chans[0];
|
||||||
livido_set_string_value( port, "name", "Input Channel");
|
livido_set_string_value( port, "name", "Input Channel");
|
||||||
livido_set_int_array( port, "palette_list", 4, palettes0);
|
livido_set_int_array( port, "palette_list", 2, palettes0);
|
||||||
livido_set_int_value( port, "flags", 0);
|
livido_set_int_value( port, "flags", 0);
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -138,13 +138,13 @@ livido_port_t *livido_setup(livido_setup_t list[], int version)
|
|||||||
port = out_chans[0];
|
port = out_chans[0];
|
||||||
|
|
||||||
livido_set_string_value( port, "name", "Output Channel");
|
livido_set_string_value( port, "name", "Output Channel");
|
||||||
livido_set_int_array( port, "palette_list", 3, palettes0);
|
livido_set_int_array( port, "palette_list", 2, palettes0);
|
||||||
livido_set_int_value( port, "flags", 0);
|
livido_set_int_value( port, "flags", 0);
|
||||||
|
|
||||||
in_chans[0] = livido_port_new( LIVIDO_PORT_TYPE_CHANNEL_TEMPLATE );
|
in_chans[0] = livido_port_new( LIVIDO_PORT_TYPE_CHANNEL_TEMPLATE );
|
||||||
port = in_chans[0];
|
port = in_chans[0];
|
||||||
livido_set_string_value( port, "name", "Input Channel");
|
livido_set_string_value( port, "name", "Input Channel");
|
||||||
livido_set_int_array( port, "palette_list", 4, palettes0);
|
livido_set_int_array( port, "palette_list", 2, palettes0);
|
||||||
livido_set_int_value( port, "flags", 0);
|
livido_set_int_value( port, "flags", 0);
|
||||||
|
|
||||||
in_params[0] = livido_port_new( LIVIDO_PORT_TYPE_PARAMETER_TEMPLATE );
|
in_params[0] = livido_port_new( LIVIDO_PORT_TYPE_PARAMETER_TEMPLATE );
|
||||||
|
|||||||
@@ -129,13 +129,13 @@ livido_port_t *livido_setup(livido_setup_t list[], int version)
|
|||||||
port = out_chans[0];
|
port = out_chans[0];
|
||||||
|
|
||||||
livido_set_string_value( port, "name", "Output Channel");
|
livido_set_string_value( port, "name", "Output Channel");
|
||||||
livido_set_int_array( port, "palette_list", 3, palettes0);
|
livido_set_int_array( port, "palette_list", 2, palettes0);
|
||||||
livido_set_int_value( port, "flags", 0);
|
livido_set_int_value( port, "flags", 0);
|
||||||
|
|
||||||
in_chans[0] = livido_port_new( LIVIDO_PORT_TYPE_CHANNEL_TEMPLATE );
|
in_chans[0] = livido_port_new( LIVIDO_PORT_TYPE_CHANNEL_TEMPLATE );
|
||||||
port = in_chans[0];
|
port = in_chans[0];
|
||||||
livido_set_string_value( port, "name", "Input Channel");
|
livido_set_string_value( port, "name", "Input Channel");
|
||||||
livido_set_int_array( port, "palette_list", 4, palettes0);
|
livido_set_int_array( port, "palette_list", 2, palettes0);
|
||||||
livido_set_int_value( port, "flags", 0);
|
livido_set_int_value( port, "flags", 0);
|
||||||
|
|
||||||
in_params[0] = livido_port_new( LIVIDO_PORT_TYPE_PARAMETER_TEMPLATE );
|
in_params[0] = livido_port_new( LIVIDO_PORT_TYPE_PARAMETER_TEMPLATE );
|
||||||
|
|||||||
@@ -116,13 +116,13 @@ livido_port_t *livido_setup(livido_setup_t list[], int version)
|
|||||||
port = out_chans[0];
|
port = out_chans[0];
|
||||||
|
|
||||||
livido_set_string_value( port, "name", "Output Channel");
|
livido_set_string_value( port, "name", "Output Channel");
|
||||||
livido_set_int_array( port, "palette_list", 3, palettes0);
|
livido_set_int_array( port, "palette_list", 2, palettes0);
|
||||||
livido_set_int_value( port, "flags", 0);
|
livido_set_int_value( port, "flags", 0);
|
||||||
|
|
||||||
in_chans[0] = livido_port_new( LIVIDO_PORT_TYPE_CHANNEL_TEMPLATE );
|
in_chans[0] = livido_port_new( LIVIDO_PORT_TYPE_CHANNEL_TEMPLATE );
|
||||||
port = in_chans[0];
|
port = in_chans[0];
|
||||||
livido_set_string_value( port, "name", "Input Channel");
|
livido_set_string_value( port, "name", "Input Channel");
|
||||||
livido_set_int_array( port, "palette_list", 4, palettes0);
|
livido_set_int_array( port, "palette_list", 2, palettes0);
|
||||||
livido_set_int_value( port, "flags", 0);
|
livido_set_int_value( port, "flags", 0);
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -118,13 +118,13 @@ livido_port_t *livido_setup(livido_setup_t list[], int version)
|
|||||||
port = out_chans[0];
|
port = out_chans[0];
|
||||||
|
|
||||||
livido_set_string_value( port, "name", "Output Channel");
|
livido_set_string_value( port, "name", "Output Channel");
|
||||||
livido_set_int_array( port, "palette_list", 3, palettes0);
|
livido_set_int_array( port, "palette_list", 2, palettes0);
|
||||||
livido_set_int_value( port, "flags", 0);
|
livido_set_int_value( port, "flags", 0);
|
||||||
|
|
||||||
in_chans[0] = livido_port_new( LIVIDO_PORT_TYPE_CHANNEL_TEMPLATE );
|
in_chans[0] = livido_port_new( LIVIDO_PORT_TYPE_CHANNEL_TEMPLATE );
|
||||||
port = in_chans[0];
|
port = in_chans[0];
|
||||||
livido_set_string_value( port, "name", "Input Channel");
|
livido_set_string_value( port, "name", "Input Channel");
|
||||||
livido_set_int_array( port, "palette_list", 4, palettes0);
|
livido_set_int_array( port, "palette_list", 2, palettes0);
|
||||||
livido_set_int_value( port, "flags", 0);
|
livido_set_int_value( port, "flags", 0);
|
||||||
|
|
||||||
in_params[0] = livido_port_new( LIVIDO_PORT_TYPE_PARAMETER_TEMPLATE );
|
in_params[0] = livido_port_new( LIVIDO_PORT_TYPE_PARAMETER_TEMPLATE );
|
||||||
|
|||||||
@@ -116,13 +116,13 @@ livido_port_t *livido_setup(livido_setup_t list[], int version)
|
|||||||
port = out_chans[0];
|
port = out_chans[0];
|
||||||
|
|
||||||
livido_set_string_value( port, "name", "Output Channel");
|
livido_set_string_value( port, "name", "Output Channel");
|
||||||
livido_set_int_array( port, "palette_list", 3, palettes0);
|
livido_set_int_array( port, "palette_list", 2, palettes0);
|
||||||
livido_set_int_value( port, "flags", 0);
|
livido_set_int_value( port, "flags", 0);
|
||||||
|
|
||||||
in_chans[0] = livido_port_new( LIVIDO_PORT_TYPE_CHANNEL_TEMPLATE );
|
in_chans[0] = livido_port_new( LIVIDO_PORT_TYPE_CHANNEL_TEMPLATE );
|
||||||
port = in_chans[0];
|
port = in_chans[0];
|
||||||
livido_set_string_value( port, "name", "Input Channel");
|
livido_set_string_value( port, "name", "Input Channel");
|
||||||
livido_set_int_array( port, "palette_list", 4, palettes0);
|
livido_set_int_array( port, "palette_list", 2, palettes0);
|
||||||
livido_set_int_value( port, "flags", 0);
|
livido_set_int_value( port, "flags", 0);
|
||||||
|
|
||||||
in_params[0] = livido_port_new( LIVIDO_PORT_TYPE_PARAMETER_TEMPLATE );
|
in_params[0] = livido_port_new( LIVIDO_PORT_TYPE_PARAMETER_TEMPLATE );
|
||||||
|
|||||||
@@ -116,13 +116,13 @@ livido_port_t *livido_setup(livido_setup_t list[], int version)
|
|||||||
port = out_chans[0];
|
port = out_chans[0];
|
||||||
|
|
||||||
livido_set_string_value( port, "name", "Output Channel");
|
livido_set_string_value( port, "name", "Output Channel");
|
||||||
livido_set_int_array( port, "palette_list", 3, palettes0);
|
livido_set_int_array( port, "palette_list", 2, palettes0);
|
||||||
livido_set_int_value( port, "flags", 0);
|
livido_set_int_value( port, "flags", 0);
|
||||||
|
|
||||||
in_chans[0] = livido_port_new( LIVIDO_PORT_TYPE_CHANNEL_TEMPLATE );
|
in_chans[0] = livido_port_new( LIVIDO_PORT_TYPE_CHANNEL_TEMPLATE );
|
||||||
port = in_chans[0];
|
port = in_chans[0];
|
||||||
livido_set_string_value( port, "name", "Input Channel");
|
livido_set_string_value( port, "name", "Input Channel");
|
||||||
livido_set_int_array( port, "palette_list", 4, palettes0);
|
livido_set_int_array( port, "palette_list", 2, palettes0);
|
||||||
livido_set_int_value( port, "flags", 0);
|
livido_set_int_value( port, "flags", 0);
|
||||||
|
|
||||||
in_params[0] = livido_port_new( LIVIDO_PORT_TYPE_PARAMETER_TEMPLATE );
|
in_params[0] = livido_port_new( LIVIDO_PORT_TYPE_PARAMETER_TEMPLATE );
|
||||||
|
|||||||
@@ -119,13 +119,13 @@ livido_port_t *livido_setup(livido_setup_t list[], int version)
|
|||||||
port = out_chans[0];
|
port = out_chans[0];
|
||||||
|
|
||||||
livido_set_string_value( port, "name", "Output Channel");
|
livido_set_string_value( port, "name", "Output Channel");
|
||||||
livido_set_int_array( port, "palette_list", 3, palettes0);
|
livido_set_int_array( port, "palette_list", 2, palettes0);
|
||||||
livido_set_int_value( port, "flags", 0);
|
livido_set_int_value( port, "flags", 0);
|
||||||
|
|
||||||
in_chans[0] = livido_port_new( LIVIDO_PORT_TYPE_CHANNEL_TEMPLATE );
|
in_chans[0] = livido_port_new( LIVIDO_PORT_TYPE_CHANNEL_TEMPLATE );
|
||||||
port = in_chans[0];
|
port = in_chans[0];
|
||||||
livido_set_string_value( port, "name", "Input Channel");
|
livido_set_string_value( port, "name", "Input Channel");
|
||||||
livido_set_int_array( port, "palette_list", 4, palettes0);
|
livido_set_int_array( port, "palette_list", 2, palettes0);
|
||||||
livido_set_int_value( port, "flags", 0);
|
livido_set_int_value( port, "flags", 0);
|
||||||
|
|
||||||
in_params[0] = livido_port_new( LIVIDO_PORT_TYPE_PARAMETER_TEMPLATE );
|
in_params[0] = livido_port_new( LIVIDO_PORT_TYPE_PARAMETER_TEMPLATE );
|
||||||
|
|||||||
@@ -123,13 +123,13 @@ livido_port_t *livido_setup(livido_setup_t list[], int version)
|
|||||||
port = out_chans[0];
|
port = out_chans[0];
|
||||||
|
|
||||||
livido_set_string_value( port, "name", "Output Channel");
|
livido_set_string_value( port, "name", "Output Channel");
|
||||||
livido_set_int_array( port, "palette_list", 3, palettes0);
|
livido_set_int_array( port, "palette_list", 2, palettes0);
|
||||||
livido_set_int_value( port, "flags", 0);
|
livido_set_int_value( port, "flags", 0);
|
||||||
|
|
||||||
in_chans[0] = livido_port_new( LIVIDO_PORT_TYPE_CHANNEL_TEMPLATE );
|
in_chans[0] = livido_port_new( LIVIDO_PORT_TYPE_CHANNEL_TEMPLATE );
|
||||||
port = in_chans[0];
|
port = in_chans[0];
|
||||||
livido_set_string_value( port, "name", "Input Channel");
|
livido_set_string_value( port, "name", "Input Channel");
|
||||||
livido_set_int_array( port, "palette_list", 4, palettes0);
|
livido_set_int_array( port, "palette_list", 2, palettes0);
|
||||||
livido_set_int_value( port, "flags", 0);
|
livido_set_int_value( port, "flags", 0);
|
||||||
|
|
||||||
in_params[0] = livido_port_new( LIVIDO_PORT_TYPE_PARAMETER_TEMPLATE );
|
in_params[0] = livido_port_new( LIVIDO_PORT_TYPE_PARAMETER_TEMPLATE );
|
||||||
|
|||||||
@@ -116,13 +116,13 @@ livido_port_t *livido_setup(livido_setup_t list[], int version)
|
|||||||
port = out_chans[0];
|
port = out_chans[0];
|
||||||
|
|
||||||
livido_set_string_value( port, "name", "Output Channel");
|
livido_set_string_value( port, "name", "Output Channel");
|
||||||
livido_set_int_array( port, "palette_list", 3, palettes0);
|
livido_set_int_array( port, "palette_list", 2, palettes0);
|
||||||
livido_set_int_value( port, "flags", 0);
|
livido_set_int_value( port, "flags", 0);
|
||||||
|
|
||||||
in_chans[0] = livido_port_new( LIVIDO_PORT_TYPE_CHANNEL_TEMPLATE );
|
in_chans[0] = livido_port_new( LIVIDO_PORT_TYPE_CHANNEL_TEMPLATE );
|
||||||
port = in_chans[0];
|
port = in_chans[0];
|
||||||
livido_set_string_value( port, "name", "Input Channel");
|
livido_set_string_value( port, "name", "Input Channel");
|
||||||
livido_set_int_array( port, "palette_list", 4, palettes0);
|
livido_set_int_array( port, "palette_list", 2, palettes0);
|
||||||
livido_set_int_value( port, "flags", 0);
|
livido_set_int_value( port, "flags", 0);
|
||||||
|
|
||||||
in_params[0] = livido_port_new( LIVIDO_PORT_TYPE_PARAMETER_TEMPLATE );
|
in_params[0] = livido_port_new( LIVIDO_PORT_TYPE_PARAMETER_TEMPLATE );
|
||||||
|
|||||||
@@ -123,7 +123,7 @@ livido_port_t *livido_setup(livido_setup_t list[], int version)
|
|||||||
in_chans[0] = livido_port_new( LIVIDO_PORT_TYPE_CHANNEL_TEMPLATE );
|
in_chans[0] = livido_port_new( LIVIDO_PORT_TYPE_CHANNEL_TEMPLATE );
|
||||||
port = in_chans[0];
|
port = in_chans[0];
|
||||||
livido_set_string_value( port, "name", "Input Channel");
|
livido_set_string_value( port, "name", "Input Channel");
|
||||||
livido_set_int_array( port, "palette_list", 4, palettes0);
|
livido_set_int_array( port, "palette_list", 3, palettes0);
|
||||||
livido_set_int_value( port, "flags", 0);
|
livido_set_int_value( port, "flags", 0);
|
||||||
|
|
||||||
in_params[0] = livido_port_new( LIVIDO_PORT_TYPE_PARAMETER_TEMPLATE );
|
in_params[0] = livido_port_new( LIVIDO_PORT_TYPE_PARAMETER_TEMPLATE );
|
||||||
|
|||||||
@@ -122,13 +122,13 @@ livido_port_t *livido_setup(livido_setup_t list[], int version)
|
|||||||
port = out_chans[0];
|
port = out_chans[0];
|
||||||
|
|
||||||
livido_set_string_value( port, "name", "Output Channel");
|
livido_set_string_value( port, "name", "Output Channel");
|
||||||
livido_set_int_array( port, "palette_list", 3, palettes0);
|
livido_set_int_array( port, "palette_list", 2, palettes0);
|
||||||
livido_set_int_value( port, "flags", 0);
|
livido_set_int_value( port, "flags", 0);
|
||||||
|
|
||||||
in_chans[0] = livido_port_new( LIVIDO_PORT_TYPE_CHANNEL_TEMPLATE );
|
in_chans[0] = livido_port_new( LIVIDO_PORT_TYPE_CHANNEL_TEMPLATE );
|
||||||
port = in_chans[0];
|
port = in_chans[0];
|
||||||
livido_set_string_value( port, "name", "Input Channel");
|
livido_set_string_value( port, "name", "Input Channel");
|
||||||
livido_set_int_array( port, "palette_list", 4, palettes0);
|
livido_set_int_array( port, "palette_list", 2, palettes0);
|
||||||
livido_set_int_value( port, "flags", 0);
|
livido_set_int_value( port, "flags", 0);
|
||||||
|
|
||||||
//@ setup parameters (INDEX type, 0-255)
|
//@ setup parameters (INDEX type, 0-255)
|
||||||
|
|||||||
@@ -118,13 +118,13 @@ livido_port_t *livido_setup(livido_setup_t list[], int version)
|
|||||||
port = out_chans[0];
|
port = out_chans[0];
|
||||||
|
|
||||||
livido_set_string_value( port, "name", "Output Channel");
|
livido_set_string_value( port, "name", "Output Channel");
|
||||||
livido_set_int_array( port, "palette_list", 3, palettes0);
|
livido_set_int_array( port, "palette_list", 2, palettes0);
|
||||||
livido_set_int_value( port, "flags", 0);
|
livido_set_int_value( port, "flags", 0);
|
||||||
|
|
||||||
in_chans[0] = livido_port_new( LIVIDO_PORT_TYPE_CHANNEL_TEMPLATE );
|
in_chans[0] = livido_port_new( LIVIDO_PORT_TYPE_CHANNEL_TEMPLATE );
|
||||||
port = in_chans[0];
|
port = in_chans[0];
|
||||||
livido_set_string_value( port, "name", "Input Channel");
|
livido_set_string_value( port, "name", "Input Channel");
|
||||||
livido_set_int_array( port, "palette_list", 4, palettes0);
|
livido_set_int_array( port, "palette_list", 2, palettes0);
|
||||||
livido_set_int_value( port, "flags", 0);
|
livido_set_int_value( port, "flags", 0);
|
||||||
|
|
||||||
in_params[0] = livido_port_new( LIVIDO_PORT_TYPE_PARAMETER_TEMPLATE );
|
in_params[0] = livido_port_new( LIVIDO_PORT_TYPE_PARAMETER_TEMPLATE );
|
||||||
|
|||||||
@@ -121,13 +121,13 @@ livido_port_t *livido_setup(livido_setup_t list[], int version)
|
|||||||
port = out_chans[0];
|
port = out_chans[0];
|
||||||
|
|
||||||
livido_set_string_value( port, "name", "Output Channel");
|
livido_set_string_value( port, "name", "Output Channel");
|
||||||
livido_set_int_array( port, "palette_list", 3, palettes0);
|
livido_set_int_array( port, "palette_list", 5, palettes0);
|
||||||
livido_set_int_value( port, "flags", 0);
|
livido_set_int_value( port, "flags", 0);
|
||||||
|
|
||||||
in_chans[0] = livido_port_new( LIVIDO_PORT_TYPE_CHANNEL_TEMPLATE );
|
in_chans[0] = livido_port_new( LIVIDO_PORT_TYPE_CHANNEL_TEMPLATE );
|
||||||
port = in_chans[0];
|
port = in_chans[0];
|
||||||
livido_set_string_value( port, "name", "Input Channel");
|
livido_set_string_value( port, "name", "Input Channel");
|
||||||
livido_set_int_array( port, "palette_list", 4, palettes0);
|
livido_set_int_array( port, "palette_list", 5, palettes0);
|
||||||
livido_set_int_value( port, "flags", 0);
|
livido_set_int_value( port, "flags", 0);
|
||||||
|
|
||||||
in_params[0] = livido_port_new( LIVIDO_PORT_TYPE_PARAMETER_TEMPLATE );
|
in_params[0] = livido_port_new( LIVIDO_PORT_TYPE_PARAMETER_TEMPLATE );
|
||||||
|
|||||||
@@ -144,13 +144,13 @@ livido_port_t *livido_setup(livido_setup_t list[], int version)
|
|||||||
port = out_chans[0];
|
port = out_chans[0];
|
||||||
|
|
||||||
livido_set_string_value( port, "name", "Output Channel");
|
livido_set_string_value( port, "name", "Output Channel");
|
||||||
livido_set_int_array( port, "palette_list", 3, palettes0);
|
livido_set_int_array( port, "palette_list", 2, palettes0);
|
||||||
livido_set_int_value( port, "flags", 0);
|
livido_set_int_value( port, "flags", 0);
|
||||||
|
|
||||||
in_chans[0] = livido_port_new( LIVIDO_PORT_TYPE_CHANNEL_TEMPLATE );
|
in_chans[0] = livido_port_new( LIVIDO_PORT_TYPE_CHANNEL_TEMPLATE );
|
||||||
port = in_chans[0];
|
port = in_chans[0];
|
||||||
livido_set_string_value( port, "name", "Input Channel");
|
livido_set_string_value( port, "name", "Input Channel");
|
||||||
livido_set_int_array( port, "palette_list", 4, palettes0);
|
livido_set_int_array( port, "palette_list", 2, palettes0);
|
||||||
livido_set_int_value( port, "flags", 0);
|
livido_set_int_value( port, "flags", 0);
|
||||||
|
|
||||||
in_params[0] = livido_port_new( LIVIDO_PORT_TYPE_PARAMETER_TEMPLATE );
|
in_params[0] = livido_port_new( LIVIDO_PORT_TYPE_PARAMETER_TEMPLATE );
|
||||||
|
|||||||
@@ -116,13 +116,13 @@ livido_port_t *livido_setup(livido_setup_t list[], int version)
|
|||||||
port = out_chans[0];
|
port = out_chans[0];
|
||||||
|
|
||||||
livido_set_string_value( port, "name", "Output Channel");
|
livido_set_string_value( port, "name", "Output Channel");
|
||||||
livido_set_int_array( port, "palette_list", 3, palettes0);
|
livido_set_int_array( port, "palette_list", 2, palettes0);
|
||||||
livido_set_int_value( port, "flags", 0);
|
livido_set_int_value( port, "flags", 0);
|
||||||
|
|
||||||
in_chans[0] = livido_port_new( LIVIDO_PORT_TYPE_CHANNEL_TEMPLATE );
|
in_chans[0] = livido_port_new( LIVIDO_PORT_TYPE_CHANNEL_TEMPLATE );
|
||||||
port = in_chans[0];
|
port = in_chans[0];
|
||||||
livido_set_string_value( port, "name", "Input Channel");
|
livido_set_string_value( port, "name", "Input Channel");
|
||||||
livido_set_int_array( port, "palette_list", 4, palettes0);
|
livido_set_int_array( port, "palette_list", 2, palettes0);
|
||||||
livido_set_int_value( port, "flags", 0);
|
livido_set_int_value( port, "flags", 0);
|
||||||
|
|
||||||
in_params[0] = livido_port_new( LIVIDO_PORT_TYPE_PARAMETER_TEMPLATE );
|
in_params[0] = livido_port_new( LIVIDO_PORT_TYPE_PARAMETER_TEMPLATE );
|
||||||
|
|||||||
@@ -121,13 +121,13 @@ livido_port_t *livido_setup(livido_setup_t list[], int version)
|
|||||||
port = out_chans[0];
|
port = out_chans[0];
|
||||||
|
|
||||||
livido_set_string_value( port, "name", "Output Channel");
|
livido_set_string_value( port, "name", "Output Channel");
|
||||||
livido_set_int_array( port, "palette_list", 3, palettes0);
|
livido_set_int_array( port, "palette_list", 5, palettes0);
|
||||||
livido_set_int_value( port, "flags", 0);
|
livido_set_int_value( port, "flags", 0);
|
||||||
|
|
||||||
in_chans[0] = livido_port_new( LIVIDO_PORT_TYPE_CHANNEL_TEMPLATE );
|
in_chans[0] = livido_port_new( LIVIDO_PORT_TYPE_CHANNEL_TEMPLATE );
|
||||||
port = in_chans[0];
|
port = in_chans[0];
|
||||||
livido_set_string_value( port, "name", "Input Channel");
|
livido_set_string_value( port, "name", "Input Channel");
|
||||||
livido_set_int_array( port, "palette_list", 4, palettes0);
|
livido_set_int_array( port, "palette_list", 5, palettes0);
|
||||||
livido_set_int_value( port, "flags", 0);
|
livido_set_int_value( port, "flags", 0);
|
||||||
|
|
||||||
in_params[0] = livido_port_new( LIVIDO_PORT_TYPE_PARAMETER_TEMPLATE );
|
in_params[0] = livido_port_new( LIVIDO_PORT_TYPE_PARAMETER_TEMPLATE );
|
||||||
|
|||||||
@@ -117,13 +117,13 @@ livido_port_t *livido_setup(livido_setup_t list[], int version)
|
|||||||
port = out_chans[0];
|
port = out_chans[0];
|
||||||
|
|
||||||
livido_set_string_value( port, "name", "Output Channel");
|
livido_set_string_value( port, "name", "Output Channel");
|
||||||
livido_set_int_array( port, "palette_list", 3, palettes0);
|
livido_set_int_array( port, "palette_list", 2, palettes0);
|
||||||
livido_set_int_value( port, "flags", 0);
|
livido_set_int_value( port, "flags", 0);
|
||||||
|
|
||||||
in_chans[0] = livido_port_new( LIVIDO_PORT_TYPE_CHANNEL_TEMPLATE );
|
in_chans[0] = livido_port_new( LIVIDO_PORT_TYPE_CHANNEL_TEMPLATE );
|
||||||
port = in_chans[0];
|
port = in_chans[0];
|
||||||
livido_set_string_value( port, "name", "Input Channel");
|
livido_set_string_value( port, "name", "Input Channel");
|
||||||
livido_set_int_array( port, "palette_list", 4, palettes0);
|
livido_set_int_array( port, "palette_list", 2, palettes0);
|
||||||
livido_set_int_value( port, "flags", 0);
|
livido_set_int_value( port, "flags", 0);
|
||||||
|
|
||||||
in_params[0] = livido_port_new( LIVIDO_PORT_TYPE_PARAMETER_TEMPLATE );
|
in_params[0] = livido_port_new( LIVIDO_PORT_TYPE_PARAMETER_TEMPLATE );
|
||||||
|
|||||||
@@ -116,13 +116,13 @@ livido_port_t *livido_setup(livido_setup_t list[], int version)
|
|||||||
port = out_chans[0];
|
port = out_chans[0];
|
||||||
|
|
||||||
livido_set_string_value( port, "name", "Output Channel");
|
livido_set_string_value( port, "name", "Output Channel");
|
||||||
livido_set_int_array( port, "palette_list", 3, palettes0);
|
livido_set_int_array( port, "palette_list", 2, palettes0);
|
||||||
livido_set_int_value( port, "flags", 0);
|
livido_set_int_value( port, "flags", 0);
|
||||||
|
|
||||||
in_chans[0] = livido_port_new( LIVIDO_PORT_TYPE_CHANNEL_TEMPLATE );
|
in_chans[0] = livido_port_new( LIVIDO_PORT_TYPE_CHANNEL_TEMPLATE );
|
||||||
port = in_chans[0];
|
port = in_chans[0];
|
||||||
livido_set_string_value( port, "name", "Input Channel");
|
livido_set_string_value( port, "name", "Input Channel");
|
||||||
livido_set_int_array( port, "palette_list", 4, palettes0);
|
livido_set_int_array( port, "palette_list", 2, palettes0);
|
||||||
livido_set_int_value( port, "flags", 0);
|
livido_set_int_value( port, "flags", 0);
|
||||||
|
|
||||||
in_params[0] = livido_port_new( LIVIDO_PORT_TYPE_PARAMETER_TEMPLATE );
|
in_params[0] = livido_port_new( LIVIDO_PORT_TYPE_PARAMETER_TEMPLATE );
|
||||||
|
|||||||
@@ -113,13 +113,13 @@ livido_port_t *livido_setup(livido_setup_t list[], int version)
|
|||||||
port = out_chans[0];
|
port = out_chans[0];
|
||||||
|
|
||||||
livido_set_string_value( port, "name", "Output Channel");
|
livido_set_string_value( port, "name", "Output Channel");
|
||||||
livido_set_int_array( port, "palette_list", 3, palettes0);
|
livido_set_int_array( port, "palette_list", 2, palettes0);
|
||||||
livido_set_int_value( port, "flags", 0);
|
livido_set_int_value( port, "flags", 0);
|
||||||
|
|
||||||
in_chans[0] = livido_port_new( LIVIDO_PORT_TYPE_CHANNEL_TEMPLATE );
|
in_chans[0] = livido_port_new( LIVIDO_PORT_TYPE_CHANNEL_TEMPLATE );
|
||||||
port = in_chans[0];
|
port = in_chans[0];
|
||||||
livido_set_string_value( port, "name", "Input Channel");
|
livido_set_string_value( port, "name", "Input Channel");
|
||||||
livido_set_int_array( port, "palette_list", 4, palettes0);
|
livido_set_int_array( port, "palette_list", 2, palettes0);
|
||||||
livido_set_int_value( port, "flags", 0);
|
livido_set_int_value( port, "flags", 0);
|
||||||
|
|
||||||
livido_set_portptr_array( filter, "out_channel_templates", 1, out_chans );
|
livido_set_portptr_array( filter, "out_channel_templates", 1, out_chans );
|
||||||
|
|||||||
@@ -110,7 +110,8 @@ livido_port_t *livido_setup(livido_setup_t list[], int version)
|
|||||||
//@ some palettes veejay-classic uses
|
//@ some palettes veejay-classic uses
|
||||||
int palettes0[] = {
|
int palettes0[] = {
|
||||||
LIVIDO_PALETTE_YUV422P,
|
LIVIDO_PALETTE_YUV422P,
|
||||||
0,
|
LIVIDO_PALETTE_YUV444P,
|
||||||
|
0,
|
||||||
};
|
};
|
||||||
|
|
||||||
//@ setup output channel
|
//@ setup output channel
|
||||||
@@ -124,7 +125,7 @@ livido_port_t *livido_setup(livido_setup_t list[], int version)
|
|||||||
in_chans[0] = livido_port_new( LIVIDO_PORT_TYPE_CHANNEL_TEMPLATE );
|
in_chans[0] = livido_port_new( LIVIDO_PORT_TYPE_CHANNEL_TEMPLATE );
|
||||||
port = in_chans[0];
|
port = in_chans[0];
|
||||||
livido_set_string_value( port, "name", "Input Channel");
|
livido_set_string_value( port, "name", "Input Channel");
|
||||||
livido_set_int_array( port, "palette_list", 4, palettes0);
|
livido_set_int_array( port, "palette_list", 3, palettes0);
|
||||||
livido_set_int_value( port, "flags", 0);
|
livido_set_int_value( port, "flags", 0);
|
||||||
|
|
||||||
in_params[0] = livido_port_new( LIVIDO_PORT_TYPE_PARAMETER_TEMPLATE );
|
in_params[0] = livido_port_new( LIVIDO_PORT_TYPE_PARAMETER_TEMPLATE );
|
||||||
|
|||||||
@@ -119,13 +119,13 @@ livido_port_t *livido_setup(livido_setup_t list[], int version)
|
|||||||
port = out_chans[0];
|
port = out_chans[0];
|
||||||
|
|
||||||
livido_set_string_value( port, "name", "Output Channel");
|
livido_set_string_value( port, "name", "Output Channel");
|
||||||
livido_set_int_array( port, "palette_list", 3, palettes0);
|
livido_set_int_array( port, "palette_list", 2, palettes0);
|
||||||
livido_set_int_value( port, "flags", 0);
|
livido_set_int_value( port, "flags", 0);
|
||||||
|
|
||||||
in_chans[0] = livido_port_new( LIVIDO_PORT_TYPE_CHANNEL_TEMPLATE );
|
in_chans[0] = livido_port_new( LIVIDO_PORT_TYPE_CHANNEL_TEMPLATE );
|
||||||
port = in_chans[0];
|
port = in_chans[0];
|
||||||
livido_set_string_value( port, "name", "Input Channel");
|
livido_set_string_value( port, "name", "Input Channel");
|
||||||
livido_set_int_array( port, "palette_list", 4, palettes0);
|
livido_set_int_array( port, "palette_list", 2, palettes0);
|
||||||
livido_set_int_value( port, "flags", 0);
|
livido_set_int_value( port, "flags", 0);
|
||||||
|
|
||||||
in_params[0] = livido_port_new( LIVIDO_PORT_TYPE_PARAMETER_TEMPLATE );
|
in_params[0] = livido_port_new( LIVIDO_PORT_TYPE_PARAMETER_TEMPLATE );
|
||||||
|
|||||||
@@ -119,13 +119,13 @@ livido_port_t *livido_setup(livido_setup_t list[], int version)
|
|||||||
port = out_chans[0];
|
port = out_chans[0];
|
||||||
|
|
||||||
livido_set_string_value( port, "name", "Output Channel");
|
livido_set_string_value( port, "name", "Output Channel");
|
||||||
livido_set_int_array( port, "palette_list", 3, palettes0);
|
livido_set_int_array( port, "palette_list", 2, palettes0);
|
||||||
livido_set_int_value( port, "flags", 0);
|
livido_set_int_value( port, "flags", 0);
|
||||||
|
|
||||||
in_chans[0] = livido_port_new( LIVIDO_PORT_TYPE_CHANNEL_TEMPLATE );
|
in_chans[0] = livido_port_new( LIVIDO_PORT_TYPE_CHANNEL_TEMPLATE );
|
||||||
port = in_chans[0];
|
port = in_chans[0];
|
||||||
livido_set_string_value( port, "name", "Input Channel");
|
livido_set_string_value( port, "name", "Input Channel");
|
||||||
livido_set_int_array( port, "palette_list", 4, palettes0);
|
livido_set_int_array( port, "palette_list", 2, palettes0);
|
||||||
livido_set_int_value( port, "flags", 0);
|
livido_set_int_value( port, "flags", 0);
|
||||||
|
|
||||||
in_params[0] = livido_port_new( LIVIDO_PORT_TYPE_PARAMETER_TEMPLATE );
|
in_params[0] = livido_port_new( LIVIDO_PORT_TYPE_PARAMETER_TEMPLATE );
|
||||||
|
|||||||
@@ -109,7 +109,8 @@ livido_port_t *livido_setup(livido_setup_t list[], int version)
|
|||||||
//@ some palettes veejay-classic uses
|
//@ some palettes veejay-classic uses
|
||||||
int palettes0[] = {
|
int palettes0[] = {
|
||||||
LIVIDO_PALETTE_YUV422P,
|
LIVIDO_PALETTE_YUV422P,
|
||||||
0,
|
LIVIDO_PALETTE_YUV444P,
|
||||||
|
0,
|
||||||
};
|
};
|
||||||
|
|
||||||
//@ setup output channel
|
//@ setup output channel
|
||||||
@@ -123,7 +124,7 @@ livido_port_t *livido_setup(livido_setup_t list[], int version)
|
|||||||
in_chans[0] = livido_port_new( LIVIDO_PORT_TYPE_CHANNEL_TEMPLATE );
|
in_chans[0] = livido_port_new( LIVIDO_PORT_TYPE_CHANNEL_TEMPLATE );
|
||||||
port = in_chans[0];
|
port = in_chans[0];
|
||||||
livido_set_string_value( port, "name", "Input Channel");
|
livido_set_string_value( port, "name", "Input Channel");
|
||||||
livido_set_int_array( port, "palette_list", 4, palettes0);
|
livido_set_int_array( port, "palette_list", 3, palettes0);
|
||||||
livido_set_int_value( port, "flags", 0);
|
livido_set_int_value( port, "flags", 0);
|
||||||
|
|
||||||
in_params[0] = livido_port_new( LIVIDO_PORT_TYPE_PARAMETER_TEMPLATE );
|
in_params[0] = livido_port_new( LIVIDO_PORT_TYPE_PARAMETER_TEMPLATE );
|
||||||
|
|||||||
@@ -115,7 +115,7 @@ livido_port_t *livido_setup(livido_setup_t list[], int version)
|
|||||||
LIVIDO_PALETTE_YUV444P,
|
LIVIDO_PALETTE_YUV444P,
|
||||||
LIVIDO_PALETTE_RGBFLOAT,
|
LIVIDO_PALETTE_RGBFLOAT,
|
||||||
LIVIDO_PALETTE_A8,
|
LIVIDO_PALETTE_A8,
|
||||||
0,
|
0,
|
||||||
};
|
};
|
||||||
|
|
||||||
//@ setup output channel
|
//@ setup output channel
|
||||||
@@ -123,13 +123,13 @@ livido_port_t *livido_setup(livido_setup_t list[], int version)
|
|||||||
port = out_chans[0];
|
port = out_chans[0];
|
||||||
|
|
||||||
livido_set_string_value( port, "name", "Output Channel");
|
livido_set_string_value( port, "name", "Output Channel");
|
||||||
livido_set_int_array( port, "palette_list", 3, palettes0);
|
livido_set_int_array( port, "palette_list", 5, palettes0);
|
||||||
livido_set_int_value( port, "flags", 0);
|
livido_set_int_value( port, "flags", 0);
|
||||||
|
|
||||||
in_chans[0] = livido_port_new( LIVIDO_PORT_TYPE_CHANNEL_TEMPLATE );
|
in_chans[0] = livido_port_new( LIVIDO_PORT_TYPE_CHANNEL_TEMPLATE );
|
||||||
port = in_chans[0];
|
port = in_chans[0];
|
||||||
livido_set_string_value( port, "name", "Input Channel");
|
livido_set_string_value( port, "name", "Input Channel");
|
||||||
livido_set_int_array( port, "palette_list", 4, palettes0);
|
livido_set_int_array( port, "palette_list", 5, palettes0);
|
||||||
livido_set_int_value( port, "flags", 0);
|
livido_set_int_value( port, "flags", 0);
|
||||||
|
|
||||||
in_params[0] = livido_port_new( LIVIDO_PORT_TYPE_PARAMETER_TEMPLATE );
|
in_params[0] = livido_port_new( LIVIDO_PORT_TYPE_PARAMETER_TEMPLATE );
|
||||||
|
|||||||
Reference in New Issue
Block a user