LeviLamina
Loading...
Searching...
No Matches
FrameDecryptorInterface.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/webrtc/ArrayView.h"
7#include "mc/external/webrtc/MediaType.h"
8#include "mc/external/webrtc/RefCountInterface.h"
9
10namespace webrtc {
11
13public:
14 // FrameDecryptorInterface inner types declare
15 // clang-format off
16 struct Result;
17 // clang-format on
18
19 // FrameDecryptorInterface inner types define
20 enum class Status : int {
21 KOk = 0,
22 KRecoverable = 1,
23 KFailedToDecrypt = 2,
24 KUnknown = 3,
25 };
26
27 struct Result {
28 public:
29 // member variables
30 // NOLINTBEGIN
33 // NOLINTEND
34
35 public:
36 // prevent constructor by default
37 Result& operator=(Result const&);
38 Result(Result const&);
39 Result();
40 };
41
42public:
43 // virtual functions
44 // NOLINTBEGIN
45 virtual ~FrameDecryptorInterface() /*override*/ = default;
46
47 virtual ::webrtc::FrameDecryptorInterface::Result Decrypt(
48 ::webrtc::MediaType,
49 ::std::vector<uint> const&,
53 ) = 0;
54
55 virtual uint64 GetMaxPlaintextByteSize(::webrtc::MediaType, uint64) = 0;
56 // NOLINTEND
57};
58
59} // namespace webrtc
Definition ArrayView.h:8
Definition FrameDecryptorInterface.h:12
Definition RefCountInterface.h:10
Definition Alias.h:14
Definition FrameDecryptorInterface.h:27