31 |
* |
* |
32 |
**************************************************************************/ |
**************************************************************************/ |
33 |
|
|
34 |
#include <string.h> // memcpy |
#include <string.h> /* memcpy */ |
35 |
|
|
36 |
|
#include "../global.h" |
37 |
#include "colorspace.h" |
#include "colorspace.h" |
|
#include "../divx4.h" // DEC_PICTURE |
|
38 |
|
|
39 |
// function pointers |
/* function pointers */ |
40 |
|
|
41 |
/* input */ |
/* input */ |
42 |
packedFuncPtr rgb555_to_yv12; |
packedFuncPtr rgb555_to_yv12; |
88 |
int32_t R_V_tab[256]; |
int32_t R_V_tab[256]; |
89 |
|
|
90 |
|
|
|
#define MIN(A,B) ((A)<(B)?(A):(B)) |
|
|
#define MAX(A,B) ((A)>(B)?(A):(B)) |
|
|
|
|
91 |
|
|
92 |
/********** generic colorspace macro **********/ |
/********** generic colorspace macro **********/ |
93 |
|
|