cn.tee3.avd_SDK-C++
2.1.0
|
视频渲染接口类 更多...
Public 成员函数 | |
virtual void | SetSize (int width, int height)=0 |
视频宽高变化调用 更多... | |
virtual void | RenderFrame (const IVideoFrame *frame)=0 |
视频帧数据到达调用 更多... | |
virtual Result | EnableCapture (bool enable) |
启停图像抓取功能 更多... | |
virtual Result | CaptureImage (const String &fileName, int quality) |
抓取图像 更多... | |
virtual Result | GetWindowId (WindowId &id) const |
获取render所在的WindowId 更多... | |
virtual Result | GetSize (int &width, int &height) const |
获取图像大小 更多... | |
virtual Result | SetAnnotation (tee3::avd::IMAnnotation *atn) |
设置注释接口 更多... | |
virtual Result | GetAnnotation (tee3::avd::IMAnnotation **atn) |
获取注释接口 更多... | |
![]() | |
virtual Result | AddDestroyNotify (IListener *pListener) |
设置渲染对象销毁回调指针 更多... | |
virtual Result | RemoveDestroyNotify (IListener *pListener) |
删除渲染对象销毁回调指针 更多... | |
virtual | ~DestroyNotify () |
静态 Public 成员函数 | |
static Result | Save2Image (const IVideoFrame *frame, const String &jpegorbmpFileName, int quality) |
IVideoFrame图像保存为jpeg图像功能 更多... | |
Protected 成员函数 | |
virtual | ~IVideoRender () |
额外继承的成员函数 | |
![]() | |
typedef std::vector< IListener * > | ListenersType |
![]() | |
ListenersType | pListeners_ |
视频渲染接口类
视频渲染定义了视频的渲染中涉及的视频参数变化、视频帧数据、视频抓图等相关接口。
|
protectedvirtual |
|
virtual |
抓取图像
[in] | fileName | 图像保存地址,绝对地址, 支持".bmp和.jpg"。 |
[in] | quality | 图像质量:0-100, 0最差,100最好。 |
|
virtual |
启停图像抓取功能
[in] | enable | 开启或者停止。 |
|
virtual |
|
virtual |
|
pure virtual |
视频帧数据到达调用
[in] | frame | IVideoFrame图像对象指针。 |
|
static |
IVideoFrame图像保存为jpeg图像功能
[in] | frame | IVideoFrame图像对象指针。 |
[in] | jpegorbmpFileName | 图像保存地址,绝对地址, 支持".bmp和.jpg"。 |
[in] | quality | 图像质量:0-100, 0最差,100最好。 |
|
virtual |
|
pure virtual |
视频宽高变化调用
[in] | width | 视频宽度。 |
[in] | height | 视频高度。 |