x86/hevc_res_add: add missing guards to hevc_transform_add32_8_avx2
Should fix compilation with old Yasm/Nasm versions. Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
720c21d11f
commit
52ec81c67d
@ -177,6 +177,7 @@ TRANSFORM_ADD_8
|
|||||||
INIT_XMM avx
|
INIT_XMM avx
|
||||||
TRANSFORM_ADD_8
|
TRANSFORM_ADD_8
|
||||||
|
|
||||||
|
%if HAVE_AVX2_EXTERNAL
|
||||||
INIT_YMM avx2
|
INIT_YMM avx2
|
||||||
; void ff_hevc_transform_add32_8_avx2(uint8_t *dst, int16_t *coeffs, ptrdiff_t stride)
|
; void ff_hevc_transform_add32_8_avx2(uint8_t *dst, int16_t *coeffs, ptrdiff_t stride)
|
||||||
cglobal hevc_transform_add32_8, 3, 4, 7
|
cglobal hevc_transform_add32_8, 3, 4, 7
|
||||||
@ -191,6 +192,7 @@ cglobal hevc_transform_add32_8, 3, 4, 7
|
|||||||
TR_ADD_SSE_16_32_8 128, r0+r2*2, r0+r3
|
TR_ADD_SSE_16_32_8 128, r0+r2*2, r0+r3
|
||||||
%endrep
|
%endrep
|
||||||
RET
|
RET
|
||||||
|
%endif
|
||||||
|
|
||||||
;-----------------------------------------------------------------------------
|
;-----------------------------------------------------------------------------
|
||||||
; void ff_hevc_transform_add_10(pixel *dst, int16_t *block, int stride)
|
; void ff_hevc_transform_add_10(pixel *dst, int16_t *block, int stride)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user