Navigation
API > API/Plugins > API/Plugins/PixelCapture
Inheritance Hierarchy
- IPixelCaptureBuffer
- FPixelCaptureBufferI420
References
| Module | PixelCapture |
| Header | /Engine/Plugins/Media/PixelCapture/Source/PixelCapture/Public/PixelCaptureBufferI420.h |
| Include | #include "PixelCaptureBufferI420.h" |
Syntax
class FPixelCaptureBufferI420 : public IPixelCaptureBuffer
Remarks
Buffer class for holding I420 frame data.
Constructors
| Type | Name | Description | |
|---|---|---|---|
FPixelCaptureBufferI420
(
const FPixelCaptureBufferI420& Other |
|||
FPixelCaptureBufferI420
(
int InWidth, |
Create an empty buffer of the specified size. |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Copy
(
const FPixelCaptureBufferI420& Other |
Copies the given buffer into this buffer. | |
| int32 | Gets the size of both the U and V planes in bytes. | ||
| int32 | GetDataSizeY () |
Gets the size of the Y plane in bytes. | |
| const uint8_t * | GetDataU () |
Gets a const pointer to the beginning of the U plane for reading. | |
| const uint8_t * | GetDataV () |
Gets a const pointer to the beginning of the V plane for reading. | |
| const uint8_t * | GetDataY () |
Gets a const pointer to the beginning of the Y plane for reading. | |
| uint8_t * | Gets a pointer to the beginning of the U plane for editing. | ||
| uint8_t * | Gets a pointer to the beginning of the V plane for editing. | ||
| uint8_t * | Gets a pointer to the beginning of the Y plane for editing. | ||
| int32 | GetStrideUV () |
Get the stride of the U and V planes | |
| int32 | GetStrideY () |
Get the stride of the Y plane |
Overridden from IPixelCaptureBuffer
| Type | Name | Description | |
|---|---|---|---|
| const uint8_t * | GetData () |
Gets a const pointer to the beginning of entire buffer for reading. | |
| int32 | GetFormat () |
Get the Buffer format | |
| int32 | GetHeight () |
Get the height of the frame | |
| uint8_t * | Gets a pointer to the beginning of the entire buffer for editing. | ||
| int64 | GetSize () |
Gets the total size of this buffer. | |
| int32 | GetWidth () |
Get the width of the frame |