Audacity
3.2.0
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
Typedefs
a
b
c
d
e
f
g
h
i
l
m
n
p
r
s
t
u
v
Enumerations
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
w
z
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Classes
Class List
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Enumerations
a
b
c
d
e
f
h
i
k
l
m
o
p
r
s
t
x
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
y
Related Functions
a
b
c
d
e
f
g
l
m
n
o
p
r
s
t
v
w
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
Typedefs
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
c
d
e
f
k
l
m
n
o
p
r
s
t
u
v
z
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
z
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
modules
import-export
mod-ffmpeg
lib-ffmpeg-support
wrappers
AVFrameWrapper.cpp
Go to the documentation of this file.
1
/**********************************************************************
2
3
Audacity: A Digital Audio Editor
4
5
AVFrameWrapper.cpp
6
7
Dmitry Vedenko
8
9
**********************************************************************/
10
11
#include "
AVFrameWrapper.h
"
12
13
#include "
FFmpegFunctions.h
"
14
15
#include "
AVChannelLayoutWrapper.h
"
16
17
AVFrameWrapper::AVFrameWrapper
(
const
FFmpegFunctions
& ffmpeg) noexcept
18
: mFFmpeg(ffmpeg)
19
{
20
mAVFrame = mFFmpeg.av_frame_alloc();
21
}
22
23
AVFrame
*
AVFrameWrapper::GetWrappedValue
() noexcept
24
{
25
return
mAVFrame
;
26
}
27
28
const
AVFrame
*
AVFrameWrapper::GetWrappedValue
() const noexcept
29
{
30
return
mAVFrame
;
31
}
32
33
AVFrameWrapper::~AVFrameWrapper
()
34
{
35
if
(
mAVFrame
!=
nullptr
)
36
mFFmpeg
.
av_frame_free
(&
mAVFrame
);
37
}
AVChannelLayoutWrapper.h
AVFrameWrapper.h
FFmpegFunctions.h
AVFrameWrapper::GetWrappedValue
AVFrame * GetWrappedValue() noexcept
Definition:
AVFrameWrapper.cpp:23
AVFrameWrapper::AVFrameWrapper
AVFrameWrapper(const AVFrameWrapper &)=delete
AVFrameWrapper::mFFmpeg
const FFmpegFunctions & mFFmpeg
Definition:
AVFrameWrapper.h:86
AVFrameWrapper::mAVFrame
AVFrame * mAVFrame
Definition:
AVFrameWrapper.h:87
AVFrameWrapper::~AVFrameWrapper
virtual ~AVFrameWrapper()
Definition:
AVFrameWrapper.cpp:33
AVFrame
Definition:
ffmpeg-2.3.6-single-header.h:1530
AVUtilFunctions::av_frame_free
void(* av_frame_free)(AVFrame **frame)
Definition:
AVUtilFunctions.h:36
FFmpegFunctions
Definition:
FFmpegFunctions.h:85
Generated by
1.9.3