1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

huffyuvencdsp: Cherry pick changes left out in the last commit

Oops.
This commit is contained in:
Timothy Gu 2015-10-19 02:25:11 +01:00
parent 5e586e1bef
commit 98da061461

View File

@ -27,8 +27,8 @@
section .text section .text
; void ff_diff_bytes_mmx(uint8_t *dst, const uint8_t *src1, const uint8_t *src2, ; void ff_diff_bytes(uint8_t *dst, const uint8_t *src1, const uint8_t *src2,
; intptr_t w); ; intptr_t w);
%macro DIFF_BYTES_PROLOGUE 0 %macro DIFF_BYTES_PROLOGUE 0
%if ARCH_X86_32 %if ARCH_X86_32
cglobal diff_bytes, 3,5,2, dst, src1, src2 cglobal diff_bytes, 3,5,2, dst, src1, src2
@ -55,7 +55,7 @@ cglobal diff_bytes, 4,5,2, dst, src1, src2, w
; mov type used for src1q, dstq, first reg, second reg ; mov type used for src1q, dstq, first reg, second reg
%macro DIFF_BYTES_LOOP_CORE 4 %macro DIFF_BYTES_LOOP_CORE 4
%if regsize != 16 %if mmsize != 16
mov%1 %3, [src1q + i] mov%1 %3, [src1q + i]
mov%1 %4, [src1q + i + regsize] mov%1 %4, [src1q + i + regsize]
psubb %3, [src2q + i] psubb %3, [src2q + i]