vitasdk
Documentation of the vitasdk
jpeg.h File Reference
#include <vitasdk/build_utils.h>
#include <psp2/types.h>

Go to the source code of this file.

Data Structures

struct  SceJpegMJpegInitParam
 
struct  SceJpegPitch
 
struct  SceJpegOutputInfo
 

Functions

 VITASDK_BUILD_ASSERT_EQ (0xC, SceJpegMJpegInitParam)
 
 VITASDK_BUILD_ASSERT_EQ (8, SceJpegPitch)
 
 VITASDK_BUILD_ASSERT_EQ (0x34, SceJpegOutputInfo)
 
int sceJpegInitMJpeg (SceInt32 decoderCount)
 
int sceJpegInitMJpegWithParam (const SceJpegMJpegInitParam *params)
 
int sceJpegFinishMJpeg ()
 
int sceJpegGetOutputInfo (const SceUInt8 *jpegData, SceSize jpegSize, SceInt32 format, SceInt32 mode, SceJpegOutputInfo *output)
 
int sceJpegDecodeMJpegYCbCr (const SceUInt8 *jpegData, SceSize jpegSize, SceInt32 mode, SceUInt8 *output, SceSize outputSize, void *buffer, SceSize bufferSize)
 
int sceJpegMJpegCsc (SceUInt8 *rgba, const SceUInt8 *yuv, SceSize yuvSize, SceInt32 imageWidth, SceInt32 format, SceInt32 sampling)