Fix JPEG compression for screenshots and mjpeg video recording with new JPG library
This commit is contained in:
parent
d3f8dffe39
commit
16b99e354b
4 changed files with 84 additions and 161 deletions
|
@ -1695,10 +1695,9 @@ void RE_StretchPic ( float x, float y, float w, float h,
|
|||
float s1, float t1, float s2, float t2, qhandle_t hShader );
|
||||
void RE_BeginFrame( stereoFrame_t stereoFrame );
|
||||
void RE_EndFrame( int *frontEndMsec, int *backEndMsec );
|
||||
void SaveJPG(char * filename, int quality, int image_width, int image_height, unsigned char *image_buffer);
|
||||
int SaveJPGToBuffer( byte *buffer, int quality,
|
||||
int image_width, int image_height,
|
||||
byte *image_buffer );
|
||||
void RE_SaveJPG(char * filename, int quality, int image_width, int image_height, unsigned char *image_buffer);
|
||||
size_t RE_SaveJPGToBuffer(byte *buffer, size_t bufSize, int quality,
|
||||
int image_width, int image_height, byte *image_buffer);
|
||||
void RE_TakeVideoFrame( int width, int height,
|
||||
byte *captureBuffer, byte *encodeBuffer, qboolean motionJpeg );
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue