wut  v1.7.0
Wii U Toolchain
Data Structures | Typedefs | Enumerations | Functions
stream.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

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...