public unowned string get_profile (uint8 sps)
Converts the profile indication (profile_idc) in the stream's sequence parameter set into a string.
The SPS is expected to have the following format, as defined in the H.264 specification. The SPS is viewed as a bitstream here, with bit 0 being the most significant bit of the first byte.
* Bit 0:7 - Profile indication * Bit 8 - constraint_set0_flag * Bit 9 - constraint_set1_flag * Bit 10 - constraint_set2_flag * Bit 11 - constraint_set3_flag * Bit 12 - constraint_set3_flag * Bit 13:15 - Reserved * Bit 16:24 - Level indication
Pointer to the sequence parameter set for the stream.
Length of the data available in
The profile as a const string, or