quant_mpeg4.h
上传用户:sun1608
上传日期:2007-02-02
资源大小:6116k
文件大小:1k
源码类别:

流媒体/Mpeg4/MP4

开发平台:

Visual C++

  1. #ifndef _QUANT_MPEG4_H_
  2. #define _QUANT_MPEG4_H_
  3. #include "../portab.h"
  4. // intra
  5. typedef void (quant_intraFunc)(int16_t * coeff,
  6. const int16_t * data,
  7. const uint32_t quant,
  8. const uint32_t dcscalar);
  9. typedef quant_intraFunc* quant_intraFuncPtr;
  10. extern quant_intraFuncPtr quant4_intra;
  11. extern quant_intraFuncPtr dequant4_intra;
  12. quant_intraFunc quant4_intra_c;
  13. quant_intraFunc quant4_intra_mmx;
  14. quant_intraFunc dequant4_intra_c;
  15. quant_intraFunc dequant4_intra_mmx;
  16. // inter_quant
  17. typedef uint32_t (quant_interFunc)(int16_t *coeff,
  18. const int16_t *data,
  19. const uint32_t quant);
  20. typedef quant_interFunc* quant_interFuncPtr;
  21. extern quant_interFuncPtr quant4_inter;
  22. quant_interFunc quant4_inter_c;
  23. quant_interFunc quant4_inter_mmx;
  24. //inter_dequant
  25. typedef void (dequant_interFunc)(int16_t *coeff,
  26. const int16_t *data,
  27. const uint32_t quant);
  28. typedef dequant_interFunc* dequant_interFuncPtr;
  29. extern dequant_interFuncPtr dequant4_inter;
  30. dequant_interFunc dequant4_inter_c;
  31. dequant_interFunc dequant4_inter_mmx;
  32. #endif /* _QUANT_MPEG4_H_ */