quant.h 1.2 KB

123456789101112131415161718192021222324252627282930313233
  1. /********************************************************************
  2. * *
  3. * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. *
  4. * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
  5. * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
  6. * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
  7. * *
  8. * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009 *
  9. * by the Xiph.Org Foundation and contributors *
  10. * https://www.xiph.org/ *
  11. * *
  12. ********************************************************************
  13. function:
  14. ********************************************************************/
  15. #if !defined(_quant_H)
  16. # define _quant_H (1)
  17. # include "theora/codec.h"
  18. # include "ocintrin.h"
  19. typedef ogg_uint16_t oc_quant_table[64];
  20. /*Maximum scaled quantizer value.*/
  21. #define OC_QUANT_MAX (1024<<2)
  22. void oc_dequant_tables_init(ogg_uint16_t *_dequant[64][3][2],
  23. int _pp_dc_scale[64],const th_quant_info *_qinfo);
  24. #endif