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
165eabf1
Commit
165eabf1
authored
May 31, 2019
by
Zhong Li
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavf/qsv: use av_cold for init/uninit
Signed-off-by:
Zhong Li
<
zhong.li@intel.com
>
parent
94ceeba9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
vf_deinterlace_qsv.c
libavfilter/vf_deinterlace_qsv.c
+1
-1
vf_overlay_qsv.c
libavfilter/vf_overlay_qsv.c
+1
-1
vf_scale_qsv.c
libavfilter/vf_scale_qsv.c
+2
-2
No files found.
libavfilter/vf_deinterlace_qsv.c
View file @
165eabf1
...
@@ -83,7 +83,7 @@ typedef struct QSVDeintContext {
...
@@ -83,7 +83,7 @@ typedef struct QSVDeintContext {
int
mode
;
int
mode
;
}
QSVDeintContext
;
}
QSVDeintContext
;
static
void
qsvdeint_uninit
(
AVFilterContext
*
ctx
)
static
av_cold
void
qsvdeint_uninit
(
AVFilterContext
*
ctx
)
{
{
QSVDeintContext
*
s
=
ctx
->
priv
;
QSVDeintContext
*
s
=
ctx
->
priv
;
QSVFrame
*
cur
;
QSVFrame
*
cur
;
...
...
libavfilter/vf_overlay_qsv.c
View file @
165eabf1
...
@@ -345,7 +345,7 @@ static int overlay_qsv_init(AVFilterContext *ctx)
...
@@ -345,7 +345,7 @@ static int overlay_qsv_init(AVFilterContext *ctx)
return
0
;
return
0
;
}
}
static
void
overlay_qsv_uninit
(
AVFilterContext
*
ctx
)
static
av_cold
void
overlay_qsv_uninit
(
AVFilterContext
*
ctx
)
{
{
QSVOverlayContext
*
vpp
=
ctx
->
priv
;
QSVOverlayContext
*
vpp
=
ctx
->
priv
;
...
...
libavfilter/vf_scale_qsv.c
View file @
165eabf1
...
@@ -109,7 +109,7 @@ typedef struct QSVScaleContext {
...
@@ -109,7 +109,7 @@ typedef struct QSVScaleContext {
char
*
format_str
;
char
*
format_str
;
}
QSVScaleContext
;
}
QSVScaleContext
;
static
int
qsvscale_init
(
AVFilterContext
*
ctx
)
static
av_cold
int
qsvscale_init
(
AVFilterContext
*
ctx
)
{
{
QSVScaleContext
*
s
=
ctx
->
priv
;
QSVScaleContext
*
s
=
ctx
->
priv
;
...
@@ -126,7 +126,7 @@ static int qsvscale_init(AVFilterContext *ctx)
...
@@ -126,7 +126,7 @@ static int qsvscale_init(AVFilterContext *ctx)
return
0
;
return
0
;
}
}
static
void
qsvscale_uninit
(
AVFilterContext
*
ctx
)
static
av_cold
void
qsvscale_uninit
(
AVFilterContext
*
ctx
)
{
{
QSVScaleContext
*
s
=
ctx
->
priv
;
QSVScaleContext
*
s
=
ctx
->
priv
;
...
...
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