update livido plugins to new api

This commit is contained in:
niels
2015-07-30 22:14:16 +02:00
parent 38eb645f83
commit c77fe52f82
7 changed files with 55 additions and 63 deletions

View File

@@ -40,7 +40,7 @@ livido_deinit_f deinit_instance( livido_port_t *my_instance )
}
livido_process_f process_instance( livido_port_t *my_instance, double timecode )
int process_instance( livido_port_t *my_instance, double timecode )
{
int len =0;
uint8_t *O[4]= {NULL,NULL,NULL,NULL};
@@ -52,7 +52,7 @@ livido_process_f process_instance( livido_port_t *my_instance, double timecode
//@ get output channel details
int error = lvd_extract_channel_values( my_instance, "out_channels", 0, &w,&h, O,&palette );
if( error != LIVIDO_NO_ERROR )
return LIVIDO_ERROR_HARDWARE; //@ error codes in livido flanky
return LIVIDO_ERROR_NO_OUTPUT_CHANNELS; //@ error codes in livido flanky
int uv_len = lvd_uv_plane_len( palette,w,h );
len = w * h;