[cvs] / xvidcore / src / quant / quant_matrix.h Repository:
ViewVC logotype

View of /xvidcore/src/quant/quant_matrix.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (download) (annotate)
Thu Mar 28 20:57:25 2002 UTC (17 years, 6 months ago) by edgomez
Branch: MAIN
CVS Tags: xvidcore
Changes since 1.2: +1 -1 lines
Big patch, use it with care (tests done with GNU/Linux) :
 - Trivial warnings in encoder.c line 282 ret1 = ret 2 = 0;
 - Lot of "New line at end of file missing" warnings fixed (gcc3)
 - All 2d arrays have been turned into 1d arrays
   To force alignment of matrices on stack, use DECLARE_ALIGNED_MATRIX
   (read portab.h)

Win32 users should give feedback.
#ifndef _QUANT_MATRIX_H_
#define _QUANT_MATRIX_H_

#include "../portab.h"

uint8_t get_intra_matrix_status(void);
uint8_t get_inter_matrix_status(void);

void set_intra_matrix_status(uint8_t status);
void set_inter_matrix_status(uint8_t status);

uint8_t set_intra_matrix(uint8_t *matrix);
uint8_t set_inter_matrix(uint8_t *matrix);

int16_t *get_intra_matrix(void);
int16_t *get_inter_matrix(void);

uint8_t *get_default_intra_matrix(void);
uint8_t *get_default_inter_matrix(void);

#endif /* _QUANT_MATRIX_H_ */

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4