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
8f29901b
Commit
8f29901b
authored
Aug 09, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
yadif: remove get_video_buffer, its redundant now
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
2f7e8dcf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
19 deletions
+0
-19
vf_yadif.c
libavfilter/vf_yadif.c
+0
-19
No files found.
libavfilter/vf_yadif.c
View file @
8f29901b
...
@@ -163,24 +163,6 @@ static void filter(AVFilterContext *ctx, AVFilterBufferRef *dstpic,
...
@@ -163,24 +163,6 @@ static void filter(AVFilterContext *ctx, AVFilterBufferRef *dstpic,
emms_c
();
emms_c
();
}
}
static
AVFilterBufferRef
*
get_video_buffer
(
AVFilterLink
*
link
,
int
perms
,
int
w
,
int
h
)
{
AVFilterBufferRef
*
picref
;
int
width
=
FFALIGN
(
w
,
32
);
int
height
=
FFALIGN
(
h
+
2
,
32
);
int
i
;
picref
=
ff_default_get_video_buffer
(
link
,
perms
,
width
,
height
);
picref
->
video
->
w
=
w
;
picref
->
video
->
h
=
h
;
for
(
i
=
0
;
i
<
3
;
i
++
)
picref
->
data
[
i
]
+=
picref
->
linesize
[
i
];
return
picref
;
}
static
int
return_frame
(
AVFilterContext
*
ctx
,
int
is_second
)
static
int
return_frame
(
AVFilterContext
*
ctx
,
int
is_second
)
{
{
YADIFContext
*
yadif
=
ctx
->
priv
;
YADIFContext
*
yadif
=
ctx
->
priv
;
...
@@ -456,7 +438,6 @@ AVFilter avfilter_vf_yadif = {
...
@@ -456,7 +438,6 @@ AVFilter avfilter_vf_yadif = {
.
inputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
inputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
start_frame
=
start_frame
,
.
start_frame
=
start_frame
,
.
get_video_buffer
=
get_video_buffer
,
.
draw_slice
=
null_draw_slice
,
.
draw_slice
=
null_draw_slice
,
.
end_frame
=
end_frame
,
.
end_frame
=
end_frame
,
.
rej_perms
=
AV_PERM_REUSE2
,
},
.
rej_perms
=
AV_PERM_REUSE2
,
},
...
...
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