Navigation
API > API/Plugins > API/Plugins/PixelCapture
Inheritance Hierarchy
- IPixelCaptureBuffer
- FPixelCaptureBufferNV12
References
| Module | PixelCapture |
| Header | /Engine/Plugins/Media/PixelCapture/Source/PixelCapture/Public/PixelCaptureBufferNV12.h |
| Include | #include "PixelCaptureBufferNV12.h" |
Syntax
class FPixelCaptureBufferNV12 : public IPixelCaptureBuffer
Remarks
Buffer class for holding I420 frame data.
Constructors
| Type | Name | Description | |
|---|---|---|---|
FPixelCaptureBufferNV12
(
const FPixelCaptureBufferNV12& Other |
|||
FPixelCaptureBufferNV12
(
int InWidth, |
Create an empty buffer of the specified size. |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Copy
(
const FPixelCaptureBufferNV12& Other |
Copies the given buffer into this buffer. | |
| int | Gets the size of both the UV plane in bytes. | ||
| int | GetDataSizeY () |
Gets the size of the Y plane in bytes. | |
| const uint8_t * | GetDataUV () |
Gets a const pointer to the beginning of the U 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 Y plane for editing. | ||
| int | GetStrideUV () |
Get the stride of the U and V planes | |
| int | 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 | |
| int | 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. | |
| int | GetWidth () |
Get the width of the frame |