From 98c8cf0f19d89b729825d6d37b924a84025ec07b Mon Sep 17 00:00:00 2001 From: tma Date: Wed, 4 Jan 2006 03:12:12 +0000 Subject: * 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 --- code/renderer/tr_public.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'code/renderer/tr_public.h') 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; -- cgit v1.2.3