comparison postproc/swscale_template.c @ 6679:5c4beb993674

fixing sinc filter (seems the problem was caused by rounding in pmulhw -> solution use shorter filter, its long and slow enough anyway) some typos some warning fixes
author michael
date Tue, 09 Jul 2002 17:01:52 +0000
parents ab152b72e359
children 064ada190b6c
comparison
equal deleted inserted replaced
6678:c7cfaa38cafb 6679:5c4beb993674
110 #define YSCALEYUV2RGBX \ 110 #define YSCALEYUV2RGBX \
111 "xorl %%eax, %%eax \n\t"\ 111 "xorl %%eax, %%eax \n\t"\
112 ".balign 16 \n\t"\ 112 ".balign 16 \n\t"\
113 "1: \n\t"\ 113 "1: \n\t"\
114 "movl %1, %%edx \n\t" /* -chrFilterSize */\ 114 "movl %1, %%edx \n\t" /* -chrFilterSize */\
115 "movl %3, %%ebx \n\t" /* chrMmxFilter+lumFilterSize */\ 115 "movl %3, %%ebx \n\t" /* chrMmxFilter+chrFilterSize */\
116 "movl %7, %%ecx \n\t" /* chrSrc+lumFilterSize */\ 116 "movl %7, %%ecx \n\t" /* chrSrc+chrFilterSize */\
117 "pxor %%mm3, %%mm3 \n\t"\ 117 "pxor %%mm3, %%mm3 \n\t"\
118 "pxor %%mm4, %%mm4 \n\t"\ 118 "pxor %%mm4, %%mm4 \n\t"\
119 "2: \n\t"\ 119 "2: \n\t"\
120 "movl (%%ecx, %%edx, 4), %%esi \n\t"\ 120 "movl (%%ecx, %%edx, 4), %%esi \n\t"\
121 "movq (%%ebx, %%edx, 8), %%mm0 \n\t" /* filterCoeff */\ 121 "movq (%%ebx, %%edx, 8), %%mm0 \n\t" /* filterCoeff */\