+ // cachepic holds the relevant texture_t and we simply update the texture as needed
+ struct cachepic_s *cachepic;
+ char name[MAX_QPATH]; // name of this video UI element (not the filename)
+ int width;
+ int height;
+
+ // VorteX: subtitles array
+ int subtitles;
+ char *subtitle_text[CLVIDEO_MAX_SUBTITLES];
+ float subtitle_start[CLVIDEO_MAX_SUBTITLES];
+ float subtitle_end[CLVIDEO_MAX_SUBTITLES];
+
+ // this functions gets filled by video format module
+ void (*close) (void *stream);
+ unsigned int (*getwidth) (void *stream);
+ unsigned int (*getheight) (void *stream);
+ double (*getframerate) (void *stream);
+ double (*getaspectratio) (void *stream);
+ int (*decodeframe) (void *stream, void *imagedata, unsigned int Rmask, unsigned int Gmask, unsigned int Bmask, unsigned int bytesperpixel, int imagebytesperrow);