#include "media/muxers/muxer.h"
#include <optional>
#include "media/base/video_codecs.h"
#include "media/base/video_frame.h"
#include "ui/gfx/color_space.h"
#include "ui/gfx/geometry/size.h"
namespace media {
Muxer::VideoParameters::VideoParameters(const VideoFrame& frame)
: … { … }
Muxer::VideoParameters::VideoParameters(
gfx::Size visible_rect_size,
double frame_rate,
VideoCodec codec,
std::optional<gfx::ColorSpace> color_space)
: … { … }
Muxer::VideoParameters::VideoParameters(const VideoParameters&) = default;
Muxer::VideoParameters::~VideoParameters() = default;
std::string Muxer::VideoParameters::AsHumanReadableString() const { … }
Muxer::EncodedFrame::EncodedFrame() = default;
Muxer::EncodedFrame::EncodedFrame(
absl::variant<AudioParameters, VideoParameters> params,
std::optional<media::AudioEncoder::CodecDescription> codec_description,
std::string data,
std::string alpha_data,
bool is_keyframe)
: … { … }
Muxer::EncodedFrame::~EncodedFrame() = default;
Muxer::EncodedFrame::EncodedFrame(EncodedFrame&&) = default;
}