codec-utils: Add a get_compatible_profiles function for H265/H264.
This function can help us to find all the compatible profiles for the specified profile and compatibility flags.
Edited by He Junyan
This function can help us to find all the compatible profiles for the specified profile and compatibility flags.