#ifndef USE_FOR_NETWORKMANUAL
#define USE_FOR_NETWORKMANUAL 1
#endif
#include <revolution/hbm.h>
s32 HBMJPGMakeTextureBuffer( void *in_jpegWorkarea, void *out_buffer,
u32 in_bufferSize, void *in_jpg, u32 in_jpgSize, GXTexFmt in_format );
in_jpegWorkarea |
Work memory for JPEG decoding (prepares the size of memory specified by the JPEG codec library). |
out_buffer |
The target buffer for decoding. |
in_bufferSize |
The size of the target buffer for decoding. |
in_jpg |
The starting address for loading JPEG data. |
in_jpgSize |
Size of the JPEG data. |
in_format |
The format of the data that will be output; two texture formats are supported: GX_TF_RGB565 and GX_TF_RGBA8. |
Library error values. 0 means ended normally. A negative value means ended with error. For details, see the list of JPEG codec library error codes.
Decodes in the specified format from the JPEG data.
CONFIDENTIAL