Miam-Player  0.8.0
A nice music player
Filter_p.h
Go to the documentation of this file.
1 /******************************************************************************
2  QtAV: Multimedia framework based on Qt and FFmpeg
3  Copyright (C) 2012-2016 Wang Bin <wbsecg1@gmail.com>
4 
5 * This file is part of QtAV (from 2013)
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_FILTER_P_H
23 #define QTAV_FILTER_P_H
24 
25 #include <QtAV/QtAV_Global.h>
26 
27 namespace QtAV {
28 
29 class Filter;
30 class VideoFilterContext;
31 class Statistics;
33 {
34 public:
36  enabled(true)
37  , owned_by_target(false)
38  {}
39  virtual ~FilterPrivate() {}
40 
41  bool enabled;
43 };
44 
46 {
47 public:
49  context(0)
50  {}
51  VideoFilterContext *context; //used only when is necessary
52 };
53 
55 {
56 };
57 
58 } //namespace QtAV
59 
60 #endif // QTAV_FILTER_P_H
VideoFilterContext * context
Definition: Filter_p.h:51
bool enabled
Definition: Filter_p.h:41
virtual ~FilterPrivate()
Definition: Filter_p.h:39
#define Q_AV_PRIVATE_EXPORT
Definition: QtAV_Global.h:43
Definition: FilterContext.h:41
Definition: Filter_p.h:32
Definition: dptr.h:123
Definition: Filter_p.h:54
bool owned_by_target
Definition: Filter_p.h:42
AudioOutput ao; ao.setAudioFormat(fmt); ao.open(); while (has_data) { data = read_data(ao->bufferSize...
Definition: AudioDecoder.h:31
VideoFilterPrivate()
Definition: Filter_p.h:48
FilterPrivate()
Definition: Filter_p.h:35
Definition: Filter_p.h:45