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
5ccd08d2
Commit
5ccd08d2
authored
Sep 19, 2014
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
postproc/postprocess: Avoid some ifs in do_a_deblock_C()
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
4fd21d58
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
postprocess.c
libpostproc/postprocess.c
+9
-9
No files found.
libpostproc/postprocess.c
View file @
5ccd08d2
...
...
@@ -441,15 +441,15 @@ static av_always_inline void do_a_deblock_C(uint8_t *src, int step,
for
(
y
=
0
;
y
<
8
;
y
++
){
int
numEq
=
0
;
if
(((
unsigned
)(
src
[
-
1
*
step
]
-
src
[
0
*
step
]
+
dcOffset
))
<
dcThreshold
)
numEq
++
;
if
(((
unsigned
)(
src
[
0
*
step
]
-
src
[
1
*
step
]
+
dcOffset
))
<
dcThreshold
)
numEq
++
;
if
(((
unsigned
)(
src
[
1
*
step
]
-
src
[
2
*
step
]
+
dcOffset
))
<
dcThreshold
)
numEq
++
;
if
(((
unsigned
)(
src
[
2
*
step
]
-
src
[
3
*
step
]
+
dcOffset
))
<
dcThreshold
)
numEq
++
;
if
(((
unsigned
)(
src
[
3
*
step
]
-
src
[
4
*
step
]
+
dcOffset
))
<
dcThreshold
)
numEq
++
;
if
(((
unsigned
)(
src
[
4
*
step
]
-
src
[
5
*
step
]
+
dcOffset
))
<
dcThreshold
)
numEq
++
;
if
(((
unsigned
)(
src
[
5
*
step
]
-
src
[
6
*
step
]
+
dcOffset
))
<
dcThreshold
)
numEq
++
;
if
(((
unsigned
)(
src
[
6
*
step
]
-
src
[
7
*
step
]
+
dcOffset
))
<
dcThreshold
)
numEq
++
;
if
(((
unsigned
)(
src
[
7
*
step
]
-
src
[
8
*
step
]
+
dcOffset
))
<
dcThreshold
)
numEq
++
;
numEq
+=
((
unsigned
)(
src
[
-
1
*
step
]
-
src
[
0
*
step
]
+
dcOffset
))
<
dcThreshold
;
numEq
+=
((
unsigned
)(
src
[
0
*
step
]
-
src
[
1
*
step
]
+
dcOffset
))
<
dcThreshold
;
numEq
+=
((
unsigned
)(
src
[
1
*
step
]
-
src
[
2
*
step
]
+
dcOffset
))
<
dcThreshold
;
numEq
+=
((
unsigned
)(
src
[
2
*
step
]
-
src
[
3
*
step
]
+
dcOffset
))
<
dcThreshold
;
numEq
+=
((
unsigned
)(
src
[
3
*
step
]
-
src
[
4
*
step
]
+
dcOffset
))
<
dcThreshold
;
numEq
+=
((
unsigned
)(
src
[
4
*
step
]
-
src
[
5
*
step
]
+
dcOffset
))
<
dcThreshold
;
numEq
+=
((
unsigned
)(
src
[
5
*
step
]
-
src
[
6
*
step
]
+
dcOffset
))
<
dcThreshold
;
numEq
+=
((
unsigned
)(
src
[
6
*
step
]
-
src
[
7
*
step
]
+
dcOffset
))
<
dcThreshold
;
numEq
+=
((
unsigned
)(
src
[
7
*
step
]
-
src
[
8
*
step
]
+
dcOffset
))
<
dcThreshold
;
if
(
numEq
>
c
->
ppMode
.
flatnessThreshold
){
int
min
,
max
,
x
;
...
...
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