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.
This function can help us to find all the compatible profiles for the specified profile and compatibility flags.