Miam-Player  0.8.0
A nice music player
OpenGLRendererBase_p.h
Go to the documentation of this file.
1 /******************************************************************************
2  QtAV: Multimedia framework based on Qt and FFmpeg
3  Copyright (C) 2014-2016 Wang Bin <wbsecg1@gmail.com>
4 
5 * This file is part of QtAV
6 
7  This library is free software; you can redistribute it and/or
8  modify it under the terms of the GNU Lesser General Public
9  License as published by the Free Software Foundation; either
10  version 2.1 of the License, or (at your option) any later version.
11 
12  This library is distributed in the hope that it will be useful,
13  but WITHOUT ANY WARRANTY; without even the implied warranty of
14  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15  Lesser General Public License for more details.
16 
17  You should have received a copy of the GNU Lesser General Public
18  License along with this library; if not, write to the Free Software
19  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 ******************************************************************************/
21 
22 #ifndef QTAV_OPENGLRENDERERBASE_P_H
23 #define QTAV_OPENGLRENDERERBASE_P_H
24 
26 #include "QtAV/OpenGLVideo.h"
27 
28 namespace QtAV {
29 
31 {
32 public:
33  OpenGLRendererBasePrivate(QPaintDevice *pd);
34  virtual ~OpenGLRendererBasePrivate();
35  void setupAspectRatio();
36 
37  QPainter *painter;
39  QMatrix4x4 matrix;
41 };
42 
43 } //namespace QtAV
44 
45 #endif // QTAV_OpenGLRendererBase_P_H
bool frame_changed
Definition: OpenGLRendererBase_p.h:40
#define Q_AV_PRIVATE_EXPORT
Definition: QtAV_Global.h:43
QMatrix4x4 matrix
Definition: OpenGLRendererBase_p.h:39
OpenGLVideo glv
Definition: OpenGLRendererBase_p.h:38
QPainter * painter
Definition: OpenGLRendererBase_p.h:37
Definition: OpenGLRendererBase_p.h:30
Definition: VideoRenderer_p.h:42
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