annotate Plugins/Input/shorten/golomb.c @ 915:5da5c262b1ef trunk

[svn] - input proposed shorten input plugin for hacking
author nenolod
date Wed, 05 Apr 2006 07:50:49 -0700
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
915
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
1 /*
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
2 * exp golomb vlc stuff
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
3 * Copyright (c) 2003 Michael Niedermayer <michaelni@gmx.at>
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
4 *
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
5 * This library is free software; you can redistribute it and/or
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
6 * modify it under the terms of the GNU Lesser General Public
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
7 * License as published by the Free Software Foundation; either
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
8 * version 2 of the License, or (at your option) any later version.
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
9 *
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
10 * This library is distributed in the hope that it will be useful,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
13 * Lesser General Public License for more details.
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
14 *
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
15 * You should have received a copy of the GNU Lesser General Public
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
16 * License along with this library; if not, write to the Free Software
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
18 *
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
19 */
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
20
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
21 /**
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
22 * @file golomb.c
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
23 * @brief
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
24 * exp golomb vlc stuff
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
25 * @author Michael Niedermayer <michaelni@gmx.at>
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
26 */
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
27
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
28 #include "common.h"
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
29
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
30 const uint8_t ff_golomb_vlc_len[512]={
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
31 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
32 7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
33 5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
34 5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
35 3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
36 3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
37 3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
38 3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
39 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
40 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
41 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
42 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
43 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
44 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
45 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
46 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
47 };
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
48
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
49 const uint8_t ff_ue_golomb_vlc_code[512]={
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
50 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
51 7, 7, 7, 7, 8, 8, 8, 8, 9, 9, 9, 9,10,10,10,10,11,11,11,11,12,12,12,12,13,13,13,13,14,14,14,14,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
52 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
53 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
54 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
55 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
56 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
57 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
58 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
59 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
60 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
61 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
62 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
63 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
64 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
65 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
66 };
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
67
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
68 const int8_t ff_se_golomb_vlc_code[512]={
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
69 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, -8, 9, -9, 10,-10, 11,-11, 12,-12, 13,-13, 14,-14, 15,-15,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
70 4, 4, 4, 4, -4, -4, -4, -4, 5, 5, 5, 5, -5, -5, -5, -5, 6, 6, 6, 6, -6, -6, -6, -6, 7, 7, 7, 7, -7, -7, -7, -7,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
71 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
72 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
73 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
74 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
75 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
76 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
77 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
78 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
79 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
80 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
81 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
82 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
83 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
84 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
85 };
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
86
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
87
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
88 const uint8_t ff_ue_golomb_len[256]={
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
89 1, 3, 3, 5, 5, 5, 5, 7, 7, 7, 7, 7, 7, 7, 7, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,11,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
90 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,13,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
91 13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
92 13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,15,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
93 15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
94 15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
95 15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
96 15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,17,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
97 };
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
98
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
99 const uint8_t ff_interleaved_golomb_vlc_len[256]={
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
100 9,9,7,7,9,9,7,7,5,5,5,5,5,5,5,5,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
101 9,9,7,7,9,9,7,7,5,5,5,5,5,5,5,5,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
102 3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
103 3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
104 9,9,7,7,9,9,7,7,5,5,5,5,5,5,5,5,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
105 9,9,7,7,9,9,7,7,5,5,5,5,5,5,5,5,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
106 3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
107 3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
108 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
109 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
110 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
111 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
112 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
113 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
114 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
115 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
116 };
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
117
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
118 const uint8_t ff_interleaved_ue_golomb_vlc_code[256]={
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
119 15,16,7, 7, 17,18,8, 8, 3, 3, 3, 3, 3, 3, 3, 3,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
120 19,20,9, 9, 21,22,10,10,4, 4, 4, 4, 4, 4, 4, 4,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
121 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
122 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
123 23,24,11,11,25,26,12,12,5, 5, 5, 5, 5, 5, 5, 5,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
124 27,28,13,13,29,30,14,14,6, 6, 6, 6, 6, 6, 6, 6,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
125 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
126 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
127 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
128 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
129 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
130 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
131 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
132 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
133 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
134 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
135 };
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
136
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
137 const int8_t ff_interleaved_se_golomb_vlc_code[256]={
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
138 8, -8, 4, 4, 9, -9, -4, -4, 2, 2, 2, 2, 2, 2, 2, 2,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
139 10,-10, 5, 5, 11,-11, -5, -5, -2, -2, -2, -2, -2, -2, -2, -2,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
140 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
141 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
142 12,-12, 6, 6, 13,-13, -6, -6, 3, 3, 3, 3, 3, 3, 3, 3,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
143 14,-14, 7, 7, 15,-15, -7, -7, -3, -3, -3, -3, -3, -3, -3, -3,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
144 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
145 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
146 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
147 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
148 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
149 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
150 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
151 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
152 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
153 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
154 };
5da5c262b1ef [svn] - input proposed shorten input plugin for hacking
nenolod
parents:
diff changeset
155