Revision 0913a92a

View differences:

libavcodec/imgconvert.c
38 38
#include "libavutil/pixdesc.h"
39 39
#include "libavcore/imgutils.h"
40 40

  
41
#if HAVE_MMX
41
#if HAVE_MMX && HAVE_YASM
42 42
#include "x86/dsputil_mmx.h"
43 43
#endif
44 44

  
......
54 54
#define FF_PIXEL_PACKED   1 /**< only one components containing all the channels */
55 55
#define FF_PIXEL_PALETTE  2  /**< one components containing indexes for a palette */
56 56

  
57
#if HAVE_MMX
57
#if HAVE_MMX && HAVE_YASM
58 58
#define deinterlace_line_inplace ff_deinterlace_line_inplace_mmx
59 59
#define deinterlace_line         ff_deinterlace_line_mmx
60 60
#else
......
1126 1126
    return ret;
1127 1127
}
1128 1128

  
1129
#if !HAVE_MMX
1129
#if !(HAVE_MMX && HAVE_YASM)
1130 1130
/* filter parameters: [-1 4 2 4 -1] // 8 */
1131 1131
static void deinterlace_line_c(uint8_t *dst,
1132 1132
                             const uint8_t *lum_m4, const uint8_t *lum_m3,

Also available in: Unified diff