#include <video_capture.h>
◆ ~Client()
virtual AVE::VideoFilter::Client::~Client |
( |
| ) |
|
|
inlinevirtual |
◆ Destroy()
virtual void AVE::VideoFilter::Client::Destroy |
( |
| ) |
|
|
pure virtual |
◆ GetInterface()
virtual void * AVE::VideoFilter::Client::GetInterface |
( |
| ) |
|
|
pure virtual |
获取不同滤镜处理模型对应的接口
- Note
- VideoFilter::SupportBufferType返回BUFFER_TYPE_MEM时,GetInterface返回VideoBufferPool*,
-
VideoBufferPool::GetInputBuffer需要返回uint8_t*, 色彩空间windows、ios、mac为BGRA,android为RGBA,线程模型为异步
-
VideoFilter::SupportBufferType返回BUFFER_TYPE_ASYNC_PIXEL_BUFFER时,GetInterface返回VideoBufferPool*,
-
VideoBufferPool::GetInputBuffer需要返回CVPixelBufferRef, 色彩空间为BGRA,线程模型为异步
-
VideoFilter::SupportBufferType返回BUFFER_TYPE_SYNC_PIXEL_BUFFER时,GetInterface返回VideoFilterCallback*,
-
色彩空间为BGRA,线程模型为同步
-
VideoFilter::SupportBufferType返回BUFFER_TYPE_SURFACE_TEXTURE时,GetInterface返回VideoBufferPool*
-
VideoBufferPool::GetInputBuffer需要返回SurfaceTexture对应的jobject, 线程模型为异步
-
VideoFilter::SupportBufferType返回BUFFER_TYPE_HYBRID_MEM_GL_TEXTURE_2D时,GetInterface返回VideoFilterCallback*
-
VideoFilterCallback::OnProcess的入参buffer为纹理id转成的int*, 线程模型为异步
-
VideoFilter::SupportBufferType返回BUFFER_TYPE_SYNC_GL_TEXTURE_2D时,GetInterface返回VideoFilterCallback*
-
VideoFilterCallback::OnProcess的入参buffer为纹理id转成的int*, 线程模型为同步
-
VideoFilter::SupportBufferType返回BUFFER_TYPE_ASYNC_I420_MEM时,GetInterface返回VideoBufferPool*,
-
VideoBufferPool::GetInputBuffer需要返回uint8_t*, 色彩空间为I420,线程模型为异步
-
VideoFilter::SupportBufferType返回BUFFER_TYPE_ASYNC_I420_PIXEL_BUFFER时,GetInterface返回VideoBufferPool*
-
VideoBufferPool::GetInputBuffer需要返回CVPixelBufferRef, 色彩空间为I420,线程模型为异步
-
VideoFilter::SupportBufferType返回BUFFER_TYPE_SYNC_BGRA_MEM时,GetInterface返回VideoFilterMemCallback*
-
色彩空间为BGRA,线程模型为同步
The documentation for this class was generated from the following file: