Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FFmpeg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
libremedia
Tethys
FFmpeg
Commits
dc66951b
Commit
dc66951b
authored
13 years ago
by
Michael Niedermayer
Browse files
Options
Downloads
Patches
Plain Diff
proresdsp: fix rounding
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
67dad8e7
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libavcodec/x86/proresdsp.asm
+3
-3
3 additions, 3 deletions
libavcodec/x86/proresdsp.asm
with
3 additions
and
3 deletions
libavcodec/x86/proresdsp.asm
+
3
−
3
View file @
dc66951b
...
@@ -49,9 +49,9 @@ w1_plus_w5: times 4 dw W1sh2, +W5sh2
...
@@ -49,9 +49,9 @@ w1_plus_w5: times 4 dw W1sh2, +W5sh2
w5_min_w1:
times
4
dw
W5sh2
,
-
W1sh2
w5_min_w1:
times
4
dw
W5sh2
,
-
W1sh2
w5_plus_w7:
times
4
dw
W5sh2
,
+
W7sh2
w5_plus_w7:
times
4
dw
W5sh2
,
+
W7sh2
w7_min_w5:
times
4
dw
W7sh2
,
-
W5sh2
w7_min_w5:
times
4
dw
W7sh2
,
-
W5sh2
row_round:
times
8
dw
(
1
<<
14
)
pw_88:
times
8
dw
0x2008
pw_88:
times
8
dw
0x2008
cextern
pw_1
cextern
pw_4
cextern
pw_4
cextern
pw_512
cextern
pw_512
cextern
pw_1019
cextern
pw_1019
...
@@ -96,10 +96,10 @@ section .text align=16
...
@@ -96,10 +96,10 @@ section .text align=16
%ifidn %1, col
%ifidn %1, col
paddw
m10
,[
pw_88
]
paddw
m10
,[
pw_88
]
%endif
%endif
SBUTTERFLY3
wd
,
0
,
1
,
10
,
8
; { row[0], row[2] }[0-3]/[4-7]
%ifidn %1, row
%ifidn %1, row
p
sub
w
m10
,[
row_round
]
p
add
w
m10
,[
pw_1
]
%endif
%endif
SBUTTERFLY3
wd
,
0
,
1
,
10
,
8
; { row[0], row[2] }[0-3]/[4-7]
pmaddwd
m2
,
m0
,
[
w4_plus_w6
]
pmaddwd
m2
,
m0
,
[
w4_plus_w6
]
pmaddwd
m3
,
m1
,
[
w4_plus_w6
]
pmaddwd
m3
,
m1
,
[
w4_plus_w6
]
pmaddwd
m4
,
m0
,
[
w4_min_w6
]
pmaddwd
m4
,
m0
,
[
w4_min_w6
]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment