pub fn hevc_codec_string(fourcc: &str, sps: &HevcSpsInfo) -> StringExpand description
H.265 codec string <fourcc>.{space}{profile}.{compat}.{tier}{level}{.cons}*
per ISO/IEC 14496-15 §E.3, parsed from the SPS profile_tier_level:
{space}=general_profile_spaceas a letter (0 → omitted, 1→‘A’, …), thengeneral_profile_idcin decimal.{compat}=general_profile_compatibility_flagswith its 32-bit order reversed, in hex with leading zeros omitted (Main →6).{tier}{level}= ‘L’/‘H’ fromgeneral_tier_flag+general_level_idcin decimal (L4.0 →L120, L3.1 →L93).{.cons}*= the sixgeneral_constraint_indicator_flagsbytes, each a.XXhex segment, trailing zero bytes omitted.fourccishvc1(out-of-band) orhev1(in-band). Example: Main@L3.1 progressive →hvc1.1.6.L93.B0.