#include <video_capture.h>
◆ GetSurfaceTexture()
virtual void * AVE::VideoCaptureSurfaceTextureCallback::GetSurfaceTexture |
( |
| ) |
|
|
pure virtual |
获取SurfaceTexture对应的jobject
◆ SetFillMode()
virtual void AVE::VideoCaptureSurfaceTextureCallback::SetFillMode |
( |
int |
mode | ) |
|
|
pure virtual |
当图像宽高和编码宽高的宽高比不一致时使用的填充模式,默认裁剪
- Parameters
-
◆ SetROI()
virtual int AVE::VideoCaptureSurfaceTextureCallback::SetROI |
( |
ROIRect * |
rects, |
|
|
int |
count, |
|
|
unsigned long long |
timestamp_ns |
|
) |
| |
|
pure virtual |
设置编码器感兴趣的区域,优化图像主观体验
- Parameters
-
rects | 区域数组,设置NULL清空配置 |
count | 区域个数,最大支持6个,设置0清空配置 |
timestamp_ns | ROI对应帧的时间戳,单位是ns |
◆ SetTextureResolution()
virtual void AVE::VideoCaptureSurfaceTextureCallback::SetTextureResolution |
( |
int |
width, |
|
|
int |
height |
|
) |
| |
|
pure virtual |
同步纹理的宽高,当纹理款高和编码宽高的宽高比不一致时按照填充模式填充
- Parameters
-
- Note
- 该方法为同步接口,如果纹理分辨率和编码分辨率一致没有必要调用,避免造成卡顿
The documentation for this class was generated from the following file: