wut
v1.5.0
Wii U Toolchain
|
Data Structures | |
struct | CAMEventData |
struct | CAMMode |
struct | CAMWorkMem |
struct | CAMStreamInfo |
struct | CAMSetupInfo |
struct | CAMSurface |
Macros | |
#define | CAMERA_WIDTH 640 |
#define | CAMERA_PITCH 768 |
#define | CAMERA_HEIGHT 480 |
#define | CAMERA_Y_BUFFER_SIZE (CAMERA_PITCH * CAMERA_HEIGHT) |
#define | CAMERA_UV_BUFFER_SIZE (CAMERA_PITCH * CAMERA_HEIGHT / 2) |
#define | CAMERA_YUV_BUFFER_SIZE (CAMERA_Y_BUFFER_SIZE + CAMERA_UV_BUFFER_SIZE) |
#define | CAMERA_YUV_BUFFER_ALIGNMENT 256 |
Typedefs | |
typedef int | CAMHandle |
typedef int | CAMError |
typedef struct CAMEventData | CAMEventData |
typedef struct CAMMode | CAMMode |
typedef struct CAMWorkMem | CAMWorkMem |
typedef struct CAMStreamInfo | CAMStreamInfo |
typedef struct CAMSetupInfo | CAMSetupInfo |
typedef struct CAMSurface | CAMSurface |
typedef enum CamError | CamError |
typedef enum CamFps | CamFps |
typedef enum CamStreamType | CamStreamType |
typedef enum CamEventType | CamEventType |
typedef void(* | CAMEventHandler) (CAMEventData *camEventData) |
Enumerations | |
enum | CamError { CAMERA_ERROR_OK = 0 , CAMERA_ERROR_INVALID_ARG = -1 , CAMERA_ERROR_INVALID_HANDLE = -2 , CAMERA_ERROR_INSUFFICIENT_MEMORY = -5 , CAMERA_ERROR_NOT_READY = -6 , CAMERA_ERROR_UNINITIALIZED = -8 , CAMERA_ERROR_UNKNOWN = -10 , CAMERA_ERROR_DEVICE_IN_USE = -12 , CAMERA_ERROR_SEGMENT_VIOLATION = -14 } |
enum | CamFps { CAMERA_FPS_15 , CAMERA_FPS_30 } |
enum | CamStreamType { CAMERA_STREAM_TYPE_1 } |
enum | CamEventType { CAMERA_DECODE_DONE = 0 , CAMERA_DRC_DETACH } |
Functions | |
CAMHandle | CAMInit (int instance, CAMSetupInfo *setupInfo, CAMError *err) |
void | CAMExit (CAMHandle handle) |
CAMError | CAMOpen (CAMHandle handle) |
CAMError | CAMClose (CAMHandle handle) |
CAMError | CAMGetMemReq (CAMStreamInfo *streamInfo) |
CAMError | CAMSubmitTargetSurface (CAMHandle handle, CAMSurface *surface) |
CAMError | CAMCheckMemSegmentation (void *pMem, uint32_t size) |
Variables | |
CamEventType | eventType |
uint32_t | data0 |
uint32_t | data1 |
uint32_t | data2 |
int | unk_0x00 |
CamFps | fps |
int | size |
void * | pMem |
CamStreamType | type |
int | height |
int | width |
CAMStreamInfo | streamInfo |
CAMWorkMem | workMem |
CAMEventHandler | eventHandler |
CAMMode | mode |
uint32_t | threadAffinity |
See OS_THREAD_ATTRIB. More... | |
int | surfaceSize |
void * | surfaceBuffer |
int | height |
int | width |
int | pitch |
int | alignment |
int | tileMode |
int | pixelFormat |
struct CAMEventData |
Data Fields | ||
---|---|---|
CamEventType | eventType | |
uint32_t | data0 | |
uint32_t | data1 | |
uint32_t | data2 |
struct CAMStreamInfo |
Data Fields | ||
---|---|---|
CamStreamType | type | |
int | height | |
int | width |
struct CAMSetupInfo |
Data Fields | ||
---|---|---|
CAMStreamInfo | streamInfo | |
CAMWorkMem | workMem | |
CAMEventHandler | eventHandler | |
CAMMode | mode | |
uint32_t | threadAffinity | See OS_THREAD_ATTRIB. |
struct CAMSurface |
#define CAMERA_Y_BUFFER_SIZE (CAMERA_PITCH * CAMERA_HEIGHT) |
#define CAMERA_UV_BUFFER_SIZE (CAMERA_PITCH * CAMERA_HEIGHT / 2) |
#define CAMERA_YUV_BUFFER_SIZE (CAMERA_Y_BUFFER_SIZE + CAMERA_UV_BUFFER_SIZE) |
typedef struct CAMEventData CAMEventData |
typedef struct CAMWorkMem CAMWorkMem |
typedef struct CAMStreamInfo CAMStreamInfo |
typedef struct CAMSetupInfo CAMSetupInfo |
typedef struct CAMSurface CAMSurface |
typedef enum CamStreamType CamStreamType |
typedef enum CamEventType CamEventType |
typedef void(* CAMEventHandler) (CAMEventData *camEventData) |
enum CamError |
enum CamStreamType |
enum CamEventType |
CAMHandle CAMInit | ( | int | instance, |
CAMSetupInfo * | setupInfo, | ||
CAMError * | err | ||
) |
void CAMExit | ( | CAMHandle | handle | ) |
CAMError CAMGetMemReq | ( | CAMStreamInfo * | streamInfo | ) |
CAMError CAMSubmitTargetSurface | ( | CAMHandle | handle, |
CAMSurface * | surface | ||
) |
CAMError CAMCheckMemSegmentation | ( | void * | pMem, |
uint32_t | size | ||
) |
CamEventType eventType |
CamStreamType type |
CAMStreamInfo streamInfo |
CAMWorkMem workMem |
CAMEventHandler eventHandler |
uint32_t threadAffinity |
See OS_THREAD_ATTRIB.