annotate rv30data.h @ 12518:67e7e49058c2 libavcodec

Split and then simplify address generation macro. Allows nasm to work for this code.
author reimar
date Sun, 26 Sep 2010 09:08:11 +0000
parents 7dd2a45249a9
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5937
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
1 /*
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
2 * RealVideo 3 decoder
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
3 * copyright (c) 2007 Konstantin Shishkov
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
4 *
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
5 * This file is part of FFmpeg.
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
6 *
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
7 * FFmpeg is free software; you can redistribute it and/or
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
8 * modify it under the terms of the GNU Lesser General Public
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
9 * License as published by the Free Software Foundation; either
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
10 * version 2.1 of the License, or (at your option) any later version.
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
11 *
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
12 * FFmpeg is distributed in the hope that it will be useful,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
15 * Lesser General Public License for more details.
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
16 *
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
17 * You should have received a copy of the GNU Lesser General Public
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
18 * License along with FFmpeg; if not, write to the Free Software
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
20 */
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
21
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
22 /**
11644
7dd2a45249a9 Remove explicit filename from Doxygen @file commands.
diego
parents: 8718
diff changeset
23 * @file
5943
337a95c66190 spelling cosmetics
diego
parents: 5937
diff changeset
24 * miscellaneous RV30 tables
5937
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
25 */
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
26
7760
c4a4495715dd Globally rename the header inclusion guard names.
stefano
parents: 5943
diff changeset
27 #ifndef AVCODEC_RV30DATA_H
c4a4495715dd Globally rename the header inclusion guard names.
stefano
parents: 5943
diff changeset
28 #define AVCODEC_RV30DATA_H
5937
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
29
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
30 #include <stdint.h>
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
31
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
32 /** DC quantizer mapping for RV30 */
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
33 static const uint8_t rv30_luma_dc_quant[32] = {
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
34 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
35 16, 17, 18, 19, 20, 21, 22, 22, 22, 23, 23, 23, 24, 24, 25, 25
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
36 };
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
37
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
38 /**
5943
337a95c66190 spelling cosmetics
diego
parents: 5937
diff changeset
39 * This table is used for storing the differences
337a95c66190 spelling cosmetics
diego
parents: 5937
diff changeset
40 * between the predicted and the real intra type.
5937
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
41 */
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
42 static const uint8_t rv30_itype_code[9*9*2] = {
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
43 0, 0, 0, 1, 1, 0, 1, 1, 0, 2, 2, 0, 0, 3, 3, 0, 1, 2,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
44 2, 1, 0, 4, 4, 0, 3, 1, 1, 3, 0, 5, 5, 0, 2, 2, 1, 4,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
45 4, 1, 0, 6, 3, 2, 1, 5, 2, 3, 5, 1, 6, 0, 0, 7, 4, 2,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
46 2, 4, 3, 3, 6, 1, 1, 6, 7, 0, 0, 8, 5, 2, 4, 3, 2, 5,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
47 3, 4, 1, 7, 4, 4, 7, 1, 8, 0, 6, 2, 3, 5, 5, 3, 2, 6,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
48 1, 8, 2, 7, 7, 2, 8, 1, 5, 4, 4, 5, 3, 6, 6, 3, 8, 2,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
49 4, 6, 5, 5, 6, 4, 2, 8, 7, 3, 3, 7, 6, 5, 5, 6, 7, 4,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
50 4, 7, 8, 3, 3, 8, 7, 5, 8, 4, 5, 7, 4, 8, 6, 6, 7, 6,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
51 5, 8, 8, 5, 6, 7, 8, 6, 7, 7, 6, 8, 8, 7, 7, 8, 8, 8,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
52 };
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
53
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
54 /**
5943
337a95c66190 spelling cosmetics
diego
parents: 5937
diff changeset
55 * This table is used for retrieving the current intra type
337a95c66190 spelling cosmetics
diego
parents: 5937
diff changeset
56 * based on its neighbors and adjustment provided by
5937
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
57 * code read and decoded before.
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
58 *
5943
337a95c66190 spelling cosmetics
diego
parents: 5937
diff changeset
59 * This is really a three-dimensional matrix with dimensions
337a95c66190 spelling cosmetics
diego
parents: 5937
diff changeset
60 * [-1..9][-1..9][0..9]. The first and second coordinates are
337a95c66190 spelling cosmetics
diego
parents: 5937
diff changeset
61 * detemined by the top and left neighbors (-1 if unavailable).
5937
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
62 */
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
63 static const uint8_t rv30_itype_from_context[900] = {
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
64 0, 9, 9, 9, 9, 9, 9, 9, 9,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
65 0, 2, 9, 9, 9, 9, 9, 9, 9,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
66 9, 9, 9, 9, 9, 9, 9, 9, 9,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
67 2, 0, 9, 9, 9, 9, 9, 9, 9,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
68 9, 9, 9, 9, 9, 9, 9, 9, 9,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
69 9, 9, 9, 9, 9, 9, 9, 9, 9,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
70 9, 9, 9, 9, 9, 9, 9, 9, 9,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
71 9, 9, 9, 9, 9, 9, 9, 9, 9,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
72 9, 9, 9, 9, 9, 9, 9, 9, 9,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
73 9, 9, 9, 9, 9, 9, 9, 9, 9,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
74
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
75 0, 1, 9, 9, 9, 9, 9, 9, 9,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
76 0, 2, 1, 6, 4, 8, 5, 7, 3,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
77 1, 0, 2, 6, 5, 4, 3, 8, 7,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
78 2, 8, 0, 1, 7, 4, 3, 6, 5,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
79 2, 0, 1, 3, 8, 5, 4, 7, 6,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
80 2, 0, 1, 4, 6, 7, 8, 3, 5,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
81 0, 1, 5, 2, 6, 3, 8, 4, 7,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
82 0, 1, 6, 2, 4, 7, 5, 8, 3,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
83 2, 7, 0, 1, 4, 8, 6, 3, 5,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
84 2, 8, 0, 1, 7, 3, 4, 5, 6,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
85
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
86 1, 0, 9, 9, 9, 9, 9, 9, 9,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
87 1, 2, 5, 6, 3, 0, 4, 8, 7,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
88 1, 6, 2, 5, 3, 0, 4, 8, 7,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
89 2, 1, 7, 6, 8, 3, 5, 0, 4,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
90 1, 2, 5, 3, 6, 8, 4, 7, 0,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
91 1, 6, 2, 0, 4, 5, 8, 7, 3,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
92 1, 5, 2, 6, 3, 8, 4, 0, 7,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
93 1, 6, 0, 2, 4, 5, 7, 3, 8,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
94 2, 1, 7, 6, 0, 8, 5, 4, 3,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
95 1, 2, 7, 8, 3, 4, 5, 6, 0,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
96
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
97 9, 9, 9, 9, 9, 9, 9, 9, 9,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
98 0, 2, 1, 8, 7, 6, 5, 4, 3,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
99 1, 2, 0, 6, 5, 7, 4, 8, 3,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
100 2, 8, 7, 1, 0, 6, 4, 3, 5,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
101 2, 0, 8, 1, 3, 7, 5, 4, 6,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
102 2, 0, 4, 1, 7, 8, 6, 3, 5,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
103 2, 0, 1, 5, 8, 4, 6, 7, 3,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
104 2, 0, 6, 1, 4, 7, 8, 5, 3,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
105 2, 7, 8, 1, 0, 5, 4, 6, 3,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
106 2, 8, 7, 1, 0, 4, 3, 6, 5,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
107
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
108 9, 9, 9, 9, 9, 9, 9, 9, 9,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
109 0, 2, 1, 3, 5, 8, 6, 4, 7,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
110 1, 0, 2, 5, 3, 6, 4, 8, 7,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
111 2, 8, 1, 0, 3, 5, 7, 6, 4,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
112 3, 2, 5, 8, 1, 4, 6, 7, 0,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
113 4, 2, 0, 6, 1, 5, 8, 3, 7,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
114 5, 3, 1, 2, 8, 6, 4, 0, 7,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
115 1, 6, 0, 2, 4, 5, 8, 3, 7,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
116 2, 7, 0, 1, 5, 4, 8, 6, 3,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
117 2, 8, 3, 5, 1, 0, 7, 6, 4,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
118
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
119 9, 9, 9, 9, 9, 9, 9, 9, 9,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
120 2, 0, 6, 1, 4, 7, 5, 8, 3,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
121 1, 6, 2, 0, 4, 5, 3, 7, 8,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
122 2, 8, 7, 6, 4, 0, 1, 5, 3,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
123 4, 2, 1, 0, 6, 8, 3, 5, 7,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
124 4, 2, 6, 0, 1, 5, 7, 8, 3,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
125 1, 2, 5, 0, 6, 3, 4, 7, 8,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
126 6, 4, 0, 1, 2, 7, 5, 3, 8,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
127 2, 7, 4, 6, 0, 1, 8, 5, 3,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
128 2, 8, 7, 4, 6, 1, 3, 5, 0,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
129
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
130 9, 9, 9, 9, 9, 9, 9, 9, 9,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
131 5, 1, 2, 3, 6, 8, 0, 4, 7,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
132 1, 5, 6, 3, 2, 0, 4, 8, 7,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
133 2, 1, 5, 3, 6, 8, 7, 4, 0,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
134 5, 3, 1, 2, 6, 8, 4, 7, 0,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
135 1, 6, 2, 4, 5, 8, 0, 3, 7,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
136 5, 1, 3, 6, 2, 0, 8, 4, 7,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
137 1, 6, 5, 2, 0, 4, 3, 7, 8,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
138 2, 7, 1, 6, 5, 0, 8, 3, 4,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
139 2, 5, 1, 3, 6, 8, 4, 0, 7,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
140
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
141 9, 9, 9, 9, 9, 9, 9, 9, 9,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
142 1, 6, 2, 0, 5, 4, 3, 7, 8,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
143 1, 6, 5, 4, 2, 3, 0, 7, 8,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
144 2, 1, 6, 7, 4, 8, 5, 3, 0,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
145 2, 1, 6, 5, 8, 4, 3, 0, 7,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
146 6, 4, 1, 2, 0, 5, 7, 8, 3,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
147 1, 6, 5, 2, 3, 0, 4, 8, 7,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
148 6, 1, 4, 0, 2, 7, 5, 3, 8,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
149 2, 7, 4, 6, 1, 5, 0, 8, 3,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
150 2, 1, 6, 8, 4, 7, 3, 5, 0,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
151
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
152 9, 9, 9, 9, 9, 9, 9, 9, 9,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
153 2, 0, 4, 7, 6, 1, 8, 5, 3,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
154 6, 1, 2, 0, 4, 7, 5, 8, 3,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
155 2, 7, 8, 0, 1, 6, 4, 3, 5,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
156 2, 4, 0, 8, 3, 1, 7, 6, 5,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
157 4, 2, 7, 0, 6, 1, 8, 5, 3,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
158 2, 1, 0, 8, 5, 6, 7, 4, 3,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
159 2, 6, 4, 1, 7, 0, 5, 8, 3,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
160 2, 7, 4, 0, 8, 6, 1, 5, 3,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
161 2, 8, 7, 4, 1, 0, 3, 6, 5,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
162
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
163 9, 9, 9, 9, 9, 9, 9, 9, 9,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
164 2, 0, 8, 1, 3, 4, 6, 5, 7,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
165 1, 2, 0, 6, 8, 5, 7, 3, 4,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
166 2, 8, 7, 1, 0, 3, 6, 5, 4,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
167 8, 3, 2, 5, 1, 0, 4, 7, 6,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
168 2, 0, 4, 8, 5, 1, 7, 6, 3,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
169 2, 1, 0, 8, 5, 3, 6, 4, 7,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
170 2, 1, 6, 0, 8, 4, 5, 7, 3,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
171 2, 7, 8, 4, 0, 6, 1, 5, 3,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
172 2, 8, 3, 0, 7, 4, 1, 6, 5,
7b5731b088ed Data tables for future RV30/40 decoder
kostya
parents:
diff changeset
173 };
8401
9267436cfb6b a table for upcoming RV30 loop filtering
kostya
parents: 7760
diff changeset
174
9267436cfb6b a table for upcoming RV30 loop filtering
kostya
parents: 7760
diff changeset
175 /**
9267436cfb6b a table for upcoming RV30 loop filtering
kostya
parents: 7760
diff changeset
176 * Loop filter limits are taken from this table.
9267436cfb6b a table for upcoming RV30 loop filtering
kostya
parents: 7760
diff changeset
177 */
9267436cfb6b a table for upcoming RV30 loop filtering
kostya
parents: 7760
diff changeset
178 static const uint8_t rv30_loop_filt_lim[32] = {
9267436cfb6b a table for upcoming RV30 loop filtering
kostya
parents: 7760
diff changeset
179 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5
9267436cfb6b a table for upcoming RV30 loop filtering
kostya
parents: 7760
diff changeset
180 };
7760
c4a4495715dd Globally rename the header inclusion guard names.
stefano
parents: 5943
diff changeset
181 #endif /* AVCODEC_RV30DATA_H */