- public bool caps_set_level_and_profile (Caps caps, uint8[] sps)
Sets the level and profile in caps
if it can be
determined from sps
.
- public unowned string? get_level (uint8[] sps)
Converts the level indication (level_idc) in the stream's sequence
parameter set into a string.
- public uint8 get_level_idc (string level)
Transform a level string from the caps into the level_idc
- public unowned string? get_profile (uint8[] sps)
Converts the profile indication (profile_idc) in the stream's sequence
parameter set into a string.
- public bool get_profile_flags_level (uint8[] codec_data, out uint8 profile, out uint8 flags, out uint8 level)
Parses profile, flags, and level from a H264 AVCC
extradata/sequence_header.