avcodec/x86/deinterlace: use INIT_MMX like other asm code does too
This commit is contained in:
parent
c7369f3a4b
commit
6ef3426d90
@ -31,10 +31,10 @@ SECTION .text
|
|||||||
%macro DEINTERLACE 1
|
%macro DEINTERLACE 1
|
||||||
%ifidn %1, inplace
|
%ifidn %1, inplace
|
||||||
;void ff_deinterlace_line_inplace_mmx(const uint8_t *lum_m4, const uint8_t *lum_m3, const uint8_t *lum_m2, const uint8_t *lum_m1, const uint8_t *lum, int size)
|
;void ff_deinterlace_line_inplace_mmx(const uint8_t *lum_m4, const uint8_t *lum_m3, const uint8_t *lum_m2, const uint8_t *lum_m1, const uint8_t *lum, int size)
|
||||||
cglobal deinterlace_line_inplace_mmx, 6,6,7, lum_m4, lum_m3, lum_m2, lum_m1, lum, size
|
cglobal deinterlace_line_inplace, 6,6,7, lum_m4, lum_m3, lum_m2, lum_m1, lum, size
|
||||||
%else
|
%else
|
||||||
;void ff_deinterlace_line_mmx(uint8_t *dst, const uint8_t *lum_m4, const uint8_t *lum_m3, const uint8_t *lum_m2, const uint8_t *lum_m1, const uint8_t *lum, int size)
|
;void ff_deinterlace_line_mmx(uint8_t *dst, const uint8_t *lum_m4, const uint8_t *lum_m3, const uint8_t *lum_m2, const uint8_t *lum_m1, const uint8_t *lum, int size)
|
||||||
cglobal deinterlace_line_mmx, 7,7,7, dst, lum_m4, lum_m3, lum_m2, lum_m1, lum, size
|
cglobal deinterlace_line, 7,7,7, dst, lum_m4, lum_m3, lum_m2, lum_m1, lum, size
|
||||||
%endif
|
%endif
|
||||||
pxor mm7, mm7
|
pxor mm7, mm7
|
||||||
movq mm6, [pw_4]
|
movq mm6, [pw_4]
|
||||||
@ -77,6 +77,8 @@ cglobal deinterlace_line_mmx, 7,7,7, dst, lum_m4, lum_m3, lum_m2, lum_m1
|
|||||||
REP_RET
|
REP_RET
|
||||||
%endmacro
|
%endmacro
|
||||||
|
|
||||||
|
INIT_MMX mmx
|
||||||
|
|
||||||
DEINTERLACE ""
|
DEINTERLACE ""
|
||||||
|
|
||||||
DEINTERLACE inplace
|
DEINTERLACE inplace
|
||||||
|
Loading…
x
Reference in New Issue
Block a user