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
dc66951b
Commit
dc66951b
authored
Oct 12, 2011
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
proresdsp: fix rounding
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
67dad8e7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
proresdsp.asm
libavcodec/x86/proresdsp.asm
+3
-3
No files found.
libavcodec/x86/proresdsp.asm
View file @
dc66951b
...
...
@@ -49,9 +49,9 @@ w1_plus_w5: times 4 dw W1sh2, +W5sh2
w5_min_w1
:
times
4
dw
W5sh2
,
-
W1sh2
w5_plus_w7
:
times
4
dw
W5sh2
,
+
W7sh2
w7_min_w5
:
times
4
dw
W7sh2
,
-
W5sh2
row_round
:
times
8
dw
(
1
<<
14
)
pw_88
:
times
8
dw
0x2008
cextern
pw_1
cextern
pw_4
cextern
pw_512
cextern
pw_1019
...
...
@@ -96,10 +96,10 @@ section .text align=16
%ifidn
%1
,
col
paddw
m10
,
[
pw_88
]
%endif
SBUTTERFLY3
wd
,
0
,
1
,
10
,
8
; { row[0], row[2] }[0-3]/[4-7]
%ifidn
%1
,
row
p
subw
m10
,
[
row_round
]
p
addw
m10
,
[
pw_1
]
%endif
SBUTTERFLY3
wd
,
0
,
1
,
10
,
8
; { row[0], row[2] }[0-3]/[4-7]
pmaddwd
m2
,
m0
,
[
w4_plus_w6
]
pmaddwd
m3
,
m1
,
[
w4_plus_w6
]
pmaddwd
m4
,
m0
,
[
w4_min_w6
]
...
...
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