Fix and enable the avdeinterlace filter for a non-MMX configuration.
git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@1268
d19143bc-622f-0410-bfdd-
b5b2a6649095
producer_avformat.o \
consumer_avformat.o \
filter_avcolour_space.o \
- filter_avresample.o
-
-ifdef MMX_FLAGS
- OBJS += filter_avdeinterlace.o
-endif
+ filter_avresample.o \
+ filter_avdeinterlace.o
CFLAGS+=-I../..
}
if ( !strcmp( id, "avcolour_space" ) )
return filter_avcolour_space_init( arg );
-#ifdef USE_MMX
if ( !strcmp( id, "avdeinterlace" ) )
return filter_avdeinterlace_init( arg );
-#endif
if ( !strcmp( id, "avresample" ) )
return filter_avresample_init( arg );
return NULL;
#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
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--) {
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--) {