annotate mpeg12data.c @ 12448:601fbb943758 libavcodec

Use quotes instead of angle brackets for local #includes.
author diego
date Wed, 01 Sep 2010 02:12:03 +0000
parents 7dd2a45249a9
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5208
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
1 /*
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
2 * MPEG1/2 tables
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
3 * copyright (c) 2000,2001 Fabrice Bellard
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
4 * copyright (c) 2002-2004 Michael Niedermayer <michaelni@gmx.at>
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
5 *
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
6 * This file is part of FFmpeg.
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
7 *
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
8 * FFmpeg is free software; you can redistribute it and/or
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
9 * modify it under the terms of the GNU Lesser General Public
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
10 * License as published by the Free Software Foundation; either
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
11 * version 2.1 of the License, or (at your option) any later version.
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
12 *
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
13 * FFmpeg is distributed in the hope that it will be useful,
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
16 * Lesser General Public License for more details.
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
17 *
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
18 * You should have received a copy of the GNU Lesser General Public
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
19 * License along with FFmpeg; if not, write to the Free Software
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
21 */
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
22
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
23 /**
11644
7dd2a45249a9 Remove explicit filename from Doxygen @file commands.
diego
parents: 8718
diff changeset
24 * @file
5208
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
25 * MPEG1/2 tables.
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
26 */
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
27
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
28 #include "mpeg12data.h"
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
29
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
30 const uint16_t ff_mpeg1_default_intra_matrix[64] = {
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
31 8, 16, 19, 22, 26, 27, 29, 34,
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
32 16, 16, 22, 24, 27, 29, 34, 37,
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
33 19, 22, 26, 27, 29, 34, 34, 38,
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
34 22, 22, 26, 27, 29, 34, 37, 40,
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
35 22, 26, 27, 29, 32, 35, 40, 48,
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
36 26, 27, 29, 32, 35, 40, 48, 58,
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
37 26, 27, 29, 34, 38, 46, 56, 69,
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
38 27, 29, 35, 38, 46, 56, 69, 83
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
39 };
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
40
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
41 const uint16_t ff_mpeg1_default_non_intra_matrix[64] = {
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
42 16, 16, 16, 16, 16, 16, 16, 16,
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
43 16, 16, 16, 16, 16, 16, 16, 16,
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
44 16, 16, 16, 16, 16, 16, 16, 16,
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
45 16, 16, 16, 16, 16, 16, 16, 16,
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
46 16, 16, 16, 16, 16, 16, 16, 16,
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
47 16, 16, 16, 16, 16, 16, 16, 16,
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
48 16, 16, 16, 16, 16, 16, 16, 16,
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
49 16, 16, 16, 16, 16, 16, 16, 16,
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
50 };
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
51
5210
b52fd9b223bb add proper ff_ prefix to new extern symbols
aurel
parents: 5208
diff changeset
52 const uint16_t ff_mpeg12_vlc_dc_lum_code[12] = {
5208
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
53 0x4, 0x0, 0x1, 0x5, 0x6, 0xe, 0x1e, 0x3e, 0x7e, 0xfe, 0x1fe, 0x1ff,
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
54 };
5210
b52fd9b223bb add proper ff_ prefix to new extern symbols
aurel
parents: 5208
diff changeset
55 const unsigned char ff_mpeg12_vlc_dc_lum_bits[12] = {
5208
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
56 3, 2, 2, 3, 3, 4, 5, 6, 7, 8, 9, 9,
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
57 };
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
58
5210
b52fd9b223bb add proper ff_ prefix to new extern symbols
aurel
parents: 5208
diff changeset
59 const uint16_t ff_mpeg12_vlc_dc_chroma_code[12] = {
5208
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
60 0x0, 0x1, 0x2, 0x6, 0xe, 0x1e, 0x3e, 0x7e, 0xfe, 0x1fe, 0x3fe, 0x3ff,
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
61 };
5210
b52fd9b223bb add proper ff_ prefix to new extern symbols
aurel
parents: 5208
diff changeset
62 const unsigned char ff_mpeg12_vlc_dc_chroma_bits[12] = {
5208
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
63 2, 2, 2, 3, 4, 5, 6, 7, 8, 9, 10, 10,
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
64 };
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
65
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
66 static const uint16_t mpeg1_vlc[113][2] = {
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
67 { 0x3, 2 }, { 0x4, 4 }, { 0x5, 5 }, { 0x6, 7 },
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
68 { 0x26, 8 }, { 0x21, 8 }, { 0xa, 10 }, { 0x1d, 12 },
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
69 { 0x18, 12 }, { 0x13, 12 }, { 0x10, 12 }, { 0x1a, 13 },
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
70 { 0x19, 13 }, { 0x18, 13 }, { 0x17, 13 }, { 0x1f, 14 },
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
71 { 0x1e, 14 }, { 0x1d, 14 }, { 0x1c, 14 }, { 0x1b, 14 },
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
72 { 0x1a, 14 }, { 0x19, 14 }, { 0x18, 14 }, { 0x17, 14 },
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
73 { 0x16, 14 }, { 0x15, 14 }, { 0x14, 14 }, { 0x13, 14 },
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
74 { 0x12, 14 }, { 0x11, 14 }, { 0x10, 14 }, { 0x18, 15 },
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
75 { 0x17, 15 }, { 0x16, 15 }, { 0x15, 15 }, { 0x14, 15 },
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
76 { 0x13, 15 }, { 0x12, 15 }, { 0x11, 15 }, { 0x10, 15 },
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
77 { 0x3, 3 }, { 0x6, 6 }, { 0x25, 8 }, { 0xc, 10 },
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
78 { 0x1b, 12 }, { 0x16, 13 }, { 0x15, 13 }, { 0x1f, 15 },
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
79 { 0x1e, 15 }, { 0x1d, 15 }, { 0x1c, 15 }, { 0x1b, 15 },
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
80 { 0x1a, 15 }, { 0x19, 15 }, { 0x13, 16 }, { 0x12, 16 },
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
81 { 0x11, 16 }, { 0x10, 16 }, { 0x5, 4 }, { 0x4, 7 },
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
82 { 0xb, 10 }, { 0x14, 12 }, { 0x14, 13 }, { 0x7, 5 },
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
83 { 0x24, 8 }, { 0x1c, 12 }, { 0x13, 13 }, { 0x6, 5 },
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
84 { 0xf, 10 }, { 0x12, 12 }, { 0x7, 6 }, { 0x9, 10 },
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
85 { 0x12, 13 }, { 0x5, 6 }, { 0x1e, 12 }, { 0x14, 16 },
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
86 { 0x4, 6 }, { 0x15, 12 }, { 0x7, 7 }, { 0x11, 12 },
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
87 { 0x5, 7 }, { 0x11, 13 }, { 0x27, 8 }, { 0x10, 13 },
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
88 { 0x23, 8 }, { 0x1a, 16 }, { 0x22, 8 }, { 0x19, 16 },
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
89 { 0x20, 8 }, { 0x18, 16 }, { 0xe, 10 }, { 0x17, 16 },
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
90 { 0xd, 10 }, { 0x16, 16 }, { 0x8, 10 }, { 0x15, 16 },
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
91 { 0x1f, 12 }, { 0x1a, 12 }, { 0x19, 12 }, { 0x17, 12 },
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
92 { 0x16, 12 }, { 0x1f, 13 }, { 0x1e, 13 }, { 0x1d, 13 },
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
93 { 0x1c, 13 }, { 0x1b, 13 }, { 0x1f, 16 }, { 0x1e, 16 },
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
94 { 0x1d, 16 }, { 0x1c, 16 }, { 0x1b, 16 },
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
95 { 0x1, 6 }, /* escape */
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
96 { 0x2, 2 }, /* EOB */
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
97 };
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
98
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
99 static const uint16_t mpeg2_vlc[113][2] = {
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
100 {0x02, 2}, {0x06, 3}, {0x07, 4}, {0x1c, 5},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
101 {0x1d, 5}, {0x05, 6}, {0x04, 6}, {0x7b, 7},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
102 {0x7c, 7}, {0x23, 8}, {0x22, 8}, {0xfa, 8},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
103 {0xfb, 8}, {0xfe, 8}, {0xff, 8}, {0x1f,14},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
104 {0x1e,14}, {0x1d,14}, {0x1c,14}, {0x1b,14},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
105 {0x1a,14}, {0x19,14}, {0x18,14}, {0x17,14},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
106 {0x16,14}, {0x15,14}, {0x14,14}, {0x13,14},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
107 {0x12,14}, {0x11,14}, {0x10,14}, {0x18,15},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
108 {0x17,15}, {0x16,15}, {0x15,15}, {0x14,15},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
109 {0x13,15}, {0x12,15}, {0x11,15}, {0x10,15},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
110 {0x02, 3}, {0x06, 5}, {0x79, 7}, {0x27, 8},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
111 {0x20, 8}, {0x16,13}, {0x15,13}, {0x1f,15},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
112 {0x1e,15}, {0x1d,15}, {0x1c,15}, {0x1b,15},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
113 {0x1a,15}, {0x19,15}, {0x13,16}, {0x12,16},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
114 {0x11,16}, {0x10,16}, {0x05, 5}, {0x07, 7},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
115 {0xfc, 8}, {0x0c,10}, {0x14,13}, {0x07, 5},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
116 {0x26, 8}, {0x1c,12}, {0x13,13}, {0x06, 6},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
117 {0xfd, 8}, {0x12,12}, {0x07, 6}, {0x04, 9},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
118 {0x12,13}, {0x06, 7}, {0x1e,12}, {0x14,16},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
119 {0x04, 7}, {0x15,12}, {0x05, 7}, {0x11,12},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
120 {0x78, 7}, {0x11,13}, {0x7a, 7}, {0x10,13},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
121 {0x21, 8}, {0x1a,16}, {0x25, 8}, {0x19,16},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
122 {0x24, 8}, {0x18,16}, {0x05, 9}, {0x17,16},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
123 {0x07, 9}, {0x16,16}, {0x0d,10}, {0x15,16},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
124 {0x1f,12}, {0x1a,12}, {0x19,12}, {0x17,12},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
125 {0x16,12}, {0x1f,13}, {0x1e,13}, {0x1d,13},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
126 {0x1c,13}, {0x1b,13}, {0x1f,16}, {0x1e,16},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
127 {0x1d,16}, {0x1c,16}, {0x1b,16},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
128 {0x01,6}, /* escape */
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
129 {0x06,4}, /* EOB */
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
130 };
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
131
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
132 static const int8_t mpeg1_level[111] = {
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
133 1, 2, 3, 4, 5, 6, 7, 8,
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
134 9, 10, 11, 12, 13, 14, 15, 16,
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
135 17, 18, 19, 20, 21, 22, 23, 24,
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
136 25, 26, 27, 28, 29, 30, 31, 32,
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
137 33, 34, 35, 36, 37, 38, 39, 40,
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
138 1, 2, 3, 4, 5, 6, 7, 8,
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
139 9, 10, 11, 12, 13, 14, 15, 16,
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
140 17, 18, 1, 2, 3, 4, 5, 1,
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
141 2, 3, 4, 1, 2, 3, 1, 2,
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
142 3, 1, 2, 3, 1, 2, 1, 2,
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
143 1, 2, 1, 2, 1, 2, 1, 2,
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
144 1, 2, 1, 2, 1, 2, 1, 2,
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
145 1, 1, 1, 1, 1, 1, 1, 1,
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
146 1, 1, 1, 1, 1, 1, 1,
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
147 };
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
148
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
149 static const int8_t mpeg1_run[111] = {
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
150 0, 0, 0, 0, 0, 0, 0, 0,
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
151 0, 0, 0, 0, 0, 0, 0, 0,
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
152 0, 0, 0, 0, 0, 0, 0, 0,
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
153 0, 0, 0, 0, 0, 0, 0, 0,
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
154 0, 0, 0, 0, 0, 0, 0, 0,
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
155 1, 1, 1, 1, 1, 1, 1, 1,
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
156 1, 1, 1, 1, 1, 1, 1, 1,
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
157 1, 1, 2, 2, 2, 2, 2, 3,
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
158 3, 3, 3, 4, 4, 4, 5, 5,
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
159 5, 6, 6, 6, 7, 7, 8, 8,
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
160 9, 9, 10, 10, 11, 11, 12, 12,
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
161 13, 13, 14, 14, 15, 15, 16, 16,
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
162 17, 18, 19, 20, 21, 22, 23, 24,
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
163 25, 26, 27, 28, 29, 30, 31,
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
164 };
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
165
5210
b52fd9b223bb add proper ff_ prefix to new extern symbols
aurel
parents: 5208
diff changeset
166 RLTable ff_rl_mpeg1 = {
5208
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
167 111,
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
168 111,
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
169 mpeg1_vlc,
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
170 mpeg1_run,
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
171 mpeg1_level,
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
172 };
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
173
5210
b52fd9b223bb add proper ff_ prefix to new extern symbols
aurel
parents: 5208
diff changeset
174 RLTable ff_rl_mpeg2 = {
5208
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
175 111,
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
176 111,
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
177 mpeg2_vlc,
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
178 mpeg1_run,
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
179 mpeg1_level,
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
180 };
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
181
5210
b52fd9b223bb add proper ff_ prefix to new extern symbols
aurel
parents: 5208
diff changeset
182 const uint8_t ff_mpeg12_mbAddrIncrTable[36][2] = {
5208
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
183 {0x1, 1},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
184 {0x3, 3},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
185 {0x2, 3},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
186 {0x3, 4},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
187 {0x2, 4},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
188 {0x3, 5},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
189 {0x2, 5},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
190 {0x7, 7},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
191 {0x6, 7},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
192 {0xb, 8},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
193 {0xa, 8},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
194 {0x9, 8},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
195 {0x8, 8},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
196 {0x7, 8},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
197 {0x6, 8},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
198 {0x17, 10},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
199 {0x16, 10},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
200 {0x15, 10},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
201 {0x14, 10},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
202 {0x13, 10},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
203 {0x12, 10},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
204 {0x23, 11},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
205 {0x22, 11},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
206 {0x21, 11},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
207 {0x20, 11},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
208 {0x1f, 11},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
209 {0x1e, 11},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
210 {0x1d, 11},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
211 {0x1c, 11},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
212 {0x1b, 11},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
213 {0x1a, 11},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
214 {0x19, 11},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
215 {0x18, 11},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
216 {0x8, 11}, /* escape */
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
217 {0xf, 11}, /* stuffing */
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
218 {0x0, 8}, /* end (and 15 more 0 bits should follow) */
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
219 };
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
220
5210
b52fd9b223bb add proper ff_ prefix to new extern symbols
aurel
parents: 5208
diff changeset
221 const uint8_t ff_mpeg12_mbPatTable[64][2] = {
5208
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
222 {0x1, 9},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
223 {0xb, 5},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
224 {0x9, 5},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
225 {0xd, 6},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
226 {0xd, 4},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
227 {0x17, 7},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
228 {0x13, 7},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
229 {0x1f, 8},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
230 {0xc, 4},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
231 {0x16, 7},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
232 {0x12, 7},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
233 {0x1e, 8},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
234 {0x13, 5},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
235 {0x1b, 8},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
236 {0x17, 8},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
237 {0x13, 8},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
238 {0xb, 4},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
239 {0x15, 7},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
240 {0x11, 7},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
241 {0x1d, 8},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
242 {0x11, 5},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
243 {0x19, 8},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
244 {0x15, 8},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
245 {0x11, 8},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
246 {0xf, 6},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
247 {0xf, 8},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
248 {0xd, 8},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
249 {0x3, 9},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
250 {0xf, 5},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
251 {0xb, 8},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
252 {0x7, 8},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
253 {0x7, 9},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
254 {0xa, 4},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
255 {0x14, 7},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
256 {0x10, 7},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
257 {0x1c, 8},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
258 {0xe, 6},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
259 {0xe, 8},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
260 {0xc, 8},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
261 {0x2, 9},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
262 {0x10, 5},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
263 {0x18, 8},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
264 {0x14, 8},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
265 {0x10, 8},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
266 {0xe, 5},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
267 {0xa, 8},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
268 {0x6, 8},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
269 {0x6, 9},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
270 {0x12, 5},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
271 {0x1a, 8},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
272 {0x16, 8},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
273 {0x12, 8},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
274 {0xd, 5},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
275 {0x9, 8},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
276 {0x5, 8},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
277 {0x5, 9},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
278 {0xc, 5},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
279 {0x8, 8},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
280 {0x4, 8},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
281 {0x4, 9},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
282 {0x7, 3},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
283 {0xa, 5},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
284 {0x8, 5},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
285 {0xc, 6}
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
286 };
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
287
5210
b52fd9b223bb add proper ff_ prefix to new extern symbols
aurel
parents: 5208
diff changeset
288 const uint8_t ff_mpeg12_mbMotionVectorTable[17][2] = {
5208
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
289 { 0x1, 1 },
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
290 { 0x1, 2 },
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
291 { 0x1, 3 },
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
292 { 0x1, 4 },
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
293 { 0x3, 6 },
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
294 { 0x5, 7 },
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
295 { 0x4, 7 },
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
296 { 0x3, 7 },
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
297 { 0xb, 9 },
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
298 { 0xa, 9 },
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
299 { 0x9, 9 },
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
300 { 0x11, 10 },
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
301 { 0x10, 10 },
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
302 { 0xf, 10 },
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
303 { 0xe, 10 },
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
304 { 0xd, 10 },
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
305 { 0xc, 10 },
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
306 };
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
307
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
308 const AVRational ff_frame_rate_tab[] = {
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
309 { 0, 0},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
310 {24000, 1001},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
311 { 24, 1},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
312 { 25, 1},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
313 {30000, 1001},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
314 { 30, 1},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
315 { 50, 1},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
316 {60000, 1001},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
317 { 60, 1},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
318 // Xing's 15fps: (9)
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
319 { 15, 1},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
320 // libmpeg3's "Unofficial economy rates": (10-13)
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
321 { 5, 1},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
322 { 10, 1},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
323 { 12, 1},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
324 { 15, 1},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
325 { 0, 0},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
326 };
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
327
5210
b52fd9b223bb add proper ff_ prefix to new extern symbols
aurel
parents: 5208
diff changeset
328 const float ff_mpeg1_aspect[16]={
5208
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
329 0.0000,
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
330 1.0000,
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
331 0.6735,
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
332 0.7031,
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
333
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
334 0.7615,
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
335 0.8055,
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
336 0.8437,
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
337 0.8935,
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
338
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
339 0.9157,
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
340 0.9815,
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
341 1.0255,
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
342 1.0695,
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
343
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
344 1.0950,
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
345 1.1575,
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
346 1.2015,
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
347 };
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
348
5210
b52fd9b223bb add proper ff_ prefix to new extern symbols
aurel
parents: 5208
diff changeset
349 const AVRational ff_mpeg2_aspect[16]={
5208
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
350 {0,1},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
351 {1,1},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
352 {4,3},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
353 {16,9},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
354 {221,100},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
355 {0,1},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
356 {0,1},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
357 {0,1},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
358 {0,1},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
359 {0,1},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
360 {0,1},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
361 {0,1},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
362 {0,1},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
363 {0,1},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
364 {0,1},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
365 {0,1},
430f60820b21 split mpeg12 encoder out of mpeg12.c
aurel
parents:
diff changeset
366 };