LeviLamina
Loading...
Searching...
No Matches
VideoDecoder.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7namespace webrtc { class DecodedImageCallback; }
8namespace webrtc { class EncodedImage; }
9// clang-format on
10
11namespace webrtc {
12
14public:
15 // VideoDecoder inner types declare
16 // clang-format off
17 struct DecoderInfo;
18 class Settings;
19 // clang-format on
20
21 // VideoDecoder inner types define
22 struct DecoderInfo {
23 public:
24 // member variables
25 // NOLINTBEGIN
28 // NOLINTEND
29
30 public:
31 // prevent constructor by default
32 DecoderInfo& operator=(DecoderInfo const&);
35 };
36
37 class Settings {
38 public:
39 // member variables
40 // NOLINTBEGIN
45 // NOLINTEND
46
47 public:
48 // prevent constructor by default
49 Settings& operator=(Settings const&);
50 Settings(Settings const&);
51 Settings();
52 };
53
54public:
55 // virtual functions
56 // NOLINTBEGIN
57 // vIndex: 0
58 virtual ~VideoDecoder() = default;
59
60 // vIndex: 1
61 virtual bool Configure(::webrtc::VideoDecoder::Settings const&) = 0;
62
63 // vIndex: 3
64 virtual int Decode(::webrtc::EncodedImage const&, int64);
65
66 // vIndex: 2
67 virtual int Decode(::webrtc::EncodedImage const&, bool, int64);
68
69 // vIndex: 4
70 virtual int RegisterDecodeCompleteCallback(::webrtc::DecodedImageCallback*) = 0;
71
72 // vIndex: 5
73 virtual int Release() = 0;
74
75 // vIndex: 6
76 virtual ::webrtc::VideoDecoder::DecoderInfo GetDecoderInfo() const;
77
78 // vIndex: 7
79 virtual char const* ImplementationName() const;
80 // NOLINTEND
81
82public:
83 // destructor thunk
84 // NOLINTBEGIN
85
86 // NOLINTEND
87
88public:
89 // virtual function thunks
90 // NOLINTBEGIN
91
92 // NOLINTEND
93};
94
95} // namespace webrtc
Definition DecodedImageCallback.h:12
Definition EncodedImage.h:12
Definition VideoDecoder.h:37
Definition VideoDecoder.h:13
Definition Alias.h:14
Definition VideoDecoder.h:22