Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
b890198b
Commit
b890198b
authored
Sep 27, 2013
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter: add av_cold to init()
Signed-off-by:
Paul B Mahol
<
onemda@gmail.com
>
parent
f7bea731
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
9 additions
and
9 deletions
+9
-9
asrc_aevalsrc.c
libavfilter/asrc_aevalsrc.c
+1
-1
asrc_anullsrc.c
libavfilter/asrc_anullsrc.c
+1
-1
f_interleave.c
libavfilter/f_interleave.c
+1
-1
trim.c
libavfilter/trim.c
+1
-1
vf_extractplanes.c
libavfilter/vf_extractplanes.c
+2
-2
vf_noise.c
libavfilter/vf_noise.c
+1
-1
vsrc_cellauto.c
libavfilter/vsrc_cellauto.c
+1
-1
vsrc_life.c
libavfilter/vsrc_life.c
+1
-1
No files found.
libavfilter/asrc_aevalsrc.c
View file @
b890198b
...
...
@@ -81,7 +81,7 @@ static const AVOption aevalsrc_options[]= {
AVFILTER_DEFINE_CLASS
(
aevalsrc
);
static
int
init
(
AVFilterContext
*
ctx
)
static
av_cold
int
init
(
AVFilterContext
*
ctx
)
{
EvalContext
*
eval
=
ctx
->
priv
;
char
*
args1
=
av_strdup
(
eval
->
exprs
);
...
...
libavfilter/asrc_anullsrc.c
View file @
b890198b
...
...
@@ -59,7 +59,7 @@ static const AVOption anullsrc_options[]= {
AVFILTER_DEFINE_CLASS
(
anullsrc
);
static
int
init
(
AVFilterContext
*
ctx
)
static
av_cold
int
init
(
AVFilterContext
*
ctx
)
{
ANullContext
*
null
=
ctx
->
priv
;
int
ret
;
...
...
libavfilter/f_interleave.c
View file @
b890198b
...
...
@@ -102,7 +102,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *frame)
return
push_frame
(
ctx
);
}
static
int
init
(
AVFilterContext
*
ctx
)
static
av_cold
int
init
(
AVFilterContext
*
ctx
)
{
InterleaveContext
*
interleave
=
ctx
->
priv
;
const
AVFilterPad
*
outpad
=
&
ctx
->
filter
->
outputs
[
0
];
...
...
libavfilter/trim.c
View file @
b890198b
...
...
@@ -74,7 +74,7 @@ typedef struct TrimContext {
int
eof
;
}
TrimContext
;
static
int
init
(
AVFilterContext
*
ctx
)
static
av_cold
int
init
(
AVFilterContext
*
ctx
)
{
TrimContext
*
s
=
ctx
->
priv
;
...
...
libavfilter/vf_extractplanes.c
View file @
b890198b
...
...
@@ -251,7 +251,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *frame)
return
ret
;
}
static
int
init
(
AVFilterContext
*
ctx
)
static
av_cold
int
init
(
AVFilterContext
*
ctx
)
{
ExtractPlanesContext
*
e
=
ctx
->
priv
;
int
planes
=
(
e
->
requested_planes
&
0xf
)
|
(
e
->
requested_planes
>>
4
);
...
...
@@ -311,7 +311,7 @@ AVFilter avfilter_vf_extractplanes = {
#if CONFIG_ALPHAEXTRACT_FILTER
static
int
init_alphaextract
(
AVFilterContext
*
ctx
)
static
av_cold
int
init_alphaextract
(
AVFilterContext
*
ctx
)
{
ExtractPlanesContext
*
e
=
ctx
->
priv
;
...
...
libavfilter/vf_noise.c
View file @
b890198b
...
...
@@ -98,7 +98,7 @@ AVFILTER_DEFINE_CLASS(noise);
static
const
int8_t
patt
[
4
]
=
{
-
1
,
0
,
1
,
0
};
#define RAND_N(range) ((int) ((double) range * av_lfg_get(lfg) / (UINT_MAX + 1.0)))
static
int
init_noise
(
NoiseContext
*
n
,
int
comp
)
static
av_cold
int
init_noise
(
NoiseContext
*
n
,
int
comp
)
{
int8_t
*
noise
=
av_malloc
(
MAX_NOISE
*
sizeof
(
int8_t
));
FilterParams
*
fp
=
&
n
->
param
[
comp
];
...
...
libavfilter/vsrc_cellauto.c
View file @
b890198b
...
...
@@ -159,7 +159,7 @@ static int init_pattern_from_file(AVFilterContext *ctx)
return
init_pattern_from_string
(
ctx
);
}
static
int
init
(
AVFilterContext
*
ctx
)
static
av_cold
int
init
(
AVFilterContext
*
ctx
)
{
CellAutoContext
*
cellauto
=
ctx
->
priv
;
int
ret
;
...
...
libavfilter/vsrc_life.c
View file @
b890198b
...
...
@@ -217,7 +217,7 @@ static int init_pattern_from_file(AVFilterContext *ctx)
return
0
;
}
static
int
init
(
AVFilterContext
*
ctx
)
static
av_cold
int
init
(
AVFilterContext
*
ctx
)
{
LifeContext
*
life
=
ctx
->
priv
;
int
ret
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment