1 #ifndef _ZOOM_SDK_RAW_DATA_DEF_H_ 2 #define _ZOOM_SDK_RAW_DATA_DEF_H_ 99 virtual unsigned int GetWidth() =0;
100 virtual unsigned int GetHeight() = 0;
102 virtual char* GetYBuffer(
unsigned int lineNum = 0) = 0;
103 virtual char* GetUBuffer(
unsigned int lineNum = 0) = 0;
104 virtual char* GetVBuffer(
unsigned int lineNum = 0) = 0;
106 virtual unsigned int GetYStride() = 0;
107 virtual unsigned int GetUStride() = 0;
108 virtual unsigned int GetVStride() = 0;
110 virtual unsigned int GetRotation() = 0;
111 virtual bool IsLimitedI420() = 0;
136 virtual void FillToPixelBuffer(
char* ybuffer_,
int ybuffer_pre_row_bytes,
char* uvbuffer_,
int uvbuffer_pre_row_bytes,
int width,
int height) = 0;
virtual unsigned int GetSampleRate()=0
Get the sample rate of the audio raw data.
The audio raw data handler interface.
Definition: zoom_sdk_raw_data_def.h:5
virtual char * GetVBuffer()=0
Get the v-data of the YUV raw data.
virtual int Release()=0
Subtract one from the reference count.
virtual unsigned int GetStreamHeight()=0
Get the stream height.
virtual unsigned int GetChannelNum()=0
Get the channel number of the audio raw data.
virtual char * GetBuffer()=0
Get the YUV raw data.
virtual YUVRawDataI420 * ConvertToYUV()=0
Convert the intermediate YUV raw data to YUV raw data.
I420 YUV raw data converter interface.
Definition: zoom_sdk_raw_data_def.h:116
virtual void FillToPixelBuffer(char *ybuffer_, int ybuffer_pre_row_bytes, char *uvbuffer_, int uvbuffer_pre_row_bytes, int width, int height)=0
Fill data to the pixel buffer if expanding the size of the intermediate YUV raw data.
virtual char * GetYBuffer()=0
Get the y-data of the YUV raw data.
virtual char * GetUBuffer()=0
Get the u-data of the YUV raw data.
virtual bool AddRef()=0
Add one to the reference count.
virtual unsigned int GetRotation()=0
Get the rotation angle of the local video device.
virtual unsigned int GetStreamWidth()=0
Get the stream width.
virtual unsigned int GetBufferLen()=0
Get the buffer length of the audio raw data.
virtual bool AddRef()=0
Add one to the reference count.
virtual char * GetBuffer()=0
Get the audio raw data.
Definition: zoom_sdk_raw_data_def.h:96
virtual bool CanAddRef()=0
Determine if the reference count can be increased.
virtual unsigned int GetSourceID()=0
Get the source_id of the current YUV raw data.
virtual unsigned int GetBufferLen()=0
Get the buffer length of the YUV raw data.
virtual bool IsLimitedI420()=0
Determine if the YUV raw data is limited range mode.
The YUV raw data handler interface.
Definition: zoom_sdk_raw_data_def.h:39
virtual int Release()=0
Subtract one from the reference count.
virtual YUVRawDataI420 * ConvertToYUVViaExternalBuffer(char *buffer_, int size_)=0
Convert the intermediate YUV raw data to YUV raw data via external buffer.
virtual bool CanAddRef()=0
Determine if the reference count can be increased.