#include <stdint.h>
#include "config.h"
#include "libavutil/x86_cpu.h"
#include "libavutil/cpu.h"
#include "libavutil/bswap.h"
#include "libswscale/rgb2rgb.h"
#include "libswscale/swscale.h"
#include "libswscale/swscale_internal.h"
#include "rgb2rgb_template.c"
Go to the source code of this file.
Define Documentation
#define BU ((int)( 0.439*(1<<RGB2YUV_SHIFT)+0.5)) |
#define BV ((int)(-0.071*(1<<RGB2YUV_SHIFT)+0.5)) |
#define BY ((int)( 0.098*(1<<RGB2YUV_SHIFT)+0.5)) |
#define COMPILE_TEMPLATE_AMD3DNOW 1 |
#define COMPILE_TEMPLATE_AMD3DNOW 0 |
#define COMPILE_TEMPLATE_MMX2 1 |
#define COMPILE_TEMPLATE_MMX2 0 |
#define COMPILE_TEMPLATE_MMX2 0 |
#define COMPILE_TEMPLATE_SSE2 1 |
#define COMPILE_TEMPLATE_SSE2 0 |
#define COMPILE_TEMPLATE_SSE2 0 |
#define GU ((int)(-0.291*(1<<RGB2YUV_SHIFT)+0.5)) |
#define GV ((int)(-0.368*(1<<RGB2YUV_SHIFT)+0.5)) |
#define GY ((int)( 0.504*(1<<RGB2YUV_SHIFT)+0.5)) |
#define RENAME |
( |
|
a | ) |
a ## _SSE2 |
#define RENAME |
( |
|
a | ) |
a ## _MMX |
#define RENAME |
( |
|
a | ) |
a ## _MMX2 |
#define RENAME |
( |
|
a | ) |
a ## _3DNOW |
#define RU ((int)(-0.148*(1<<RGB2YUV_SHIFT)+0.5)) |
#define RV ((int)( 0.439*(1<<RGB2YUV_SHIFT)+0.5)) |
#define RY ((int)( 0.257*(1<<RGB2YUV_SHIFT)+0.5)) |
Function Documentation
DECLARE_ASM_CONST |
( |
DECLARE_ASM_CONST( |
8, |
|
|
DECLARE_ASM_CONST( |
uint64_t, |
|
|
mmx_ff |
|
|
) |
| [pure virtual] |