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
ef271374
Commit
ef271374
authored
May 17, 2014
by
Carl Eugen Hoyos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compilation of libavcodec/x86/hevc_deblock.asm with nasm.
Suggested-by: Reimar
parent
4c49d082
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
21 deletions
+21
-21
hevc_deblock.asm
libavcodec/x86/hevc_deblock.asm
+21
-21
No files found.
libavcodec/x86/hevc_deblock.asm
View file @
ef271374
...
...
@@ -351,12 +351,12 @@ ALIGN 16
;beta calculations
mov
r11
,
[betaq]
;
shl
r11
,
%1
-
8
movd
m13
,
r11
; beta0
movd
m13
,
r11
d
; beta0
add
betaq
,
4
;
punpcklwd
m13
,
m13
mov
r12
,
[betaq]
;
shl
r12
,
%1
-
8
movd
m14
,
r12
; beta1
movd
m14
,
r12
d
; beta1
punpcklwd
m14
,
m14
pshufd
m13
,
m14
,
0
; beta0, beta1
;end beta calculations
...
...
@@ -388,28 +388,28 @@ ALIGN 16
pshufd
m8
,
m10
,
0x31
psrld
m8
,
16
paddw
m8
,
m10
movd
r7
,
m8
movd
r7d
,
m8
and
r7
,
0xffff
; 1dp0 + 1dp3
pshufd
m8
,
m8
,
0x4E
movd
r8
,
m8
movd
r8d
,
m8
and
r8
,
0xffff
; 0dp0 + 0dp3
pshufd
m8
,
m11
,
0x31
psrld
m8
,
16
paddw
m8
,
m11
movd
r9
,
m8
movd
r9d
,
m8
and
r9
,
0xffff
; 1dq0 + 1dq3
pshufd
m8
,
m8
,
0x4E
movd
r10
,
m8
movd
r10d
,
m8
and
r10
,
0xffff
; 0dq0 + 0dq3
; end calc for weak filter
; filtering mask
mov
r2
,
r13
shr
r2
,
3
movd
m15
,
r2
movd
m15
,
r2
d
and
r13
,
1
movd
m11
,
r13
movd
m11
,
r13
d
shufps
m11
,
m15
,
0
shl
r2
,
1
or
r13
,
r2
...
...
@@ -422,14 +422,14 @@ ALIGN 16
;tc25 calculations
mov
r2d
,
[tcq]
;
shl
r2
,
%1
-
8
movd
m8
,
r2
; tc0
movd
m8
,
r2
d
; tc0
add
tcq
,
4
;
punpcklwd
m8
,
m8
mov
r3d
,
[tcq]
;
shl
r3
,
%1
-
8
movd
m9
,
r3
; tc0
movd
m9
,
r3
d
; tc0
punpcklwd
m9
,
m9
movd
m9
,
r3
; tc1
movd
m9
,
r3
d
; tc1
add
r2d
,
r3d
; tc0 + tc1
cmp
r2d
,
0
;
je
.
bypassluma
...
...
@@ -483,10 +483,10 @@ ALIGN 16
and
r14
,
5
; 0b101
mov
r2
,
r14
; strong mask
shr
r14
,
2
;
movd
m12
,
r14
; store to xmm for mask generation
movd
m12
,
r14
d
; store to xmm for mask generation
shl
r14
,
1
and
r2
,
1
movd
m10
,
r2
; store to xmm for mask generation
movd
m10
,
r2
d
; store to xmm for mask generation
or
r14
,
r2
; final strong mask, bits 1 and 0
cmp
r14
,
0
;
je
.
weakfilter
...
...
@@ -584,9 +584,9 @@ ALIGN 16
; weak filtering mask
mov
r2
,
r14
shr
r2
,
1
movd
m12
,
r2
movd
m12
,
r2
d
and
r14
,
1
movd
m11
,
r14
movd
m11
,
r14
d
shufps
m11
,
m12
,
0
pcmpeqd
m12
,
m12
; set all bits to 1
...
...
@@ -646,14 +646,14 @@ ALIGN 16
paddw
m15
,
m2
; p1'
;beta calculations
movd
m10
,
r11
; beta0
movd
m10
,
r11
d
; beta0
punpcklwd
m10
,
m10
movd
m13
,
r12
; beta1
movd
m13
,
r12
d
; beta1
punpcklwd
m13
,
m13
shufps
m10
,
m13
,
0
; betax0, betax1
movd
m13
,
r7
; 1dp0 + 1dp3
movd
m8
,
r8
; 0dp0 + 0dp3
movd
m13
,
r7
d
; 1dp0 + 1dp3
movd
m8
,
r8
d
; 0dp0 + 0dp3
punpcklwd
m8
,
m8
punpcklwd
m13
,
m13
shufps
m13
,
m8
,
0
;
...
...
@@ -670,8 +670,8 @@ ALIGN 16
pminsw
m8
,
m9
; av_clip(deltaq1, -tc/2, tc/2)
paddw
m8
,
m5
; q1'
movd
m13
,
r9
;
movd
m15
,
r10
;
movd
m13
,
r9
d
;
movd
m15
,
r10
d
;
punpcklwd
m15
,
m15
punpcklwd
m13
,
m13
shufps
m13
,
m15
,
0
; dq0 + dq3
...
...
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