#include "third_party/blink/renderer/platform/webrtc/webrtc_video_utils.h"
#include "base/logging.h"
#include "third_party/blink/public/common/features.h"
#include "third_party/webrtc/api/video_codecs/h264_profile_level_id.h"
#if BUILDFLAG(RTC_USE_H265)
#include "third_party/webrtc/api/video_codecs/h265_profile_tier_level.h"
#endif
#include "third_party/webrtc/api/video_codecs/video_codec.h"
#include "third_party/webrtc/api/video_codecs/vp9_profile.h"
namespace blink {
media::VideoRotation WebRtcToMediaVideoRotation(
webrtc::VideoRotation rotation) { … }
media::VideoCodec WebRtcToMediaVideoCodec(webrtc::VideoCodecType codec) { … }
media::VideoCodecProfile WebRtcVideoFormatToMediaVideoCodecProfile(
const webrtc::SdpVideoFormat& format) { … }
gfx::ColorSpace WebRtcToGfxColorSpace(const webrtc::ColorSpace& color_space) { … }
webrtc::ColorSpace GfxToWebRtcColorSpace(const gfx::ColorSpace& color_space) { … }
}