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