comparison i386/dsputil_mmx.c @ 5255:669a97223dc7 libavcodec

make arguments to ssd_int8_vs_int16() const
author mru
date Sun, 08 Jul 2007 23:15:00 +0000
parents 668249bc4c16
children 7b3fcb7c61ce
comparison
equal deleted inserted replaced
5254:727a49c28c51 5255:669a97223dc7
1869 #undef MMABS 1869 #undef MMABS
1870 #endif 1870 #endif
1871 #undef HSUM 1871 #undef HSUM
1872 #undef DCT_SAD 1872 #undef DCT_SAD
1873 1873
1874 static int ssd_int8_vs_int16_mmx(int8_t *pix1, int16_t *pix2, int size){ 1874 static int ssd_int8_vs_int16_mmx(const int8_t *pix1, const int16_t *pix2, int size){
1875 int sum; 1875 int sum;
1876 long i=size; 1876 long i=size;
1877 asm volatile( 1877 asm volatile(
1878 "pxor %%mm4, %%mm4 \n" 1878 "pxor %%mm4, %%mm4 \n"
1879 "1: \n" 1879 "1: \n"