annotate indeo5data.h @ 12522:776789af0304 libavcodec

Move AVOptions from libavcodec to libavutil
author michael
date Sun, 26 Sep 2010 14:25:22 +0000
parents 1547c744b8d4
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
11107
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
1 /*
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
2 * Indeo Video Interactive 5 compatible decoder
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
3 * Copyright (c) 2009 Maxim Poliakovski
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
4 *
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
5 * This file is part of FFmpeg.
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
6 *
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
7 * FFmpeg is free software; you can redistribute it and/or
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
8 * modify it under the terms of the GNU Lesser General Public
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
9 * License as published by the Free Software Foundation; either
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
10 * version 2.1 of the License, or (at your option) any later version.
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
11 *
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
12 * FFmpeg is distributed in the hope that it will be useful,
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
15 * Lesser General Public License for more details.
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
16 *
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
17 * You should have received a copy of the GNU Lesser General Public
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
18 * License along with FFmpeg; if not, write to the Free Software
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
20 */
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
21
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
22 /**
11644
7dd2a45249a9 Remove explicit filename from Doxygen @file commands.
diego
parents: 11213
diff changeset
23 * @file
11107
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
24 * This file contains data needed for the Indeo5 decoder.
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
25 */
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
26
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
27 #ifndef AVCODEC_INDEO5DATA_H
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
28 #define AVCODEC_INDEO5DATA_H
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
29
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
30 #include <stdint.h>
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
31
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
32 /**
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
33 * standard picture dimensions (width, height divided by 4)
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
34 */
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
35 static const uint8_t ivi5_common_pic_sizes[30] = {
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
36 160, 120, 80, 60, 40, 30, 176, 120, 88, 60, 88, 72, 44, 36, 60, 45, 160, 60,
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
37 176, 60, 20, 15, 22, 18, 0, 0, 0, 0, 0, 0
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
38 };
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
39
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
40
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
41 /**
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
42 * Indeo5 dequantization matrixes consist of two tables: base table
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
43 * and scale table. The base table defines the dequantization matrix
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
44 * itself and the scale table tells how this matrix should be scaled
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
45 * for a particular quant level (0...24).
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
46 *
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
47 * ivi5_base_quant_bbb_ttt - base tables for block size 'bbb' of type 'ttt'
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
48 * ivi5_scale_quant_bbb_ttt - scale tables for block size 'bbb' of type 'ttt'
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
49 */
11853
1547c744b8d4 Prepare Indeo4 (step 1): upscale indeo5 base tables by 2 and convert those into uint16_t.
maxim
parents: 11772
diff changeset
50 static const uint16_t ivi5_base_quant_8x8_inter[5][64] = {
1547c744b8d4 Prepare Indeo4 (step 1): upscale indeo5 base tables by 2 and convert those into uint16_t.
maxim
parents: 11772
diff changeset
51 {0x26, 0x3a, 0x3e, 0x46, 0x4a, 0x4e, 0x52, 0x5a, 0x3a, 0x3e, 0x42, 0x46, 0x4a, 0x4e, 0x56, 0x5e,
1547c744b8d4 Prepare Indeo4 (step 1): upscale indeo5 base tables by 2 and convert those into uint16_t.
maxim
parents: 11772
diff changeset
52 0x3e, 0x42, 0x46, 0x48, 0x4c, 0x52, 0x5a, 0x62, 0x46, 0x46, 0x48, 0x4a, 0x4e, 0x56, 0x5e, 0x66,
1547c744b8d4 Prepare Indeo4 (step 1): upscale indeo5 base tables by 2 and convert those into uint16_t.
maxim
parents: 11772
diff changeset
53 0x4a, 0x4a, 0x4c, 0x4e, 0x52, 0x5a, 0x62, 0x6a, 0x4e, 0x4e, 0x52, 0x56, 0x5a, 0x5e, 0x66, 0x6e,
1547c744b8d4 Prepare Indeo4 (step 1): upscale indeo5 base tables by 2 and convert those into uint16_t.
maxim
parents: 11772
diff changeset
54 0x52, 0x56, 0x5a, 0x5e, 0x62, 0x66, 0x6a, 0x72, 0x5a, 0x5e, 0x62, 0x66, 0x6a, 0x6e, 0x72, 0x76,
11107
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
55 },
11853
1547c744b8d4 Prepare Indeo4 (step 1): upscale indeo5 base tables by 2 and convert those into uint16_t.
maxim
parents: 11772
diff changeset
56 {0x26, 0x3a, 0x3e, 0x46, 0x4a, 0x4e, 0x52, 0x5a, 0x3a, 0x3e, 0x42, 0x46, 0x4a, 0x4e, 0x56, 0x5e,
1547c744b8d4 Prepare Indeo4 (step 1): upscale indeo5 base tables by 2 and convert those into uint16_t.
maxim
parents: 11772
diff changeset
57 0x3e, 0x42, 0x46, 0x48, 0x4c, 0x52, 0x5a, 0x62, 0x46, 0x46, 0x48, 0x4a, 0x4e, 0x56, 0x5e, 0x66,
1547c744b8d4 Prepare Indeo4 (step 1): upscale indeo5 base tables by 2 and convert those into uint16_t.
maxim
parents: 11772
diff changeset
58 0x4a, 0x4a, 0x4c, 0x4e, 0x52, 0x5a, 0x62, 0x6a, 0x4e, 0x4e, 0x52, 0x56, 0x5a, 0x5e, 0x66, 0x6e,
1547c744b8d4 Prepare Indeo4 (step 1): upscale indeo5 base tables by 2 and convert those into uint16_t.
maxim
parents: 11772
diff changeset
59 0x52, 0x56, 0x5a, 0x5e, 0x62, 0x66, 0x6a, 0x72, 0x5a, 0x5e, 0x62, 0x66, 0x6a, 0x6e, 0x72, 0x76,
11107
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
60 },
11853
1547c744b8d4 Prepare Indeo4 (step 1): upscale indeo5 base tables by 2 and convert those into uint16_t.
maxim
parents: 11772
diff changeset
61 {0x4e, 0xaa, 0xf2, 0xd4, 0xde, 0xc2, 0xd6, 0xc2, 0x4e, 0xaa, 0xf2, 0xd4, 0xde, 0xc2, 0xd6, 0xc2,
1547c744b8d4 Prepare Indeo4 (step 1): upscale indeo5 base tables by 2 and convert those into uint16_t.
maxim
parents: 11772
diff changeset
62 0x4e, 0xaa, 0xf2, 0xd4, 0xde, 0xc2, 0xd6, 0xc2, 0x4e, 0xaa, 0xf2, 0xd4, 0xde, 0xc2, 0xd6, 0xc2,
1547c744b8d4 Prepare Indeo4 (step 1): upscale indeo5 base tables by 2 and convert those into uint16_t.
maxim
parents: 11772
diff changeset
63 0x4e, 0xaa, 0xf2, 0xd4, 0xde, 0xc2, 0xd6, 0xc2, 0x4e, 0xaa, 0xf2, 0xd4, 0xde, 0xc2, 0xd6, 0xc2,
1547c744b8d4 Prepare Indeo4 (step 1): upscale indeo5 base tables by 2 and convert those into uint16_t.
maxim
parents: 11772
diff changeset
64 0x4e, 0xaa, 0xf2, 0xd4, 0xde, 0xc2, 0xd6, 0xc2, 0x4e, 0xaa, 0xf2, 0xd4, 0xde, 0xc2, 0xd6, 0xc2,
11107
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
65 },
11853
1547c744b8d4 Prepare Indeo4 (step 1): upscale indeo5 base tables by 2 and convert those into uint16_t.
maxim
parents: 11772
diff changeset
66 {0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa,
1547c744b8d4 Prepare Indeo4 (step 1): upscale indeo5 base tables by 2 and convert those into uint16_t.
maxim
parents: 11772
diff changeset
67 0xf2, 0xf2, 0xf2, 0xf2, 0xf2, 0xf2, 0xf2, 0xf2, 0xd4, 0xd4, 0xd4, 0xd4, 0xd4, 0xd4, 0xd4, 0xd4,
1547c744b8d4 Prepare Indeo4 (step 1): upscale indeo5 base tables by 2 and convert those into uint16_t.
maxim
parents: 11772
diff changeset
68 0xde, 0xde, 0xde, 0xde, 0xde, 0xde, 0xde, 0xde, 0xc2, 0xc2, 0xc2, 0xc2, 0xc2, 0xc2, 0xc2, 0xc2,
1547c744b8d4 Prepare Indeo4 (step 1): upscale indeo5 base tables by 2 and convert those into uint16_t.
maxim
parents: 11772
diff changeset
69 0xd6, 0xd6, 0xd6, 0xd6, 0xd6, 0xd6, 0xd6, 0xd6, 0xc2, 0xc2, 0xc2, 0xc2, 0xc2, 0xc2, 0xc2, 0xc2,
11107
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
70 },
11853
1547c744b8d4 Prepare Indeo4 (step 1): upscale indeo5 base tables by 2 and convert those into uint16_t.
maxim
parents: 11772
diff changeset
71 {0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e,
1547c744b8d4 Prepare Indeo4 (step 1): upscale indeo5 base tables by 2 and convert those into uint16_t.
maxim
parents: 11772
diff changeset
72 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e,
1547c744b8d4 Prepare Indeo4 (step 1): upscale indeo5 base tables by 2 and convert those into uint16_t.
maxim
parents: 11772
diff changeset
73 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e,
1547c744b8d4 Prepare Indeo4 (step 1): upscale indeo5 base tables by 2 and convert those into uint16_t.
maxim
parents: 11772
diff changeset
74 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e,
11107
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
75 }
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
76 };
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
77
11853
1547c744b8d4 Prepare Indeo4 (step 1): upscale indeo5 base tables by 2 and convert those into uint16_t.
maxim
parents: 11772
diff changeset
78 static const uint16_t ivi5_base_quant_8x8_intra[5][64] = {
1547c744b8d4 Prepare Indeo4 (step 1): upscale indeo5 base tables by 2 and convert those into uint16_t.
maxim
parents: 11772
diff changeset
79 {0x1a, 0x2e, 0x36, 0x42, 0x46, 0x4a, 0x4e, 0x5a, 0x2e, 0x32, 0x3e, 0x42, 0x46, 0x4e, 0x56, 0x6a,
1547c744b8d4 Prepare Indeo4 (step 1): upscale indeo5 base tables by 2 and convert those into uint16_t.
maxim
parents: 11772
diff changeset
80 0x36, 0x3e, 0x3e, 0x44, 0x4a, 0x54, 0x66, 0x72, 0x42, 0x42, 0x44, 0x4a, 0x52, 0x62, 0x6c, 0x7a,
1547c744b8d4 Prepare Indeo4 (step 1): upscale indeo5 base tables by 2 and convert those into uint16_t.
maxim
parents: 11772
diff changeset
81 0x46, 0x46, 0x4a, 0x52, 0x5e, 0x66, 0x72, 0x8e, 0x4a, 0x4e, 0x54, 0x62, 0x66, 0x6e, 0x86, 0xa6,
1547c744b8d4 Prepare Indeo4 (step 1): upscale indeo5 base tables by 2 and convert those into uint16_t.
maxim
parents: 11772
diff changeset
82 0x4e, 0x56, 0x66, 0x6c, 0x72, 0x86, 0x9a, 0xca, 0x5a, 0x6a, 0x72, 0x7a, 0x8e, 0xa6, 0xca, 0xfe,
11107
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
83 },
11853
1547c744b8d4 Prepare Indeo4 (step 1): upscale indeo5 base tables by 2 and convert those into uint16_t.
maxim
parents: 11772
diff changeset
84 {0x26, 0x3a, 0x3e, 0x46, 0x4a, 0x4e, 0x52, 0x5a, 0x3a, 0x3e, 0x42, 0x46, 0x4a, 0x4e, 0x56, 0x5e,
1547c744b8d4 Prepare Indeo4 (step 1): upscale indeo5 base tables by 2 and convert those into uint16_t.
maxim
parents: 11772
diff changeset
85 0x3e, 0x42, 0x46, 0x48, 0x4c, 0x52, 0x5a, 0x62, 0x46, 0x46, 0x48, 0x4a, 0x4e, 0x56, 0x5e, 0x66,
1547c744b8d4 Prepare Indeo4 (step 1): upscale indeo5 base tables by 2 and convert those into uint16_t.
maxim
parents: 11772
diff changeset
86 0x4a, 0x4a, 0x4c, 0x4e, 0x52, 0x5a, 0x62, 0x6a, 0x4e, 0x4e, 0x52, 0x56, 0x5a, 0x5e, 0x66, 0x6e,
1547c744b8d4 Prepare Indeo4 (step 1): upscale indeo5 base tables by 2 and convert those into uint16_t.
maxim
parents: 11772
diff changeset
87 0x52, 0x56, 0x5a, 0x5e, 0x62, 0x66, 0x6a, 0x72, 0x5a, 0x5e, 0x62, 0x66, 0x6a, 0x6e, 0x72, 0x76,
11107
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
88 },
11853
1547c744b8d4 Prepare Indeo4 (step 1): upscale indeo5 base tables by 2 and convert those into uint16_t.
maxim
parents: 11772
diff changeset
89 {0x4e, 0xaa, 0xf2, 0xd4, 0xde, 0xc2, 0xd6, 0xc2, 0x4e, 0xaa, 0xf2, 0xd4, 0xde, 0xc2, 0xd6, 0xc2,
1547c744b8d4 Prepare Indeo4 (step 1): upscale indeo5 base tables by 2 and convert those into uint16_t.
maxim
parents: 11772
diff changeset
90 0x4e, 0xaa, 0xf2, 0xd4, 0xde, 0xc2, 0xd6, 0xc2, 0x4e, 0xaa, 0xf2, 0xd4, 0xde, 0xc2, 0xd6, 0xc2,
1547c744b8d4 Prepare Indeo4 (step 1): upscale indeo5 base tables by 2 and convert those into uint16_t.
maxim
parents: 11772
diff changeset
91 0x4e, 0xaa, 0xf2, 0xd4, 0xde, 0xc2, 0xd6, 0xc2, 0x4e, 0xaa, 0xf2, 0xd4, 0xde, 0xc2, 0xd6, 0xc2,
1547c744b8d4 Prepare Indeo4 (step 1): upscale indeo5 base tables by 2 and convert those into uint16_t.
maxim
parents: 11772
diff changeset
92 0x4e, 0xaa, 0xf2, 0xd4, 0xde, 0xc2, 0xd6, 0xc2, 0x4e, 0xaa, 0xf2, 0xd4, 0xde, 0xc2, 0xd6, 0xc2,
11107
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
93 },
11853
1547c744b8d4 Prepare Indeo4 (step 1): upscale indeo5 base tables by 2 and convert those into uint16_t.
maxim
parents: 11772
diff changeset
94 {0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa,
1547c744b8d4 Prepare Indeo4 (step 1): upscale indeo5 base tables by 2 and convert those into uint16_t.
maxim
parents: 11772
diff changeset
95 0xf2, 0xf2, 0xf2, 0xf2, 0xf2, 0xf2, 0xf2, 0xf2, 0xd4, 0xd4, 0xd4, 0xd4, 0xd4, 0xd4, 0xd4, 0xd4,
1547c744b8d4 Prepare Indeo4 (step 1): upscale indeo5 base tables by 2 and convert those into uint16_t.
maxim
parents: 11772
diff changeset
96 0xde, 0xde, 0xde, 0xde, 0xde, 0xde, 0xde, 0xde, 0xc2, 0xc2, 0xc2, 0xc2, 0xc2, 0xc2, 0xc2, 0xc2,
1547c744b8d4 Prepare Indeo4 (step 1): upscale indeo5 base tables by 2 and convert those into uint16_t.
maxim
parents: 11772
diff changeset
97 0xd6, 0xd6, 0xd6, 0xd6, 0xd6, 0xd6, 0xd6, 0xd6, 0xc2, 0xc2, 0xc2, 0xc2, 0xc2, 0xc2, 0xc2, 0xc2,
11107
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
98 },
11853
1547c744b8d4 Prepare Indeo4 (step 1): upscale indeo5 base tables by 2 and convert those into uint16_t.
maxim
parents: 11772
diff changeset
99 {0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e,
1547c744b8d4 Prepare Indeo4 (step 1): upscale indeo5 base tables by 2 and convert those into uint16_t.
maxim
parents: 11772
diff changeset
100 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e,
1547c744b8d4 Prepare Indeo4 (step 1): upscale indeo5 base tables by 2 and convert those into uint16_t.
maxim
parents: 11772
diff changeset
101 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e,
1547c744b8d4 Prepare Indeo4 (step 1): upscale indeo5 base tables by 2 and convert those into uint16_t.
maxim
parents: 11772
diff changeset
102 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e, 0x5e,
11107
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
103 }
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
104 };
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
105
11853
1547c744b8d4 Prepare Indeo4 (step 1): upscale indeo5 base tables by 2 and convert those into uint16_t.
maxim
parents: 11772
diff changeset
106 static const uint16_t ivi5_base_quant_4x4_inter[16] = {
1547c744b8d4 Prepare Indeo4 (step 1): upscale indeo5 base tables by 2 and convert those into uint16_t.
maxim
parents: 11772
diff changeset
107 0x1e, 0x3e, 0x4a, 0x52, 0x3e, 0x4a, 0x52, 0x56, 0x4a, 0x52, 0x56, 0x5e, 0x52, 0x56, 0x5e, 0x66
11107
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
108 };
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
109
11853
1547c744b8d4 Prepare Indeo4 (step 1): upscale indeo5 base tables by 2 and convert those into uint16_t.
maxim
parents: 11772
diff changeset
110 static const uint16_t ivi5_base_quant_4x4_intra[16] = {
1547c744b8d4 Prepare Indeo4 (step 1): upscale indeo5 base tables by 2 and convert those into uint16_t.
maxim
parents: 11772
diff changeset
111 0x1e, 0x3e, 0x4a, 0x52, 0x3e, 0x4a, 0x52, 0x5e, 0x4a, 0x52, 0x5e, 0x7a, 0x52, 0x5e, 0x7a, 0x92
11107
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
112 };
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
113
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
114
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
115 static const uint8_t ivi5_scale_quant_8x8_inter[5][24] = {
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
116 {0x0b, 0x11, 0x13, 0x14, 0x15, 0x16, 0x18, 0x1a, 0x1b, 0x1d, 0x20, 0x22,
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
117 0x23, 0x25, 0x28, 0x2a, 0x2e, 0x32, 0x35, 0x39, 0x3d, 0x41, 0x44, 0x4a,
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
118 },
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
119 {0x07, 0x14, 0x16, 0x18, 0x1b, 0x1e, 0x22, 0x25, 0x29, 0x2d, 0x31, 0x35,
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
120 0x3a, 0x3f, 0x44, 0x4a, 0x50, 0x56, 0x5c, 0x63, 0x6a, 0x71, 0x78, 0x7e,
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
121 },
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
122 {0x15, 0x25, 0x28, 0x2d, 0x30, 0x34, 0x3a, 0x3d, 0x42, 0x48, 0x4c, 0x51,
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
123 0x56, 0x5b, 0x60, 0x65, 0x6b, 0x70, 0x76, 0x7c, 0x82, 0x88, 0x8f, 0x97,
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
124 },
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
125 {0x13, 0x1f, 0x20, 0x22, 0x25, 0x28, 0x2b, 0x2d, 0x30, 0x33, 0x36, 0x39,
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
126 0x3c, 0x3f, 0x42, 0x45, 0x48, 0x4b, 0x4e, 0x52, 0x56, 0x5a, 0x5e, 0x62,
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
127 },
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
128 {0x3c, 0x52, 0x58, 0x5d, 0x63, 0x68, 0x68, 0x6d, 0x73, 0x78, 0x7c, 0x80,
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
129 0x84, 0x89, 0x8e, 0x93, 0x98, 0x9d, 0xa3, 0xa9, 0xad, 0xb1, 0xb5, 0xba,
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
130 },
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
131 };
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
132
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
133 static const uint8_t ivi5_scale_quant_8x8_intra[5][24] = {
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
134 {0x0b, 0x0e, 0x10, 0x12, 0x14, 0x16, 0x17, 0x18, 0x1a, 0x1c, 0x1e, 0x20,
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
135 0x22, 0x24, 0x27, 0x28, 0x2a, 0x2d, 0x2f, 0x31, 0x34, 0x37, 0x39, 0x3c,
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
136 },
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
137 {0x01, 0x10, 0x12, 0x14, 0x16, 0x18, 0x1b, 0x1e, 0x22, 0x25, 0x28, 0x2c,
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
138 0x30, 0x34, 0x38, 0x3d, 0x42, 0x47, 0x4c, 0x52, 0x58, 0x5e, 0x65, 0x6c,
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
139 },
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
140 {0x13, 0x22, 0x27, 0x2a, 0x2d, 0x33, 0x36, 0x3c, 0x41, 0x45, 0x49, 0x4e,
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
141 0x53, 0x58, 0x5d, 0x63, 0x69, 0x6f, 0x75, 0x7c, 0x82, 0x88, 0x8e, 0x95,
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
142 },
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
143 {0x13, 0x1f, 0x21, 0x24, 0x27, 0x29, 0x2d, 0x2f, 0x34, 0x37, 0x3a, 0x3d,
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
144 0x40, 0x44, 0x48, 0x4c, 0x4f, 0x52, 0x56, 0x5a, 0x5e, 0x62, 0x66, 0x6b,
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
145 },
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
146 {0x31, 0x42, 0x47, 0x47, 0x4d, 0x52, 0x58, 0x58, 0x5d, 0x63, 0x67, 0x6b,
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
147 0x6f, 0x73, 0x78, 0x7c, 0x80, 0x84, 0x89, 0x8e, 0x93, 0x98, 0x9d, 0xa4,
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
148 }
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
149 };
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
150
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
151 static const uint8_t ivi5_scale_quant_4x4_inter[24] = {
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
152 0x0b, 0x0d, 0x0d, 0x0e, 0x11, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17,
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
153 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f, 0x20, 0x21, 0x22, 0x23,
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
154 };
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
155
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
156 static const uint8_t ivi5_scale_quant_4x4_intra[24] = {
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
157 0x01, 0x0b, 0x0b, 0x0d, 0x0d, 0x0d, 0x0e, 0x0f, 0x10, 0x11, 0x13, 0x14,
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
158 0x15, 0x16, 0x17, 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f, 0x20
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
159 };
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
160
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
161
5ca4eb4a1a3f Indeo 5 decoder
kostya
parents:
diff changeset
162 #endif /* AVCODEC_INDEO5DATA_H */