media/libtheora/lib/quant.h

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

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

mercurial