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
d9dccc03
Commit
d9dccc03
authored
8 years ago
by
Diego Biurrun
Browse files
Options
Downloads
Patches
Plain Diff
hevc: x86: Refactor IDCT macro declarations
parent
be630b1e
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/hevc_idct.asm
+11
-23
11 additions, 23 deletions
libavcodec/x86/hevc_idct.asm
with
11 additions
and
23 deletions
libavcodec/x86/hevc_idct.asm
+
11
−
23
View file @
d9dccc03
...
@@ -74,34 +74,22 @@ cglobal hevc_idct_%1x%1_dc_%2, 1, 2, 1, coeff, tmp
...
@@ -74,34 +74,22 @@ cglobal hevc_idct_%1x%1_dc_%2, 1, 2, 1, coeff, tmp
RET
RET
%endmacro
%endmacro
; 8-bit
%macro INIT_IDCT_DC 1
INIT_MMX
mmxext
INIT_MMX
mmxext
IDCT_DC_NL
4
,
8
IDCT_DC_NL
4
,
%
1
IDCT_DC
8
,
2
,
8
IDCT_DC
8
,
2
,
%
1
INIT_XMM
ss
e2
INIT_XMM
ss
e2
IDCT_DC_NL
8
,
8
IDCT_DC_NL
8
,
%
1
IDCT_DC
16
,
4
,
8
IDCT_DC
16
,
4
,
%
1
IDCT_DC
32
,
16
,
8
IDCT_DC
32
,
16
,
%
1
%if HAVE_AVX2_EXTERNAL
%if HAVE_AVX2_EXTERNAL
INIT_YMM
avx2
INIT_YMM
avx2
IDCT_DC
16
,
2
,
8
IDCT_DC
16
,
2
,
%
1
IDCT_DC
32
,
8
,
8
IDCT_DC
32
,
8
,
%
1
%endif
;HAVE_AVX2_EXTERNAL
%endif
;HAVE_AVX2_EXTERNAL
%endmacro
; 10-bit
INIT_IDCT_DC
8
INIT_MMX
mmxext
INIT_IDCT_DC
10
IDCT_DC_NL
4
,
10
IDCT_DC
8
,
2
,
10
INIT_XMM
ss
e2
IDCT_DC_NL
8
,
10
IDCT_DC
16
,
4
,
10
IDCT_DC
32
,
16
,
10
%if HAVE_AVX2_EXTERNAL
INIT_YMM
avx2
IDCT_DC
16
,
2
,
10
IDCT_DC
32
,
8
,
10
%endif
;HAVE_AVX2_EXTERNAL
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