LeviLamina
Loading...
Searching...
No Matches
VideoDecoderFactory.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7namespace webrtc { class Environment; }
8namespace webrtc { class VideoDecoder; }
9namespace webrtc { struct SdpVideoFormat; }
10// clang-format on
11
12namespace webrtc {
13
15public:
16 // VideoDecoderFactory inner types declare
17 // clang-format off
18 struct CodecSupport;
19 // clang-format on
20
21 // VideoDecoderFactory inner types define
22 struct CodecSupport {
23 public:
24 // member variables
25 // NOLINTBEGIN
28 // NOLINTEND
29
30 public:
31 // prevent constructor by default
32 CodecSupport& operator=(CodecSupport const&);
33 CodecSupport(CodecSupport const&);
34 CodecSupport();
35 };
36
37public:
38 // virtual functions
39 // NOLINTBEGIN
40 virtual ~VideoDecoderFactory() = default;
41
42 virtual ::std::vector<::webrtc::SdpVideoFormat> GetSupportedFormats() const = 0;
43
44 virtual ::webrtc::VideoDecoderFactory::CodecSupport QueryCodecSupport(::webrtc::SdpVideoFormat const&, bool) const;
45
46 virtual ::std::unique_ptr<::webrtc::VideoDecoder>
47 Create(::webrtc::Environment const&, ::webrtc::SdpVideoFormat const&) = 0;
48 // NOLINTEND
49
50public:
51 // virtual function thunks
52 // NOLINTBEGIN
53
54 // NOLINTEND
55};
56
57} // namespace webrtc
Definition Environment.h:7
Definition VideoDecoderFactory.h:14
Definition VideoDecoder.h:13
Definition Alias.h:14
Definition SdpVideoFormat.h:10
Definition VideoDecoderFactory.h:22