8#define CLVIDEOPREFIX "video/"
13typedef enum clvideostate_e
24#define CLVIDEO_MAX_SUBTITLES 512
35typedef struct clvideo_s
67 int (*
decodeframe) (
void *
stream,
void *
imagedata,
unsigned int Rmask,
unsigned int Gmask,
unsigned int Bmask,
unsigned int bytesperpixel,
int imagebytesperrow);
94void CL_VideoStart(
char *filename,
const char *subtitlesfile );
cvar_t cl_video_scale_vpos
cvar_t cl_video_subtitles_textsize
cvar_t cl_video_brightness
cvar_t cl_video_subtitles_lines
cvar_t cl_video_subtitles
cvar_t cl_video_keepaspectratio
void CL_SetVideoState(clvideo_t *video, clvideostate_t state)
clvideo_t * CL_GetVideoByName(const char *name)
void CL_VideoStart(char *filename, const char *subtitlesfile)
#define CLVIDEO_MAX_SUBTITLES
void CL_RestartVideo(clvideo_t *video)
void CL_Video_KeyEvent(int key, int ascii, qbool down)
void CL_Video_Shutdown(void)
void CL_CloseVideo(clvideo_t *video)
void CL_Video_Frame(void)
void CL_PurgeOwner(int owner)
clvideo_t * CL_OpenVideo(const char *filename, const char *name, int owner, const char *subtitlesfile)
static int(ZEXPORT *qz_inflate)(z_stream *strm
#define MAX_QPATH
max length of a quake game pathname
float subtitle_start[CLVIDEO_MAX_SUBTITLES]
struct cachepic_s * cachepic
void(* close)(void *stream)
double(* getframerate)(void *stream)
unsigned int(* getheight)(void *stream)
float subtitle_end[CLVIDEO_MAX_SUBTITLES]
int(* decodeframe)(void *stream, void *imagedata, unsigned int Rmask, unsigned int Gmask, unsigned int Bmask, unsigned int bytesperpixel, int imagebytesperrow)
double(* getaspectratio)(void *stream)
unsigned int(* getwidth)(void *stream)
char * subtitle_text[CLVIDEO_MAX_SUBTITLES]