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
- bool (*eof) (struct _videoreader_t*);
void (*close) (struct _videoreader_t*);
} videoreader_t;