22 #ifndef QTAV_OPENGLRENDERERBASE_H 23 #define QTAV_OPENGLRENDERERBASE_H 26 #if QT_VERSION >= QT_VERSION_CHECK(5, 0, 0) 27 #include <QtGui/QOpenGLFunctions> 28 #elif QT_VERSION >= QT_VERSION_CHECK(4, 8, 0) 29 #include <QtOpenGL/QGLFunctions> 30 #define QOpenGLFunctions QGLFunctions 40 class OpenGLRendererBasePrivate;
42 #if QT_VERSION >= QT_VERSION_CHECK(4, 8, 0) 43 ,
public QOpenGLFunctions
57 void onInitializeGL();
59 void onResizeGL(
int w,
int h);
60 void onResizeEvent(
int w,
int h);
76 #endif // QTAV_OPENGLRENDERERBASE_H
#define Q_AV_EXPORT
Definition: QtAV_Global.h:40
#define DPTR_DECLARE_PRIVATE(Class)
Definition: dptr.h:107
OutAspectRatioMode
Definition: VideoRenderer.h:57
Definition: OpenGLRendererBase.h:41
Definition: VideoFrame.h:32
Definition: OpenGLRendererBase_p.h:30
AudioOutput ao; ao.setAudioFormat(fmt); ao.open(); while (has_data) { data = read_data(ao->bufferSize...
Definition: AudioDecoder.h:31
The OpenGLVideo class high level api for renderering a video frame.
Definition: OpenGLVideo.h:51
#define Q_DECL_OVERRIDE
Definition: QtAV_Global.h:177
Definition: VideoRenderer.h:51