X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Favformat%2Ffilter_avdeinterlace.c;h=6c2a6ff40061dab629c1c5fa40d06c148f3875a6;hb=8476c63313913b6c7e05f8b505dd4e7bbf2e186a;hp=25b513593835e23ae5240828802b96d4576c78cd;hpb=f4bdbe56053cc8debfdb74583977d74323a8ad0d;p=melted diff --git a/src/modules/avformat/filter_avdeinterlace.c b/src/modules/avformat/filter_avdeinterlace.c index 25b5135..6c2a6ff 100644 --- a/src/modules/avformat/filter_avdeinterlace.c +++ b/src/modules/avformat/filter_avdeinterlace.c @@ -29,6 +29,9 @@ #ifdef USE_MMX #include "mmx.h" +#else +#define MAX_NEG_CROP 1024 +extern uint8_t ff_cropTbl[256 + 2 * MAX_NEG_CROP]; #endif #ifdef USE_MMX @@ -86,7 +89,7 @@ static inline void deinterlace_line(uint8_t *dst, int size) { #ifndef USE_MMX - uint8_t *cm = cropTbl + MAX_NEG_CROP; + uint8_t *cm = ff_cropTbl + MAX_NEG_CROP; int sum; for(;size > 0;size--) { @@ -129,7 +132,7 @@ static inline void deinterlace_line_inplace(uint8_t *lum_m4, uint8_t *lum_m3, ui int size) { #ifndef USE_MMX - uint8_t *cm = cropTbl + MAX_NEG_CROP; + uint8_t *cm = ff_cropTbl + MAX_NEG_CROP; int sum; for(;size > 0;size--) {