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
9d815b74
Commit
9d815b74
authored
Feb 09, 2017
by
James Darnley
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/x86: deduplicate PASS8ROWS macro
parent
56803218
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
15 deletions
+5
-15
h264_deblock.asm
libavcodec/x86/h264_deblock.asm
+0
-5
h264_deblock_10bit.asm
libavcodec/x86/h264_deblock_10bit.asm
+0
-5
hevc_deblock.asm
libavcodec/x86/hevc_deblock.asm
+0
-5
x86util.asm
libavutil/x86/x86util.asm
+5
-0
No files found.
libavcodec/x86/h264_deblock.asm
View file @
9d815b74
...
...
@@ -37,11 +37,6 @@ cextern pb_0
cextern
pb_1
cextern
pb_3
; expands to [base],...,[base+7*stride]
%define
PASS8ROWS
(
base
,
base3
,
stride
,
stride3
)
\
[base],
[
base
+
stride
]
,
[
base
+
stride
*
2
]
,
[base3],
\
[
base3
+
stride
]
,
[
base3
+
stride
*
2
]
,
[
base3
+
stride3
]
,
[
base3
+
stride
*
4
]
%define
PASS8ROWS
(
base
,
base3
,
stride
,
stride3
,
offset
)
\
PASS8ROWS
(
base
+
offset
,
base3
+
offset
,
stride
,
stride3
)
...
...
libavcodec/x86/h264_deblock_10bit.asm
View file @
9d815b74
...
...
@@ -843,11 +843,6 @@ DEBLOCK_LUMA_INTRA
mova
[
r0
+
2
*
r1
]
,
m2
%endmacro
; expands to [base],...,[base+7*stride]
%define
PASS8ROWS
(
base
,
base3
,
stride
,
stride3
)
\
[base],
[
base
+
stride
]
,
[
base
+
stride
*
2
]
,
[base3],
\
[
base3
+
stride
]
,
[
base3
+
stride
*
2
]
,
[
base3
+
stride3
]
,
[
base3
+
stride
*
4
]
; in: 8 rows of 4 words in %4..%11
; out: 4 rows of 8 words in m0..m3
%macro
TRANSPOSE4x8W_LOAD
8
...
...
libavcodec/x86/hevc_deblock.asm
View file @
9d815b74
...
...
@@ -39,11 +39,6 @@ cextern pw_m1
SECTION
.
text
INIT_XMM
sse2
; expands to [base],...,[base+7*stride]
%define
PASS8ROWS
(
base
,
base3
,
stride
,
stride3
)
\
[base],
[
base
+
stride
]
,
[
base
+
stride
*
2
]
,
[base3],
\
[
base3
+
stride
]
,
[
base3
+
stride
*
2
]
,
[
base3
+
stride3
]
,
[
base3
+
stride
*
4
]
; in: 8 rows of 4 bytes in %4..%11
; out: 4 rows of 8 words in m0..m3
%macro
TRANSPOSE4x8B_LOAD
8
...
...
libavutil/x86/x86util.asm
View file @
9d815b74
...
...
@@ -29,6 +29,11 @@
%include
"libavutil/x86/x86inc.asm"
; expands to [base],...,[base+7*stride]
%define
PASS8ROWS
(
base
,
base3
,
stride
,
stride3
)
\
[base],
[
base
+
stride
]
,
[
base
+
2
*
stride
]
,
[base3],
\
[
base3
+
stride
]
,
[
base3
+
2
*
stride
]
,
[
base3
+
stride3
]
,
[
base3
+
stride
*
4
]
%macro
SBUTTERFLY
4
%ifidn
%1
,
dqqq
vperm2i128
m%4
,
m%2
,
m%3
,
q0301
...
...
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