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
9ae0a66d
Commit
9ae0a66d
authored
Oct 14, 2001
by
Arpi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
c++ fix
Originally committed as revision 2196 to
svn://svn.mplayerhq.hu/mplayer/trunk/postproc
parent
e939e1c3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
postprocess.c
postproc/postprocess.c
+2
-1
postprocess_template.c
postproc/postprocess_template.c
+2
-1
No files found.
postproc/postprocess.c
View file @
9ae0a66d
...
...
@@ -1533,6 +1533,8 @@ static inline void doHorizDefFilterAndCopyBack(uint8_t dst[], int stride, int QP
int
y
;
for
(
y
=
0
;
y
<
BLOCK_SIZE
;
y
++
)
{
const
int
middleEnergy
=
5
*
(
src
[
4
]
-
src
[
5
])
+
2
*
(
src
[
2
]
-
src
[
5
]);
dst
[
0
]
=
src
[
0
];
dst
[
1
]
=
src
[
1
];
dst
[
2
]
=
src
[
2
];
...
...
@@ -1542,7 +1544,6 @@ static inline void doHorizDefFilterAndCopyBack(uint8_t dst[], int stride, int QP
dst
[
6
]
=
src
[
6
];
dst
[
7
]
=
src
[
7
];
const
int
middleEnergy
=
5
*
(
src
[
4
]
-
src
[
5
])
+
2
*
(
src
[
2
]
-
src
[
5
]);
if
(
ABS
(
middleEnergy
)
<
8
*
QP
)
{
const
int
q
=
(
src
[
3
]
-
src
[
4
])
/
2
;
...
...
postproc/postprocess_template.c
View file @
9ae0a66d
...
...
@@ -1533,6 +1533,8 @@ static inline void doHorizDefFilterAndCopyBack(uint8_t dst[], int stride, int QP
int
y
;
for
(
y
=
0
;
y
<
BLOCK_SIZE
;
y
++
)
{
const
int
middleEnergy
=
5
*
(
src
[
4
]
-
src
[
5
])
+
2
*
(
src
[
2
]
-
src
[
5
]);
dst
[
0
]
=
src
[
0
];
dst
[
1
]
=
src
[
1
];
dst
[
2
]
=
src
[
2
];
...
...
@@ -1542,7 +1544,6 @@ static inline void doHorizDefFilterAndCopyBack(uint8_t dst[], int stride, int QP
dst
[
6
]
=
src
[
6
];
dst
[
7
]
=
src
[
7
];
const
int
middleEnergy
=
5
*
(
src
[
4
]
-
src
[
5
])
+
2
*
(
src
[
2
]
-
src
[
5
]);
if
(
ABS
(
middleEnergy
)
<
8
*
QP
)
{
const
int
q
=
(
src
[
3
]
-
src
[
4
])
/
2
;
...
...
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