LeviLamina
Loading...
Searching...
No Matches
VideoFrameBuffer.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/webrtc/RefCountInterface.h"
7#include "mc/external/webrtc/scoped_refptr.h"
8
9// auto generated forward declare list
10// clang-format off
11namespace webrtc { class I420BufferInterface; }
12// clang-format on
13
14namespace webrtc {
15
17public:
18 // VideoFrameBuffer inner types define
19 enum class Type : int {
20 KNative = 0,
21 KI420 = 1,
22 KI420A = 2,
23 KI422 = 3,
24 KI444 = 4,
25 KI010 = 5,
26 KI210 = 6,
27 KI410 = 7,
28 KNV12 = 8,
29 };
30
31public:
32 // virtual functions
33 // NOLINTBEGIN
34 virtual ::webrtc::VideoFrameBuffer::Type type() const = 0;
35
36 virtual int width() const = 0;
37
38 virtual int height() const = 0;
39
40 virtual ::webrtc::scoped_refptr<::webrtc::I420BufferInterface> ToI420() = 0;
41
42 virtual ::webrtc::I420BufferInterface const* GetI420() const;
43
44 virtual ::webrtc::scoped_refptr<::webrtc::VideoFrameBuffer>
45 CropAndScale(int offset_x, int offset_y, int crop_width, int crop_height, int scaled_width, int scaled_height);
46
47 virtual ::webrtc::scoped_refptr<::webrtc::VideoFrameBuffer>
49
50 virtual ~VideoFrameBuffer() /*override*/ = default;
51 // NOLINTEND
52
53public:
54 // virtual function thunks
55 // NOLINTBEGIN
56 MCNAPI ::webrtc::scoped_refptr<::webrtc::VideoFrameBuffer>
57 $CropAndScale(int offset_x, int offset_y, int crop_width, int crop_height, int scaled_width, int scaled_height);
58
59 MCNAPI ::webrtc::scoped_refptr<::webrtc::VideoFrameBuffer>
61
62
63 // NOLINTEND
64};
65
66} // namespace webrtc
Definition _HeaderOutputPredefine.h:309
Definition I420BufferInterface.h:12
Definition RefCountInterface.h:10
Definition VideoFrameBuffer.h:16
MCAPI ::webrtc::scoped_refptr<::webrtc::VideoFrameBuffer > $GetMappedFrameBuffer(::rtc::ArrayView<::webrtc::VideoFrameBuffer::Type > types)
MCAPI ::webrtc::scoped_refptr<::webrtc::VideoFrameBuffer > $CropAndScale(int offset_x, int offset_y, int crop_width, int crop_height, int scaled_width, int scaled_height)