Bug 470455 - test_database_sync_embed_visits.js leaks, r=sdwilsh
[wine-gecko.git] / media / libtheora / lib / dec / quant.h
blob2f6912eb225fa8248313b8f8b51d88011253b108
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-2007 *
9 * by the Xiph.Org Foundation http://www.xiph.org/ *
10 * *
11 ********************************************************************
13 function:
14 last mod: $Id: quant.h 14059 2007-10-28 23:43:27Z xiphmont $
16 ********************************************************************/
18 #if !defined(_quant_H)
19 # define _quant_H (1)
20 # include "theora/codec.h"
21 # include "ocintrin.h"
23 typedef ogg_uint16_t oc_quant_table[64];
24 typedef oc_quant_table oc_quant_tables[64];
28 /*Maximum scaled quantizer value.*/
29 #define OC_QUANT_MAX (1024<<2)
33 /*Minimum scaled DC coefficient frame quantizer value for intra and inter
34 modes.*/
35 extern unsigned OC_DC_QUANT_MIN[2];
36 /*Minimum scaled AC coefficient frame quantizer value for intra and inter
37 modes.*/
38 extern unsigned OC_AC_QUANT_MIN[2];
42 void oc_dequant_tables_init(oc_quant_table *_dequant[2][3],
43 int _pp_dc_scale[64],
44 const th_quant_info *_qinfo);
46 #endif