Revision 0e1a5434
libswscale/rgb2rgb.c | ||
---|---|---|
30 | 30 |
#include "swscale.h" |
31 | 31 |
#include "swscale_internal.h" |
32 | 32 |
|
33 |
#define FAST_BGR2YV12 // use 7-bit instead of 15-bit coefficients |
|
34 |
|
|
35 | 33 |
void (*rgb24tobgr32)(const uint8_t *src, uint8_t *dst, long src_size); |
36 | 34 |
void (*rgb24tobgr16)(const uint8_t *src, uint8_t *dst, long src_size); |
37 | 35 |
void (*rgb24tobgr15)(const uint8_t *src, uint8_t *dst, long src_size); |
libswscale/swscale.c | ||
---|---|---|
76 | 76 |
//#undef ARCH_X86 |
77 | 77 |
#define DITHER1XBPP |
78 | 78 |
|
79 |
#define FAST_BGR2YV12 // use 7 bit coefficients instead of 15 bit |
|
80 |
|
|
81 | 79 |
#define isPacked(x) ( \ |
82 | 80 |
(x)==PIX_FMT_PAL8 \ |
83 | 81 |
|| (x)==PIX_FMT_YUYV422 \ |
libswscale/swscale_internal.h | ||
---|---|---|
31 | 31 |
|
32 | 32 |
#define STR(s) AV_TOSTRING(s) //AV_STRINGIFY is too long |
33 | 33 |
|
34 |
#define FAST_BGR2YV12 //use 7-bit instead of 15-bit coefficients |
|
35 |
|
|
34 | 36 |
#define MAX_FILTER_SIZE 256 |
35 | 37 |
|
36 | 38 |
#if ARCH_X86 |
Also available in: Unified diff