Add Russian translation provided by Валерий Крувялис <valkru@mail.ru>
[xiph-mirror.git] / theora-old / lib / toplevel_lookup.h
blobf54494e2fa2dd74fc028e9bf31528f446271c5bd
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-2003 *
9 * by the Xiph.Org Foundation http://www.xiph.org/ *
10 * *
11 ********************************************************************
13 function:
14 last mod: $Id$
16 ********************************************************************/
18 #include "codec_internal.h"
20 const ogg_uint32_t PriorKeyFrameWeight[KEY_FRAME_CONTEXT] = { 1,2,3,4,5 };
22 /* Data structures controlling addition of residue blocks */
23 const ogg_uint32_t ResidueErrorThresh[Q_TABLE_SIZE] = {
24 750, 700, 650, 600, 590, 580, 570, 560,
25 550, 540, 530, 520, 510, 500, 490, 480,
26 470, 460, 450, 440, 430, 420, 410, 400,
27 390, 380, 370, 360, 350, 340, 330, 320,
28 310, 300, 290, 280, 270, 260, 250, 245,
29 240, 235, 230, 225, 220, 215, 210, 205,
30 200, 195, 190, 185, 180, 175, 170, 165,
31 160, 155, 150, 145, 140, 135, 130, 130 };
32 const ogg_uint32_t ResidueBlockFactor[Q_TABLE_SIZE] = {
33 3, 3, 3, 3, 3, 3, 3, 3,
34 3, 3, 3, 3, 3, 3, 3, 3,
35 3, 3, 3, 3, 3, 3, 3, 3,
36 3, 3, 3, 3, 3, 3, 3, 3,
37 2, 2, 2, 2, 2, 2, 2, 2,
38 2, 2, 2, 2, 2, 2, 2, 2,
39 2, 2, 2, 2, 2, 2, 2, 2,
40 2, 2, 2, 2, 2, 2, 2, 2 };