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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (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.1: +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_MPEG4_H_
#define _QUANT_MPEG4_H_

#include "../portab.h"

// intra
typedef void (quant_intraFunc)(int16_t * coeff,
				const int16_t * data,
				const uint32_t quant,
				const uint32_t dcscalar);

typedef quant_intraFunc* quant_intraFuncPtr;	

extern quant_intraFuncPtr quant4_intra;
extern quant_intraFuncPtr dequant4_intra;

quant_intraFunc quant4_intra_c;
quant_intraFunc quant4_intra_mmx;

quant_intraFunc dequant4_intra_c;
quant_intraFunc dequant4_intra_mmx;

// inter_quant
typedef uint32_t (quant_interFunc)(int16_t *coeff,
				const int16_t *data,
				const uint32_t quant);

typedef quant_interFunc* quant_interFuncPtr;	

extern quant_interFuncPtr quant4_inter;

quant_interFunc quant4_inter_c;
quant_interFunc quant4_inter_mmx;

//inter_dequant
typedef void (dequant_interFunc)(int16_t *coeff,
				const int16_t *data,
				const uint32_t quant);

typedef dequant_interFunc* dequant_interFuncPtr;	

extern dequant_interFuncPtr dequant4_inter;

dequant_interFunc dequant4_inter_c;
dequant_interFunc dequant4_inter_mmx;

#endif /* _QUANT_MPEG4_H_ */

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