22 #ifndef QTAV_SURFACEINTEROP_H 23 #define QTAV_SURFACEINTEROP_H 25 #include <QtCore/QSharedPointer> 54 virtual void unmap(
void* handle) { Q_UNUSED(handle);}
68 Q_UNUSED(planeHeight);
78 #endif // QTAV_SURFACEINTEROP_H virtual void * createHandle(void *handle, SurfaceType type, const VideoFormat &fmt, int plane, int planeWidth, int planeHeight)
createHandle It is used by opengl renderer to create a texture when rendering frame from VDA/VideoToo...
Definition: SurfaceInterop.h:62
QSharedPointer< VideoSurfaceInterop > VideoSurfaceInteropPtr
Definition: SurfaceInterop.h:73
#define Q_AV_EXPORT
Definition: QtAV_Global.h:40
virtual ~VideoSurfaceInterop()
Definition: SurfaceInterop.h:33
SurfaceType
The SurfaceType enum HostMemorySurface: Map the decoded frame to host memory GLTextureSurface: Map th...
Definition: QtAV_Global.h:152
virtual void unmap(void *handle)
Definition: SurfaceInterop.h:54
AudioOutput ao; ao.setAudioFormat(fmt); ao.open(); while (has_data) { data = read_data(ao->bufferSize...
Definition: AudioDecoder.h:31
Definition: SurfaceInterop.h:30
virtual void * map(SurfaceType type, const VideoFormat &fmt, void *handle=0, int plane=0)
map currently is used to map a frame from hardware decoder to opengl texture, host memory...
Definition: SurfaceInterop.h:46