LeviLamina
Loading...
Searching...
No Matches
RecordableEncodedFrame.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/webrtc/VideoCodecType.h"
7#include "mc/external/webrtc/VideoRotation.h"
8#include "mc/external/webrtc/scoped_refptr.h"
9
10// auto generated forward declare list
11// clang-format off
12namespace webrtc { class ColorSpace; }
13namespace webrtc { class EncodedImageBufferInterface; }
14namespace webrtc { class Timestamp; }
15// clang-format on
16
17namespace webrtc {
18
20public:
21 // RecordableEncodedFrame inner types declare
22 // clang-format off
23 struct EncodedResolution;
24 // clang-format on
25
26 // RecordableEncodedFrame inner types define
27 struct EncodedResolution {
28 public:
29 // member variables
30 // NOLINTBEGIN
33 // NOLINTEND
34
35 public:
36 // prevent constructor by default
37 EncodedResolution& operator=(EncodedResolution const&);
38 EncodedResolution(EncodedResolution const&);
39 EncodedResolution();
40 };
41
42public:
43 // virtual functions
44 // NOLINTBEGIN
45 virtual ~RecordableEncodedFrame() = default;
46
47 virtual ::webrtc::scoped_refptr<::webrtc::EncodedImageBufferInterface const> encoded_buffer() const = 0;
48
49 virtual ::std::optional<::webrtc::ColorSpace> color_space() const = 0;
50
51 virtual ::std::optional<::webrtc::VideoRotation> video_rotation() const = 0;
52
53 virtual ::webrtc::VideoCodecType codec() const = 0;
54
55 virtual bool is_key_frame() const = 0;
56
57 virtual ::webrtc::RecordableEncodedFrame::EncodedResolution resolution() const = 0;
58
59 virtual ::webrtc::Timestamp render_time() const = 0;
60 // NOLINTEND
61};
62
63} // namespace webrtc
Definition ColorSpace.h:12
Definition EncodedImageBufferInterface.h:10
Definition RecordableEncodedFrame.h:19
Definition Timestamp.h:15
Definition Alias.h:14
Definition RecordableEncodedFrame.h:27