2008-07-29 23:38:23 -07:00
|
|
|
/********************************************************************
|
|
|
|
* *
|
|
|
|
* THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. *
|
|
|
|
* USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
|
|
|
|
* GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
|
|
|
|
* IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
|
|
|
|
* *
|
2009-09-27 15:14:21 -07:00
|
|
|
* THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009 *
|
2009-01-21 16:00:49 -08:00
|
|
|
* by the Xiph.Org Foundation and contributors http://www.xiph.org/ *
|
2008-07-29 23:38:23 -07:00
|
|
|
* *
|
|
|
|
********************************************************************
|
|
|
|
|
|
|
|
function:
|
2009-09-27 15:14:21 -07:00
|
|
|
last mod: $Id: quant.h 16503 2009-08-22 18:14:02Z giles $
|
2008-07-29 23:38:23 -07:00
|
|
|
|
|
|
|
********************************************************************/
|
|
|
|
|
|
|
|
#if !defined(_quant_H)
|
|
|
|
# define _quant_H (1)
|
|
|
|
# include "theora/codec.h"
|
|
|
|
# include "ocintrin.h"
|
|
|
|
|
|
|
|
typedef ogg_uint16_t oc_quant_table[64];
|
|
|
|
|
|
|
|
|
|
|
|
/*Maximum scaled quantizer value.*/
|
|
|
|
#define OC_QUANT_MAX (1024<<2)
|
|
|
|
|
|
|
|
|
2009-09-27 15:14:21 -07:00
|
|
|
void oc_dequant_tables_init(ogg_uint16_t *_dequant[64][3][2],
|
2009-01-21 16:00:49 -08:00
|
|
|
int _pp_dc_scale[64],const th_quant_info *_qinfo);
|
2008-07-29 23:38:23 -07:00
|
|
|
|
|
|
|
#endif
|