vitasdk
Documentation of the vitasdk
jpegenc.h File Reference

Go to the source code of this file.

Functions

int ksceJpegEncoderInit (SceJpegEncoderContext context, int inWidth, int inHeight, SceJpegEncoderPixelFormat pixelformat, void *outBuffer, SceSize outSize)
 Initialize a jpeg encoder. More...
 
int ksceJpegEncoderEnd (SceJpegEncoderContext context)
 Terminate a jpeg encoder. More...
 
int ksceJpegEncoderEncode (SceJpegEncoderContext context, const void *inBuffer)
 Execute a jpeg encode. More...
 
int ksceJpegEncoderSetCompressionRatio (SceJpegEncoderContext context, int ratio)
 Set encoder compression ratio. More...
 
int ksceJpegEncoderSetOutputAddr (SceJpegEncoderContext context, void *outBuffer, SceSize outSize)
 Set encoder output address. More...
 
int ksceJpegEncoderCsc (SceJpegEncoderContext context, void *outBuffer, const void *inBuffer, int inPitch, SceJpegEncoderPixelFormat inPixelFormat)
 Execute a color conversion from ARGB to YCbCr. More...
 
int ksceJpegEncoderGetContextSize (void)
 Return required free size to allocate a jpeg encoder. More...
 
int ksceJpegEncoderSetValidRegion (SceJpegEncoderContext context, int inWidth, int inHeight)
 Set encoder valid region (?) More...
 
int ksceJpegEncoderSetHeaderMode (SceJpegEncoderContext context, int mode)
 Set header used for output file. More...