diff options
author | tma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2006-01-04 03:12:12 +0000 |
---|---|---|
committer | tma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2006-01-04 03:12:12 +0000 |
commit | 98c8cf0f19d89b729825d6d37b924a84025ec07b (patch) | |
tree | 51cbf43364a63f83c5e0e2fea133038ebf8a255c /code/renderer/tr_public.h | |
parent | 9e019da1eadfaab84999cf76ec169d6cb3bc9f25 (diff) | |
download | ioquake3-aero-98c8cf0f19d89b729825d6d37b924a84025ec07b.tar.gz ioquake3-aero-98c8cf0f19d89b729825d6d37b924a84025ec07b.zip |
* AVI video output
- Uses motion jpeg codec by default
- Use cl_avidemo to set a framerate
- \video [filename] to start capture
- \stopvideo to stop capture
- Audio capture is a bit ropey
git-svn-id: svn://svn.icculus.org/quake3/trunk@454 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/renderer/tr_public.h')
-rw-r--r-- | code/renderer/tr_public.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/code/renderer/tr_public.h b/code/renderer/tr_public.h index 9752305..6cefe16 100644 --- a/code/renderer/tr_public.h +++ b/code/renderer/tr_public.h @@ -97,6 +97,8 @@ typedef struct { void (*RemapShader)(const char *oldShader, const char *newShader, const char *offsetTime); qboolean (*GetEntityToken)( char *buffer, int size ); qboolean (*inPVS)( const vec3_t p1, const vec3_t p2 ); + + void (*TakeVideoFrame)( int h, int w, byte* captureBuffer, byte *encodeBuffer, qboolean motionJpeg ); } refexport_t; // @@ -156,6 +158,7 @@ typedef struct { int (*CIN_PlayCinematic)( const char *arg0, int xpos, int ypos, int width, int height, int bits); e_status (*CIN_RunCinematic) (int handle); + void (*CL_WriteAVIVideoFrame)( const byte *buffer, int size ); } refimport_t; |