20 #include "EdgeVisSDK.h" 26 class YCbCrFrame :
public EdgeVisSDKPimpl<YCbCrFrameImpl>
43 DB_EDGEVIS_SDK
YCbCrFrame(byte_array data, int16_t width, int16_t height, int8_t input);
66 int32_t y_image_stride,
67 int32_t y_pixel_stride,
70 int32_t chroma_image_stride,
71 int32_t chroma_pixel_stride,
76 EdgeVisSDKPimplWeakConstructor(YCbCrFrame);
83 DB_EDGEVIS_SDK
void Assign(byte_array data, int16_t width, int16_t height, int8_t input);
88 DB_EDGEVIS_SDK
void Assign(byte_array y,
89 int32_t y_image_stride,
90 int32_t y_pixel_stride,
93 int32_t chroma_image_stride,
94 int32_t chroma_pixel_stride,
104 DB_EDGEVIS_SDK int16_t
GetWidth()
const;
111 DB_EDGEVIS_SDK int16_t
GetHeight()
const;
118 DB_EDGEVIS_SDK int8_t
GetInput()
const;
125 DB_EDGEVIS_SDK byte_array
GetData()
const;
DB_EDGEVIS_SDK byte_array GetData() const
Get the YUV data.
An object containing the YCbCr frame to be encoded.
Definition: YCbCrFrame.h:26
DB_EDGEVIS_SDK int16_t GetHeight() const
Get the height of the image.
DB_EDGEVIS_SDK void Assign(byte_array data, int16_t width, int16_t height, int8_t input)
Assign new image data to this YCbCrFrame object.
DB_EDGEVIS_SDK YCbCrFrame(byte_array data, int16_t width, int16_t height, int8_t input)
Creates a YCbCrFrame object to be passed into the encoder for TVI encoding.
The EdgeVis Encoder SDK namespace.
DB_EDGEVIS_SDK int16_t GetWidth() const
Get the width of the image.
DB_EDGEVIS_SDK int8_t GetInput() const
Get the input index of this frame.