![]() |
DarkPlaces
Game engine based on the Quake 1 engine by id Software, developed by LadyHavoc
|
|
Go to the source code of this file.
Data Structures | |
struct | jamdecodestream_t |
Functions | |
void | jam_close (void *stream) |
static void | jam_decodeframe (unsigned char *inbuf, unsigned char *outbuf, unsigned char *prevbuf, int outsize, int frametype) |
double | jam_getaspectratio (void *stream) |
double | jam_getframerate (void *stream) |
unsigned int | jam_getheight (void *stream) |
unsigned int | jam_getwidth (void *stream) |
void * | jam_open (clvideo_t *video, char *filename, const char **errorstring) |
int | jam_video (void *stream, void *imagedata, unsigned int Rmask, unsigned int Gmask, unsigned int Bmask, unsigned int bytesperpixel, int imagebytesperrow) |
Definition at line 167 of file cl_video_jamdecode.c.
References jamdecodestream_t::file, jamdecodestream_t::frame, jamdecodestream_t::frame_compressed, jamdecodestream_t::frame_prev, FS_Close(), NULL, S_StopChannel(), jamdecodestream_t::sndchan, and Z_Free.
Referenced by jam_open().
|
static |
Definition at line 230 of file cl_video_jamdecode.c.
References i.
Referenced by jam_video().
double jam_getaspectratio | ( | void * | stream | ) |
Definition at line 223 of file cl_video_jamdecode.c.
References jamdecodestream_t::info_aspectratio.
Referenced by jam_open().
double jam_getframerate | ( | void * | stream | ) |
Definition at line 216 of file cl_video_jamdecode.c.
References jamdecodestream_t::info_framerate.
Referenced by jam_open().
Definition at line 209 of file cl_video_jamdecode.c.
References jamdecodestream_t::info_imageheight.
Referenced by jam_open().
Definition at line 202 of file cl_video_jamdecode.c.
References jamdecodestream_t::info_imagewidth.
Referenced by jam_open().
Definition at line 47 of file cl_video_jamdecode.c.
References clvideo_t::close, jamdecodestream_t::colorscale, jamdecodestream_t::colorsub, clvideo_t::decodeframe, dp_strlcat, jamdecodestream_t::file, jamdecodestream_t::frame, jamdecodestream_t::frame_compressed, jamdecodestream_t::frame_prev, jamdecodestream_t::framenum, jamdecodestream_t::framesize, FS_OpenVirtualFile(), FS_Read(), FS_StripExtension(), clvideo_t::getaspectratio, clvideo_t::getframerate, clvideo_t::getheight, clvideo_t::getwidth, jamdecodestream_t::info_aspectratio, jamdecodestream_t::info_framerate, jamdecodestream_t::info_frames, jamdecodestream_t::info_imageheight, jamdecodestream_t::info_imagewidth, jam_close(), jam_getaspectratio(), jam_getframerate(), jam_getheight(), jam_getwidth(), jam_video(), LittleLong, max, NULL, S_PrecacheSound(), S_StartSound(), jamdecodestream_t::sndchan, strlen(), vec3_origin, Z_Free, and Z_Malloc.
Referenced by OpenStream().
int jam_video | ( | void * | stream, |
void * | imagedata, | ||
unsigned int | Rmask, | ||
unsigned int | Gmask, | ||
unsigned int | Bmask, | ||
unsigned int | bytesperpixel, | ||
int | imagebytesperrow ) |
Definition at line 290 of file cl_video_jamdecode.c.
References b, bound, jamdecodestream_t::colorscale, jamdecodestream_t::colorsub, Con_Printf(), jamdecodestream_t::file, jamdecodestream_t::frame, jamdecodestream_t::frame_compressed, jamdecodestream_t::frame_palette, jamdecodestream_t::frame_prev, jamdecodestream_t::framenum, jamdecodestream_t::framesize, FS_Read(), i, jamdecodestream_t::info_frames, jamdecodestream_t::info_imageheight, jamdecodestream_t::info_imagewidth, jam_decodeframe(), LittleLong, max, min, and NULL.
Referenced by jam_open().