Navigation
API > API/Plugins > API/Plugins/PixelCapture
Buffer class for holding I420 frame data.
| Name | FPixelCaptureBufferNV12 |
| Type | class |
| Header File | /Engine/Plugins/Media/PixelCapture/Source/PixelCapture/Public/PixelCaptureBufferNV12.h |
| Include Path | #include "PixelCaptureBufferNV12.h" |
Syntax
class FPixelCaptureBufferNV12 : public IPixelCaptureBuffer
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FPixelCaptureBufferNV12
(
const FPixelCaptureBufferNV12& Other |
PixelCaptureBufferNV12.h | ||
FPixelCaptureBufferNV12
(
int InWidth, |
Create an empty buffer of the specified size. | PixelCaptureBufferNV12.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FPixelCaptureBufferNV12() |
PixelCaptureBufferNV12.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Data | TArray< uint8_t > | PixelCaptureBufferNV12.h | ||
| Height | int | PixelCaptureBufferNV12.h | ||
| StrideUV | int | PixelCaptureBufferNV12.h | ||
| StrideY | int | PixelCaptureBufferNV12.h | ||
| Width | int | PixelCaptureBufferNV12.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Copy
(
const FPixelCaptureBufferNV12& Other |
Copies the given buffer into this buffer. | PixelCaptureBufferNV12.h | |
int GetDataSizeUV() |
Gets the size of both the UV plane in bytes. | PixelCaptureBufferNV12.h | |
int GetDataSizeY() |
Gets the size of the Y plane in bytes. | PixelCaptureBufferNV12.h | |
const uint8_t * GetDataUV() |
Gets a const pointer to the beginning of the U plane for reading. | PixelCaptureBufferNV12.h | |
const uint8_t * GetDataY() |
Gets a const pointer to the beginning of the Y plane for reading. | PixelCaptureBufferNV12.h | |
uint8_t * GetMutableDataUV() |
Gets a pointer to the beginning of the U plane for editing. | PixelCaptureBufferNV12.h | |
uint8_t * GetMutableDataY() |
Gets a pointer to the beginning of the Y plane for editing. | PixelCaptureBufferNV12.h | |
int GetStrideUV() |
Get the stride of the U and V planes | PixelCaptureBufferNV12.h | |
int GetStrideY() |
Get the stride of the Y plane | PixelCaptureBufferNV12.h |
Overridden from IPixelCaptureBuffer
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual const uint8_t * GetData() |
Gets a const pointer to the beginning of entire buffer for reading. | PixelCaptureBufferNV12.h | |
virtual int32 GetFormat() |
Get the Buffer format | PixelCaptureBufferNV12.h | |
virtual int GetHeight() |
Get the height of the frame | PixelCaptureBufferNV12.h | |
virtual uint8_t * GetMutableData() |
Gets a pointer to the beginning of the entire buffer for editing. | PixelCaptureBufferNV12.h | |
virtual int64 GetSize() |
Gets the total size of this buffer. | PixelCaptureBufferNV12.h | |
virtual int GetWidth() |
Get the width of the frame | PixelCaptureBufferNV12.h |