123 WUT_PADDING_BYTES(4);
129 WUT_PADDING_BYTES(3);
135 WUT_PADDING_BYTES(3);
142 WUT_PADDING_BYTES(3);
144 WUT_UNKNOWN_BYTES(40);
188 const uint8_t *buffer,
189 int32_t bufferLength,
199 int32_t bufferLength,
208 int32_t bufferLength,
222 int32_t bufferLength,
231 int32_t bufferLength,
int16_t max_bits_per_mb_denom
uint8_t chroma_sample_loc_type_top_field
int16_t log2_max_mv_length_horizontal
uint8_t overscan_appropriate_flag
uint32_t num_units_in_tick
uint8_t chroma_sample_loc_type_bottom_field
int16_t num_reorder_frames
uint8_t vcl_hrd_parameters_present_flag
uint8_t motion_vectors_over_pic_boundaries_flag
int16_t max_bytes_per_pic_denom
int16_t log2_max_mv_length_vertical
uint8_t vui_parameters_present_flag
uint8_t aspect_ratio_info_present_flag
uint8_t low_delay_hrd_flag
uint8_t pic_struct_present_flag
H264DecodeResult ** decodeResults
Frames.
void * userMemory
User memory pointer passed into SetParam.
H264DecodedVuiParameters * vui_parameters
uint8_t video_full_range_flag
uint8_t overscan_info_present_flag
uint8_t bitstream_restriction_flag
uint8_t chroma_loc_info_present_flag
uint8_t timing_info_present_flag
uint8_t transfer_characteristics
uint8_t panScanEnableFlag
uint8_t fixed_frame_rate_flag
uint8_t colour_description_present_flag
int32_t frameCount
Number of frames output.
int16_t max_dec_frame_buffering
uint8_t nal_hrd_parameters_present_flag
uint8_t matrix_coefficients
uint8_t video_signal_type_present_flag
void(* H264DECFptrOutputFn)(H264DecodeOutput *output)
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.
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.
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.
int32_t H264DECFindIdrpoint(const uint8_t *buffer, int32_t bufferLength, int32_t *outOffset)
Find the first "IDR point" in the stream.
H264Error
h264 library errors.
@ H264_ERROR_GENERIC
Generic h264 error.
@ H264_ERROR_INVALID_SLICEHEADER
Invalid slice header.
@ H264_ERROR_OUT_OF_MEMORY
The amount of memory provided to the h264 library is insufficient.
@ H264_ERROR_INVALID_PARAMETER
Invalid parameters passed.
@ H264_ERROR_OK
No errors.
@ H264_ERROR_INVALID_SPS
Invalid sequence parameter set.
@ H264_ERROR_INVALID_PPS
Invalid picture parameter set.
@ H264_ERROR_INVALID_PROFILE
Invalid h264 stream profile.