wut
v1.7.0
Wii U Toolchain
|
Data Structures | |
struct | H264DecodedVuiParameters |
struct | H264DecodeResult |
struct | H264DecodeOutput |
Typedefs | |
typedef struct H264DecodedVuiParameters | H264DecodedVuiParameters |
typedef struct H264DecodeResult | H264DecodeResult |
typedef struct H264DecodeOutput | H264DecodeOutput |
typedef void(* | H264DECFptrOutputFn) (H264DecodeOutput *output) |
typedef enum H264Error | H264Error |
h264 library errors. More... | |
Enumerations | |
enum | H264Error { H264_ERROR_OK = 0 , H264_ERROR_INVALID_PPS = 24 , H264_ERROR_INVALID_SPS = 26 , H264_ERROR_INVALID_SLICEHEADER = 61 , H264_ERROR_GENERIC = 0x1000000 , H264_ERROR_INVALID_PARAMETER = 0x1010000 , H264_ERROR_OUT_OF_MEMORY = 0x1020000 , H264_ERROR_INVALID_PROFILE = 0x1080000 } |
h264 library errors. More... | |
Functions | |
H264Error | H264DECCheckDecunitLength (void *memory, const uint8_t *buffer, int32_t bufferLength, int32_t offset, int32_t *outLength) |
Check that the stream contains sufficient data to decode an entire frame. More... | |
H264Error | H264DECCheckSkipableFrame (const uint8_t *buffer, int32_t bufferLength, BOOL *outSkippable) |
Check if the next NALU can be skipped without breaking decoding. More... | |
H264Error | H264DECFindDecstartpoint (const uint8_t *buffer, int32_t bufferLength, int32_t *outOffset) |
Find the first SPS in the stream. More... | |
int32_t | H264DECFindIdrpoint (const uint8_t *buffer, int32_t bufferLength, int32_t *outOffset) |
Find the first "IDR point" in the stream. More... | |
H264Error | H264DECGetImageSize (const uint8_t *buffer, int32_t bufferLength, int32_t offset, int32_t *outWidth, int32_t *outHeight) |
Parse the H264 stream and read the width & height from the first found SPS. More... | |
struct H264DecodedVuiParameters |
struct H264DecodeResult |
Data Fields | ||
---|---|---|
int32_t | status | |
double | timestamp | |
int32_t | width | |
int32_t | height | |
int32_t | nextLine | |
uint8_t | cropEnableFlag | |
int32_t | cropTop | |
int32_t | cropBottom | |
int32_t | cropLeft | |
int32_t | cropRight | |
uint8_t | panScanEnableFlag | |
int32_t | panScanTop | |
int32_t | panScanBottom | |
int32_t | panScanLeft | |
int32_t | panScanRight | |
void * | framebuffer | |
uint8_t | vui_parameters_present_flag | |
H264DecodedVuiParameters * | vui_parameters |
struct H264DecodeOutput |
Data Fields | ||
---|---|---|
int32_t | frameCount | Number of frames output. |
H264DecodeResult ** | decodeResults | Frames. |
void * | userMemory | User memory pointer passed into SetParam. |
typedef struct H264DecodedVuiParameters H264DecodedVuiParameters |
typedef struct H264DecodeResult H264DecodeResult |
typedef struct H264DecodeOutput H264DecodeOutput |
typedef void(* H264DECFptrOutputFn) (H264DecodeOutput *output) |
enum H264Error |
h264 library errors.
H264Error H264DECCheckDecunitLength | ( | void * | memory, |
const uint8_t * | buffer, | ||
int32_t | bufferLength, | ||
int32_t | offset, | ||
int32_t * | outLength | ||
) |
Check that the stream contains sufficient data to decode an entire frame.
H264Error H264DECCheckSkipableFrame | ( | const uint8_t * | buffer, |
int32_t | bufferLength, | ||
BOOL * | outSkippable | ||
) |
Check if the next NALU can be skipped without breaking decoding.
H264Error H264DECFindDecstartpoint | ( | const uint8_t * | buffer, |
int32_t | bufferLength, | ||
int32_t * | outOffset | ||
) |
Find the first SPS in the stream.
int32_t H264DECFindIdrpoint | ( | const uint8_t * | buffer, |
int32_t | bufferLength, | ||
int32_t * | outOffset | ||
) |
Find the first "IDR point" in the stream.
An IDR point is either:
H264Error H264DECGetImageSize | ( | const uint8_t * | buffer, |
int32_t | bufferLength, | ||
int32_t | offset, | ||
int32_t * | outWidth, | ||
int32_t * | outHeight | ||
) |
Parse the H264 stream and read the width & height from the first found SPS.