Mercurial > mplayer.hg
comparison libswscale/rgb2rgb.c @ 19143:c4dac777b44c
Use libavutil in libswscale, and allow it to be built out of the mplayer tree
author | lucabe |
---|---|
date | Thu, 20 Jul 2006 12:13:57 +0000 |
parents | 8579acff875e |
children | c629606a0702 |
comparison
equal
deleted
inserted
replaced
19142:4c22e1d84ac9 | 19143:c4dac777b44c |
---|---|
9 */ | 9 */ |
10 #include <inttypes.h> | 10 #include <inttypes.h> |
11 #include "config.h" | 11 #include "config.h" |
12 #include "rgb2rgb.h" | 12 #include "rgb2rgb.h" |
13 #include "swscale.h" | 13 #include "swscale.h" |
14 #include "cpudetect.h" | 14 #include "swscale_internal.h" |
15 #include "mangle.h" | 15 #include "x86_cpu.h" |
16 #include "bswap.h" | 16 #include "bswap.h" |
17 #ifdef USE_FASTMEMCPY | |
17 #include "libvo/fastmemcpy.h" | 18 #include "libvo/fastmemcpy.h" |
19 #endif | |
18 | 20 |
19 #define FAST_BGR2YV12 // use 7 bit coeffs instead of 15bit | 21 #define FAST_BGR2YV12 // use 7 bit coeffs instead of 15bit |
20 | 22 |
21 void (*rgb24to32)(const uint8_t *src,uint8_t *dst,long src_size); | 23 void (*rgb24to32)(const uint8_t *src,uint8_t *dst,long src_size); |
22 void (*rgb24to16)(const uint8_t *src,uint8_t *dst,long src_size); | 24 void (*rgb24to16)(const uint8_t *src,uint8_t *dst,long src_size); |