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
03778575
Commit
03778575
authored
Dec 06, 2012
by
Clément Bœsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi/deshake: switch inverted comments.
parent
0678641b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
vf_deshake.c
libavfilter/vf_deshake.c
+3
-3
No files found.
libavfilter/vf_deshake.c
View file @
03778575
...
@@ -528,11 +528,11 @@ static int filter_frame(AVFilterLink *link, AVFilterBufferRef *in)
...
@@ -528,11 +528,11 @@ static int filter_frame(AVFilterLink *link, AVFilterBufferRef *in)
avfilter_transform
(
in
->
data
[
1
],
out
->
data
[
1
],
in
->
linesize
[
1
],
out
->
linesize
[
1
],
CHROMA_WIDTH
(
link
),
CHROMA_HEIGHT
(
link
),
matrix
,
INTERPOLATE_BILINEAR
,
deshake
->
edge
);
avfilter_transform
(
in
->
data
[
1
],
out
->
data
[
1
],
in
->
linesize
[
1
],
out
->
linesize
[
1
],
CHROMA_WIDTH
(
link
),
CHROMA_HEIGHT
(
link
),
matrix
,
INTERPOLATE_BILINEAR
,
deshake
->
edge
);
avfilter_transform
(
in
->
data
[
2
],
out
->
data
[
2
],
in
->
linesize
[
2
],
out
->
linesize
[
2
],
CHROMA_WIDTH
(
link
),
CHROMA_HEIGHT
(
link
),
matrix
,
INTERPOLATE_BILINEAR
,
deshake
->
edge
);
avfilter_transform
(
in
->
data
[
2
],
out
->
data
[
2
],
in
->
linesize
[
2
],
out
->
linesize
[
2
],
CHROMA_WIDTH
(
link
),
CHROMA_HEIGHT
(
link
),
matrix
,
INTERPOLATE_BILINEAR
,
deshake
->
edge
);
// Store the current frame as the reference frame for calculating the
// Cleanup the old reference frame
// motion of the next frame
avfilter_unref_buffer
(
deshake
->
ref
);
avfilter_unref_buffer
(
deshake
->
ref
);
// Cleanup the old reference frame
// Store the current frame as the reference frame for calculating the
// motion of the next frame
deshake
->
ref
=
in
;
deshake
->
ref
=
in
;
return
ff_filter_frame
(
outlink
,
out
);
return
ff_filter_frame
(
outlink
,
out
);
...
...
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