Miam-Player
0.8.0
A nice music player
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
Frame_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_FRAME_P_H
23
#define QTAV_FRAME_P_H
24
25
#include <
QtAV/QtAV_Global.h
>
26
#include <QtCore/QVector>
27
#include <QtCore/QVariant>
28
#include <QtCore/QSharedData>
29
30
namespace
QtAV
{
31
32
class
Frame;
33
class
FramePrivate
:
public
QSharedData
34
{
35
Q_DISABLE_COPY(
FramePrivate
)
36
public
:
37
FramePrivate
()
38
:
timestamp
(0)
39
{}
40
virtual
~FramePrivate
() {}
41
42
QVector<uchar*>
planes
;
//slice
43
QVector<int>
line_sizes
;
//stride
44
QVariantMap
metadata
;
45
QByteArray
data
;
46
qreal
timestamp
;
47
};
48
49
}
//namespace QtAV
50
51
#endif // QTAV_Frame_P_H
QtAV::FramePrivate::planes
QVector< uchar * > planes
Definition:
Frame_p.h:42
QtAV_Global.h
QtAV::FramePrivate::data
QByteArray data
Definition:
Frame_p.h:45
QtAV::FramePrivate::line_sizes
QVector< int > line_sizes
Definition:
Frame_p.h:43
QtAV::FramePrivate::FramePrivate
FramePrivate()
Definition:
Frame_p.h:37
QtAV::FramePrivate::timestamp
qreal timestamp
Definition:
Frame_p.h:46
QtAV
AudioOutput ao; ao.setAudioFormat(fmt); ao.open(); while (has_data) { data = read_data(ao->bufferSize...
Definition:
AudioDecoder.h:31
QtAV::FramePrivate
Definition:
Frame_p.h:33
QtAV::FramePrivate::metadata
QVariantMap metadata
Definition:
Frame_p.h:44
QtAV::FramePrivate::~FramePrivate
virtual ~FramePrivate()
Definition:
Frame_p.h:40
src
core
3rdparty
QtAV
private
Frame_p.h
Generated on Tue Feb 7 2017 06:11:33 for Miam-Player by
1.8.11