Compile error if there's two functions of the same name, instead of silently renaming one of them.
%endif
%endmacro
+%ifndef HIGH_BIT_DEPTH
INIT_XMM
cglobal zigzag_interleave_8x8_cavlc_sse2, 3,3,8
INTERLEAVE_XMM 0
shr r0d, 16
mov [r2+8], r0w
RET
-
+%endif ; !HIGH_BIT_DEPTH
%endif ;!HIGH_BIT_DEPTH
REP_RET
+%ifndef HIGH_BIT_DEPTH
INIT_XMM
;-----------------------------------------------------------------------------
; void predict_8x8_ddl( uint8_t *src, uint8_t *edge )
%endrep
movq [r0-3*FDEC_STRIDE], xmm0
movq [r0-4*FDEC_STRIDE], xmm1
-
RET
+%endif ; !HIGH_BIT_DEPTH
;-----------------------------------------------------------------------------
; void predict_8x8_vl( uint8_t *src, uint8_t *edge )
RET
%endmacro
+%ifndef HIGH_BIT_DEPTH
PREDICT_8x8_HU sse2
PREDICT_8x8_HU ssse3
+%endif
;-----------------------------------------------------------------------------
; void predict_8x8c_v( uint8_t *src )
; Symbol prefix for C linkage
%macro cglobal 1-2+
- %xdefine %1 mangle(program_name %+ _ %+ %1)
- %xdefine %1.skip_prologue %1 %+ .skip_prologue
+ %ifndef cglobaled_%1
+ %xdefine %1 mangle(program_name %+ _ %+ %1)
+ %xdefine %1.skip_prologue %1 %+ .skip_prologue
+ CAT_XDEFINE cglobaled_, %1, 1
+ %endif
%ifidn __OUTPUT_FORMAT__,elf
global %1:function hidden
%else