38 |
#define MV_MAX_ERROR (4096 * 256) |
#define MV_MAX_ERROR (4096 * 256) |
39 |
|
|
40 |
/* INTER bias for INTER/INTRA decision; mpeg4 spec suggests 2*nb */ |
/* INTER bias for INTER/INTRA decision; mpeg4 spec suggests 2*nb */ |
41 |
#define MV16_INTER_BIAS 512 |
#define MV16_INTER_BIAS 450 |
42 |
|
|
43 |
/* vector map (vlc delta size) smoother parameters ! float !*/ |
/* vector map (vlc delta size) smoother parameters ! float !*/ |
44 |
#define NEIGH_TEND_16X16 10.5 |
#define NEIGH_TEND_16X16 10.5 |
45 |
#define NEIGH_TEND_8X8 40.0 |
#define NEIGH_TEND_8X8 40.0 |
46 |
#define NEIGH_8X8_BIAS 30 |
#define NEIGH_8X8_BIAS 40 |
47 |
|
|
48 |
#define BITS_MULT 16 |
#define BITS_MULT 16 |
49 |
|
|
116 |
uint32_t quant_type; /* current quant type */ |
uint32_t quant_type; /* current quant type */ |
117 |
unsigned int cbp[2]; /* CBP of the best vector found so far + cbp for inter4v search */ |
unsigned int cbp[2]; /* CBP of the best vector found so far + cbp for inter4v search */ |
118 |
const uint16_t * scan_table; /* current scan table */ |
const uint16_t * scan_table; /* current scan table */ |
119 |
|
const uint16_t * mpeg_quant_matrices; /* current MPEG quantization matrices */ |
120 |
|
|
121 |
} SearchData; |
} SearchData; |
122 |
|
|