20 |
* along with this program ; if not, write to the Free Software |
* along with this program ; if not, write to the Free Software |
21 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
22 |
* |
* |
23 |
* $Id: quant_matrix.h,v 1.7 2004-03-22 22:36:24 edgomez Exp $ |
* $Id: quant_matrix.h,v 1.8 2006-07-10 08:09:59 syskin Exp $ |
24 |
* |
* |
25 |
****************************************************************************/ |
****************************************************************************/ |
26 |
|
|
29 |
|
|
30 |
#include "../portab.h" |
#include "../portab.h" |
31 |
|
|
32 |
|
#define SCALEBITS 17 |
33 |
|
|
34 |
void init_mpeg_matrix(uint16_t * mpeg_quant_matrices); |
void init_mpeg_matrix(uint16_t * mpeg_quant_matrices); |
35 |
|
|
36 |
int is_custom_intra_matrix(const uint16_t * mpeg_quant_matrices); |
int is_custom_intra_matrix(const uint16_t * mpeg_quant_matrices); |
39 |
void set_intra_matrix(uint16_t *mpeg_quant_matrices, const uint8_t * matrix); |
void set_intra_matrix(uint16_t *mpeg_quant_matrices, const uint8_t * matrix); |
40 |
void set_inter_matrix(uint16_t *mpeg_quant_matrices, const uint8_t * matrix); |
void set_inter_matrix(uint16_t *mpeg_quant_matrices, const uint8_t * matrix); |
41 |
|
|
42 |
|
void init_intra_matrix(uint16_t * mpeg_quant_matrices, uint32_t quant); |
43 |
|
|
44 |
const uint16_t *get_intra_matrix(const uint16_t *mpeg_quant_matrices); |
const uint16_t *get_intra_matrix(const uint16_t *mpeg_quant_matrices); |
45 |
const uint16_t *get_inter_matrix(const uint16_t *mpeg_quant_matrices); |
const uint16_t *get_inter_matrix(const uint16_t *mpeg_quant_matrices); |
46 |
|
|