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&);
33 DecoderInfo(DecoderInfo const&);
34 DecoderInfo();
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 virtual ~VideoDecoder() = default;
58
59 virtual bool Configure(::webrtc::VideoDecoder::Settings const&) = 0;
60
61 virtual int Decode(::webrtc::EncodedImage const&, int64);
62
63 virtual int Decode(::webrtc::EncodedImage const&, bool, int64);
64
65 virtual int RegisterDecodeCompleteCallback(::webrtc::DecodedImageCallback*) = 0;
66
67 virtual int Release() = 0;
68
69 virtual ::webrtc::VideoDecoder::DecoderInfo GetDecoderInfo() const;
70
71 virtual char const* ImplementationName() const;
72 // NOLINTEND
73
74public:
75 // virtual function thunks
76 // NOLINTBEGIN
77
78 // NOLINTEND
79};
80
81} // 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