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

sws: Fix compilation with disabled MMX2

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2011-11-11 15:54:08 +01:00
parent 985e768024
commit 7437db84a9

View File

@ -176,6 +176,7 @@ void updateMMXDitherTables(SwsContext *c, int dstY, int lumBufIndex, int chrBufI
}
}
#if HAVE_MMX2
static void yuv2yuvX_sse3(const int16_t *filter, int filterSize,
const int16_t **src, uint8_t *dest, int dstW,
const uint8_t *dither, int offset)
@ -234,6 +235,7 @@ static void yuv2yuvX_sse3(const int16_t *filter, int filterSize,
: "%"REG_d, "%"REG_S, "%"REG_c
);
}
#endif
#define SCALE_FUNC(filter_n, from_bpc, to_bpc, opt) \
extern void ff_hscale ## from_bpc ## to ## to_bpc ## _ ## filter_n ## _ ## opt( \