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
d9cf32d9
Commit
d9cf32d9
authored
Jul 19, 2006
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avoid 4 +
Originally committed as revision 5799 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
d26a9ea0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
13 deletions
+7
-13
vp3dsp.c
libavcodec/vp3dsp.c
+7
-13
No files found.
libavcodec/vp3dsp.c
View file @
d9cf32d9
...
...
@@ -112,8 +112,13 @@ static always_inline void idct(uint8_t *dst, int stride, int16_t *input, int typ
Cd
=
A
+
C
;
Dd
=
B
+
D
;
E
=
M
(
xC4S4
,
(
ip
[
0
*
8
]
+
ip
[
4
*
8
]));
F
=
M
(
xC4S4
,
(
ip
[
0
*
8
]
-
ip
[
4
*
8
]));
E
=
M
(
xC4S4
,
(
ip
[
0
*
8
]
+
ip
[
4
*
8
]))
+
8
;
F
=
M
(
xC4S4
,
(
ip
[
0
*
8
]
-
ip
[
4
*
8
]))
+
8
;
if
(
type
==
1
){
//HACK
E
+=
16
*
128
;
F
+=
16
*
128
;
}
G
=
M
(
xC2S6
,
ip
[
2
*
8
])
+
M
(
xC6S2
,
ip
[
6
*
8
]);
H
=
M
(
xC6S2
,
ip
[
2
*
8
])
-
M
(
xC2S6
,
ip
[
6
*
8
]);
...
...
@@ -127,17 +132,6 @@ static always_inline void idct(uint8_t *dst, int stride, int16_t *input, int typ
Fd
=
F
-
Ad
;
Hd
=
Bd
+
H
;
if
(
type
==
1
){
//HACK
Gd
+=
16
*
128
;
Add
+=
16
*
128
;
Ed
+=
16
*
128
;
Fd
+=
16
*
128
;
}
Gd
+=
IdctAdjustBeforeShift
;
Add
+=
IdctAdjustBeforeShift
;
Ed
+=
IdctAdjustBeforeShift
;
Fd
+=
IdctAdjustBeforeShift
;
/* Final sequence of operations over-write original inputs. */
if
(
type
==
0
){
ip
[
0
*
8
]
=
(
Gd
+
Cd
)
>>
4
;
...
...
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