#include "media/cast/openscreen/config_conversions.h"
#include "base/check.h"
#include "base/notreached.h"
#include "media/base/media_util.h"
#include "ui/gfx/geometry/rect.h"
#include "ui/gfx/geometry/size.h"
namespace media::cast {
namespace {
media::VideoCodecProfile ToVideoDecoderConfigCodecProfile(
openscreen::cast::VideoCodec codec) { … }
media::AudioCodec ToAudioDecoderConfigCodec(
openscreen::cast::AudioCodec codec) { … }
media::VideoCodec ToVideoDecoderConfigCodec(
openscreen::cast::VideoCodec codec) { … }
}
openscreen::cast::AudioCodec ToAudioCaptureConfigCodec(
media::AudioCodec codec) { … }
openscreen::cast::VideoCodec ToVideoCaptureConfigCodec(
media::VideoCodec codec) { … }
openscreen::cast::AudioCaptureConfig ToAudioCaptureConfig(
const media::AudioDecoderConfig& audio_config) { … }
openscreen::cast::VideoCaptureConfig ToVideoCaptureConfig(
const media::VideoDecoderConfig& video_config) { … }
media::AudioDecoderConfig ToAudioDecoderConfig(
const openscreen::cast::AudioCaptureConfig& audio_capture_config) { … }
media::VideoDecoderConfig ToVideoDecoderConfig(
const openscreen::cast::VideoCaptureConfig& video_capture_config) { … }
}