void (*setparameter) (struct _videoreader_t*, char*name, char*value);
int (*getsamples) (struct _videoreader_t*, void*buffer, int num);
int (*getimage) (struct _videoreader_t*, void*buffer); // buffer must hold width*height*4 bytes
void (*setparameter) (struct _videoreader_t*, char*name, char*value);
int (*getsamples) (struct _videoreader_t*, void*buffer, int num);
int (*getimage) (struct _videoreader_t*, void*buffer); // buffer must hold width*height*4 bytes