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 // vIndex: 3
35 virtual ::webrtc::VideoFrameBuffer::Type type() const = 0;
36
37 // vIndex: 4
38 virtual int width() const = 0;
39
40 // vIndex: 5
41 virtual int height() const = 0;
42
43 // vIndex: 6
44 virtual ::webrtc::scoped_refptr<::webrtc::I420BufferInterface> ToI420() = 0;
45
46 // vIndex: 7
47 virtual ::webrtc::I420BufferInterface const* GetI420() const;
48
49 // vIndex: 8
50 virtual ::webrtc::scoped_refptr<::webrtc::VideoFrameBuffer>
51 CropAndScale(int offset_x, int offset_y, int crop_width, int crop_height, int scaled_width, int scaled_height);
52
53 // vIndex: 9
54 virtual ::webrtc::scoped_refptr<::webrtc::VideoFrameBuffer>
56
57 // vIndex: 2
58 virtual ~VideoFrameBuffer() /*override*/ = default;
59 // NOLINTEND
60
61public:
62 // virtual function thunks
63 // NOLINTBEGIN
64 MCNAPI ::webrtc::scoped_refptr<::webrtc::VideoFrameBuffer>
65 $CropAndScale(int offset_x, int offset_y, int crop_width, int crop_height, int scaled_width, int scaled_height);
66
67 MCNAPI ::webrtc::scoped_refptr<::webrtc::VideoFrameBuffer>
69 // NOLINTEND
70};
71
72} // namespace webrtc
Definition _HeaderOutputPredefine.h:260
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)