diff options
Diffstat (limited to 'libswscale')
-rw-r--r-- | libswscale/rgb2rgb.c | 4 | ||||
-rw-r--r-- | libswscale/swscale-example.c | 2 | ||||
-rw-r--r-- | libswscale/swscale.c | 14 | ||||
-rw-r--r-- | libswscale/swscale_internal.h | 2 |
4 files changed, 6 insertions, 16 deletions
diff --git a/libswscale/rgb2rgb.c b/libswscale/rgb2rgb.c index faf3e95c64..19487d731d 100644 --- a/libswscale/rgb2rgb.c +++ b/libswscale/rgb2rgb.c @@ -27,11 +27,11 @@ */ #include <inttypes.h> #include "config.h" +#include "libavutil/x86_cpu.h" +#include "libavutil/bswap.h" #include "rgb2rgb.h" #include "swscale.h" #include "swscale_internal.h" -#include "x86_cpu.h" -#include "bswap.h" #define FAST_BGR2YV12 // use 7 bit coeffs instead of 15bit diff --git a/libswscale/swscale-example.c b/libswscale/swscale-example.c index 0b6eff18bb..79e21a922a 100644 --- a/libswscale/swscale-example.c +++ b/libswscale/swscale-example.c @@ -25,7 +25,7 @@ #include <stdarg.h> #undef HAVE_AV_CONFIG_H -#include "avutil.h" +#include "libavutil/avutil.h" #include "swscale.h" #include "swscale_internal.h" #include "rgb2rgb.h" diff --git a/libswscale/swscale.c b/libswscale/swscale.c index a74963f32c..bca92ab6fb 100644 --- a/libswscale/swscale.c +++ b/libswscale/swscale.c @@ -69,9 +69,9 @@ untested special converters #endif #include "swscale.h" #include "swscale_internal.h" -#include "x86_cpu.h" -#include "bswap.h" #include "rgb2rgb.h" +#include "libavutil/x86_cpu.h" +#include "libavutil/bswap.h" #include "libavcodec/opt.h" #undef MOVNTQ @@ -362,16 +362,6 @@ const char *sws_format_name(enum PixelFormat format) } } -#if defined(ARCH_X86) && defined (CONFIG_GPL) -void in_asm_used_var_warning_killer() -{ - volatile int i= bF8+bFC+w10+ - bm00001111+bm00000111+bm11111000+b16Mask+g16Mask+r16Mask+b15Mask+g15Mask+r15Mask+ - ff_M24A+ff_M24B+ff_M24C+w02 + b5Dither+g5Dither+r5Dither+g6Dither+ff_dither4[0]+ff_dither8[0]+bm01010101; - if (i) i=0; -} -#endif - static inline void yuv2yuvXinC(int16_t *lumFilter, int16_t **lumSrc, int lumFilterSize, int16_t *chrFilter, int16_t **chrSrc, int chrFilterSize, uint8_t *dest, uint8_t *uDest, uint8_t *vDest, int dstW, int chrDstW) diff --git a/libswscale/swscale_internal.h b/libswscale/swscale_internal.h index 5083c455b3..d8dc974ac1 100644 --- a/libswscale/swscale_internal.h +++ b/libswscale/swscale_internal.h @@ -27,7 +27,7 @@ #include <altivec.h> #endif -#include "avutil.h" +#include "libavutil/avutil.h" #define MAX_FILTER_SIZE 256 |