quant.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  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 http://www.xiph.org/ *
  10. * *
  11. ********************************************************************
  12. function:
  13. last mod: $Id$
  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