Home
last modified time | relevance | path

Searched refs:SdpVideoFormat (Results 1 – 25 of 117) sorted by relevance

12345

/external/webrtc/api/video_codecs/
Dsdp_video_format.cc17 SdpVideoFormat::SdpVideoFormat(const std::string& name) : name(name) {} in SdpVideoFormat() function in webrtc::SdpVideoFormat
19 SdpVideoFormat::SdpVideoFormat(const std::string& name, in SdpVideoFormat() function in webrtc::SdpVideoFormat
23 SdpVideoFormat::SdpVideoFormat(const SdpVideoFormat&) = default;
24 SdpVideoFormat::SdpVideoFormat(SdpVideoFormat&&) = default;
25 SdpVideoFormat& SdpVideoFormat::operator=(const SdpVideoFormat&) = default;
26 SdpVideoFormat& SdpVideoFormat::operator=(SdpVideoFormat&&) = default;
28 SdpVideoFormat::~SdpVideoFormat() = default;
30 std::string SdpVideoFormat::ToString() const { in ToString()
40 bool operator==(const SdpVideoFormat& a, const SdpVideoFormat& b) { in operator ==()
Dsdp_video_format.h23 struct RTC_EXPORT SdpVideoFormat { struct
26 explicit SdpVideoFormat(const std::string& name); argument
27 SdpVideoFormat(const std::string& name, const Parameters& parameters);
28 SdpVideoFormat(const SdpVideoFormat&);
29 SdpVideoFormat(SdpVideoFormat&&);
30 SdpVideoFormat& operator=(const SdpVideoFormat&); argument
31 SdpVideoFormat& operator=(SdpVideoFormat&&); argument
33 ~SdpVideoFormat();
37 friend RTC_EXPORT bool operator==(const SdpVideoFormat& a,
38 const SdpVideoFormat& b);
[all …]
Dvideo_encoder_factory.h50 virtual void OnCurrentEncoder(const SdpVideoFormat& format) = 0;
54 virtual absl::optional<SdpVideoFormat> OnAvailableBitrate(
59 virtual absl::optional<SdpVideoFormat> OnEncoderBroken() = 0;
64 virtual std::vector<SdpVideoFormat> GetSupportedFormats() const = 0;
70 virtual std::vector<SdpVideoFormat> GetImplementations() const { in GetImplementations()
77 virtual CodecInfo QueryVideoEncoder(const SdpVideoFormat& format) const = 0;
81 const SdpVideoFormat& format) = 0;
Dbuiltin_video_encoder_factory.cc29 bool IsFormatSupported(const std::vector<SdpVideoFormat>& supported_formats, in IsFormatSupported()
30 const SdpVideoFormat& format) { in IsFormatSupported()
31 for (const SdpVideoFormat& supported_format : supported_formats) { in IsFormatSupported()
48 const SdpVideoFormat& format) const override { in QueryVideoEncoder()
59 const SdpVideoFormat& format) override { in CreateVideoEncoder()
71 std::vector<SdpVideoFormat> GetSupportedFormats() const override { in GetSupportedFormats()
Dvideo_decoder_factory.h23 struct SdpVideoFormat;
31 virtual std::vector<SdpVideoFormat> GetSupportedFormats() const = 0;
35 const SdpVideoFormat& format) = 0;
40 const SdpVideoFormat& format,
/external/webrtc/media/engine/
Dinternal_decoder_factory.cc29 const std::vector<webrtc::SdpVideoFormat>& supported_formats, in IsFormatSupported()
30 const webrtc::SdpVideoFormat& format) { in IsFormatSupported()
31 for (const webrtc::SdpVideoFormat& supported_format : supported_formats) { in IsFormatSupported()
43 std::vector<SdpVideoFormat> InternalDecoderFactory::GetSupportedFormats() in GetSupportedFormats()
45 std::vector<SdpVideoFormat> formats; in GetSupportedFormats()
46 formats.push_back(SdpVideoFormat(cricket::kVp8CodecName)); in GetSupportedFormats()
47 for (const SdpVideoFormat& format : SupportedVP9DecoderCodecs()) in GetSupportedFormats()
49 for (const SdpVideoFormat& h264_format : SupportedH264Codecs()) in GetSupportedFormats()
52 formats.push_back(SdpVideoFormat(cricket::kAv1CodecName)); in GetSupportedFormats()
57 const SdpVideoFormat& format) { in CreateVideoDecoder()
Dfake_video_codec_factory.cc41 std::vector<SdpVideoFormat> FakeVideoEncoderFactory::GetSupportedFormats() in GetSupportedFormats()
43 return std::vector<SdpVideoFormat>( in GetSupportedFormats()
44 1, SdpVideoFormat(kFakeCodecFactoryCodecName)); in GetSupportedFormats()
48 const SdpVideoFormat& format) const { in QueryVideoEncoder()
53 const SdpVideoFormat& format) { in CreateVideoEncoder()
64 std::vector<SdpVideoFormat> FakeVideoDecoderFactory::GetSupportedFormats() in GetSupportedFormats()
66 return std::vector<SdpVideoFormat>( in GetSupportedFormats()
67 1, SdpVideoFormat(kFakeCodecFactoryCodecName)); in GetSupportedFormats()
71 const SdpVideoFormat& format) { in CreateVideoDecoder()
Dmultiplex_codec_factory.cc44 std::vector<SdpVideoFormat> MultiplexEncoderFactory::GetSupportedFormats() in GetSupportedFormats()
46 std::vector<SdpVideoFormat> formats = factory_->GetSupportedFormats(); in GetSupportedFormats()
49 SdpVideoFormat multiplex_format = format; in GetSupportedFormats()
61 const SdpVideoFormat& format) const { in QueryVideoEncoder()
65 SdpVideoFormat(kMultiplexAssociatedCodecName)); in QueryVideoEncoder()
69 const SdpVideoFormat& format) { in CreateVideoEncoder()
78 SdpVideoFormat associated_format = format; in CreateVideoEncoder()
90 std::vector<SdpVideoFormat> MultiplexDecoderFactory::GetSupportedFormats() in GetSupportedFormats()
92 std::vector<SdpVideoFormat> formats = factory_->GetSupportedFormats(); in GetSupportedFormats()
95 SdpVideoFormat multiplex_format = format; in GetSupportedFormats()
[all …]
Dinternal_encoder_factory.cc27 std::vector<SdpVideoFormat> InternalEncoderFactory::SupportedFormats() { in SupportedFormats()
28 std::vector<SdpVideoFormat> supported_codecs; in SupportedFormats()
29 supported_codecs.push_back(SdpVideoFormat(cricket::kVp8CodecName)); in SupportedFormats()
30 for (const webrtc::SdpVideoFormat& format : webrtc::SupportedVP9Codecs()) in SupportedFormats()
32 for (const webrtc::SdpVideoFormat& format : webrtc::SupportedH264Codecs()) in SupportedFormats()
35 supported_codecs.push_back(SdpVideoFormat(cricket::kAv1CodecName)); in SupportedFormats()
39 std::vector<SdpVideoFormat> InternalEncoderFactory::GetSupportedFormats() in GetSupportedFormats()
45 const SdpVideoFormat& format) const { in QueryVideoEncoder()
53 const SdpVideoFormat& format) { in CreateVideoEncoder()
Dfake_webrtc_video_engine.cc30 const std::vector<webrtc::SdpVideoFormat>& supported_formats, in IsFormatSupported()
31 const webrtc::SdpVideoFormat& format) { in IsFormatSupported()
32 for (const webrtc::SdpVideoFormat& supported_format : supported_formats) { in IsFormatSupported()
82 std::vector<webrtc::SdpVideoFormat>
84 std::vector<webrtc::SdpVideoFormat> formats; in GetSupportedFormats()
86 for (const webrtc::SdpVideoFormat& format : supported_codec_formats_) { in GetSupportedFormats()
97 const webrtc::SdpVideoFormat& format) { in CreateVideoDecoder()
120 webrtc::SdpVideoFormat(video_codec.name, video_codec.params)); in AddSupportedVideoCodecType()
206 std::vector<webrtc::SdpVideoFormat>
208 std::vector<webrtc::SdpVideoFormat> formats; in GetSupportedFormats()
[all …]
Dinternal_decoder_factory_unittest.cc30 factory.CreateVideoDecoder(SdpVideoFormat(cricket::kVp8CodecName)); in TEST()
38 factory.CreateVideoDecoder(SdpVideoFormat( in TEST()
47 factory.CreateVideoDecoder(SdpVideoFormat( in TEST()
58 Contains(Field(&SdpVideoFormat::name, "AV1X"))); in TEST()
59 EXPECT_TRUE(factory.CreateVideoDecoder(SdpVideoFormat("AV1X"))); in TEST()
62 Not(Contains(Field(&SdpVideoFormat::name, "AV1X")))); in TEST()
Dfake_video_codec_factory.h32 std::vector<SdpVideoFormat> GetSupportedFormats() const override;
34 const SdpVideoFormat& format) const override;
36 const SdpVideoFormat& format) override;
48 std::vector<SdpVideoFormat> GetSupportedFormats() const override;
50 const SdpVideoFormat& format) override;
Dfake_webrtc_video_engine.h65 std::vector<webrtc::SdpVideoFormat> GetSupportedFormats() const override;
67 const webrtc::SdpVideoFormat& format) override;
75 std::vector<webrtc::SdpVideoFormat> supported_codec_formats_;
116 std::vector<webrtc::SdpVideoFormat> GetSupportedFormats() const override;
118 const webrtc::SdpVideoFormat& format) override;
120 const webrtc::SdpVideoFormat& format) const override;
125 void AddSupportedVideoCodec(const webrtc::SdpVideoFormat& format);
133 std::vector<webrtc::SdpVideoFormat> formats_;
Dmultiplex_codec_factory.h51 std::vector<SdpVideoFormat> GetSupportedFormats() const override;
52 CodecInfo QueryVideoEncoder(const SdpVideoFormat& format) const override;
54 const SdpVideoFormat& format) override;
69 std::vector<SdpVideoFormat> GetSupportedFormats() const override;
71 const SdpVideoFormat& format) override;
Dinternal_encoder_factory.h26 static std::vector<SdpVideoFormat> SupportedFormats();
27 std::vector<SdpVideoFormat> GetSupportedFormats() const override;
29 CodecInfo QueryVideoEncoder(const SdpVideoFormat& format) const override;
32 const SdpVideoFormat& format) override;
/external/webrtc/modules/video_coding/codecs/vp9/
Dvp9.cc24 std::vector<SdpVideoFormat> SupportedVP9Codecs() { in SupportedVP9Codecs()
34 std::vector<SdpVideoFormat> supported_formats{SdpVideoFormat( in SupportedVP9Codecs()
38 supported_formats.push_back(SdpVideoFormat( in SupportedVP9Codecs()
45 return std::vector<SdpVideoFormat>(); in SupportedVP9Codecs()
49 std::vector<SdpVideoFormat> SupportedVP9DecoderCodecs() { in SupportedVP9DecoderCodecs()
51 std::vector<SdpVideoFormat> supported_formats = SupportedVP9Codecs(); in SupportedVP9DecoderCodecs()
55 supported_formats.push_back(SdpVideoFormat( in SupportedVP9DecoderCodecs()
60 return std::vector<SdpVideoFormat>(); in SupportedVP9DecoderCodecs()
/external/webrtc/api/test/video/
Dfunction_video_decoder_factory.h31 : create_([create = std::move(create)](const SdpVideoFormat&) { in FunctionVideoDecoderFactory()
35 std::function<std::unique_ptr<VideoDecoder>(const SdpVideoFormat&)> in FunctionVideoDecoderFactory()
40 std::vector<SdpVideoFormat> sdp_video_formats) in FunctionVideoDecoderFactory()
41 : create_([create = std::move(create)](const SdpVideoFormat&) { in FunctionVideoDecoderFactory()
46 std::vector<SdpVideoFormat> GetSupportedFormats() const override { in GetSupportedFormats()
51 const SdpVideoFormat& format) override { in CreateVideoDecoder()
56 const std::function<std::unique_ptr<VideoDecoder>(const SdpVideoFormat&)>
58 const std::vector<SdpVideoFormat> sdp_video_formats_;
Dfunction_video_encoder_factory.h32 : create_([create = std::move(create)](const SdpVideoFormat&) { in FunctionVideoEncoderFactory()
36 std::function<std::unique_ptr<VideoEncoder>(const SdpVideoFormat&)> in FunctionVideoEncoderFactory()
41 std::vector<SdpVideoFormat> GetSupportedFormats() const override { in GetSupportedFormats()
47 const SdpVideoFormat& /* format */) const override { in QueryVideoEncoder() argument
55 const SdpVideoFormat& format) override { in CreateVideoEncoder()
60 const std::function<std::unique_ptr<VideoEncoder>(const SdpVideoFormat&)>
/external/webrtc/sdk/android/src/jni/
Dvideo_encoder_factory_wrapper.h33 const SdpVideoFormat& format) override;
36 std::vector<SdpVideoFormat> GetSupportedFormats() const override;
38 std::vector<SdpVideoFormat> GetImplementations() const override;
40 CodecInfo QueryVideoEncoder(const SdpVideoFormat& format) const override;
46 std::vector<SdpVideoFormat> supported_formats_;
47 std::vector<SdpVideoFormat> implementations_;
Dvideo_encoder_factory_wrapper.cc31 void OnCurrentEncoder(const SdpVideoFormat& format) override { in OnCurrentEncoder()
39 absl::optional<SdpVideoFormat> OnAvailableBitrate( in OnAvailableBitrate()
51 absl::optional<SdpVideoFormat> OnEncoderBroken() override { in OnEncoderBroken()
73 supported_formats_ = JavaToNativeVector<SdpVideoFormat>( in VideoEncoderFactoryWrapper()
77 implementations_ = JavaToNativeVector<SdpVideoFormat>( in VideoEncoderFactoryWrapper()
83 const SdpVideoFormat& format) { in CreateVideoEncoder()
94 std::vector<SdpVideoFormat> VideoEncoderFactoryWrapper::GetSupportedFormats() in GetSupportedFormats()
99 std::vector<SdpVideoFormat> VideoEncoderFactoryWrapper::GetImplementations() in GetImplementations()
105 const SdpVideoFormat& format) const { in QueryVideoEncoder()
/external/webrtc/sdk/objc/native/src/
Dobjc_video_encoder_factory.h32 std::vector<SdpVideoFormat> GetSupportedFormats() const override;
33 std::vector<SdpVideoFormat> GetImplementations() const override;
35 const SdpVideoFormat& format) override;
36 CodecInfo QueryVideoEncoder(const SdpVideoFormat& format) const override;
Dobjc_video_encoder_factory.mm119 void OnCurrentEncoder(const SdpVideoFormat &format) override {
124 absl::optional<SdpVideoFormat> OnEncoderBroken() override {
131 absl::optional<SdpVideoFormat> OnAvailableBitrate(const DataRate &rate) override {
155 std::vector<SdpVideoFormat> ObjCVideoEncoderFactory::GetSupportedFormats() const {
156 std::vector<SdpVideoFormat> supported_formats;
158 SdpVideoFormat format = [supportedCodec nativeSdpVideoFormat];
165 std::vector<SdpVideoFormat> ObjCVideoEncoderFactory::GetImplementations() const {
167 std::vector<SdpVideoFormat> supported_formats;
169 SdpVideoFormat format = [supportedCodec nativeSdpVideoFormat];
178 const SdpVideoFormat &format) const {
[all …]
/external/webrtc/test/
Dvideo_encoder_proxy_factory.h46 std::vector<SdpVideoFormat> GetSupportedFormats() const override { in GetSupportedFormats()
51 CodecInfo QueryVideoEncoder(const SdpVideoFormat& format) const override { in QueryVideoEncoder()
56 const SdpVideoFormat& format) override { in CreateVideoEncoder()
139 void OnCurrentEncoder(const SdpVideoFormat& format) override { in OnCurrentEncoder()
143 absl::optional<SdpVideoFormat> OnAvailableBitrate( in OnAvailableBitrate()
148 absl::optional<SdpVideoFormat> OnEncoderBroken() override { in OnEncoderBroken()
/external/webrtc/media/base/
Dsdp_fmtp_utils_unittest.cc29 SdpVideoFormat::Parameters params; in TEST()
41 SdpVideoFormat::Parameters params; in TEST()
49 SdpVideoFormat::Parameters params; in TEST()
61 SdpVideoFormat::Parameters params; in TEST()
/external/webrtc/modules/video_coding/codecs/h264/
Dh264.cc48 SdpVideoFormat CreateH264Format(H264::Profile profile, in CreateH264Format()
54 return SdpVideoFormat( in CreateH264Format()
67 std::vector<SdpVideoFormat> SupportedH264Codecs() { in SupportedH264Codecs()
69 return std::vector<SdpVideoFormat>(); in SupportedH264Codecs()

12345