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
f29bd6fa
Commit
f29bd6fa
authored
Aug 20, 2007
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more stupid double subtractions
Originally committed as revision 10155 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
49ca0e53
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
snow.h
libavcodec/snow.h
+2
-2
No files found.
libavcodec/snow.h
View file @
f29bd6fa
...
...
@@ -165,11 +165,11 @@ static av_always_inline void snow_horizontal_compose_lift_lead_out(int i, DWTELE
static
av_always_inline
void
snow_horizontal_compose_liftS_lead_out
(
int
i
,
DWTELEM
*
dst
,
DWTELEM
*
src
,
DWTELEM
*
ref
,
int
width
,
int
w
){
for
(;
i
<
w
;
i
++
){
dst
[
i
]
=
src
[
i
]
-
(((
-
(
ref
[
i
]
+
ref
[(
i
+
1
)])
+
W_BO
)
-
4
*
src
[
i
])
>>
W_BS
);
dst
[
i
]
=
src
[
i
]
+
((
ref
[
i
]
+
ref
[(
i
+
1
)]
+
W_BO
-
1
+
4
*
src
[
i
])
>>
W_BS
);
}
if
(
width
&
1
){
dst
[
w
]
=
src
[
w
]
-
(((
-
2
*
ref
[
w
]
+
W_BO
)
-
4
*
src
[
w
])
>>
W_BS
);
dst
[
w
]
=
src
[
w
]
+
((
2
*
ref
[
w
]
+
W_BO
-
1
+
4
*
src
[
w
])
>>
W_BS
);
}
}
...
...
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