1#ifndef _ZOOM_SDK_RAW_DATA_DEF_H_
2#define _ZOOM_SDK_RAW_DATA_DEF_H_
143 virtual void FillToPixelBuffer(
char* ybuffer_,
int ybuffer_pre_row_bytes,
char* uvbuffer_,
int uvbuffer_pre_row_bytes,
int width,
int height) = 0;
The audio raw data handler interface.
virtual unsigned int GetBufferLen()=0
Get the buffer length of the audio raw data.
virtual bool CanAddRef()=0
Determine if the reference count can be increased.
virtual bool AddRef()=0
Add one to the reference count.
virtual unsigned int GetChannelNum()=0
Get the channel number of the audio raw data.
virtual char * GetBuffer()=0
Get the audio raw data.
virtual int Release()=0
Subtract one from the reference count.
virtual unsigned int GetSampleRate()=0
Get the sample rate of the audio raw data.
I420 YUV raw data converter interface.
virtual YUVRawDataI420 * ConvertToYUV()=0
Convert the intermediate YUV raw data to YUV raw data.
virtual ~IYUVRawDataI420Converter()
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 YUVRawDataI420 * ConvertToYUVViaExternalBuffer(char *buffer_, int size_)=0
Convert the intermediate YUV raw data to YUV raw data via external buffer.
virtual unsigned int GetRotation()=0
virtual char * GetYBuffer(unsigned int lineNum=0)=0
virtual char * GetVBuffer(unsigned int lineNum=0)=0
virtual char * GetUBuffer(unsigned int lineNum=0)=0
virtual bool IsLimitedI420()=0
virtual ~YUVProcessDataI420()
virtual unsigned int GetWidth()=0
virtual unsigned int GetHeight()=0
virtual unsigned int GetVStride()=0
virtual unsigned int GetYStride()=0
virtual unsigned int GetUStride()=0
The YUV raw data handler interface.
virtual unsigned int GetRotation()=0
Get the rotation angle of the local video device.
virtual unsigned int GetSourceID()=0
Get the source_id of the current YUV raw data.
virtual bool CanAddRef()=0
Determine if the reference count can be increased.
virtual bool AddRef()=0
Add one to the reference count.
virtual unsigned int GetBufferLen()=0
Get the buffer length of the YUV raw data.
virtual ~YUVRawDataI420()
virtual unsigned int GetStreamHeight()=0
Get the stream height.
virtual char * GetYBuffer()=0
Get the y-data of the YUV raw data.
virtual char * GetAlphaBuffer()=0
Get the alpha mask data of YUV raw data.
virtual char * GetUBuffer()=0
Get the u-data of the YUV raw data.
virtual char * GetVBuffer()=0
Get the v-data of the YUV raw data.
virtual char * GetBuffer()=0
Get the YUV raw data.
virtual bool IsLimitedI420()=0
Determine if the YUV raw data is limited range mode.
virtual int Release()=0
Subtract one from the reference count.
virtual unsigned int GetStreamWidth()=0
Get the stream width.
virtual unsigned int GetAlphaBufferLen()=0
Get the alpha mask data length.