Skip to content
Snippets Groups Projects
Commit e4128c08 authored by Anton Khirnov's avatar Anton Khirnov
Browse files

Revert "hevc: x86: Refactor IDCT macro declarations"

This reverts commit d9dccc03. There were
outstanding objections to this commit.
parent 5801f9ed
No related branches found
No related tags found
No related merge requests found
...@@ -74,22 +74,34 @@ cglobal hevc_idct_%1x%1_dc_%2, 1, 2, 1, coeff, tmp ...@@ -74,22 +74,34 @@ cglobal hevc_idct_%1x%1_dc_%2, 1, 2, 1, coeff, tmp
RET RET
%endmacro %endmacro
%macro INIT_IDCT_DC 1 ; 8-bit
INIT_MMX mmxext INIT_MMX mmxext
IDCT_DC_NL 4, %1 IDCT_DC_NL 4, 8
IDCT_DC 8, 2, %1 IDCT_DC 8, 2, 8
INIT_XMM sse2 INIT_XMM sse2
IDCT_DC_NL 8, %1 IDCT_DC_NL 8, 8
IDCT_DC 16, 4, %1 IDCT_DC 16, 4, 8
IDCT_DC 32, 16, %1 IDCT_DC 32, 16, 8
%if HAVE_AVX2_EXTERNAL %if HAVE_AVX2_EXTERNAL
INIT_YMM avx2 INIT_YMM avx2
IDCT_DC 16, 2, %1 IDCT_DC 16, 2, 8
IDCT_DC 32, 8, %1 IDCT_DC 32, 8, 8
%endif ;HAVE_AVX2_EXTERNAL %endif ;HAVE_AVX2_EXTERNAL
%endmacro
INIT_IDCT_DC 8 ; 10-bit
INIT_IDCT_DC 10 INIT_MMX mmxext
IDCT_DC_NL 4, 10
IDCT_DC 8, 2, 10
INIT_XMM sse2
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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment