I420 YUV raw data converter interface.
More...
#include <zoom_sdk_raw_data_def.h>
I420 YUV raw data converter interface.
Definition at line 123 of file zoom_sdk_raw_data_def.h.
◆ ~IYUVRawDataI420Converter()
virtual IYUVRawDataI420Converter::~IYUVRawDataI420Converter |
( |
| ) |
|
|
inlinevirtual |
◆ ConvertToYUV()
Convert the intermediate YUV raw data to YUV raw data.
- Returns
- The YUV raw data. A pointer to YUVRawDataI420. For more details, see YUVRawDataI420.
◆ ConvertToYUVViaExternalBuffer()
virtual YUVRawDataI420 * IYUVRawDataI420Converter::ConvertToYUVViaExternalBuffer |
( |
char * | buffer_, |
|
|
int | size_ ) |
|
pure virtual |
Convert the intermediate YUV raw data to YUV raw data via external buffer.
- Parameters
-
buffer | Specifies the external buffer. |
size_ | Specifies the size of the YUV raw data. |
- Returns
- The YUV raw data. A pointer to YUVRawDataI420. For more details, see YUVRawDataI420.
◆ FillToPixelBuffer()
virtual void IYUVRawDataI420Converter::FillToPixelBuffer |
( |
char * | ybuffer_, |
|
|
int | ybuffer_pre_row_bytes, |
|
|
char * | uvbuffer_, |
|
|
int | uvbuffer_pre_row_bytes, |
|
|
int | width, |
|
|
int | height ) |
|
pure virtual |
Fill data to the pixel buffer if expanding the size of the intermediate YUV raw data.
- Parameters
-
ybuffer_ | Specifies the y-data of intermediate YUV raw data. |
ybuffer_pre_row_bytes | Specifies the width of the y-data. |
uvbuffer_ | Specifies the uv-data of intermediate YUV raw data. |
uvbuffer_pre_row_bytes | Specifies the width of the uv-data. |
width | Specifies the new width to extended. |
height | Specifies the new height to extended. |