vitasdk
Documentation of the vitasdk
jpegenc.h
Go to the documentation of this file.
1 
6 #ifndef _PSP2COMMON_JPEGENC_H_
7 #define _PSP2COMMON_JPEGENC_H_
8 
9 #include <vitasdk/build_utils.h>
10 #include <psp2common/types.h>
11 
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15 
16 
17 typedef void *SceJpegEncoderContext;
19 
20 typedef enum SceJpegEncErrorCode {
29 
36 
41 
42 
43 #ifdef __cplusplus
44 }
45 #endif /* __cplusplus */
46 
47 #endif /* _PSP2COMMON_JPEGENC_H_ */
SceJpegEncoderHeaderMode
Definition: jpegenc.h:37
VITASDK_BUILD_ASSERT_EQ(0x1C, SceJpegEncoderInitParam)
SceJpegEncoderPixelFormat
Definition: jpegenc.h:30
void * SceJpegEncoderContext
Definition: jpegenc.h:17
SceJpegEncErrorCode
Definition: jpegenc.h:20
@ SCE_JPEGENC_HEADER_MODE_MJPEG
MJPEG header mode.
Definition: jpegenc.h:39
@ SCE_JPEGENC_HEADER_MODE_JPEG
JPEG header mode.
Definition: jpegenc.h:38
@ SCE_JPEGENC_PIXELFORMAT_ARGB8888
ARGB8888 format.
Definition: jpegenc.h:31
@ SCE_JPEGENC_PIXELFORMAT_YCBCR420
YCbCr420 format.
Definition: jpegenc.h:32
@ SCE_JPEGENC_PIXELFORMAT_CSC_ARGB_YCBCR
ARGB to YCbCr color conversion flag.
Definition: jpegenc.h:34
@ SCE_JPEGENC_PIXELFORMAT_YCBCR422
YCbCr422 format.
Definition: jpegenc.h:33
@ SCE_JPEGENC_ERROR_NOT_PHY_CONTINUOUS_MEMORY
Definition: jpegenc.h:27
@ SCE_JPEGENC_ERROR_INVALID_PIXELFORMAT
Definition: jpegenc.h:24
@ SCE_JPEGENC_ERROR_IMAGE_SIZE
Definition: jpegenc.h:21
@ SCE_JPEGENC_ERROR_INVALID_POINTER
Definition: jpegenc.h:26
@ SCE_JPEGENC_ERROR_INSUFFICIENT_BUFFER
Definition: jpegenc.h:22
@ SCE_JPEGENC_ERROR_INVALID_COMPRATIO
Definition: jpegenc.h:23
@ SCE_JPEGENC_ERROR_INVALID_HEADER_MODE
Definition: jpegenc.h:25