Mercurial > libavcodec.hg
annotate dvdata.h @ 6919:7cf90c252373 libavcodec
set coded_frame
author | michael |
---|---|
date | Wed, 28 May 2008 11:33:28 +0000 |
parents | f7cbb7733146 |
children | 910087e97750 |
rev | line source |
---|---|
723 | 1 /* |
2 * Constants for DV codec | |
3 * Copyright (c) 2002 Fabrice Bellard. | |
4 * | |
3947
c8c591fe26f8
Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents:
3671
diff
changeset
|
5 * This file is part of FFmpeg. |
c8c591fe26f8
Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents:
3671
diff
changeset
|
6 * |
c8c591fe26f8
Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents:
3671
diff
changeset
|
7 * FFmpeg is free software; you can redistribute it and/or |
723 | 8 * modify it under the terms of the GNU Lesser General Public |
9 * License as published by the Free Software Foundation; either | |
3947
c8c591fe26f8
Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents:
3671
diff
changeset
|
10 * version 2.1 of the License, or (at your option) any later version. |
723 | 11 * |
3947
c8c591fe26f8
Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents:
3671
diff
changeset
|
12 * FFmpeg is distributed in the hope that it will be useful, |
723 | 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
15 * Lesser General Public License for more details. | |
16 * | |
17 * You should have received a copy of the GNU Lesser General Public | |
3947
c8c591fe26f8
Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents:
3671
diff
changeset
|
18 * License along with FFmpeg; if not, write to the Free Software |
3036
0b546eab515d
Update licensing information: The FSF changed postal address.
diego
parents:
2967
diff
changeset
|
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
723 | 20 */ |
21 | |
1106 | 22 /** |
23 * @file dvdata.h | |
24 * Constants for DV codec. | |
25 */ | |
1489
337d13aee605
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
1167
diff
changeset
|
26 |
5830
1d83e9c34641
Add FFMPEG_ prefix to all multiple inclusion guards.
diego
parents:
5351
diff
changeset
|
27 #ifndef FFMPEG_DVDATA_H |
1d83e9c34641
Add FFMPEG_ prefix to all multiple inclusion guards.
diego
parents:
5351
diff
changeset
|
28 #define FFMPEG_DVDATA_H |
5163 | 29 |
6763 | 30 #include "libavutil/rational.h" |
5162 | 31 #include "avcodec.h" |
32 | |
2967 | 33 /* |
34 * DVprofile is used to express the differences between various | |
1489
337d13aee605
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
1167
diff
changeset
|
35 * DV flavors. For now it's primarily used for differentiating |
337d13aee605
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
1167
diff
changeset
|
36 * 525/60 and 625/50, but the plans are to use it for various |
337d13aee605
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
1167
diff
changeset
|
37 * DV specs as well (e.g. SMPTE314M vs. IEC 61834). |
337d13aee605
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
1167
diff
changeset
|
38 */ |
337d13aee605
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
1167
diff
changeset
|
39 typedef struct DVprofile { |
337d13aee605
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
1167
diff
changeset
|
40 int dsf; /* value of the dsf in the DV header */ |
337d13aee605
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
1167
diff
changeset
|
41 int frame_size; /* total size of one frame in bytes */ |
3167 | 42 int difseg_size; /* number of DIF segments per DIF channel */ |
43 int n_difchan; /* number of DIF channels per frame */ | |
2967 | 44 int frame_rate; |
1489
337d13aee605
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
1167
diff
changeset
|
45 int frame_rate_base; |
337d13aee605
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
1167
diff
changeset
|
46 int ltc_divisor; /* FPS from the LTS standpoint */ |
337d13aee605
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
1167
diff
changeset
|
47 int height; /* picture height in pixels */ |
337d13aee605
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
1167
diff
changeset
|
48 int width; /* picture width in pixels */ |
1590
2d5dd2f9f760
* DV demuxer is now capable of decoding auxilary audio stream. So,
romansh
parents:
1567
diff
changeset
|
49 AVRational sar[2]; /* sample aspect ratios for 4:3 and 16:9 */ |
1489
337d13aee605
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
1167
diff
changeset
|
50 const uint16_t *video_place; /* positions of all DV macro blocks */ |
337d13aee605
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
1167
diff
changeset
|
51 enum PixelFormat pix_fmt; /* picture pixel format */ |
2967 | 52 |
1489
337d13aee605
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
1167
diff
changeset
|
53 int audio_stride; /* size of audio_shuffle table */ |
337d13aee605
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
1167
diff
changeset
|
54 int audio_min_samples[3];/* min ammount of audio samples */ |
337d13aee605
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
1167
diff
changeset
|
55 /* for 48Khz, 44.1Khz and 32Khz */ |
337d13aee605
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
1167
diff
changeset
|
56 int audio_samples_dist[5];/* how many samples are supposed to be */ |
337d13aee605
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
1167
diff
changeset
|
57 /* in each frame in a 5 frames window */ |
4361 | 58 const uint8_t (*audio_shuffle)[9]; /* PCM shuffling table */ |
1489
337d13aee605
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
1167
diff
changeset
|
59 } DVprofile; |
337d13aee605
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
1167
diff
changeset
|
60 |
723 | 61 #define NB_DV_VLC 409 |
62 | |
2967 | 63 /* |
1631
59f2fa833449
* 3x encoding speedup. Finally we seem to be on par with libdv
romansh
parents:
1590
diff
changeset
|
64 * There's a catch about the following three tables: the mapping they establish |
59f2fa833449
* 3x encoding speedup. Finally we seem to be on par with libdv
romansh
parents:
1590
diff
changeset
|
65 * between (run, level) and vlc is not 1-1. So you have to watch out for that |
2967 | 66 * when building misc. tables. E.g. (1, 0) can be either 0x7cf or 0x1f82. |
1631
59f2fa833449
* 3x encoding speedup. Finally we seem to be on par with libdv
romansh
parents:
1590
diff
changeset
|
67 */ |
1064 | 68 static const uint16_t dv_vlc_bits[409] = { |
723 | 69 0x0000, 0x0002, 0x0007, 0x0008, 0x0009, 0x0014, 0x0015, 0x0016, |
70 0x0017, 0x0030, 0x0031, 0x0032, 0x0033, 0x0068, 0x0069, 0x006a, | |
71 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, 0x00e0, 0x00e1, 0x00e2, | |
72 0x00e3, 0x00e4, 0x00e5, 0x00e6, 0x00e7, 0x00e8, 0x00e9, 0x00ea, | |
73 0x00eb, 0x00ec, 0x00ed, 0x00ee, 0x00ef, 0x01e0, 0x01e1, 0x01e2, | |
74 0x01e3, 0x01e4, 0x01e5, 0x01e6, 0x01e7, 0x01e8, 0x01e9, 0x01ea, | |
75 0x01eb, 0x01ec, 0x01ed, 0x01ee, 0x01ef, 0x03e0, 0x03e1, 0x03e2, | |
76 0x03e3, 0x03e4, 0x03e5, 0x03e6, 0x07ce, 0x07cf, 0x07d0, 0x07d1, | |
77 0x07d2, 0x07d3, 0x07d4, 0x07d5, 0x0fac, 0x0fad, 0x0fae, 0x0faf, | |
78 0x0fb0, 0x0fb1, 0x0fb2, 0x0fb3, 0x0fb4, 0x0fb5, 0x0fb6, 0x0fb7, | |
79 0x0fb8, 0x0fb9, 0x0fba, 0x0fbb, 0x0fbc, 0x0fbd, 0x0fbe, 0x0fbf, | |
80 0x1f80, 0x1f81, 0x1f82, 0x1f83, 0x1f84, 0x1f85, 0x1f86, 0x1f87, | |
81 0x1f88, 0x1f89, 0x1f8a, 0x1f8b, 0x1f8c, 0x1f8d, 0x1f8e, 0x1f8f, | |
82 0x1f90, 0x1f91, 0x1f92, 0x1f93, 0x1f94, 0x1f95, 0x1f96, 0x1f97, | |
83 0x1f98, 0x1f99, 0x1f9a, 0x1f9b, 0x1f9c, 0x1f9d, 0x1f9e, 0x1f9f, | |
84 0x1fa0, 0x1fa1, 0x1fa2, 0x1fa3, 0x1fa4, 0x1fa5, 0x1fa6, 0x1fa7, | |
85 0x1fa8, 0x1fa9, 0x1faa, 0x1fab, 0x1fac, 0x1fad, 0x1fae, 0x1faf, | |
86 0x1fb0, 0x1fb1, 0x1fb2, 0x1fb3, 0x1fb4, 0x1fb5, 0x1fb6, 0x1fb7, | |
87 0x1fb8, 0x1fb9, 0x1fba, 0x1fbb, 0x1fbc, 0x1fbd, 0x1fbe, 0x1fbf, | |
88 0x7f00, 0x7f01, 0x7f02, 0x7f03, 0x7f04, 0x7f05, 0x7f06, 0x7f07, | |
89 0x7f08, 0x7f09, 0x7f0a, 0x7f0b, 0x7f0c, 0x7f0d, 0x7f0e, 0x7f0f, | |
90 0x7f10, 0x7f11, 0x7f12, 0x7f13, 0x7f14, 0x7f15, 0x7f16, 0x7f17, | |
91 0x7f18, 0x7f19, 0x7f1a, 0x7f1b, 0x7f1c, 0x7f1d, 0x7f1e, 0x7f1f, | |
92 0x7f20, 0x7f21, 0x7f22, 0x7f23, 0x7f24, 0x7f25, 0x7f26, 0x7f27, | |
93 0x7f28, 0x7f29, 0x7f2a, 0x7f2b, 0x7f2c, 0x7f2d, 0x7f2e, 0x7f2f, | |
94 0x7f30, 0x7f31, 0x7f32, 0x7f33, 0x7f34, 0x7f35, 0x7f36, 0x7f37, | |
95 0x7f38, 0x7f39, 0x7f3a, 0x7f3b, 0x7f3c, 0x7f3d, 0x7f3e, 0x7f3f, | |
96 0x7f40, 0x7f41, 0x7f42, 0x7f43, 0x7f44, 0x7f45, 0x7f46, 0x7f47, | |
97 0x7f48, 0x7f49, 0x7f4a, 0x7f4b, 0x7f4c, 0x7f4d, 0x7f4e, 0x7f4f, | |
98 0x7f50, 0x7f51, 0x7f52, 0x7f53, 0x7f54, 0x7f55, 0x7f56, 0x7f57, | |
99 0x7f58, 0x7f59, 0x7f5a, 0x7f5b, 0x7f5c, 0x7f5d, 0x7f5e, 0x7f5f, | |
100 0x7f60, 0x7f61, 0x7f62, 0x7f63, 0x7f64, 0x7f65, 0x7f66, 0x7f67, | |
101 0x7f68, 0x7f69, 0x7f6a, 0x7f6b, 0x7f6c, 0x7f6d, 0x7f6e, 0x7f6f, | |
102 0x7f70, 0x7f71, 0x7f72, 0x7f73, 0x7f74, 0x7f75, 0x7f76, 0x7f77, | |
103 0x7f78, 0x7f79, 0x7f7a, 0x7f7b, 0x7f7c, 0x7f7d, 0x7f7e, 0x7f7f, | |
104 0x7f80, 0x7f81, 0x7f82, 0x7f83, 0x7f84, 0x7f85, 0x7f86, 0x7f87, | |
105 0x7f88, 0x7f89, 0x7f8a, 0x7f8b, 0x7f8c, 0x7f8d, 0x7f8e, 0x7f8f, | |
106 0x7f90, 0x7f91, 0x7f92, 0x7f93, 0x7f94, 0x7f95, 0x7f96, 0x7f97, | |
107 0x7f98, 0x7f99, 0x7f9a, 0x7f9b, 0x7f9c, 0x7f9d, 0x7f9e, 0x7f9f, | |
108 0x7fa0, 0x7fa1, 0x7fa2, 0x7fa3, 0x7fa4, 0x7fa5, 0x7fa6, 0x7fa7, | |
109 0x7fa8, 0x7fa9, 0x7faa, 0x7fab, 0x7fac, 0x7fad, 0x7fae, 0x7faf, | |
110 0x7fb0, 0x7fb1, 0x7fb2, 0x7fb3, 0x7fb4, 0x7fb5, 0x7fb6, 0x7fb7, | |
111 0x7fb8, 0x7fb9, 0x7fba, 0x7fbb, 0x7fbc, 0x7fbd, 0x7fbe, 0x7fbf, | |
112 0x7fc0, 0x7fc1, 0x7fc2, 0x7fc3, 0x7fc4, 0x7fc5, 0x7fc6, 0x7fc7, | |
113 0x7fc8, 0x7fc9, 0x7fca, 0x7fcb, 0x7fcc, 0x7fcd, 0x7fce, 0x7fcf, | |
114 0x7fd0, 0x7fd1, 0x7fd2, 0x7fd3, 0x7fd4, 0x7fd5, 0x7fd6, 0x7fd7, | |
115 0x7fd8, 0x7fd9, 0x7fda, 0x7fdb, 0x7fdc, 0x7fdd, 0x7fde, 0x7fdf, | |
116 0x7fe0, 0x7fe1, 0x7fe2, 0x7fe3, 0x7fe4, 0x7fe5, 0x7fe6, 0x7fe7, | |
117 0x7fe8, 0x7fe9, 0x7fea, 0x7feb, 0x7fec, 0x7fed, 0x7fee, 0x7fef, | |
118 0x7ff0, 0x7ff1, 0x7ff2, 0x7ff3, 0x7ff4, 0x7ff5, 0x7ff6, 0x7ff7, | |
119 0x7ff8, 0x7ff9, 0x7ffa, 0x7ffb, 0x7ffc, 0x7ffd, 0x7ffe, 0x7fff, | |
120 0x0006, | |
121 }; | |
122 | |
1064 | 123 static const uint8_t dv_vlc_len[409] = { |
723 | 124 2, 3, 4, 4, 4, 5, 5, 5, |
125 5, 6, 6, 6, 6, 7, 7, 7, | |
126 7, 7, 7, 7, 7, 8, 8, 8, | |
127 8, 8, 8, 8, 8, 8, 8, 8, | |
128 8, 8, 8, 8, 8, 9, 9, 9, | |
129 9, 9, 9, 9, 9, 9, 9, 9, | |
130 9, 9, 9, 9, 9, 10, 10, 10, | |
131 10, 10, 10, 10, 11, 11, 11, 11, | |
132 11, 11, 11, 11, 12, 12, 12, 12, | |
133 12, 12, 12, 12, 12, 12, 12, 12, | |
134 12, 12, 12, 12, 12, 12, 12, 12, | |
135 13, 13, 13, 13, 13, 13, 13, 13, | |
136 13, 13, 13, 13, 13, 13, 13, 13, | |
137 13, 13, 13, 13, 13, 13, 13, 13, | |
138 13, 13, 13, 13, 13, 13, 13, 13, | |
139 13, 13, 13, 13, 13, 13, 13, 13, | |
140 13, 13, 13, 13, 13, 13, 13, 13, | |
141 13, 13, 13, 13, 13, 13, 13, 13, | |
142 13, 13, 13, 13, 13, 13, 13, 13, | |
143 15, 15, 15, 15, 15, 15, 15, 15, | |
144 15, 15, 15, 15, 15, 15, 15, 15, | |
145 15, 15, 15, 15, 15, 15, 15, 15, | |
146 15, 15, 15, 15, 15, 15, 15, 15, | |
147 15, 15, 15, 15, 15, 15, 15, 15, | |
148 15, 15, 15, 15, 15, 15, 15, 15, | |
149 15, 15, 15, 15, 15, 15, 15, 15, | |
150 15, 15, 15, 15, 15, 15, 15, 15, | |
151 15, 15, 15, 15, 15, 15, 15, 15, | |
152 15, 15, 15, 15, 15, 15, 15, 15, | |
153 15, 15, 15, 15, 15, 15, 15, 15, | |
154 15, 15, 15, 15, 15, 15, 15, 15, | |
155 15, 15, 15, 15, 15, 15, 15, 15, | |
156 15, 15, 15, 15, 15, 15, 15, 15, | |
157 15, 15, 15, 15, 15, 15, 15, 15, | |
158 15, 15, 15, 15, 15, 15, 15, 15, | |
159 15, 15, 15, 15, 15, 15, 15, 15, | |
160 15, 15, 15, 15, 15, 15, 15, 15, | |
161 15, 15, 15, 15, 15, 15, 15, 15, | |
162 15, 15, 15, 15, 15, 15, 15, 15, | |
163 15, 15, 15, 15, 15, 15, 15, 15, | |
164 15, 15, 15, 15, 15, 15, 15, 15, | |
165 15, 15, 15, 15, 15, 15, 15, 15, | |
166 15, 15, 15, 15, 15, 15, 15, 15, | |
167 15, 15, 15, 15, 15, 15, 15, 15, | |
168 15, 15, 15, 15, 15, 15, 15, 15, | |
169 15, 15, 15, 15, 15, 15, 15, 15, | |
170 15, 15, 15, 15, 15, 15, 15, 15, | |
171 15, 15, 15, 15, 15, 15, 15, 15, | |
172 15, 15, 15, 15, 15, 15, 15, 15, | |
173 15, 15, 15, 15, 15, 15, 15, 15, | |
174 15, 15, 15, 15, 15, 15, 15, 15, | |
175 4, | |
176 }; | |
177 | |
1064 | 178 static const uint8_t dv_vlc_run[409] = { |
723 | 179 0, 0, 1, 0, 0, 2, 1, 0, |
180 0, 3, 4, 0, 0, 5, 6, 2, | |
181 1, 1, 0, 0, 0, 7, 8, 9, | |
182 10, 3, 4, 2, 1, 1, 1, 0, | |
183 0, 0, 0, 0, 0, 11, 12, 13, | |
184 14, 5, 6, 3, 4, 2, 2, 1, | |
185 0, 0, 0, 0, 0, 5, 3, 3, | |
186 2, 1, 1, 1, 0, 1, 6, 4, | |
187 3, 1, 1, 1, 2, 3, 4, 5, | |
188 7, 8, 9, 10, 7, 8, 4, 3, | |
189 2, 2, 2, 2, 2, 1, 1, 1, | |
190 0, 1, 2, 3, 4, 5, 6, 7, | |
191 8, 9, 10, 11, 12, 13, 14, 15, | |
192 16, 17, 18, 19, 20, 21, 22, 23, | |
193 24, 25, 26, 27, 28, 29, 30, 31, | |
194 32, 33, 34, 35, 36, 37, 38, 39, | |
195 40, 41, 42, 43, 44, 45, 46, 47, | |
196 48, 49, 50, 51, 52, 53, 54, 55, | |
197 56, 57, 58, 59, 60, 61, 62, 63, | |
198 0, 0, 0, 0, 0, 0, 0, 0, | |
199 0, 0, 0, 0, 0, 0, 0, 0, | |
200 0, 0, 0, 0, 0, 0, 0, 0, | |
201 0, 0, 0, 0, 0, 0, 0, 0, | |
202 0, 0, 0, 0, 0, 0, 0, 0, | |
203 0, 0, 0, 0, 0, 0, 0, 0, | |
204 0, 0, 0, 0, 0, 0, 0, 0, | |
205 0, 0, 0, 0, 0, 0, 0, 0, | |
206 0, 0, 0, 0, 0, 0, 0, 0, | |
207 0, 0, 0, 0, 0, 0, 0, 0, | |
208 0, 0, 0, 0, 0, 0, 0, 0, | |
209 0, 0, 0, 0, 0, 0, 0, 0, | |
210 0, 0, 0, 0, 0, 0, 0, 0, | |
211 0, 0, 0, 0, 0, 0, 0, 0, | |
212 0, 0, 0, 0, 0, 0, 0, 0, | |
213 0, 0, 0, 0, 0, 0, 0, 0, | |
214 0, 0, 0, 0, 0, 0, 0, 0, | |
215 0, 0, 0, 0, 0, 0, 0, 0, | |
216 0, 0, 0, 0, 0, 0, 0, 0, | |
217 0, 0, 0, 0, 0, 0, 0, 0, | |
218 0, 0, 0, 0, 0, 0, 0, 0, | |
219 0, 0, 0, 0, 0, 0, 0, 0, | |
220 0, 0, 0, 0, 0, 0, 0, 0, | |
221 0, 0, 0, 0, 0, 0, 0, 0, | |
222 0, 0, 0, 0, 0, 0, 0, 0, | |
223 0, 0, 0, 0, 0, 0, 0, 0, | |
224 0, 0, 0, 0, 0, 0, 0, 0, | |
225 0, 0, 0, 0, 0, 0, 0, 0, | |
226 0, 0, 0, 0, 0, 0, 0, 0, | |
227 0, 0, 0, 0, 0, 0, 0, 0, | |
228 0, 0, 0, 0, 0, 0, 0, 0, | |
229 0, 0, 0, 0, 0, 0, 0, 0, | |
1886
fbcf02596520
* DV decoder simplifications. Now it looks to be 6% faster. At least
romansh
parents:
1631
diff
changeset
|
230 127, |
723 | 231 }; |
232 | |
1064 | 233 static const uint8_t dv_vlc_level[409] = { |
723 | 234 1, 2, 1, 3, 4, 1, 2, 5, |
235 6, 1, 1, 7, 8, 1, 1, 2, | |
236 3, 4, 9, 10, 11, 1, 1, 1, | |
237 1, 2, 2, 3, 5, 6, 7, 12, | |
238 13, 14, 15, 16, 17, 1, 1, 1, | |
239 1, 2, 2, 3, 3, 4, 5, 8, | |
240 18, 19, 20, 21, 22, 3, 4, 5, | |
241 6, 9, 10, 11, 0, 0, 3, 4, | |
242 6, 12, 13, 14, 0, 0, 0, 0, | |
243 2, 2, 2, 2, 3, 3, 5, 7, | |
244 7, 8, 9, 10, 11, 15, 16, 17, | |
245 0, 0, 0, 0, 0, 0, 0, 0, | |
246 0, 0, 0, 0, 0, 0, 0, 0, | |
247 0, 0, 0, 0, 0, 0, 0, 0, | |
248 0, 0, 0, 0, 0, 0, 0, 0, | |
249 0, 0, 0, 0, 0, 0, 0, 0, | |
250 0, 0, 0, 0, 0, 0, 0, 0, | |
251 0, 0, 0, 0, 0, 0, 0, 0, | |
252 0, 0, 0, 0, 0, 0, 0, 0, | |
253 0, 1, 2, 3, 4, 5, 6, 7, | |
254 8, 9, 10, 11, 12, 13, 14, 15, | |
255 16, 17, 18, 19, 20, 21, 22, 23, | |
256 24, 25, 26, 27, 28, 29, 30, 31, | |
257 32, 33, 34, 35, 36, 37, 38, 39, | |
258 40, 41, 42, 43, 44, 45, 46, 47, | |
259 48, 49, 50, 51, 52, 53, 54, 55, | |
260 56, 57, 58, 59, 60, 61, 62, 63, | |
261 64, 65, 66, 67, 68, 69, 70, 71, | |
262 72, 73, 74, 75, 76, 77, 78, 79, | |
263 80, 81, 82, 83, 84, 85, 86, 87, | |
264 88, 89, 90, 91, 92, 93, 94, 95, | |
265 96, 97, 98, 99, 100, 101, 102, 103, | |
266 104, 105, 106, 107, 108, 109, 110, 111, | |
267 112, 113, 114, 115, 116, 117, 118, 119, | |
268 120, 121, 122, 123, 124, 125, 126, 127, | |
269 128, 129, 130, 131, 132, 133, 134, 135, | |
270 136, 137, 138, 139, 140, 141, 142, 143, | |
271 144, 145, 146, 147, 148, 149, 150, 151, | |
272 152, 153, 154, 155, 156, 157, 158, 159, | |
273 160, 161, 162, 163, 164, 165, 166, 167, | |
274 168, 169, 170, 171, 172, 173, 174, 175, | |
275 176, 177, 178, 179, 180, 181, 182, 183, | |
276 184, 185, 186, 187, 188, 189, 190, 191, | |
277 192, 193, 194, 195, 196, 197, 198, 199, | |
278 200, 201, 202, 203, 204, 205, 206, 207, | |
279 208, 209, 210, 211, 212, 213, 214, 215, | |
280 216, 217, 218, 219, 220, 221, 222, 223, | |
281 224, 225, 226, 227, 228, 229, 230, 231, | |
282 232, 233, 234, 235, 236, 237, 238, 239, | |
283 240, 241, 242, 243, 244, 245, 246, 247, | |
284 248, 249, 250, 251, 252, 253, 254, 255, | |
285 0, | |
286 }; | |
287 | |
288 /* unquant tables (not used directly) */ | |
1064 | 289 static const uint8_t dv_88_areas[64] = { |
723 | 290 0,0,0,1,1,1,2,2, |
291 0,0,1,1,1,2,2,2, | |
292 0,1,1,1,2,2,2,3, | |
293 1,1,1,2,2,2,3,3, | |
294 1,1,2,2,2,3,3,3, | |
295 1,2,2,2,3,3,3,3, | |
296 2,2,2,3,3,3,3,3, | |
297 2,2,3,3,3,3,3,3, | |
298 }; | |
299 | |
1064 | 300 static const uint8_t dv_248_areas[64] = { |
723 | 301 0,0,1,1,1,2,2,3, |
302 0,0,1,1,2,2,2,3, | |
303 0,1,1,2,2,2,3,3, | |
304 0,1,1,2,2,2,3,3, | |
305 1,1,2,2,2,3,3,3, | |
306 1,1,2,2,2,3,3,3, | |
307 1,2,2,2,3,3,3,3, | |
308 1,2,2,3,3,3,3,3, | |
309 }; | |
310 | |
1489
337d13aee605
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
1167
diff
changeset
|
311 static const uint8_t dv_quant_shifts[22][4] = { |
2967 | 312 { 3,3,4,4 }, |
313 { 3,3,4,4 }, | |
314 { 2,3,3,4 }, | |
723 | 315 { 2,3,3,4 }, |
2967 | 316 { 2,2,3,3 }, |
317 { 2,2,3,3 }, | |
318 { 1,2,2,3 }, | |
319 { 1,2,2,3 }, | |
320 { 1,1,2,2 }, | |
321 { 1,1,2,2 }, | |
322 { 0,1,1,2 }, | |
323 { 0,1,1,2 }, | |
723 | 324 { 0,0,1,1 }, |
2967 | 325 { 0,0,1,1 }, |
326 { 0,0,0,1 }, | |
327 { 0,0,0,0 }, | |
328 { 0,0,0,0 }, | |
329 { 0,0,0,0 }, | |
330 { 0,0,0,0 }, | |
331 { 0,0,0,0 }, | |
332 { 0,0,0,0 }, | |
723 | 333 { 0,0,0,0 }, |
334 }; | |
335 | |
1064 | 336 static const uint8_t dv_quant_offset[4] = { 6, 3, 0, 1 }; |
723 | 337 |
6132 | 338 /* NOTE: I prefer hardcoding the positioning of dv blocks, it is |
723 | 339 simpler :-) */ |
340 | |
1064 | 341 static const uint16_t dv_place_420[1620] = { |
723 | 342 0x0c24, 0x2412, 0x3036, 0x0000, 0x1848, |
343 0x0e24, 0x2612, 0x3236, 0x0200, 0x1a48, | |
344 0x1024, 0x2812, 0x3436, 0x0400, 0x1c48, | |
345 0x1026, 0x2814, 0x3438, 0x0402, 0x1c4a, | |
346 0x0e26, 0x2614, 0x3238, 0x0202, 0x1a4a, | |
347 0x0c26, 0x2414, 0x3038, 0x0002, 0x184a, | |
348 0x0c28, 0x2416, 0x303a, 0x0004, 0x184c, | |
349 0x0e28, 0x2616, 0x323a, 0x0204, 0x1a4c, | |
350 0x1028, 0x2816, 0x343a, 0x0404, 0x1c4c, | |
351 0x102a, 0x2818, 0x343c, 0x0406, 0x1c4e, | |
352 0x0e2a, 0x2618, 0x323c, 0x0206, 0x1a4e, | |
353 0x0c2a, 0x2418, 0x303c, 0x0006, 0x184e, | |
354 0x0c2c, 0x241a, 0x303e, 0x0008, 0x1850, | |
355 0x0e2c, 0x261a, 0x323e, 0x0208, 0x1a50, | |
356 0x102c, 0x281a, 0x343e, 0x0408, 0x1c50, | |
357 0x102e, 0x281c, 0x3440, 0x040a, 0x1c52, | |
358 0x0e2e, 0x261c, 0x3240, 0x020a, 0x1a52, | |
359 0x0c2e, 0x241c, 0x3040, 0x000a, 0x1852, | |
360 0x0c30, 0x241e, 0x3042, 0x000c, 0x1854, | |
361 0x0e30, 0x261e, 0x3242, 0x020c, 0x1a54, | |
362 0x1030, 0x281e, 0x3442, 0x040c, 0x1c54, | |
363 0x1032, 0x2820, 0x3444, 0x040e, 0x1c56, | |
364 0x0e32, 0x2620, 0x3244, 0x020e, 0x1a56, | |
365 0x0c32, 0x2420, 0x3044, 0x000e, 0x1856, | |
366 0x0c34, 0x2422, 0x3046, 0x0010, 0x1858, | |
367 0x0e34, 0x2622, 0x3246, 0x0210, 0x1a58, | |
368 0x1034, 0x2822, 0x3446, 0x0410, 0x1c58, | |
369 0x1224, 0x2a12, 0x3636, 0x0600, 0x1e48, | |
370 0x1424, 0x2c12, 0x3836, 0x0800, 0x2048, | |
371 0x1624, 0x2e12, 0x3a36, 0x0a00, 0x2248, | |
372 0x1626, 0x2e14, 0x3a38, 0x0a02, 0x224a, | |
373 0x1426, 0x2c14, 0x3838, 0x0802, 0x204a, | |
374 0x1226, 0x2a14, 0x3638, 0x0602, 0x1e4a, | |
375 0x1228, 0x2a16, 0x363a, 0x0604, 0x1e4c, | |
376 0x1428, 0x2c16, 0x383a, 0x0804, 0x204c, | |
377 0x1628, 0x2e16, 0x3a3a, 0x0a04, 0x224c, | |
378 0x162a, 0x2e18, 0x3a3c, 0x0a06, 0x224e, | |
379 0x142a, 0x2c18, 0x383c, 0x0806, 0x204e, | |
380 0x122a, 0x2a18, 0x363c, 0x0606, 0x1e4e, | |
381 0x122c, 0x2a1a, 0x363e, 0x0608, 0x1e50, | |
382 0x142c, 0x2c1a, 0x383e, 0x0808, 0x2050, | |
383 0x162c, 0x2e1a, 0x3a3e, 0x0a08, 0x2250, | |
384 0x162e, 0x2e1c, 0x3a40, 0x0a0a, 0x2252, | |
385 0x142e, 0x2c1c, 0x3840, 0x080a, 0x2052, | |
386 0x122e, 0x2a1c, 0x3640, 0x060a, 0x1e52, | |
387 0x1230, 0x2a1e, 0x3642, 0x060c, 0x1e54, | |
388 0x1430, 0x2c1e, 0x3842, 0x080c, 0x2054, | |
389 0x1630, 0x2e1e, 0x3a42, 0x0a0c, 0x2254, | |
390 0x1632, 0x2e20, 0x3a44, 0x0a0e, 0x2256, | |
391 0x1432, 0x2c20, 0x3844, 0x080e, 0x2056, | |
392 0x1232, 0x2a20, 0x3644, 0x060e, 0x1e56, | |
393 0x1234, 0x2a22, 0x3646, 0x0610, 0x1e58, | |
394 0x1434, 0x2c22, 0x3846, 0x0810, 0x2058, | |
395 0x1634, 0x2e22, 0x3a46, 0x0a10, 0x2258, | |
396 0x1824, 0x3012, 0x3c36, 0x0c00, 0x2448, | |
397 0x1a24, 0x3212, 0x3e36, 0x0e00, 0x2648, | |
398 0x1c24, 0x3412, 0x4036, 0x1000, 0x2848, | |
399 0x1c26, 0x3414, 0x4038, 0x1002, 0x284a, | |
400 0x1a26, 0x3214, 0x3e38, 0x0e02, 0x264a, | |
401 0x1826, 0x3014, 0x3c38, 0x0c02, 0x244a, | |
402 0x1828, 0x3016, 0x3c3a, 0x0c04, 0x244c, | |
403 0x1a28, 0x3216, 0x3e3a, 0x0e04, 0x264c, | |
404 0x1c28, 0x3416, 0x403a, 0x1004, 0x284c, | |
405 0x1c2a, 0x3418, 0x403c, 0x1006, 0x284e, | |
406 0x1a2a, 0x3218, 0x3e3c, 0x0e06, 0x264e, | |
407 0x182a, 0x3018, 0x3c3c, 0x0c06, 0x244e, | |
408 0x182c, 0x301a, 0x3c3e, 0x0c08, 0x2450, | |
409 0x1a2c, 0x321a, 0x3e3e, 0x0e08, 0x2650, | |
410 0x1c2c, 0x341a, 0x403e, 0x1008, 0x2850, | |
411 0x1c2e, 0x341c, 0x4040, 0x100a, 0x2852, | |
412 0x1a2e, 0x321c, 0x3e40, 0x0e0a, 0x2652, | |
413 0x182e, 0x301c, 0x3c40, 0x0c0a, 0x2452, | |
414 0x1830, 0x301e, 0x3c42, 0x0c0c, 0x2454, | |
415 0x1a30, 0x321e, 0x3e42, 0x0e0c, 0x2654, | |
416 0x1c30, 0x341e, 0x4042, 0x100c, 0x2854, | |
417 0x1c32, 0x3420, 0x4044, 0x100e, 0x2856, | |
418 0x1a32, 0x3220, 0x3e44, 0x0e0e, 0x2656, | |
419 0x1832, 0x3020, 0x3c44, 0x0c0e, 0x2456, | |
420 0x1834, 0x3022, 0x3c46, 0x0c10, 0x2458, | |
421 0x1a34, 0x3222, 0x3e46, 0x0e10, 0x2658, | |
422 0x1c34, 0x3422, 0x4046, 0x1010, 0x2858, | |
423 0x1e24, 0x3612, 0x4236, 0x1200, 0x2a48, | |
424 0x2024, 0x3812, 0x4436, 0x1400, 0x2c48, | |
425 0x2224, 0x3a12, 0x4636, 0x1600, 0x2e48, | |
426 0x2226, 0x3a14, 0x4638, 0x1602, 0x2e4a, | |
427 0x2026, 0x3814, 0x4438, 0x1402, 0x2c4a, | |
428 0x1e26, 0x3614, 0x4238, 0x1202, 0x2a4a, | |
429 0x1e28, 0x3616, 0x423a, 0x1204, 0x2a4c, | |
430 0x2028, 0x3816, 0x443a, 0x1404, 0x2c4c, | |
431 0x2228, 0x3a16, 0x463a, 0x1604, 0x2e4c, | |
432 0x222a, 0x3a18, 0x463c, 0x1606, 0x2e4e, | |
433 0x202a, 0x3818, 0x443c, 0x1406, 0x2c4e, | |
434 0x1e2a, 0x3618, 0x423c, 0x1206, 0x2a4e, | |
435 0x1e2c, 0x361a, 0x423e, 0x1208, 0x2a50, | |
436 0x202c, 0x381a, 0x443e, 0x1408, 0x2c50, | |
437 0x222c, 0x3a1a, 0x463e, 0x1608, 0x2e50, | |
438 0x222e, 0x3a1c, 0x4640, 0x160a, 0x2e52, | |
439 0x202e, 0x381c, 0x4440, 0x140a, 0x2c52, | |
440 0x1e2e, 0x361c, 0x4240, 0x120a, 0x2a52, | |
441 0x1e30, 0x361e, 0x4242, 0x120c, 0x2a54, | |
442 0x2030, 0x381e, 0x4442, 0x140c, 0x2c54, | |
443 0x2230, 0x3a1e, 0x4642, 0x160c, 0x2e54, | |
444 0x2232, 0x3a20, 0x4644, 0x160e, 0x2e56, | |
445 0x2032, 0x3820, 0x4444, 0x140e, 0x2c56, | |
446 0x1e32, 0x3620, 0x4244, 0x120e, 0x2a56, | |
447 0x1e34, 0x3622, 0x4246, 0x1210, 0x2a58, | |
448 0x2034, 0x3822, 0x4446, 0x1410, 0x2c58, | |
449 0x2234, 0x3a22, 0x4646, 0x1610, 0x2e58, | |
450 0x2424, 0x3c12, 0x0036, 0x1800, 0x3048, | |
451 0x2624, 0x3e12, 0x0236, 0x1a00, 0x3248, | |
452 0x2824, 0x4012, 0x0436, 0x1c00, 0x3448, | |
453 0x2826, 0x4014, 0x0438, 0x1c02, 0x344a, | |
454 0x2626, 0x3e14, 0x0238, 0x1a02, 0x324a, | |
455 0x2426, 0x3c14, 0x0038, 0x1802, 0x304a, | |
456 0x2428, 0x3c16, 0x003a, 0x1804, 0x304c, | |
457 0x2628, 0x3e16, 0x023a, 0x1a04, 0x324c, | |
458 0x2828, 0x4016, 0x043a, 0x1c04, 0x344c, | |
459 0x282a, 0x4018, 0x043c, 0x1c06, 0x344e, | |
460 0x262a, 0x3e18, 0x023c, 0x1a06, 0x324e, | |
461 0x242a, 0x3c18, 0x003c, 0x1806, 0x304e, | |
462 0x242c, 0x3c1a, 0x003e, 0x1808, 0x3050, | |
463 0x262c, 0x3e1a, 0x023e, 0x1a08, 0x3250, | |
464 0x282c, 0x401a, 0x043e, 0x1c08, 0x3450, | |
465 0x282e, 0x401c, 0x0440, 0x1c0a, 0x3452, | |
466 0x262e, 0x3e1c, 0x0240, 0x1a0a, 0x3252, | |
467 0x242e, 0x3c1c, 0x0040, 0x180a, 0x3052, | |
468 0x2430, 0x3c1e, 0x0042, 0x180c, 0x3054, | |
469 0x2630, 0x3e1e, 0x0242, 0x1a0c, 0x3254, | |
470 0x2830, 0x401e, 0x0442, 0x1c0c, 0x3454, | |
471 0x2832, 0x4020, 0x0444, 0x1c0e, 0x3456, | |
472 0x2632, 0x3e20, 0x0244, 0x1a0e, 0x3256, | |
473 0x2432, 0x3c20, 0x0044, 0x180e, 0x3056, | |
474 0x2434, 0x3c22, 0x0046, 0x1810, 0x3058, | |
475 0x2634, 0x3e22, 0x0246, 0x1a10, 0x3258, | |
476 0x2834, 0x4022, 0x0446, 0x1c10, 0x3458, | |
477 0x2a24, 0x4212, 0x0636, 0x1e00, 0x3648, | |
478 0x2c24, 0x4412, 0x0836, 0x2000, 0x3848, | |
479 0x2e24, 0x4612, 0x0a36, 0x2200, 0x3a48, | |
480 0x2e26, 0x4614, 0x0a38, 0x2202, 0x3a4a, | |
481 0x2c26, 0x4414, 0x0838, 0x2002, 0x384a, | |
482 0x2a26, 0x4214, 0x0638, 0x1e02, 0x364a, | |
483 0x2a28, 0x4216, 0x063a, 0x1e04, 0x364c, | |
484 0x2c28, 0x4416, 0x083a, 0x2004, 0x384c, | |
485 0x2e28, 0x4616, 0x0a3a, 0x2204, 0x3a4c, | |
486 0x2e2a, 0x4618, 0x0a3c, 0x2206, 0x3a4e, | |
487 0x2c2a, 0x4418, 0x083c, 0x2006, 0x384e, | |
488 0x2a2a, 0x4218, 0x063c, 0x1e06, 0x364e, | |
489 0x2a2c, 0x421a, 0x063e, 0x1e08, 0x3650, | |
490 0x2c2c, 0x441a, 0x083e, 0x2008, 0x3850, | |
491 0x2e2c, 0x461a, 0x0a3e, 0x2208, 0x3a50, | |
492 0x2e2e, 0x461c, 0x0a40, 0x220a, 0x3a52, | |
493 0x2c2e, 0x441c, 0x0840, 0x200a, 0x3852, | |
494 0x2a2e, 0x421c, 0x0640, 0x1e0a, 0x3652, | |
495 0x2a30, 0x421e, 0x0642, 0x1e0c, 0x3654, | |
496 0x2c30, 0x441e, 0x0842, 0x200c, 0x3854, | |
497 0x2e30, 0x461e, 0x0a42, 0x220c, 0x3a54, | |
498 0x2e32, 0x4620, 0x0a44, 0x220e, 0x3a56, | |
499 0x2c32, 0x4420, 0x0844, 0x200e, 0x3856, | |
500 0x2a32, 0x4220, 0x0644, 0x1e0e, 0x3656, | |
501 0x2a34, 0x4222, 0x0646, 0x1e10, 0x3658, | |
502 0x2c34, 0x4422, 0x0846, 0x2010, 0x3858, | |
503 0x2e34, 0x4622, 0x0a46, 0x2210, 0x3a58, | |
504 0x3024, 0x0012, 0x0c36, 0x2400, 0x3c48, | |
505 0x3224, 0x0212, 0x0e36, 0x2600, 0x3e48, | |
506 0x3424, 0x0412, 0x1036, 0x2800, 0x4048, | |
507 0x3426, 0x0414, 0x1038, 0x2802, 0x404a, | |
508 0x3226, 0x0214, 0x0e38, 0x2602, 0x3e4a, | |
509 0x3026, 0x0014, 0x0c38, 0x2402, 0x3c4a, | |
510 0x3028, 0x0016, 0x0c3a, 0x2404, 0x3c4c, | |
511 0x3228, 0x0216, 0x0e3a, 0x2604, 0x3e4c, | |
512 0x3428, 0x0416, 0x103a, 0x2804, 0x404c, | |
513 0x342a, 0x0418, 0x103c, 0x2806, 0x404e, | |
514 0x322a, 0x0218, 0x0e3c, 0x2606, 0x3e4e, | |
515 0x302a, 0x0018, 0x0c3c, 0x2406, 0x3c4e, | |
516 0x302c, 0x001a, 0x0c3e, 0x2408, 0x3c50, | |
517 0x322c, 0x021a, 0x0e3e, 0x2608, 0x3e50, | |
518 0x342c, 0x041a, 0x103e, 0x2808, 0x4050, | |
519 0x342e, 0x041c, 0x1040, 0x280a, 0x4052, | |
520 0x322e, 0x021c, 0x0e40, 0x260a, 0x3e52, | |
521 0x302e, 0x001c, 0x0c40, 0x240a, 0x3c52, | |
522 0x3030, 0x001e, 0x0c42, 0x240c, 0x3c54, | |
523 0x3230, 0x021e, 0x0e42, 0x260c, 0x3e54, | |
524 0x3430, 0x041e, 0x1042, 0x280c, 0x4054, | |
525 0x3432, 0x0420, 0x1044, 0x280e, 0x4056, | |
526 0x3232, 0x0220, 0x0e44, 0x260e, 0x3e56, | |
527 0x3032, 0x0020, 0x0c44, 0x240e, 0x3c56, | |
528 0x3034, 0x0022, 0x0c46, 0x2410, 0x3c58, | |
529 0x3234, 0x0222, 0x0e46, 0x2610, 0x3e58, | |
530 0x3434, 0x0422, 0x1046, 0x2810, 0x4058, | |
531 0x3624, 0x0612, 0x1236, 0x2a00, 0x4248, | |
532 0x3824, 0x0812, 0x1436, 0x2c00, 0x4448, | |
533 0x3a24, 0x0a12, 0x1636, 0x2e00, 0x4648, | |
534 0x3a26, 0x0a14, 0x1638, 0x2e02, 0x464a, | |
535 0x3826, 0x0814, 0x1438, 0x2c02, 0x444a, | |
536 0x3626, 0x0614, 0x1238, 0x2a02, 0x424a, | |
537 0x3628, 0x0616, 0x123a, 0x2a04, 0x424c, | |
538 0x3828, 0x0816, 0x143a, 0x2c04, 0x444c, | |
539 0x3a28, 0x0a16, 0x163a, 0x2e04, 0x464c, | |
540 0x3a2a, 0x0a18, 0x163c, 0x2e06, 0x464e, | |
541 0x382a, 0x0818, 0x143c, 0x2c06, 0x444e, | |
542 0x362a, 0x0618, 0x123c, 0x2a06, 0x424e, | |
543 0x362c, 0x061a, 0x123e, 0x2a08, 0x4250, | |
544 0x382c, 0x081a, 0x143e, 0x2c08, 0x4450, | |
545 0x3a2c, 0x0a1a, 0x163e, 0x2e08, 0x4650, | |
546 0x3a2e, 0x0a1c, 0x1640, 0x2e0a, 0x4652, | |
547 0x382e, 0x081c, 0x1440, 0x2c0a, 0x4452, | |
548 0x362e, 0x061c, 0x1240, 0x2a0a, 0x4252, | |
549 0x3630, 0x061e, 0x1242, 0x2a0c, 0x4254, | |
550 0x3830, 0x081e, 0x1442, 0x2c0c, 0x4454, | |
551 0x3a30, 0x0a1e, 0x1642, 0x2e0c, 0x4654, | |
552 0x3a32, 0x0a20, 0x1644, 0x2e0e, 0x4656, | |
553 0x3832, 0x0820, 0x1444, 0x2c0e, 0x4456, | |
554 0x3632, 0x0620, 0x1244, 0x2a0e, 0x4256, | |
555 0x3634, 0x0622, 0x1246, 0x2a10, 0x4258, | |
556 0x3834, 0x0822, 0x1446, 0x2c10, 0x4458, | |
557 0x3a34, 0x0a22, 0x1646, 0x2e10, 0x4658, | |
558 0x3c24, 0x0c12, 0x1836, 0x3000, 0x0048, | |
559 0x3e24, 0x0e12, 0x1a36, 0x3200, 0x0248, | |
560 0x4024, 0x1012, 0x1c36, 0x3400, 0x0448, | |
561 0x4026, 0x1014, 0x1c38, 0x3402, 0x044a, | |
562 0x3e26, 0x0e14, 0x1a38, 0x3202, 0x024a, | |
563 0x3c26, 0x0c14, 0x1838, 0x3002, 0x004a, | |
564 0x3c28, 0x0c16, 0x183a, 0x3004, 0x004c, | |
565 0x3e28, 0x0e16, 0x1a3a, 0x3204, 0x024c, | |
566 0x4028, 0x1016, 0x1c3a, 0x3404, 0x044c, | |
567 0x402a, 0x1018, 0x1c3c, 0x3406, 0x044e, | |
568 0x3e2a, 0x0e18, 0x1a3c, 0x3206, 0x024e, | |
569 0x3c2a, 0x0c18, 0x183c, 0x3006, 0x004e, | |
570 0x3c2c, 0x0c1a, 0x183e, 0x3008, 0x0050, | |
571 0x3e2c, 0x0e1a, 0x1a3e, 0x3208, 0x0250, | |
572 0x402c, 0x101a, 0x1c3e, 0x3408, 0x0450, | |
573 0x402e, 0x101c, 0x1c40, 0x340a, 0x0452, | |
574 0x3e2e, 0x0e1c, 0x1a40, 0x320a, 0x0252, | |
575 0x3c2e, 0x0c1c, 0x1840, 0x300a, 0x0052, | |
576 0x3c30, 0x0c1e, 0x1842, 0x300c, 0x0054, | |
577 0x3e30, 0x0e1e, 0x1a42, 0x320c, 0x0254, | |
578 0x4030, 0x101e, 0x1c42, 0x340c, 0x0454, | |
579 0x4032, 0x1020, 0x1c44, 0x340e, 0x0456, | |
580 0x3e32, 0x0e20, 0x1a44, 0x320e, 0x0256, | |
581 0x3c32, 0x0c20, 0x1844, 0x300e, 0x0056, | |
582 0x3c34, 0x0c22, 0x1846, 0x3010, 0x0058, | |
583 0x3e34, 0x0e22, 0x1a46, 0x3210, 0x0258, | |
584 0x4034, 0x1022, 0x1c46, 0x3410, 0x0458, | |
585 0x4224, 0x1212, 0x1e36, 0x3600, 0x0648, | |
586 0x4424, 0x1412, 0x2036, 0x3800, 0x0848, | |
587 0x4624, 0x1612, 0x2236, 0x3a00, 0x0a48, | |
588 0x4626, 0x1614, 0x2238, 0x3a02, 0x0a4a, | |
589 0x4426, 0x1414, 0x2038, 0x3802, 0x084a, | |
590 0x4226, 0x1214, 0x1e38, 0x3602, 0x064a, | |
591 0x4228, 0x1216, 0x1e3a, 0x3604, 0x064c, | |
592 0x4428, 0x1416, 0x203a, 0x3804, 0x084c, | |
593 0x4628, 0x1616, 0x223a, 0x3a04, 0x0a4c, | |
594 0x462a, 0x1618, 0x223c, 0x3a06, 0x0a4e, | |
595 0x442a, 0x1418, 0x203c, 0x3806, 0x084e, | |
596 0x422a, 0x1218, 0x1e3c, 0x3606, 0x064e, | |
597 0x422c, 0x121a, 0x1e3e, 0x3608, 0x0650, | |
598 0x442c, 0x141a, 0x203e, 0x3808, 0x0850, | |
599 0x462c, 0x161a, 0x223e, 0x3a08, 0x0a50, | |
600 0x462e, 0x161c, 0x2240, 0x3a0a, 0x0a52, | |
601 0x442e, 0x141c, 0x2040, 0x380a, 0x0852, | |
602 0x422e, 0x121c, 0x1e40, 0x360a, 0x0652, | |
603 0x4230, 0x121e, 0x1e42, 0x360c, 0x0654, | |
604 0x4430, 0x141e, 0x2042, 0x380c, 0x0854, | |
605 0x4630, 0x161e, 0x2242, 0x3a0c, 0x0a54, | |
606 0x4632, 0x1620, 0x2244, 0x3a0e, 0x0a56, | |
607 0x4432, 0x1420, 0x2044, 0x380e, 0x0856, | |
608 0x4232, 0x1220, 0x1e44, 0x360e, 0x0656, | |
609 0x4234, 0x1222, 0x1e46, 0x3610, 0x0658, | |
610 0x4434, 0x1422, 0x2046, 0x3810, 0x0858, | |
611 0x4634, 0x1622, 0x2246, 0x3a10, 0x0a58, | |
612 0x0024, 0x1812, 0x2436, 0x3c00, 0x0c48, | |
613 0x0224, 0x1a12, 0x2636, 0x3e00, 0x0e48, | |
614 0x0424, 0x1c12, 0x2836, 0x4000, 0x1048, | |
615 0x0426, 0x1c14, 0x2838, 0x4002, 0x104a, | |
616 0x0226, 0x1a14, 0x2638, 0x3e02, 0x0e4a, | |
617 0x0026, 0x1814, 0x2438, 0x3c02, 0x0c4a, | |
618 0x0028, 0x1816, 0x243a, 0x3c04, 0x0c4c, | |
619 0x0228, 0x1a16, 0x263a, 0x3e04, 0x0e4c, | |
620 0x0428, 0x1c16, 0x283a, 0x4004, 0x104c, | |
621 0x042a, 0x1c18, 0x283c, 0x4006, 0x104e, | |
622 0x022a, 0x1a18, 0x263c, 0x3e06, 0x0e4e, | |
623 0x002a, 0x1818, 0x243c, 0x3c06, 0x0c4e, | |
624 0x002c, 0x181a, 0x243e, 0x3c08, 0x0c50, | |
625 0x022c, 0x1a1a, 0x263e, 0x3e08, 0x0e50, | |
626 0x042c, 0x1c1a, 0x283e, 0x4008, 0x1050, | |
627 0x042e, 0x1c1c, 0x2840, 0x400a, 0x1052, | |
628 0x022e, 0x1a1c, 0x2640, 0x3e0a, 0x0e52, | |
629 0x002e, 0x181c, 0x2440, 0x3c0a, 0x0c52, | |
630 0x0030, 0x181e, 0x2442, 0x3c0c, 0x0c54, | |
631 0x0230, 0x1a1e, 0x2642, 0x3e0c, 0x0e54, | |
632 0x0430, 0x1c1e, 0x2842, 0x400c, 0x1054, | |
633 0x0432, 0x1c20, 0x2844, 0x400e, 0x1056, | |
634 0x0232, 0x1a20, 0x2644, 0x3e0e, 0x0e56, | |
635 0x0032, 0x1820, 0x2444, 0x3c0e, 0x0c56, | |
636 0x0034, 0x1822, 0x2446, 0x3c10, 0x0c58, | |
637 0x0234, 0x1a22, 0x2646, 0x3e10, 0x0e58, | |
638 0x0434, 0x1c22, 0x2846, 0x4010, 0x1058, | |
639 0x0624, 0x1e12, 0x2a36, 0x4200, 0x1248, | |
640 0x0824, 0x2012, 0x2c36, 0x4400, 0x1448, | |
641 0x0a24, 0x2212, 0x2e36, 0x4600, 0x1648, | |
642 0x0a26, 0x2214, 0x2e38, 0x4602, 0x164a, | |
643 0x0826, 0x2014, 0x2c38, 0x4402, 0x144a, | |
644 0x0626, 0x1e14, 0x2a38, 0x4202, 0x124a, | |
645 0x0628, 0x1e16, 0x2a3a, 0x4204, 0x124c, | |
646 0x0828, 0x2016, 0x2c3a, 0x4404, 0x144c, | |
647 0x0a28, 0x2216, 0x2e3a, 0x4604, 0x164c, | |
648 0x0a2a, 0x2218, 0x2e3c, 0x4606, 0x164e, | |
649 0x082a, 0x2018, 0x2c3c, 0x4406, 0x144e, | |
650 0x062a, 0x1e18, 0x2a3c, 0x4206, 0x124e, | |
651 0x062c, 0x1e1a, 0x2a3e, 0x4208, 0x1250, | |
652 0x082c, 0x201a, 0x2c3e, 0x4408, 0x1450, | |
653 0x0a2c, 0x221a, 0x2e3e, 0x4608, 0x1650, | |
654 0x0a2e, 0x221c, 0x2e40, 0x460a, 0x1652, | |
655 0x082e, 0x201c, 0x2c40, 0x440a, 0x1452, | |
656 0x062e, 0x1e1c, 0x2a40, 0x420a, 0x1252, | |
657 0x0630, 0x1e1e, 0x2a42, 0x420c, 0x1254, | |
658 0x0830, 0x201e, 0x2c42, 0x440c, 0x1454, | |
659 0x0a30, 0x221e, 0x2e42, 0x460c, 0x1654, | |
660 0x0a32, 0x2220, 0x2e44, 0x460e, 0x1656, | |
661 0x0832, 0x2020, 0x2c44, 0x440e, 0x1456, | |
662 0x0632, 0x1e20, 0x2a44, 0x420e, 0x1256, | |
663 0x0634, 0x1e22, 0x2a46, 0x4210, 0x1258, | |
664 0x0834, 0x2022, 0x2c46, 0x4410, 0x1458, | |
665 0x0a34, 0x2222, 0x2e46, 0x4610, 0x1658, | |
666 }; | |
667 | |
1087
7f10d38721ed
support for PAL 4:1:1 SMPTE 314M DV streams patch by (Roman Shaposhnick <rvs at sun dot com>)
michaelni
parents:
1064
diff
changeset
|
668 static const uint16_t dv_place_411P[1620] = { |
2967 | 669 0x0c24, 0x2710, 0x3334, 0x0000, 0x1848, |
670 0x0d24, 0x2810, 0x3434, 0x0100, 0x1948, | |
671 0x0e24, 0x2910, 0x3534, 0x0200, 0x1a48, | |
672 0x0f24, 0x2914, 0x3538, 0x0300, 0x1b48, | |
673 0x1024, 0x2814, 0x3438, 0x0400, 0x1c48, | |
674 0x1124, 0x2714, 0x3338, 0x0500, 0x1d48, | |
675 0x1128, 0x2614, 0x3238, 0x0504, 0x1d4c, | |
676 0x1028, 0x2514, 0x3138, 0x0404, 0x1c4c, | |
677 0x0f28, 0x2414, 0x3038, 0x0304, 0x1b4c, | |
678 0x0e28, 0x2418, 0x303c, 0x0204, 0x1a4c, | |
679 0x0d28, 0x2518, 0x313c, 0x0104, 0x194c, | |
680 0x0c28, 0x2618, 0x323c, 0x0004, 0x184c, | |
681 0x0c2c, 0x2718, 0x333c, 0x0008, 0x1850, | |
682 0x0d2c, 0x2818, 0x343c, 0x0108, 0x1950, | |
683 0x0e2c, 0x2918, 0x353c, 0x0208, 0x1a50, | |
684 0x0f2c, 0x291c, 0x3540, 0x0308, 0x1b50, | |
685 0x102c, 0x281c, 0x3440, 0x0408, 0x1c50, | |
686 0x112c, 0x271c, 0x3340, 0x0508, 0x1d50, | |
687 0x1130, 0x261c, 0x3240, 0x050c, 0x1d54, | |
688 0x1030, 0x251c, 0x3140, 0x040c, 0x1c54, | |
689 0x0f30, 0x241c, 0x3040, 0x030c, 0x1b54, | |
690 0x0e30, 0x2420, 0x3044, 0x020c, 0x1a54, | |
691 0x0d30, 0x2520, 0x3144, 0x010c, 0x1954, | |
692 0x0c30, 0x2620, 0x3244, 0x000c, 0x1854, | |
693 0x0c34, 0x2720, 0x3344, 0x0010, 0x1858, | |
694 0x0d34, 0x2820, 0x3444, 0x0110, 0x1a58, | |
695 0x0e34, 0x2920, 0x3544, 0x0210, 0x1c58, | |
696 0x1224, 0x2d10, 0x3934, 0x0600, 0x1e48, | |
697 0x1324, 0x2e10, 0x3a34, 0x0700, 0x1f48, | |
698 0x1424, 0x2f10, 0x3b34, 0x0800, 0x2048, | |
699 0x1524, 0x2f14, 0x3b38, 0x0900, 0x2148, | |
700 0x1624, 0x2e14, 0x3a38, 0x0a00, 0x2248, | |
701 0x1724, 0x2d14, 0x3938, 0x0b00, 0x2348, | |
702 0x1728, 0x2c14, 0x3838, 0x0b04, 0x234c, | |
703 0x1628, 0x2b14, 0x3738, 0x0a04, 0x224c, | |
704 0x1528, 0x2a14, 0x3638, 0x0904, 0x214c, | |
705 0x1428, 0x2a18, 0x363c, 0x0804, 0x204c, | |
706 0x1328, 0x2b18, 0x373c, 0x0704, 0x1f4c, | |
707 0x1228, 0x2c18, 0x383c, 0x0604, 0x1e4c, | |
708 0x122c, 0x2d18, 0x393c, 0x0608, 0x1e50, | |
709 0x132c, 0x2e18, 0x3a3c, 0x0708, 0x1f50, | |
710 0x142c, 0x2f18, 0x3b3c, 0x0808, 0x2050, | |
711 0x152c, 0x2f1c, 0x3b40, 0x0908, 0x2150, | |
712 0x162c, 0x2e1c, 0x3a40, 0x0a08, 0x2250, | |
713 0x172c, 0x2d1c, 0x3940, 0x0b08, 0x2350, | |
714 0x1730, 0x2c1c, 0x3840, 0x0b0c, 0x2354, | |
715 0x1630, 0x2b1c, 0x3740, 0x0a0c, 0x2254, | |
716 0x1530, 0x2a1c, 0x3640, 0x090c, 0x2154, | |
717 0x1430, 0x2a20, 0x3644, 0x080c, 0x2054, | |
718 0x1330, 0x2b20, 0x3744, 0x070c, 0x1f54, | |
719 0x1230, 0x2c20, 0x3844, 0x060c, 0x1e54, | |
720 0x1234, 0x2d20, 0x3944, 0x0610, 0x1e58, | |
721 0x1334, 0x2e20, 0x3a44, 0x0710, 0x2058, | |
722 0x1434, 0x2f20, 0x3b44, 0x0810, 0x2258, | |
723 0x1824, 0x3310, 0x3f34, 0x0c00, 0x2448, | |
724 0x1924, 0x3410, 0x4034, 0x0d00, 0x2548, | |
725 0x1a24, 0x3510, 0x4134, 0x0e00, 0x2648, | |
726 0x1b24, 0x3514, 0x4138, 0x0f00, 0x2748, | |
727 0x1c24, 0x3414, 0x4038, 0x1000, 0x2848, | |
728 0x1d24, 0x3314, 0x3f38, 0x1100, 0x2948, | |
729 0x1d28, 0x3214, 0x3e38, 0x1104, 0x294c, | |
730 0x1c28, 0x3114, 0x3d38, 0x1004, 0x284c, | |
731 0x1b28, 0x3014, 0x3c38, 0x0f04, 0x274c, | |
732 0x1a28, 0x3018, 0x3c3c, 0x0e04, 0x264c, | |
733 0x1928, 0x3118, 0x3d3c, 0x0d04, 0x254c, | |
734 0x1828, 0x3218, 0x3e3c, 0x0c04, 0x244c, | |
735 0x182c, 0x3318, 0x3f3c, 0x0c08, 0x2450, | |
736 0x192c, 0x3418, 0x403c, 0x0d08, 0x2550, | |
737 0x1a2c, 0x3518, 0x413c, 0x0e08, 0x2650, | |
738 0x1b2c, 0x351c, 0x4140, 0x0f08, 0x2750, | |
739 0x1c2c, 0x341c, 0x4040, 0x1008, 0x2850, | |
740 0x1d2c, 0x331c, 0x3f40, 0x1108, 0x2950, | |
741 0x1d30, 0x321c, 0x3e40, 0x110c, 0x2954, | |
742 0x1c30, 0x311c, 0x3d40, 0x100c, 0x2854, | |
743 0x1b30, 0x301c, 0x3c40, 0x0f0c, 0x2754, | |
744 0x1a30, 0x3020, 0x3c44, 0x0e0c, 0x2654, | |
745 0x1930, 0x3120, 0x3d44, 0x0d0c, 0x2554, | |
746 0x1830, 0x3220, 0x3e44, 0x0c0c, 0x2454, | |
747 0x1834, 0x3320, 0x3f44, 0x0c10, 0x2458, | |
748 0x1934, 0x3420, 0x4044, 0x0d10, 0x2658, | |
749 0x1a34, 0x3520, 0x4144, 0x0e10, 0x2858, | |
750 0x1e24, 0x3910, 0x4534, 0x1200, 0x2a48, | |
751 0x1f24, 0x3a10, 0x4634, 0x1300, 0x2b48, | |
752 0x2024, 0x3b10, 0x4734, 0x1400, 0x2c48, | |
753 0x2124, 0x3b14, 0x4738, 0x1500, 0x2d48, | |
754 0x2224, 0x3a14, 0x4638, 0x1600, 0x2e48, | |
755 0x2324, 0x3914, 0x4538, 0x1700, 0x2f48, | |
756 0x2328, 0x3814, 0x4438, 0x1704, 0x2f4c, | |
757 0x2228, 0x3714, 0x4338, 0x1604, 0x2e4c, | |
758 0x2128, 0x3614, 0x4238, 0x1504, 0x2d4c, | |
759 0x2028, 0x3618, 0x423c, 0x1404, 0x2c4c, | |
760 0x1f28, 0x3718, 0x433c, 0x1304, 0x2b4c, | |
761 0x1e28, 0x3818, 0x443c, 0x1204, 0x2a4c, | |
762 0x1e2c, 0x3918, 0x453c, 0x1208, 0x2a50, | |
763 0x1f2c, 0x3a18, 0x463c, 0x1308, 0x2b50, | |
764 0x202c, 0x3b18, 0x473c, 0x1408, 0x2c50, | |
765 0x212c, 0x3b1c, 0x4740, 0x1508, 0x2d50, | |
766 0x222c, 0x3a1c, 0x4640, 0x1608, 0x2e50, | |
767 0x232c, 0x391c, 0x4540, 0x1708, 0x2f50, | |
768 0x2330, 0x381c, 0x4440, 0x170c, 0x2f54, | |
769 0x2230, 0x371c, 0x4340, 0x160c, 0x2e54, | |
770 0x2130, 0x361c, 0x4240, 0x150c, 0x2d54, | |
771 0x2030, 0x3620, 0x4244, 0x140c, 0x2c54, | |
772 0x1f30, 0x3720, 0x4344, 0x130c, 0x2b54, | |
773 0x1e30, 0x3820, 0x4444, 0x120c, 0x2a54, | |
774 0x1e34, 0x3920, 0x4544, 0x1210, 0x2a58, | |
775 0x1f34, 0x3a20, 0x4644, 0x1310, 0x2c58, | |
776 0x2034, 0x3b20, 0x4744, 0x1410, 0x2e58, | |
777 0x2424, 0x3f10, 0x0334, 0x1800, 0x3048, | |
778 0x2524, 0x4010, 0x0434, 0x1900, 0x3148, | |
779 0x2624, 0x4110, 0x0534, 0x1a00, 0x3248, | |
780 0x2724, 0x4114, 0x0538, 0x1b00, 0x3348, | |
781 0x2824, 0x4014, 0x0438, 0x1c00, 0x3448, | |
782 0x2924, 0x3f14, 0x0338, 0x1d00, 0x3548, | |
783 0x2928, 0x3e14, 0x0238, 0x1d04, 0x354c, | |
784 0x2828, 0x3d14, 0x0138, 0x1c04, 0x344c, | |
785 0x2728, 0x3c14, 0x0038, 0x1b04, 0x334c, | |
786 0x2628, 0x3c18, 0x003c, 0x1a04, 0x324c, | |
787 0x2528, 0x3d18, 0x013c, 0x1904, 0x314c, | |
788 0x2428, 0x3e18, 0x023c, 0x1804, 0x304c, | |
789 0x242c, 0x3f18, 0x033c, 0x1808, 0x3050, | |
790 0x252c, 0x4018, 0x043c, 0x1908, 0x3150, | |
791 0x262c, 0x4118, 0x053c, 0x1a08, 0x3250, | |
792 0x272c, 0x411c, 0x0540, 0x1b08, 0x3350, | |
793 0x282c, 0x401c, 0x0440, 0x1c08, 0x3450, | |
794 0x292c, 0x3f1c, 0x0340, 0x1d08, 0x3550, | |
795 0x2930, 0x3e1c, 0x0240, 0x1d0c, 0x3554, | |
796 0x2830, 0x3d1c, 0x0140, 0x1c0c, 0x3454, | |
797 0x2730, 0x3c1c, 0x0040, 0x1b0c, 0x3354, | |
798 0x2630, 0x3c20, 0x0044, 0x1a0c, 0x3254, | |
799 0x2530, 0x3d20, 0x0144, 0x190c, 0x3154, | |
800 0x2430, 0x3e20, 0x0244, 0x180c, 0x3054, | |
801 0x2434, 0x3f20, 0x0344, 0x1810, 0x3058, | |
802 0x2534, 0x4020, 0x0444, 0x1910, 0x3258, | |
803 0x2634, 0x4120, 0x0544, 0x1a10, 0x3458, | |
804 0x2a24, 0x4510, 0x0934, 0x1e00, 0x3648, | |
805 0x2b24, 0x4610, 0x0a34, 0x1f00, 0x3748, | |
806 0x2c24, 0x4710, 0x0b34, 0x2000, 0x3848, | |
807 0x2d24, 0x4714, 0x0b38, 0x2100, 0x3948, | |
808 0x2e24, 0x4614, 0x0a38, 0x2200, 0x3a48, | |
809 0x2f24, 0x4514, 0x0938, 0x2300, 0x3b48, | |
810 0x2f28, 0x4414, 0x0838, 0x2304, 0x3b4c, | |
811 0x2e28, 0x4314, 0x0738, 0x2204, 0x3a4c, | |
812 0x2d28, 0x4214, 0x0638, 0x2104, 0x394c, | |
813 0x2c28, 0x4218, 0x063c, 0x2004, 0x384c, | |
814 0x2b28, 0x4318, 0x073c, 0x1f04, 0x374c, | |
815 0x2a28, 0x4418, 0x083c, 0x1e04, 0x364c, | |
816 0x2a2c, 0x4518, 0x093c, 0x1e08, 0x3650, | |
817 0x2b2c, 0x4618, 0x0a3c, 0x1f08, 0x3750, | |
818 0x2c2c, 0x4718, 0x0b3c, 0x2008, 0x3850, | |
819 0x2d2c, 0x471c, 0x0b40, 0x2108, 0x3950, | |
820 0x2e2c, 0x461c, 0x0a40, 0x2208, 0x3a50, | |
821 0x2f2c, 0x451c, 0x0940, 0x2308, 0x3b50, | |
822 0x2f30, 0x441c, 0x0840, 0x230c, 0x3b54, | |
823 0x2e30, 0x431c, 0x0740, 0x220c, 0x3a54, | |
824 0x2d30, 0x421c, 0x0640, 0x210c, 0x3954, | |
825 0x2c30, 0x4220, 0x0644, 0x200c, 0x3854, | |
826 0x2b30, 0x4320, 0x0744, 0x1f0c, 0x3754, | |
827 0x2a30, 0x4420, 0x0844, 0x1e0c, 0x3654, | |
828 0x2a34, 0x4520, 0x0944, 0x1e10, 0x3658, | |
829 0x2b34, 0x4620, 0x0a44, 0x1f10, 0x3858, | |
830 0x2c34, 0x4720, 0x0b44, 0x2010, 0x3a58, | |
831 0x3024, 0x0310, 0x0f34, 0x2400, 0x3c48, | |
832 0x3124, 0x0410, 0x1034, 0x2500, 0x3d48, | |
833 0x3224, 0x0510, 0x1134, 0x2600, 0x3e48, | |
834 0x3324, 0x0514, 0x1138, 0x2700, 0x3f48, | |
835 0x3424, 0x0414, 0x1038, 0x2800, 0x4048, | |
836 0x3524, 0x0314, 0x0f38, 0x2900, 0x4148, | |
837 0x3528, 0x0214, 0x0e38, 0x2904, 0x414c, | |
838 0x3428, 0x0114, 0x0d38, 0x2804, 0x404c, | |
839 0x3328, 0x0014, 0x0c38, 0x2704, 0x3f4c, | |
840 0x3228, 0x0018, 0x0c3c, 0x2604, 0x3e4c, | |
841 0x3128, 0x0118, 0x0d3c, 0x2504, 0x3d4c, | |
842 0x3028, 0x0218, 0x0e3c, 0x2404, 0x3c4c, | |
843 0x302c, 0x0318, 0x0f3c, 0x2408, 0x3c50, | |
844 0x312c, 0x0418, 0x103c, 0x2508, 0x3d50, | |
845 0x322c, 0x0518, 0x113c, 0x2608, 0x3e50, | |
846 0x332c, 0x051c, 0x1140, 0x2708, 0x3f50, | |
847 0x342c, 0x041c, 0x1040, 0x2808, 0x4050, | |
848 0x352c, 0x031c, 0x0f40, 0x2908, 0x4150, | |
849 0x3530, 0x021c, 0x0e40, 0x290c, 0x4154, | |
850 0x3430, 0x011c, 0x0d40, 0x280c, 0x4054, | |
851 0x3330, 0x001c, 0x0c40, 0x270c, 0x3f54, | |
852 0x3230, 0x0020, 0x0c44, 0x260c, 0x3e54, | |
853 0x3130, 0x0120, 0x0d44, 0x250c, 0x3d54, | |
854 0x3030, 0x0220, 0x0e44, 0x240c, 0x3c54, | |
855 0x3034, 0x0320, 0x0f44, 0x2410, 0x3c58, | |
856 0x3134, 0x0420, 0x1044, 0x2510, 0x3e58, | |
857 0x3234, 0x0520, 0x1144, 0x2610, 0x4058, | |
858 0x3624, 0x0910, 0x1534, 0x2a00, 0x4248, | |
859 0x3724, 0x0a10, 0x1634, 0x2b00, 0x4348, | |
860 0x3824, 0x0b10, 0x1734, 0x2c00, 0x4448, | |
861 0x3924, 0x0b14, 0x1738, 0x2d00, 0x4548, | |
862 0x3a24, 0x0a14, 0x1638, 0x2e00, 0x4648, | |
863 0x3b24, 0x0914, 0x1538, 0x2f00, 0x4748, | |
864 0x3b28, 0x0814, 0x1438, 0x2f04, 0x474c, | |
865 0x3a28, 0x0714, 0x1338, 0x2e04, 0x464c, | |
866 0x3928, 0x0614, 0x1238, 0x2d04, 0x454c, | |
867 0x3828, 0x0618, 0x123c, 0x2c04, 0x444c, | |
868 0x3728, 0x0718, 0x133c, 0x2b04, 0x434c, | |
869 0x3628, 0x0818, 0x143c, 0x2a04, 0x424c, | |
870 0x362c, 0x0918, 0x153c, 0x2a08, 0x4250, | |
871 0x372c, 0x0a18, 0x163c, 0x2b08, 0x4350, | |
872 0x382c, 0x0b18, 0x173c, 0x2c08, 0x4450, | |
873 0x392c, 0x0b1c, 0x1740, 0x2d08, 0x4550, | |
874 0x3a2c, 0x0a1c, 0x1640, 0x2e08, 0x4650, | |
875 0x3b2c, 0x091c, 0x1540, 0x2f08, 0x4750, | |
876 0x3b30, 0x081c, 0x1440, 0x2f0c, 0x4754, | |
877 0x3a30, 0x071c, 0x1340, 0x2e0c, 0x4654, | |
878 0x3930, 0x061c, 0x1240, 0x2d0c, 0x4554, | |
879 0x3830, 0x0620, 0x1244, 0x2c0c, 0x4454, | |
880 0x3730, 0x0720, 0x1344, 0x2b0c, 0x4354, | |
881 0x3630, 0x0820, 0x1444, 0x2a0c, 0x4254, | |
882 0x3634, 0x0920, 0x1544, 0x2a10, 0x4258, | |
883 0x3734, 0x0a20, 0x1644, 0x2b10, 0x4458, | |
884 0x3834, 0x0b20, 0x1744, 0x2c10, 0x4658, | |
885 0x3c24, 0x0f10, 0x1b34, 0x3000, 0x0048, | |
886 0x3d24, 0x1010, 0x1c34, 0x3100, 0x0148, | |
887 0x3e24, 0x1110, 0x1d34, 0x3200, 0x0248, | |
888 0x3f24, 0x1114, 0x1d38, 0x3300, 0x0348, | |
889 0x4024, 0x1014, 0x1c38, 0x3400, 0x0448, | |
890 0x4124, 0x0f14, 0x1b38, 0x3500, 0x0548, | |
891 0x4128, 0x0e14, 0x1a38, 0x3504, 0x054c, | |
892 0x4028, 0x0d14, 0x1938, 0x3404, 0x044c, | |
893 0x3f28, 0x0c14, 0x1838, 0x3304, 0x034c, | |
894 0x3e28, 0x0c18, 0x183c, 0x3204, 0x024c, | |
895 0x3d28, 0x0d18, 0x193c, 0x3104, 0x014c, | |
896 0x3c28, 0x0e18, 0x1a3c, 0x3004, 0x004c, | |
897 0x3c2c, 0x0f18, 0x1b3c, 0x3008, 0x0050, | |
898 0x3d2c, 0x1018, 0x1c3c, 0x3108, 0x0150, | |
899 0x3e2c, 0x1118, 0x1d3c, 0x3208, 0x0250, | |
900 0x3f2c, 0x111c, 0x1d40, 0x3308, 0x0350, | |
901 0x402c, 0x101c, 0x1c40, 0x3408, 0x0450, | |
902 0x412c, 0x0f1c, 0x1b40, 0x3508, 0x0550, | |
903 0x4130, 0x0e1c, 0x1a40, 0x350c, 0x0554, | |
904 0x4030, 0x0d1c, 0x1940, 0x340c, 0x0454, | |
905 0x3f30, 0x0c1c, 0x1840, 0x330c, 0x0354, | |
906 0x3e30, 0x0c20, 0x1844, 0x320c, 0x0254, | |
907 0x3d30, 0x0d20, 0x1944, 0x310c, 0x0154, | |
908 0x3c30, 0x0e20, 0x1a44, 0x300c, 0x0054, | |
909 0x3c34, 0x0f20, 0x1b44, 0x3010, 0x0058, | |
910 0x3d34, 0x1020, 0x1c44, 0x3110, 0x0258, | |
911 0x3e34, 0x1120, 0x1d44, 0x3210, 0x0458, | |
912 0x4224, 0x1510, 0x2134, 0x3600, 0x0648, | |
913 0x4324, 0x1610, 0x2234, 0x3700, 0x0748, | |
914 0x4424, 0x1710, 0x2334, 0x3800, 0x0848, | |
915 0x4524, 0x1714, 0x2338, 0x3900, 0x0948, | |
916 0x4624, 0x1614, 0x2238, 0x3a00, 0x0a48, | |
917 0x4724, 0x1514, 0x2138, 0x3b00, 0x0b48, | |
918 0x4728, 0x1414, 0x2038, 0x3b04, 0x0b4c, | |
919 0x4628, 0x1314, 0x1f38, 0x3a04, 0x0a4c, | |
920 0x4528, 0x1214, 0x1e38, 0x3904, 0x094c, | |
921 0x4428, 0x1218, 0x1e3c, 0x3804, 0x084c, | |
922 0x4328, 0x1318, 0x1f3c, 0x3704, 0x074c, | |
923 0x4228, 0x1418, 0x203c, 0x3604, 0x064c, | |
924 0x422c, 0x1518, 0x213c, 0x3608, 0x0650, | |
925 0x432c, 0x1618, 0x223c, 0x3708, 0x0750, | |
926 0x442c, 0x1718, 0x233c, 0x3808, 0x0850, | |
927 0x452c, 0x171c, 0x2340, 0x3908, 0x0950, | |
928 0x462c, 0x161c, 0x2240, 0x3a08, 0x0a50, | |
929 0x472c, 0x151c, 0x2140, 0x3b08, 0x0b50, | |
930 0x4730, 0x141c, 0x2040, 0x3b0c, 0x0b54, | |
931 0x4630, 0x131c, 0x1f40, 0x3a0c, 0x0a54, | |
932 0x4530, 0x121c, 0x1e40, 0x390c, 0x0954, | |
933 0x4430, 0x1220, 0x1e44, 0x380c, 0x0854, | |
934 0x4330, 0x1320, 0x1f44, 0x370c, 0x0754, | |
935 0x4230, 0x1420, 0x2044, 0x360c, 0x0654, | |
936 0x4234, 0x1520, 0x2144, 0x3610, 0x0658, | |
937 0x4334, 0x1620, 0x2244, 0x3710, 0x0858, | |
938 0x4434, 0x1720, 0x2344, 0x3810, 0x0a58, | |
939 0x0024, 0x1b10, 0x2734, 0x3c00, 0x0c48, | |
940 0x0124, 0x1c10, 0x2834, 0x3d00, 0x0d48, | |
941 0x0224, 0x1d10, 0x2934, 0x3e00, 0x0e48, | |
942 0x0324, 0x1d14, 0x2938, 0x3f00, 0x0f48, | |
943 0x0424, 0x1c14, 0x2838, 0x4000, 0x1048, | |
944 0x0524, 0x1b14, 0x2738, 0x4100, 0x1148, | |
945 0x0528, 0x1a14, 0x2638, 0x4104, 0x114c, | |
946 0x0428, 0x1914, 0x2538, 0x4004, 0x104c, | |
947 0x0328, 0x1814, 0x2438, 0x3f04, 0x0f4c, | |
948 0x0228, 0x1818, 0x243c, 0x3e04, 0x0e4c, | |
949 0x0128, 0x1918, 0x253c, 0x3d04, 0x0d4c, | |
950 0x0028, 0x1a18, 0x263c, 0x3c04, 0x0c4c, | |
951 0x002c, 0x1b18, 0x273c, 0x3c08, 0x0c50, | |
952 0x012c, 0x1c18, 0x283c, 0x3d08, 0x0d50, | |
953 0x022c, 0x1d18, 0x293c, 0x3e08, 0x0e50, | |
954 0x032c, 0x1d1c, 0x2940, 0x3f08, 0x0f50, | |
955 0x042c, 0x1c1c, 0x2840, 0x4008, 0x1050, | |
956 0x052c, 0x1b1c, 0x2740, 0x4108, 0x1150, | |
957 0x0530, 0x1a1c, 0x2640, 0x410c, 0x1154, | |
958 0x0430, 0x191c, 0x2540, 0x400c, 0x1054, | |
959 0x0330, 0x181c, 0x2440, 0x3f0c, 0x0f54, | |
960 0x0230, 0x1820, 0x2444, 0x3e0c, 0x0e54, | |
961 0x0130, 0x1920, 0x2544, 0x3d0c, 0x0d54, | |
962 0x0030, 0x1a20, 0x2644, 0x3c0c, 0x0c54, | |
963 0x0034, 0x1b20, 0x2744, 0x3c10, 0x0c58, | |
964 0x0134, 0x1c20, 0x2844, 0x3d10, 0x0e58, | |
965 0x0234, 0x1d20, 0x2944, 0x3e10, 0x1058, | |
966 0x0624, 0x2110, 0x2d34, 0x4200, 0x1248, | |
967 0x0724, 0x2210, 0x2e34, 0x4300, 0x1348, | |
968 0x0824, 0x2310, 0x2f34, 0x4400, 0x1448, | |
969 0x0924, 0x2314, 0x2f38, 0x4500, 0x1548, | |
970 0x0a24, 0x2214, 0x2e38, 0x4600, 0x1648, | |
971 0x0b24, 0x2114, 0x2d38, 0x4700, 0x1748, | |
972 0x0b28, 0x2014, 0x2c38, 0x4704, 0x174c, | |
973 0x0a28, 0x1f14, 0x2b38, 0x4604, 0x164c, | |
974 0x0928, 0x1e14, 0x2a38, 0x4504, 0x154c, | |
975 0x0828, 0x1e18, 0x2a3c, 0x4404, 0x144c, | |
976 0x0728, 0x1f18, 0x2b3c, 0x4304, 0x134c, | |
977 0x0628, 0x2018, 0x2c3c, 0x4204, 0x124c, | |
978 0x062c, 0x2118, 0x2d3c, 0x4208, 0x1250, | |
979 0x072c, 0x2218, 0x2e3c, 0x4308, 0x1350, | |
980 0x082c, 0x2318, 0x2f3c, 0x4408, 0x1450, | |
981 0x092c, 0x231c, 0x2f40, 0x4508, 0x1550, | |
982 0x0a2c, 0x221c, 0x2e40, 0x4608, 0x1650, | |
983 0x0b2c, 0x211c, 0x2d40, 0x4708, 0x1750, | |
984 0x0b30, 0x201c, 0x2c40, 0x470c, 0x1754, | |
985 0x0a30, 0x1f1c, 0x2b40, 0x460c, 0x1654, | |
986 0x0930, 0x1e1c, 0x2a40, 0x450c, 0x1554, | |
987 0x0830, 0x1e20, 0x2a44, 0x440c, 0x1454, | |
988 0x0730, 0x1f20, 0x2b44, 0x430c, 0x1354, | |
989 0x0630, 0x2020, 0x2c44, 0x420c, 0x1254, | |
990 0x0634, 0x2120, 0x2d44, 0x4210, 0x1258, | |
991 0x0734, 0x2220, 0x2e44, 0x4310, 0x1458, | |
1087
7f10d38721ed
support for PAL 4:1:1 SMPTE 314M DV streams patch by (Roman Shaposhnick <rvs at sun dot com>)
michaelni
parents:
1064
diff
changeset
|
992 0x0834, 0x2320, 0x2f44, 0x4410, 0x1658, |
7f10d38721ed
support for PAL 4:1:1 SMPTE 314M DV streams patch by (Roman Shaposhnick <rvs at sun dot com>)
michaelni
parents:
1064
diff
changeset
|
993 }; |
7f10d38721ed
support for PAL 4:1:1 SMPTE 314M DV streams patch by (Roman Shaposhnick <rvs at sun dot com>)
michaelni
parents:
1064
diff
changeset
|
994 |
1064 | 995 static const uint16_t dv_place_411[1350] = { |
723 | 996 0x0c24, 0x2710, 0x3334, 0x0000, 0x1848, |
997 0x0d24, 0x2810, 0x3434, 0x0100, 0x1948, | |
998 0x0e24, 0x2910, 0x3534, 0x0200, 0x1a48, | |
999 0x0f24, 0x2914, 0x3538, 0x0300, 0x1b48, | |
1000 0x1024, 0x2814, 0x3438, 0x0400, 0x1c48, | |
1001 0x1124, 0x2714, 0x3338, 0x0500, 0x1d48, | |
1002 0x1128, 0x2614, 0x3238, 0x0504, 0x1d4c, | |
1003 0x1028, 0x2514, 0x3138, 0x0404, 0x1c4c, | |
1004 0x0f28, 0x2414, 0x3038, 0x0304, 0x1b4c, | |
1005 0x0e28, 0x2418, 0x303c, 0x0204, 0x1a4c, | |
1006 0x0d28, 0x2518, 0x313c, 0x0104, 0x194c, | |
1007 0x0c28, 0x2618, 0x323c, 0x0004, 0x184c, | |
1008 0x0c2c, 0x2718, 0x333c, 0x0008, 0x1850, | |
1009 0x0d2c, 0x2818, 0x343c, 0x0108, 0x1950, | |
1010 0x0e2c, 0x2918, 0x353c, 0x0208, 0x1a50, | |
1011 0x0f2c, 0x291c, 0x3540, 0x0308, 0x1b50, | |
1012 0x102c, 0x281c, 0x3440, 0x0408, 0x1c50, | |
1013 0x112c, 0x271c, 0x3340, 0x0508, 0x1d50, | |
1014 0x1130, 0x261c, 0x3240, 0x050c, 0x1d54, | |
1015 0x1030, 0x251c, 0x3140, 0x040c, 0x1c54, | |
1016 0x0f30, 0x241c, 0x3040, 0x030c, 0x1b54, | |
1017 0x0e30, 0x2420, 0x3044, 0x020c, 0x1a54, | |
1018 0x0d30, 0x2520, 0x3144, 0x010c, 0x1954, | |
1019 0x0c30, 0x2620, 0x3244, 0x000c, 0x1854, | |
1020 0x0c34, 0x2720, 0x3344, 0x0010, 0x1858, | |
1021 0x0d34, 0x2820, 0x3444, 0x0110, 0x1a58, | |
1022 0x0e34, 0x2920, 0x3544, 0x0210, 0x1c58, | |
1023 0x1224, 0x2d10, 0x3934, 0x0600, 0x1e48, | |
1024 0x1324, 0x2e10, 0x3a34, 0x0700, 0x1f48, | |
1025 0x1424, 0x2f10, 0x3b34, 0x0800, 0x2048, | |
1026 0x1524, 0x2f14, 0x3b38, 0x0900, 0x2148, | |
1027 0x1624, 0x2e14, 0x3a38, 0x0a00, 0x2248, | |
1028 0x1724, 0x2d14, 0x3938, 0x0b00, 0x2348, | |
1029 0x1728, 0x2c14, 0x3838, 0x0b04, 0x234c, | |
1030 0x1628, 0x2b14, 0x3738, 0x0a04, 0x224c, | |
1031 0x1528, 0x2a14, 0x3638, 0x0904, 0x214c, | |
1032 0x1428, 0x2a18, 0x363c, 0x0804, 0x204c, | |
1033 0x1328, 0x2b18, 0x373c, 0x0704, 0x1f4c, | |
1034 0x1228, 0x2c18, 0x383c, 0x0604, 0x1e4c, | |
1035 0x122c, 0x2d18, 0x393c, 0x0608, 0x1e50, | |
1036 0x132c, 0x2e18, 0x3a3c, 0x0708, 0x1f50, | |
1037 0x142c, 0x2f18, 0x3b3c, 0x0808, 0x2050, | |
1038 0x152c, 0x2f1c, 0x3b40, 0x0908, 0x2150, | |
1039 0x162c, 0x2e1c, 0x3a40, 0x0a08, 0x2250, | |
1040 0x172c, 0x2d1c, 0x3940, 0x0b08, 0x2350, | |
1041 0x1730, 0x2c1c, 0x3840, 0x0b0c, 0x2354, | |
1042 0x1630, 0x2b1c, 0x3740, 0x0a0c, 0x2254, | |
1043 0x1530, 0x2a1c, 0x3640, 0x090c, 0x2154, | |
1044 0x1430, 0x2a20, 0x3644, 0x080c, 0x2054, | |
1045 0x1330, 0x2b20, 0x3744, 0x070c, 0x1f54, | |
1046 0x1230, 0x2c20, 0x3844, 0x060c, 0x1e54, | |
1047 0x1234, 0x2d20, 0x3944, 0x0610, 0x1e58, | |
1048 0x1334, 0x2e20, 0x3a44, 0x0710, 0x2058, | |
1049 0x1434, 0x2f20, 0x3b44, 0x0810, 0x2258, | |
1050 0x1824, 0x3310, 0x0334, 0x0c00, 0x2448, | |
1051 0x1924, 0x3410, 0x0434, 0x0d00, 0x2548, | |
1052 0x1a24, 0x3510, 0x0534, 0x0e00, 0x2648, | |
1053 0x1b24, 0x3514, 0x0538, 0x0f00, 0x2748, | |
1054 0x1c24, 0x3414, 0x0438, 0x1000, 0x2848, | |
1055 0x1d24, 0x3314, 0x0338, 0x1100, 0x2948, | |
1056 0x1d28, 0x3214, 0x0238, 0x1104, 0x294c, | |
1057 0x1c28, 0x3114, 0x0138, 0x1004, 0x284c, | |
1058 0x1b28, 0x3014, 0x0038, 0x0f04, 0x274c, | |
1059 0x1a28, 0x3018, 0x003c, 0x0e04, 0x264c, | |
1060 0x1928, 0x3118, 0x013c, 0x0d04, 0x254c, | |
1061 0x1828, 0x3218, 0x023c, 0x0c04, 0x244c, | |
1062 0x182c, 0x3318, 0x033c, 0x0c08, 0x2450, | |
1063 0x192c, 0x3418, 0x043c, 0x0d08, 0x2550, | |
1064 0x1a2c, 0x3518, 0x053c, 0x0e08, 0x2650, | |
1065 0x1b2c, 0x351c, 0x0540, 0x0f08, 0x2750, | |
1066 0x1c2c, 0x341c, 0x0440, 0x1008, 0x2850, | |
1067 0x1d2c, 0x331c, 0x0340, 0x1108, 0x2950, | |
1068 0x1d30, 0x321c, 0x0240, 0x110c, 0x2954, | |
1069 0x1c30, 0x311c, 0x0140, 0x100c, 0x2854, | |
1070 0x1b30, 0x301c, 0x0040, 0x0f0c, 0x2754, | |
1071 0x1a30, 0x3020, 0x0044, 0x0e0c, 0x2654, | |
1072 0x1930, 0x3120, 0x0144, 0x0d0c, 0x2554, | |
1073 0x1830, 0x3220, 0x0244, 0x0c0c, 0x2454, | |
1074 0x1834, 0x3320, 0x0344, 0x0c10, 0x2458, | |
1075 0x1934, 0x3420, 0x0444, 0x0d10, 0x2658, | |
1076 0x1a34, 0x3520, 0x0544, 0x0e10, 0x2858, | |
1077 0x1e24, 0x3910, 0x0934, 0x1200, 0x2a48, | |
1078 0x1f24, 0x3a10, 0x0a34, 0x1300, 0x2b48, | |
1079 0x2024, 0x3b10, 0x0b34, 0x1400, 0x2c48, | |
1080 0x2124, 0x3b14, 0x0b38, 0x1500, 0x2d48, | |
1081 0x2224, 0x3a14, 0x0a38, 0x1600, 0x2e48, | |
1082 0x2324, 0x3914, 0x0938, 0x1700, 0x2f48, | |
1083 0x2328, 0x3814, 0x0838, 0x1704, 0x2f4c, | |
1084 0x2228, 0x3714, 0x0738, 0x1604, 0x2e4c, | |
1085 0x2128, 0x3614, 0x0638, 0x1504, 0x2d4c, | |
1086 0x2028, 0x3618, 0x063c, 0x1404, 0x2c4c, | |
1087 0x1f28, 0x3718, 0x073c, 0x1304, 0x2b4c, | |
1088 0x1e28, 0x3818, 0x083c, 0x1204, 0x2a4c, | |
1089 0x1e2c, 0x3918, 0x093c, 0x1208, 0x2a50, | |
1090 0x1f2c, 0x3a18, 0x0a3c, 0x1308, 0x2b50, | |
1091 0x202c, 0x3b18, 0x0b3c, 0x1408, 0x2c50, | |
1092 0x212c, 0x3b1c, 0x0b40, 0x1508, 0x2d50, | |
1093 0x222c, 0x3a1c, 0x0a40, 0x1608, 0x2e50, | |
1094 0x232c, 0x391c, 0x0940, 0x1708, 0x2f50, | |
1095 0x2330, 0x381c, 0x0840, 0x170c, 0x2f54, | |
1096 0x2230, 0x371c, 0x0740, 0x160c, 0x2e54, | |
1097 0x2130, 0x361c, 0x0640, 0x150c, 0x2d54, | |
1098 0x2030, 0x3620, 0x0644, 0x140c, 0x2c54, | |
1099 0x1f30, 0x3720, 0x0744, 0x130c, 0x2b54, | |
1100 0x1e30, 0x3820, 0x0844, 0x120c, 0x2a54, | |
1101 0x1e34, 0x3920, 0x0944, 0x1210, 0x2a58, | |
1102 0x1f34, 0x3a20, 0x0a44, 0x1310, 0x2c58, | |
1103 0x2034, 0x3b20, 0x0b44, 0x1410, 0x2e58, | |
1104 0x2424, 0x0310, 0x0f34, 0x1800, 0x3048, | |
1105 0x2524, 0x0410, 0x1034, 0x1900, 0x3148, | |
1106 0x2624, 0x0510, 0x1134, 0x1a00, 0x3248, | |
1107 0x2724, 0x0514, 0x1138, 0x1b00, 0x3348, | |
1108 0x2824, 0x0414, 0x1038, 0x1c00, 0x3448, | |
1109 0x2924, 0x0314, 0x0f38, 0x1d00, 0x3548, | |
1110 0x2928, 0x0214, 0x0e38, 0x1d04, 0x354c, | |
1111 0x2828, 0x0114, 0x0d38, 0x1c04, 0x344c, | |
1112 0x2728, 0x0014, 0x0c38, 0x1b04, 0x334c, | |
1113 0x2628, 0x0018, 0x0c3c, 0x1a04, 0x324c, | |
1114 0x2528, 0x0118, 0x0d3c, 0x1904, 0x314c, | |
1115 0x2428, 0x0218, 0x0e3c, 0x1804, 0x304c, | |
1116 0x242c, 0x0318, 0x0f3c, 0x1808, 0x3050, | |
1117 0x252c, 0x0418, 0x103c, 0x1908, 0x3150, | |
1118 0x262c, 0x0518, 0x113c, 0x1a08, 0x3250, | |
1119 0x272c, 0x051c, 0x1140, 0x1b08, 0x3350, | |
1120 0x282c, 0x041c, 0x1040, 0x1c08, 0x3450, | |
1121 0x292c, 0x031c, 0x0f40, 0x1d08, 0x3550, | |
1122 0x2930, 0x021c, 0x0e40, 0x1d0c, 0x3554, | |
1123 0x2830, 0x011c, 0x0d40, 0x1c0c, 0x3454, | |
1124 0x2730, 0x001c, 0x0c40, 0x1b0c, 0x3354, | |
1125 0x2630, 0x0020, 0x0c44, 0x1a0c, 0x3254, | |
1126 0x2530, 0x0120, 0x0d44, 0x190c, 0x3154, | |
1127 0x2430, 0x0220, 0x0e44, 0x180c, 0x3054, | |
1128 0x2434, 0x0320, 0x0f44, 0x1810, 0x3058, | |
1129 0x2534, 0x0420, 0x1044, 0x1910, 0x3258, | |
1130 0x2634, 0x0520, 0x1144, 0x1a10, 0x3458, | |
1131 0x2a24, 0x0910, 0x1534, 0x1e00, 0x3648, | |
1132 0x2b24, 0x0a10, 0x1634, 0x1f00, 0x3748, | |
1133 0x2c24, 0x0b10, 0x1734, 0x2000, 0x3848, | |
1134 0x2d24, 0x0b14, 0x1738, 0x2100, 0x3948, | |
1135 0x2e24, 0x0a14, 0x1638, 0x2200, 0x3a48, | |
1136 0x2f24, 0x0914, 0x1538, 0x2300, 0x3b48, | |
1137 0x2f28, 0x0814, 0x1438, 0x2304, 0x3b4c, | |
1138 0x2e28, 0x0714, 0x1338, 0x2204, 0x3a4c, | |
1139 0x2d28, 0x0614, 0x1238, 0x2104, 0x394c, | |
1140 0x2c28, 0x0618, 0x123c, 0x2004, 0x384c, | |
1141 0x2b28, 0x0718, 0x133c, 0x1f04, 0x374c, | |
1142 0x2a28, 0x0818, 0x143c, 0x1e04, 0x364c, | |
1143 0x2a2c, 0x0918, 0x153c, 0x1e08, 0x3650, | |
1144 0x2b2c, 0x0a18, 0x163c, 0x1f08, 0x3750, | |
1145 0x2c2c, 0x0b18, 0x173c, 0x2008, 0x3850, | |
1146 0x2d2c, 0x0b1c, 0x1740, 0x2108, 0x3950, | |
1147 0x2e2c, 0x0a1c, 0x1640, 0x2208, 0x3a50, | |
1148 0x2f2c, 0x091c, 0x1540, 0x2308, 0x3b50, | |
1149 0x2f30, 0x081c, 0x1440, 0x230c, 0x3b54, | |
1150 0x2e30, 0x071c, 0x1340, 0x220c, 0x3a54, | |
1151 0x2d30, 0x061c, 0x1240, 0x210c, 0x3954, | |
1152 0x2c30, 0x0620, 0x1244, 0x200c, 0x3854, | |
1153 0x2b30, 0x0720, 0x1344, 0x1f0c, 0x3754, | |
1154 0x2a30, 0x0820, 0x1444, 0x1e0c, 0x3654, | |
1155 0x2a34, 0x0920, 0x1544, 0x1e10, 0x3658, | |
1156 0x2b34, 0x0a20, 0x1644, 0x1f10, 0x3858, | |
1157 0x2c34, 0x0b20, 0x1744, 0x2010, 0x3a58, | |
1158 0x3024, 0x0f10, 0x1b34, 0x2400, 0x0048, | |
1159 0x3124, 0x1010, 0x1c34, 0x2500, 0x0148, | |
1160 0x3224, 0x1110, 0x1d34, 0x2600, 0x0248, | |
1161 0x3324, 0x1114, 0x1d38, 0x2700, 0x0348, | |
1162 0x3424, 0x1014, 0x1c38, 0x2800, 0x0448, | |
1163 0x3524, 0x0f14, 0x1b38, 0x2900, 0x0548, | |
1164 0x3528, 0x0e14, 0x1a38, 0x2904, 0x054c, | |
1165 0x3428, 0x0d14, 0x1938, 0x2804, 0x044c, | |
1166 0x3328, 0x0c14, 0x1838, 0x2704, 0x034c, | |
1167 0x3228, 0x0c18, 0x183c, 0x2604, 0x024c, | |
1168 0x3128, 0x0d18, 0x193c, 0x2504, 0x014c, | |
1169 0x3028, 0x0e18, 0x1a3c, 0x2404, 0x004c, | |
1170 0x302c, 0x0f18, 0x1b3c, 0x2408, 0x0050, | |
1171 0x312c, 0x1018, 0x1c3c, 0x2508, 0x0150, | |
1172 0x322c, 0x1118, 0x1d3c, 0x2608, 0x0250, | |
1173 0x332c, 0x111c, 0x1d40, 0x2708, 0x0350, | |
1174 0x342c, 0x101c, 0x1c40, 0x2808, 0x0450, | |
1175 0x352c, 0x0f1c, 0x1b40, 0x2908, 0x0550, | |
1176 0x3530, 0x0e1c, 0x1a40, 0x290c, 0x0554, | |
1177 0x3430, 0x0d1c, 0x1940, 0x280c, 0x0454, | |
1178 0x3330, 0x0c1c, 0x1840, 0x270c, 0x0354, | |
1179 0x3230, 0x0c20, 0x1844, 0x260c, 0x0254, | |
1180 0x3130, 0x0d20, 0x1944, 0x250c, 0x0154, | |
1181 0x3030, 0x0e20, 0x1a44, 0x240c, 0x0054, | |
1182 0x3034, 0x0f20, 0x1b44, 0x2410, 0x0058, | |
1183 0x3134, 0x1020, 0x1c44, 0x2510, 0x0258, | |
1184 0x3234, 0x1120, 0x1d44, 0x2610, 0x0458, | |
1185 0x3624, 0x1510, 0x2134, 0x2a00, 0x0648, | |
1186 0x3724, 0x1610, 0x2234, 0x2b00, 0x0748, | |
1187 0x3824, 0x1710, 0x2334, 0x2c00, 0x0848, | |
1188 0x3924, 0x1714, 0x2338, 0x2d00, 0x0948, | |
1189 0x3a24, 0x1614, 0x2238, 0x2e00, 0x0a48, | |
1190 0x3b24, 0x1514, 0x2138, 0x2f00, 0x0b48, | |
1191 0x3b28, 0x1414, 0x2038, 0x2f04, 0x0b4c, | |
1192 0x3a28, 0x1314, 0x1f38, 0x2e04, 0x0a4c, | |
1193 0x3928, 0x1214, 0x1e38, 0x2d04, 0x094c, | |
1194 0x3828, 0x1218, 0x1e3c, 0x2c04, 0x084c, | |
1195 0x3728, 0x1318, 0x1f3c, 0x2b04, 0x074c, | |
1196 0x3628, 0x1418, 0x203c, 0x2a04, 0x064c, | |
1197 0x362c, 0x1518, 0x213c, 0x2a08, 0x0650, | |
1198 0x372c, 0x1618, 0x223c, 0x2b08, 0x0750, | |
1199 0x382c, 0x1718, 0x233c, 0x2c08, 0x0850, | |
1200 0x392c, 0x171c, 0x2340, 0x2d08, 0x0950, | |
1201 0x3a2c, 0x161c, 0x2240, 0x2e08, 0x0a50, | |
1202 0x3b2c, 0x151c, 0x2140, 0x2f08, 0x0b50, | |
1203 0x3b30, 0x141c, 0x2040, 0x2f0c, 0x0b54, | |
1204 0x3a30, 0x131c, 0x1f40, 0x2e0c, 0x0a54, | |
1205 0x3930, 0x121c, 0x1e40, 0x2d0c, 0x0954, | |
1206 0x3830, 0x1220, 0x1e44, 0x2c0c, 0x0854, | |
1207 0x3730, 0x1320, 0x1f44, 0x2b0c, 0x0754, | |
1208 0x3630, 0x1420, 0x2044, 0x2a0c, 0x0654, | |
1209 0x3634, 0x1520, 0x2144, 0x2a10, 0x0658, | |
1210 0x3734, 0x1620, 0x2244, 0x2b10, 0x0858, | |
1211 0x3834, 0x1720, 0x2344, 0x2c10, 0x0a58, | |
1212 0x0024, 0x1b10, 0x2734, 0x3000, 0x0c48, | |
1213 0x0124, 0x1c10, 0x2834, 0x3100, 0x0d48, | |
1214 0x0224, 0x1d10, 0x2934, 0x3200, 0x0e48, | |
1215 0x0324, 0x1d14, 0x2938, 0x3300, 0x0f48, | |
1216 0x0424, 0x1c14, 0x2838, 0x3400, 0x1048, | |
1217 0x0524, 0x1b14, 0x2738, 0x3500, 0x1148, | |
1218 0x0528, 0x1a14, 0x2638, 0x3504, 0x114c, | |
1219 0x0428, 0x1914, 0x2538, 0x3404, 0x104c, | |
1220 0x0328, 0x1814, 0x2438, 0x3304, 0x0f4c, | |
1221 0x0228, 0x1818, 0x243c, 0x3204, 0x0e4c, | |
1222 0x0128, 0x1918, 0x253c, 0x3104, 0x0d4c, | |
1223 0x0028, 0x1a18, 0x263c, 0x3004, 0x0c4c, | |
1224 0x002c, 0x1b18, 0x273c, 0x3008, 0x0c50, | |
1225 0x012c, 0x1c18, 0x283c, 0x3108, 0x0d50, | |
1226 0x022c, 0x1d18, 0x293c, 0x3208, 0x0e50, | |
1227 0x032c, 0x1d1c, 0x2940, 0x3308, 0x0f50, | |
1228 0x042c, 0x1c1c, 0x2840, 0x3408, 0x1050, | |
1229 0x052c, 0x1b1c, 0x2740, 0x3508, 0x1150, | |
1230 0x0530, 0x1a1c, 0x2640, 0x350c, 0x1154, | |
1231 0x0430, 0x191c, 0x2540, 0x340c, 0x1054, | |
1232 0x0330, 0x181c, 0x2440, 0x330c, 0x0f54, | |
1233 0x0230, 0x1820, 0x2444, 0x320c, 0x0e54, | |
1234 0x0130, 0x1920, 0x2544, 0x310c, 0x0d54, | |
1235 0x0030, 0x1a20, 0x2644, 0x300c, 0x0c54, | |
1236 0x0034, 0x1b20, 0x2744, 0x3010, 0x0c58, | |
1237 0x0134, 0x1c20, 0x2844, 0x3110, 0x0e58, | |
1238 0x0234, 0x1d20, 0x2944, 0x3210, 0x1058, | |
1239 0x0624, 0x2110, 0x2d34, 0x3600, 0x1248, | |
1240 0x0724, 0x2210, 0x2e34, 0x3700, 0x1348, | |
1241 0x0824, 0x2310, 0x2f34, 0x3800, 0x1448, | |
1242 0x0924, 0x2314, 0x2f38, 0x3900, 0x1548, | |
1243 0x0a24, 0x2214, 0x2e38, 0x3a00, 0x1648, | |
1244 0x0b24, 0x2114, 0x2d38, 0x3b00, 0x1748, | |
1245 0x0b28, 0x2014, 0x2c38, 0x3b04, 0x174c, | |
1246 0x0a28, 0x1f14, 0x2b38, 0x3a04, 0x164c, | |
1247 0x0928, 0x1e14, 0x2a38, 0x3904, 0x154c, | |
1248 0x0828, 0x1e18, 0x2a3c, 0x3804, 0x144c, | |
1249 0x0728, 0x1f18, 0x2b3c, 0x3704, 0x134c, | |
1250 0x0628, 0x2018, 0x2c3c, 0x3604, 0x124c, | |
1251 0x062c, 0x2118, 0x2d3c, 0x3608, 0x1250, | |
1252 0x072c, 0x2218, 0x2e3c, 0x3708, 0x1350, | |
1253 0x082c, 0x2318, 0x2f3c, 0x3808, 0x1450, | |
1254 0x092c, 0x231c, 0x2f40, 0x3908, 0x1550, | |
1255 0x0a2c, 0x221c, 0x2e40, 0x3a08, 0x1650, | |
1256 0x0b2c, 0x211c, 0x2d40, 0x3b08, 0x1750, | |
1257 0x0b30, 0x201c, 0x2c40, 0x3b0c, 0x1754, | |
1258 0x0a30, 0x1f1c, 0x2b40, 0x3a0c, 0x1654, | |
1259 0x0930, 0x1e1c, 0x2a40, 0x390c, 0x1554, | |
1260 0x0830, 0x1e20, 0x2a44, 0x380c, 0x1454, | |
1261 0x0730, 0x1f20, 0x2b44, 0x370c, 0x1354, | |
1262 0x0630, 0x2020, 0x2c44, 0x360c, 0x1254, | |
1263 0x0634, 0x2120, 0x2d44, 0x3610, 0x1258, | |
1264 0x0734, 0x2220, 0x2e44, 0x3710, 0x1458, | |
1265 0x0834, 0x2320, 0x2f44, 0x3810, 0x1658, | |
1266 }; | |
1267 | |
3167 | 1268 /* 4:2:2 macroblock placement tables created by dvtables.py */ |
1269 | |
1270 /* 2 channels per frame, 10 DIF sequences per channel, | |
1271 27 video segments per DIF sequence, 5 macroblocks per video segment */ | |
1272 static const uint16_t dv_place_422_525[2*10*27*5] = { | |
1273 0x0c48, 0x2424, 0x306c, 0x0000, 0x1890, | |
1274 0x0d48, 0x2524, 0x316c, 0x0100, 0x1990, | |
1275 0x0e48, 0x2624, 0x326c, 0x0200, 0x1a90, | |
1276 0x0e4c, 0x2628, 0x3270, 0x0204, 0x1a94, | |
1277 0x0d4c, 0x2528, 0x3170, 0x0104, 0x1994, | |
1278 0x0c4c, 0x2428, 0x3070, 0x0004, 0x1894, | |
1279 0x0c50, 0x242c, 0x3074, 0x0008, 0x1898, | |
1280 0x0d50, 0x252c, 0x3174, 0x0108, 0x1998, | |
1281 0x0e50, 0x262c, 0x3274, 0x0208, 0x1a98, | |
1282 0x0e54, 0x2630, 0x3278, 0x020c, 0x1a9c, | |
1283 0x0d54, 0x2530, 0x3178, 0x010c, 0x199c, | |
1284 0x0c54, 0x2430, 0x3078, 0x000c, 0x189c, | |
1285 0x0c58, 0x2434, 0x307c, 0x0010, 0x18a0, | |
1286 0x0d58, 0x2534, 0x317c, 0x0110, 0x19a0, | |
1287 0x0e58, 0x2634, 0x327c, 0x0210, 0x1aa0, | |
1288 0x0e5c, 0x2638, 0x3280, 0x0214, 0x1aa4, | |
1289 0x0d5c, 0x2538, 0x3180, 0x0114, 0x19a4, | |
1290 0x0c5c, 0x2438, 0x3080, 0x0014, 0x18a4, | |
1291 0x0c60, 0x243c, 0x3084, 0x0018, 0x18a8, | |
1292 0x0d60, 0x253c, 0x3184, 0x0118, 0x19a8, | |
1293 0x0e60, 0x263c, 0x3284, 0x0218, 0x1aa8, | |
1294 0x0e64, 0x2640, 0x3288, 0x021c, 0x1aac, | |
1295 0x0d64, 0x2540, 0x3188, 0x011c, 0x19ac, | |
1296 0x0c64, 0x2440, 0x3088, 0x001c, 0x18ac, | |
1297 0x0c68, 0x2444, 0x308c, 0x0020, 0x18b0, | |
1298 0x0d68, 0x2544, 0x318c, 0x0120, 0x19b0, | |
1299 0x0e68, 0x2644, 0x328c, 0x0220, 0x1ab0, | |
1300 0x1248, 0x2a24, 0x366c, 0x0600, 0x1e90, | |
1301 0x1348, 0x2b24, 0x376c, 0x0700, 0x1f90, | |
1302 0x1448, 0x2c24, 0x386c, 0x0800, 0x2090, | |
1303 0x144c, 0x2c28, 0x3870, 0x0804, 0x2094, | |
1304 0x134c, 0x2b28, 0x3770, 0x0704, 0x1f94, | |
1305 0x124c, 0x2a28, 0x3670, 0x0604, 0x1e94, | |
1306 0x1250, 0x2a2c, 0x3674, 0x0608, 0x1e98, | |
1307 0x1350, 0x2b2c, 0x3774, 0x0708, 0x1f98, | |
1308 0x1450, 0x2c2c, 0x3874, 0x0808, 0x2098, | |
1309 0x1454, 0x2c30, 0x3878, 0x080c, 0x209c, | |
1310 0x1354, 0x2b30, 0x3778, 0x070c, 0x1f9c, | |
1311 0x1254, 0x2a30, 0x3678, 0x060c, 0x1e9c, | |
1312 0x1258, 0x2a34, 0x367c, 0x0610, 0x1ea0, | |
1313 0x1358, 0x2b34, 0x377c, 0x0710, 0x1fa0, | |
1314 0x1458, 0x2c34, 0x387c, 0x0810, 0x20a0, | |
1315 0x145c, 0x2c38, 0x3880, 0x0814, 0x20a4, | |
1316 0x135c, 0x2b38, 0x3780, 0x0714, 0x1fa4, | |
1317 0x125c, 0x2a38, 0x3680, 0x0614, 0x1ea4, | |
1318 0x1260, 0x2a3c, 0x3684, 0x0618, 0x1ea8, | |
1319 0x1360, 0x2b3c, 0x3784, 0x0718, 0x1fa8, | |
1320 0x1460, 0x2c3c, 0x3884, 0x0818, 0x20a8, | |
1321 0x1464, 0x2c40, 0x3888, 0x081c, 0x20ac, | |
1322 0x1364, 0x2b40, 0x3788, 0x071c, 0x1fac, | |
1323 0x1264, 0x2a40, 0x3688, 0x061c, 0x1eac, | |
1324 0x1268, 0x2a44, 0x368c, 0x0620, 0x1eb0, | |
1325 0x1368, 0x2b44, 0x378c, 0x0720, 0x1fb0, | |
1326 0x1468, 0x2c44, 0x388c, 0x0820, 0x20b0, | |
1327 0x1848, 0x3024, 0x006c, 0x0c00, 0x2490, | |
1328 0x1948, 0x3124, 0x016c, 0x0d00, 0x2590, | |
1329 0x1a48, 0x3224, 0x026c, 0x0e00, 0x2690, | |
1330 0x1a4c, 0x3228, 0x0270, 0x0e04, 0x2694, | |
1331 0x194c, 0x3128, 0x0170, 0x0d04, 0x2594, | |
1332 0x184c, 0x3028, 0x0070, 0x0c04, 0x2494, | |
1333 0x1850, 0x302c, 0x0074, 0x0c08, 0x2498, | |
1334 0x1950, 0x312c, 0x0174, 0x0d08, 0x2598, | |
1335 0x1a50, 0x322c, 0x0274, 0x0e08, 0x2698, | |
1336 0x1a54, 0x3230, 0x0278, 0x0e0c, 0x269c, | |
1337 0x1954, 0x3130, 0x0178, 0x0d0c, 0x259c, | |
1338 0x1854, 0x3030, 0x0078, 0x0c0c, 0x249c, | |
1339 0x1858, 0x3034, 0x007c, 0x0c10, 0x24a0, | |
1340 0x1958, 0x3134, 0x017c, 0x0d10, 0x25a0, | |
1341 0x1a58, 0x3234, 0x027c, 0x0e10, 0x26a0, | |
1342 0x1a5c, 0x3238, 0x0280, 0x0e14, 0x26a4, | |
1343 0x195c, 0x3138, 0x0180, 0x0d14, 0x25a4, | |
1344 0x185c, 0x3038, 0x0080, 0x0c14, 0x24a4, | |
1345 0x1860, 0x303c, 0x0084, 0x0c18, 0x24a8, | |
1346 0x1960, 0x313c, 0x0184, 0x0d18, 0x25a8, | |
1347 0x1a60, 0x323c, 0x0284, 0x0e18, 0x26a8, | |
1348 0x1a64, 0x3240, 0x0288, 0x0e1c, 0x26ac, | |
1349 0x1964, 0x3140, 0x0188, 0x0d1c, 0x25ac, | |
1350 0x1864, 0x3040, 0x0088, 0x0c1c, 0x24ac, | |
1351 0x1868, 0x3044, 0x008c, 0x0c20, 0x24b0, | |
1352 0x1968, 0x3144, 0x018c, 0x0d20, 0x25b0, | |
1353 0x1a68, 0x3244, 0x028c, 0x0e20, 0x26b0, | |
1354 0x1e48, 0x3624, 0x066c, 0x1200, 0x2a90, | |
1355 0x1f48, 0x3724, 0x076c, 0x1300, 0x2b90, | |
1356 0x2048, 0x3824, 0x086c, 0x1400, 0x2c90, | |
1357 0x204c, 0x3828, 0x0870, 0x1404, 0x2c94, | |
1358 0x1f4c, 0x3728, 0x0770, 0x1304, 0x2b94, | |
1359 0x1e4c, 0x3628, 0x0670, 0x1204, 0x2a94, | |
1360 0x1e50, 0x362c, 0x0674, 0x1208, 0x2a98, | |
1361 0x1f50, 0x372c, 0x0774, 0x1308, 0x2b98, | |
1362 0x2050, 0x382c, 0x0874, 0x1408, 0x2c98, | |
1363 0x2054, 0x3830, 0x0878, 0x140c, 0x2c9c, | |
1364 0x1f54, 0x3730, 0x0778, 0x130c, 0x2b9c, | |
1365 0x1e54, 0x3630, 0x0678, 0x120c, 0x2a9c, | |
1366 0x1e58, 0x3634, 0x067c, 0x1210, 0x2aa0, | |
1367 0x1f58, 0x3734, 0x077c, 0x1310, 0x2ba0, | |
1368 0x2058, 0x3834, 0x087c, 0x1410, 0x2ca0, | |
1369 0x205c, 0x3838, 0x0880, 0x1414, 0x2ca4, | |
1370 0x1f5c, 0x3738, 0x0780, 0x1314, 0x2ba4, | |
1371 0x1e5c, 0x3638, 0x0680, 0x1214, 0x2aa4, | |
1372 0x1e60, 0x363c, 0x0684, 0x1218, 0x2aa8, | |
1373 0x1f60, 0x373c, 0x0784, 0x1318, 0x2ba8, | |
1374 0x2060, 0x383c, 0x0884, 0x1418, 0x2ca8, | |
1375 0x2064, 0x3840, 0x0888, 0x141c, 0x2cac, | |
1376 0x1f64, 0x3740, 0x0788, 0x131c, 0x2bac, | |
1377 0x1e64, 0x3640, 0x0688, 0x121c, 0x2aac, | |
1378 0x1e68, 0x3644, 0x068c, 0x1220, 0x2ab0, | |
1379 0x1f68, 0x3744, 0x078c, 0x1320, 0x2bb0, | |
1380 0x2068, 0x3844, 0x088c, 0x1420, 0x2cb0, | |
1381 0x2448, 0x0024, 0x0c6c, 0x1800, 0x3090, | |
1382 0x2548, 0x0124, 0x0d6c, 0x1900, 0x3190, | |
1383 0x2648, 0x0224, 0x0e6c, 0x1a00, 0x3290, | |
1384 0x264c, 0x0228, 0x0e70, 0x1a04, 0x3294, | |
1385 0x254c, 0x0128, 0x0d70, 0x1904, 0x3194, | |
1386 0x244c, 0x0028, 0x0c70, 0x1804, 0x3094, | |
1387 0x2450, 0x002c, 0x0c74, 0x1808, 0x3098, | |
1388 0x2550, 0x012c, 0x0d74, 0x1908, 0x3198, | |
1389 0x2650, 0x022c, 0x0e74, 0x1a08, 0x3298, | |
1390 0x2654, 0x0230, 0x0e78, 0x1a0c, 0x329c, | |
1391 0x2554, 0x0130, 0x0d78, 0x190c, 0x319c, | |
1392 0x2454, 0x0030, 0x0c78, 0x180c, 0x309c, | |
1393 0x2458, 0x0034, 0x0c7c, 0x1810, 0x30a0, | |
1394 0x2558, 0x0134, 0x0d7c, 0x1910, 0x31a0, | |
1395 0x2658, 0x0234, 0x0e7c, 0x1a10, 0x32a0, | |
1396 0x265c, 0x0238, 0x0e80, 0x1a14, 0x32a4, | |
1397 0x255c, 0x0138, 0x0d80, 0x1914, 0x31a4, | |
1398 0x245c, 0x0038, 0x0c80, 0x1814, 0x30a4, | |
1399 0x2460, 0x003c, 0x0c84, 0x1818, 0x30a8, | |
1400 0x2560, 0x013c, 0x0d84, 0x1918, 0x31a8, | |
1401 0x2660, 0x023c, 0x0e84, 0x1a18, 0x32a8, | |
1402 0x2664, 0x0240, 0x0e88, 0x1a1c, 0x32ac, | |
1403 0x2564, 0x0140, 0x0d88, 0x191c, 0x31ac, | |
1404 0x2464, 0x0040, 0x0c88, 0x181c, 0x30ac, | |
1405 0x2468, 0x0044, 0x0c8c, 0x1820, 0x30b0, | |
1406 0x2568, 0x0144, 0x0d8c, 0x1920, 0x31b0, | |
1407 0x2668, 0x0244, 0x0e8c, 0x1a20, 0x32b0, | |
1408 0x2a48, 0x0624, 0x126c, 0x1e00, 0x3690, | |
1409 0x2b48, 0x0724, 0x136c, 0x1f00, 0x3790, | |
1410 0x2c48, 0x0824, 0x146c, 0x2000, 0x3890, | |
1411 0x2c4c, 0x0828, 0x1470, 0x2004, 0x3894, | |
1412 0x2b4c, 0x0728, 0x1370, 0x1f04, 0x3794, | |
1413 0x2a4c, 0x0628, 0x1270, 0x1e04, 0x3694, | |
1414 0x2a50, 0x062c, 0x1274, 0x1e08, 0x3698, | |
1415 0x2b50, 0x072c, 0x1374, 0x1f08, 0x3798, | |
1416 0x2c50, 0x082c, 0x1474, 0x2008, 0x3898, | |
1417 0x2c54, 0x0830, 0x1478, 0x200c, 0x389c, | |
1418 0x2b54, 0x0730, 0x1378, 0x1f0c, 0x379c, | |
1419 0x2a54, 0x0630, 0x1278, 0x1e0c, 0x369c, | |
1420 0x2a58, 0x0634, 0x127c, 0x1e10, 0x36a0, | |
1421 0x2b58, 0x0734, 0x137c, 0x1f10, 0x37a0, | |
1422 0x2c58, 0x0834, 0x147c, 0x2010, 0x38a0, | |
1423 0x2c5c, 0x0838, 0x1480, 0x2014, 0x38a4, | |
1424 0x2b5c, 0x0738, 0x1380, 0x1f14, 0x37a4, | |
1425 0x2a5c, 0x0638, 0x1280, 0x1e14, 0x36a4, | |
1426 0x2a60, 0x063c, 0x1284, 0x1e18, 0x36a8, | |
1427 0x2b60, 0x073c, 0x1384, 0x1f18, 0x37a8, | |
1428 0x2c60, 0x083c, 0x1484, 0x2018, 0x38a8, | |
1429 0x2c64, 0x0840, 0x1488, 0x201c, 0x38ac, | |
1430 0x2b64, 0x0740, 0x1388, 0x1f1c, 0x37ac, | |
1431 0x2a64, 0x0640, 0x1288, 0x1e1c, 0x36ac, | |
1432 0x2a68, 0x0644, 0x128c, 0x1e20, 0x36b0, | |
1433 0x2b68, 0x0744, 0x138c, 0x1f20, 0x37b0, | |
1434 0x2c68, 0x0844, 0x148c, 0x2020, 0x38b0, | |
1435 0x3048, 0x0c24, 0x186c, 0x2400, 0x0090, | |
1436 0x3148, 0x0d24, 0x196c, 0x2500, 0x0190, | |
1437 0x3248, 0x0e24, 0x1a6c, 0x2600, 0x0290, | |
1438 0x324c, 0x0e28, 0x1a70, 0x2604, 0x0294, | |
1439 0x314c, 0x0d28, 0x1970, 0x2504, 0x0194, | |
1440 0x304c, 0x0c28, 0x1870, 0x2404, 0x0094, | |
1441 0x3050, 0x0c2c, 0x1874, 0x2408, 0x0098, | |
1442 0x3150, 0x0d2c, 0x1974, 0x2508, 0x0198, | |
1443 0x3250, 0x0e2c, 0x1a74, 0x2608, 0x0298, | |
1444 0x3254, 0x0e30, 0x1a78, 0x260c, 0x029c, | |
1445 0x3154, 0x0d30, 0x1978, 0x250c, 0x019c, | |
1446 0x3054, 0x0c30, 0x1878, 0x240c, 0x009c, | |
1447 0x3058, 0x0c34, 0x187c, 0x2410, 0x00a0, | |
1448 0x3158, 0x0d34, 0x197c, 0x2510, 0x01a0, | |
1449 0x3258, 0x0e34, 0x1a7c, 0x2610, 0x02a0, | |
1450 0x325c, 0x0e38, 0x1a80, 0x2614, 0x02a4, | |
1451 0x315c, 0x0d38, 0x1980, 0x2514, 0x01a4, | |
1452 0x305c, 0x0c38, 0x1880, 0x2414, 0x00a4, | |
1453 0x3060, 0x0c3c, 0x1884, 0x2418, 0x00a8, | |
1454 0x3160, 0x0d3c, 0x1984, 0x2518, 0x01a8, | |
1455 0x3260, 0x0e3c, 0x1a84, 0x2618, 0x02a8, | |
1456 0x3264, 0x0e40, 0x1a88, 0x261c, 0x02ac, | |
1457 0x3164, 0x0d40, 0x1988, 0x251c, 0x01ac, | |
1458 0x3064, 0x0c40, 0x1888, 0x241c, 0x00ac, | |
1459 0x3068, 0x0c44, 0x188c, 0x2420, 0x00b0, | |
1460 0x3168, 0x0d44, 0x198c, 0x2520, 0x01b0, | |
1461 0x3268, 0x0e44, 0x1a8c, 0x2620, 0x02b0, | |
1462 0x3648, 0x1224, 0x1e6c, 0x2a00, 0x0690, | |
1463 0x3748, 0x1324, 0x1f6c, 0x2b00, 0x0790, | |
1464 0x3848, 0x1424, 0x206c, 0x2c00, 0x0890, | |
1465 0x384c, 0x1428, 0x2070, 0x2c04, 0x0894, | |
1466 0x374c, 0x1328, 0x1f70, 0x2b04, 0x0794, | |
1467 0x364c, 0x1228, 0x1e70, 0x2a04, 0x0694, | |
1468 0x3650, 0x122c, 0x1e74, 0x2a08, 0x0698, | |
1469 0x3750, 0x132c, 0x1f74, 0x2b08, 0x0798, | |
1470 0x3850, 0x142c, 0x2074, 0x2c08, 0x0898, | |
1471 0x3854, 0x1430, 0x2078, 0x2c0c, 0x089c, | |
1472 0x3754, 0x1330, 0x1f78, 0x2b0c, 0x079c, | |
1473 0x3654, 0x1230, 0x1e78, 0x2a0c, 0x069c, | |
1474 0x3658, 0x1234, 0x1e7c, 0x2a10, 0x06a0, | |
1475 0x3758, 0x1334, 0x1f7c, 0x2b10, 0x07a0, | |
1476 0x3858, 0x1434, 0x207c, 0x2c10, 0x08a0, | |
1477 0x385c, 0x1438, 0x2080, 0x2c14, 0x08a4, | |
1478 0x375c, 0x1338, 0x1f80, 0x2b14, 0x07a4, | |
1479 0x365c, 0x1238, 0x1e80, 0x2a14, 0x06a4, | |
1480 0x3660, 0x123c, 0x1e84, 0x2a18, 0x06a8, | |
1481 0x3760, 0x133c, 0x1f84, 0x2b18, 0x07a8, | |
1482 0x3860, 0x143c, 0x2084, 0x2c18, 0x08a8, | |
1483 0x3864, 0x1440, 0x2088, 0x2c1c, 0x08ac, | |
1484 0x3764, 0x1340, 0x1f88, 0x2b1c, 0x07ac, | |
1485 0x3664, 0x1240, 0x1e88, 0x2a1c, 0x06ac, | |
1486 0x3668, 0x1244, 0x1e8c, 0x2a20, 0x06b0, | |
1487 0x3768, 0x1344, 0x1f8c, 0x2b20, 0x07b0, | |
1488 0x3868, 0x1444, 0x208c, 0x2c20, 0x08b0, | |
1489 0x0048, 0x1824, 0x246c, 0x3000, 0x0c90, | |
1490 0x0148, 0x1924, 0x256c, 0x3100, 0x0d90, | |
1491 0x0248, 0x1a24, 0x266c, 0x3200, 0x0e90, | |
1492 0x024c, 0x1a28, 0x2670, 0x3204, 0x0e94, | |
1493 0x014c, 0x1928, 0x2570, 0x3104, 0x0d94, | |
1494 0x004c, 0x1828, 0x2470, 0x3004, 0x0c94, | |
1495 0x0050, 0x182c, 0x2474, 0x3008, 0x0c98, | |
1496 0x0150, 0x192c, 0x2574, 0x3108, 0x0d98, | |
1497 0x0250, 0x1a2c, 0x2674, 0x3208, 0x0e98, | |
1498 0x0254, 0x1a30, 0x2678, 0x320c, 0x0e9c, | |
1499 0x0154, 0x1930, 0x2578, 0x310c, 0x0d9c, | |
1500 0x0054, 0x1830, 0x2478, 0x300c, 0x0c9c, | |
1501 0x0058, 0x1834, 0x247c, 0x3010, 0x0ca0, | |
1502 0x0158, 0x1934, 0x257c, 0x3110, 0x0da0, | |
1503 0x0258, 0x1a34, 0x267c, 0x3210, 0x0ea0, | |
1504 0x025c, 0x1a38, 0x2680, 0x3214, 0x0ea4, | |
1505 0x015c, 0x1938, 0x2580, 0x3114, 0x0da4, | |
1506 0x005c, 0x1838, 0x2480, 0x3014, 0x0ca4, | |
1507 0x0060, 0x183c, 0x2484, 0x3018, 0x0ca8, | |
1508 0x0160, 0x193c, 0x2584, 0x3118, 0x0da8, | |
1509 0x0260, 0x1a3c, 0x2684, 0x3218, 0x0ea8, | |
1510 0x0264, 0x1a40, 0x2688, 0x321c, 0x0eac, | |
1511 0x0164, 0x1940, 0x2588, 0x311c, 0x0dac, | |
1512 0x0064, 0x1840, 0x2488, 0x301c, 0x0cac, | |
1513 0x0068, 0x1844, 0x248c, 0x3020, 0x0cb0, | |
1514 0x0168, 0x1944, 0x258c, 0x3120, 0x0db0, | |
1515 0x0268, 0x1a44, 0x268c, 0x3220, 0x0eb0, | |
1516 0x0648, 0x1e24, 0x2a6c, 0x3600, 0x1290, | |
1517 0x0748, 0x1f24, 0x2b6c, 0x3700, 0x1390, | |
1518 0x0848, 0x2024, 0x2c6c, 0x3800, 0x1490, | |
1519 0x084c, 0x2028, 0x2c70, 0x3804, 0x1494, | |
1520 0x074c, 0x1f28, 0x2b70, 0x3704, 0x1394, | |
1521 0x064c, 0x1e28, 0x2a70, 0x3604, 0x1294, | |
1522 0x0650, 0x1e2c, 0x2a74, 0x3608, 0x1298, | |
1523 0x0750, 0x1f2c, 0x2b74, 0x3708, 0x1398, | |
1524 0x0850, 0x202c, 0x2c74, 0x3808, 0x1498, | |
1525 0x0854, 0x2030, 0x2c78, 0x380c, 0x149c, | |
1526 0x0754, 0x1f30, 0x2b78, 0x370c, 0x139c, | |
1527 0x0654, 0x1e30, 0x2a78, 0x360c, 0x129c, | |
1528 0x0658, 0x1e34, 0x2a7c, 0x3610, 0x12a0, | |
1529 0x0758, 0x1f34, 0x2b7c, 0x3710, 0x13a0, | |
1530 0x0858, 0x2034, 0x2c7c, 0x3810, 0x14a0, | |
1531 0x085c, 0x2038, 0x2c80, 0x3814, 0x14a4, | |
1532 0x075c, 0x1f38, 0x2b80, 0x3714, 0x13a4, | |
1533 0x065c, 0x1e38, 0x2a80, 0x3614, 0x12a4, | |
1534 0x0660, 0x1e3c, 0x2a84, 0x3618, 0x12a8, | |
1535 0x0760, 0x1f3c, 0x2b84, 0x3718, 0x13a8, | |
1536 0x0860, 0x203c, 0x2c84, 0x3818, 0x14a8, | |
1537 0x0864, 0x2040, 0x2c88, 0x381c, 0x14ac, | |
1538 0x0764, 0x1f40, 0x2b88, 0x371c, 0x13ac, | |
1539 0x0664, 0x1e40, 0x2a88, 0x361c, 0x12ac, | |
1540 0x0668, 0x1e44, 0x2a8c, 0x3620, 0x12b0, | |
1541 0x0768, 0x1f44, 0x2b8c, 0x3720, 0x13b0, | |
1542 0x0868, 0x2044, 0x2c8c, 0x3820, 0x14b0, | |
1543 0x0f48, 0x2724, 0x336c, 0x0300, 0x1b90, | |
1544 0x1048, 0x2824, 0x346c, 0x0400, 0x1c90, | |
1545 0x1148, 0x2924, 0x356c, 0x0500, 0x1d90, | |
1546 0x114c, 0x2928, 0x3570, 0x0504, 0x1d94, | |
1547 0x104c, 0x2828, 0x3470, 0x0404, 0x1c94, | |
1548 0x0f4c, 0x2728, 0x3370, 0x0304, 0x1b94, | |
1549 0x0f50, 0x272c, 0x3374, 0x0308, 0x1b98, | |
1550 0x1050, 0x282c, 0x3474, 0x0408, 0x1c98, | |
1551 0x1150, 0x292c, 0x3574, 0x0508, 0x1d98, | |
1552 0x1154, 0x2930, 0x3578, 0x050c, 0x1d9c, | |
1553 0x1054, 0x2830, 0x3478, 0x040c, 0x1c9c, | |
1554 0x0f54, 0x2730, 0x3378, 0x030c, 0x1b9c, | |
1555 0x0f58, 0x2734, 0x337c, 0x0310, 0x1ba0, | |
1556 0x1058, 0x2834, 0x347c, 0x0410, 0x1ca0, | |
1557 0x1158, 0x2934, 0x357c, 0x0510, 0x1da0, | |
1558 0x115c, 0x2938, 0x3580, 0x0514, 0x1da4, | |
1559 0x105c, 0x2838, 0x3480, 0x0414, 0x1ca4, | |
1560 0x0f5c, 0x2738, 0x3380, 0x0314, 0x1ba4, | |
1561 0x0f60, 0x273c, 0x3384, 0x0318, 0x1ba8, | |
1562 0x1060, 0x283c, 0x3484, 0x0418, 0x1ca8, | |
1563 0x1160, 0x293c, 0x3584, 0x0518, 0x1da8, | |
1564 0x1164, 0x2940, 0x3588, 0x051c, 0x1dac, | |
1565 0x1064, 0x2840, 0x3488, 0x041c, 0x1cac, | |
1566 0x0f64, 0x2740, 0x3388, 0x031c, 0x1bac, | |
1567 0x0f68, 0x2744, 0x338c, 0x0320, 0x1bb0, | |
1568 0x1068, 0x2844, 0x348c, 0x0420, 0x1cb0, | |
1569 0x1168, 0x2944, 0x358c, 0x0520, 0x1db0, | |
1570 0x1548, 0x2d24, 0x396c, 0x0900, 0x2190, | |
1571 0x1648, 0x2e24, 0x3a6c, 0x0a00, 0x2290, | |
1572 0x1748, 0x2f24, 0x3b6c, 0x0b00, 0x2390, | |
1573 0x174c, 0x2f28, 0x3b70, 0x0b04, 0x2394, | |
1574 0x164c, 0x2e28, 0x3a70, 0x0a04, 0x2294, | |
1575 0x154c, 0x2d28, 0x3970, 0x0904, 0x2194, | |
1576 0x1550, 0x2d2c, 0x3974, 0x0908, 0x2198, | |
1577 0x1650, 0x2e2c, 0x3a74, 0x0a08, 0x2298, | |
1578 0x1750, 0x2f2c, 0x3b74, 0x0b08, 0x2398, | |
1579 0x1754, 0x2f30, 0x3b78, 0x0b0c, 0x239c, | |
1580 0x1654, 0x2e30, 0x3a78, 0x0a0c, 0x229c, | |
1581 0x1554, 0x2d30, 0x3978, 0x090c, 0x219c, | |
1582 0x1558, 0x2d34, 0x397c, 0x0910, 0x21a0, | |
1583 0x1658, 0x2e34, 0x3a7c, 0x0a10, 0x22a0, | |
1584 0x1758, 0x2f34, 0x3b7c, 0x0b10, 0x23a0, | |
1585 0x175c, 0x2f38, 0x3b80, 0x0b14, 0x23a4, | |
1586 0x165c, 0x2e38, 0x3a80, 0x0a14, 0x22a4, | |
1587 0x155c, 0x2d38, 0x3980, 0x0914, 0x21a4, | |
1588 0x1560, 0x2d3c, 0x3984, 0x0918, 0x21a8, | |
1589 0x1660, 0x2e3c, 0x3a84, 0x0a18, 0x22a8, | |
1590 0x1760, 0x2f3c, 0x3b84, 0x0b18, 0x23a8, | |
1591 0x1764, 0x2f40, 0x3b88, 0x0b1c, 0x23ac, | |
1592 0x1664, 0x2e40, 0x3a88, 0x0a1c, 0x22ac, | |
1593 0x1564, 0x2d40, 0x3988, 0x091c, 0x21ac, | |
1594 0x1568, 0x2d44, 0x398c, 0x0920, 0x21b0, | |
1595 0x1668, 0x2e44, 0x3a8c, 0x0a20, 0x22b0, | |
1596 0x1768, 0x2f44, 0x3b8c, 0x0b20, 0x23b0, | |
1597 0x1b48, 0x3324, 0x036c, 0x0f00, 0x2790, | |
1598 0x1c48, 0x3424, 0x046c, 0x1000, 0x2890, | |
1599 0x1d48, 0x3524, 0x056c, 0x1100, 0x2990, | |
1600 0x1d4c, 0x3528, 0x0570, 0x1104, 0x2994, | |
1601 0x1c4c, 0x3428, 0x0470, 0x1004, 0x2894, | |
1602 0x1b4c, 0x3328, 0x0370, 0x0f04, 0x2794, | |
1603 0x1b50, 0x332c, 0x0374, 0x0f08, 0x2798, | |
1604 0x1c50, 0x342c, 0x0474, 0x1008, 0x2898, | |
1605 0x1d50, 0x352c, 0x0574, 0x1108, 0x2998, | |
1606 0x1d54, 0x3530, 0x0578, 0x110c, 0x299c, | |
1607 0x1c54, 0x3430, 0x0478, 0x100c, 0x289c, | |
1608 0x1b54, 0x3330, 0x0378, 0x0f0c, 0x279c, | |
1609 0x1b58, 0x3334, 0x037c, 0x0f10, 0x27a0, | |
1610 0x1c58, 0x3434, 0x047c, 0x1010, 0x28a0, | |
1611 0x1d58, 0x3534, 0x057c, 0x1110, 0x29a0, | |
1612 0x1d5c, 0x3538, 0x0580, 0x1114, 0x29a4, | |
1613 0x1c5c, 0x3438, 0x0480, 0x1014, 0x28a4, | |
1614 0x1b5c, 0x3338, 0x0380, 0x0f14, 0x27a4, | |
1615 0x1b60, 0x333c, 0x0384, 0x0f18, 0x27a8, | |
1616 0x1c60, 0x343c, 0x0484, 0x1018, 0x28a8, | |
1617 0x1d60, 0x353c, 0x0584, 0x1118, 0x29a8, | |
1618 0x1d64, 0x3540, 0x0588, 0x111c, 0x29ac, | |
1619 0x1c64, 0x3440, 0x0488, 0x101c, 0x28ac, | |
1620 0x1b64, 0x3340, 0x0388, 0x0f1c, 0x27ac, | |
1621 0x1b68, 0x3344, 0x038c, 0x0f20, 0x27b0, | |
1622 0x1c68, 0x3444, 0x048c, 0x1020, 0x28b0, | |
1623 0x1d68, 0x3544, 0x058c, 0x1120, 0x29b0, | |
1624 0x2148, 0x3924, 0x096c, 0x1500, 0x2d90, | |
1625 0x2248, 0x3a24, 0x0a6c, 0x1600, 0x2e90, | |
1626 0x2348, 0x3b24, 0x0b6c, 0x1700, 0x2f90, | |
1627 0x234c, 0x3b28, 0x0b70, 0x1704, 0x2f94, | |
1628 0x224c, 0x3a28, 0x0a70, 0x1604, 0x2e94, | |
1629 0x214c, 0x3928, 0x0970, 0x1504, 0x2d94, | |
1630 0x2150, 0x392c, 0x0974, 0x1508, 0x2d98, | |
1631 0x2250, 0x3a2c, 0x0a74, 0x1608, 0x2e98, | |
1632 0x2350, 0x3b2c, 0x0b74, 0x1708, 0x2f98, | |
1633 0x2354, 0x3b30, 0x0b78, 0x170c, 0x2f9c, | |
1634 0x2254, 0x3a30, 0x0a78, 0x160c, 0x2e9c, | |
1635 0x2154, 0x3930, 0x0978, 0x150c, 0x2d9c, | |
1636 0x2158, 0x3934, 0x097c, 0x1510, 0x2da0, | |
1637 0x2258, 0x3a34, 0x0a7c, 0x1610, 0x2ea0, | |
1638 0x2358, 0x3b34, 0x0b7c, 0x1710, 0x2fa0, | |
1639 0x235c, 0x3b38, 0x0b80, 0x1714, 0x2fa4, | |
1640 0x225c, 0x3a38, 0x0a80, 0x1614, 0x2ea4, | |
1641 0x215c, 0x3938, 0x0980, 0x1514, 0x2da4, | |
1642 0x2160, 0x393c, 0x0984, 0x1518, 0x2da8, | |
1643 0x2260, 0x3a3c, 0x0a84, 0x1618, 0x2ea8, | |
1644 0x2360, 0x3b3c, 0x0b84, 0x1718, 0x2fa8, | |
1645 0x2364, 0x3b40, 0x0b88, 0x171c, 0x2fac, | |
1646 0x2264, 0x3a40, 0x0a88, 0x161c, 0x2eac, | |
1647 0x2164, 0x3940, 0x0988, 0x151c, 0x2dac, | |
1648 0x2168, 0x3944, 0x098c, 0x1520, 0x2db0, | |
1649 0x2268, 0x3a44, 0x0a8c, 0x1620, 0x2eb0, | |
1650 0x2368, 0x3b44, 0x0b8c, 0x1720, 0x2fb0, | |
1651 0x2748, 0x0324, 0x0f6c, 0x1b00, 0x3390, | |
1652 0x2848, 0x0424, 0x106c, 0x1c00, 0x3490, | |
1653 0x2948, 0x0524, 0x116c, 0x1d00, 0x3590, | |
1654 0x294c, 0x0528, 0x1170, 0x1d04, 0x3594, | |
1655 0x284c, 0x0428, 0x1070, 0x1c04, 0x3494, | |
1656 0x274c, 0x0328, 0x0f70, 0x1b04, 0x3394, | |
1657 0x2750, 0x032c, 0x0f74, 0x1b08, 0x3398, | |
1658 0x2850, 0x042c, 0x1074, 0x1c08, 0x3498, | |
1659 0x2950, 0x052c, 0x1174, 0x1d08, 0x3598, | |
1660 0x2954, 0x0530, 0x1178, 0x1d0c, 0x359c, | |
1661 0x2854, 0x0430, 0x1078, 0x1c0c, 0x349c, | |
1662 0x2754, 0x0330, 0x0f78, 0x1b0c, 0x339c, | |
1663 0x2758, 0x0334, 0x0f7c, 0x1b10, 0x33a0, | |
1664 0x2858, 0x0434, 0x107c, 0x1c10, 0x34a0, | |
1665 0x2958, 0x0534, 0x117c, 0x1d10, 0x35a0, | |
1666 0x295c, 0x0538, 0x1180, 0x1d14, 0x35a4, | |
1667 0x285c, 0x0438, 0x1080, 0x1c14, 0x34a4, | |
1668 0x275c, 0x0338, 0x0f80, 0x1b14, 0x33a4, | |
1669 0x2760, 0x033c, 0x0f84, 0x1b18, 0x33a8, | |
1670 0x2860, 0x043c, 0x1084, 0x1c18, 0x34a8, | |
1671 0x2960, 0x053c, 0x1184, 0x1d18, 0x35a8, | |
1672 0x2964, 0x0540, 0x1188, 0x1d1c, 0x35ac, | |
1673 0x2864, 0x0440, 0x1088, 0x1c1c, 0x34ac, | |
1674 0x2764, 0x0340, 0x0f88, 0x1b1c, 0x33ac, | |
1675 0x2768, 0x0344, 0x0f8c, 0x1b20, 0x33b0, | |
1676 0x2868, 0x0444, 0x108c, 0x1c20, 0x34b0, | |
1677 0x2968, 0x0544, 0x118c, 0x1d20, 0x35b0, | |
1678 0x2d48, 0x0924, 0x156c, 0x2100, 0x3990, | |
1679 0x2e48, 0x0a24, 0x166c, 0x2200, 0x3a90, | |
1680 0x2f48, 0x0b24, 0x176c, 0x2300, 0x3b90, | |
1681 0x2f4c, 0x0b28, 0x1770, 0x2304, 0x3b94, | |
1682 0x2e4c, 0x0a28, 0x1670, 0x2204, 0x3a94, | |
1683 0x2d4c, 0x0928, 0x1570, 0x2104, 0x3994, | |
1684 0x2d50, 0x092c, 0x1574, 0x2108, 0x3998, | |
1685 0x2e50, 0x0a2c, 0x1674, 0x2208, 0x3a98, | |
1686 0x2f50, 0x0b2c, 0x1774, 0x2308, 0x3b98, | |
1687 0x2f54, 0x0b30, 0x1778, 0x230c, 0x3b9c, | |
1688 0x2e54, 0x0a30, 0x1678, 0x220c, 0x3a9c, | |
1689 0x2d54, 0x0930, 0x1578, 0x210c, 0x399c, | |
1690 0x2d58, 0x0934, 0x157c, 0x2110, 0x39a0, | |
1691 0x2e58, 0x0a34, 0x167c, 0x2210, 0x3aa0, | |
1692 0x2f58, 0x0b34, 0x177c, 0x2310, 0x3ba0, | |
1693 0x2f5c, 0x0b38, 0x1780, 0x2314, 0x3ba4, | |
1694 0x2e5c, 0x0a38, 0x1680, 0x2214, 0x3aa4, | |
1695 0x2d5c, 0x0938, 0x1580, 0x2114, 0x39a4, | |
1696 0x2d60, 0x093c, 0x1584, 0x2118, 0x39a8, | |
1697 0x2e60, 0x0a3c, 0x1684, 0x2218, 0x3aa8, | |
1698 0x2f60, 0x0b3c, 0x1784, 0x2318, 0x3ba8, | |
1699 0x2f64, 0x0b40, 0x1788, 0x231c, 0x3bac, | |
1700 0x2e64, 0x0a40, 0x1688, 0x221c, 0x3aac, | |
1701 0x2d64, 0x0940, 0x1588, 0x211c, 0x39ac, | |
1702 0x2d68, 0x0944, 0x158c, 0x2120, 0x39b0, | |
1703 0x2e68, 0x0a44, 0x168c, 0x2220, 0x3ab0, | |
1704 0x2f68, 0x0b44, 0x178c, 0x2320, 0x3bb0, | |
1705 0x3348, 0x0f24, 0x1b6c, 0x2700, 0x0390, | |
1706 0x3448, 0x1024, 0x1c6c, 0x2800, 0x0490, | |
1707 0x3548, 0x1124, 0x1d6c, 0x2900, 0x0590, | |
1708 0x354c, 0x1128, 0x1d70, 0x2904, 0x0594, | |
1709 0x344c, 0x1028, 0x1c70, 0x2804, 0x0494, | |
1710 0x334c, 0x0f28, 0x1b70, 0x2704, 0x0394, | |
1711 0x3350, 0x0f2c, 0x1b74, 0x2708, 0x0398, | |
1712 0x3450, 0x102c, 0x1c74, 0x2808, 0x0498, | |
1713 0x3550, 0x112c, 0x1d74, 0x2908, 0x0598, | |
1714 0x3554, 0x1130, 0x1d78, 0x290c, 0x059c, | |
1715 0x3454, 0x1030, 0x1c78, 0x280c, 0x049c, | |
1716 0x3354, 0x0f30, 0x1b78, 0x270c, 0x039c, | |
1717 0x3358, 0x0f34, 0x1b7c, 0x2710, 0x03a0, | |
1718 0x3458, 0x1034, 0x1c7c, 0x2810, 0x04a0, | |
1719 0x3558, 0x1134, 0x1d7c, 0x2910, 0x05a0, | |
1720 0x355c, 0x1138, 0x1d80, 0x2914, 0x05a4, | |
1721 0x345c, 0x1038, 0x1c80, 0x2814, 0x04a4, | |
1722 0x335c, 0x0f38, 0x1b80, 0x2714, 0x03a4, | |
1723 0x3360, 0x0f3c, 0x1b84, 0x2718, 0x03a8, | |
1724 0x3460, 0x103c, 0x1c84, 0x2818, 0x04a8, | |
1725 0x3560, 0x113c, 0x1d84, 0x2918, 0x05a8, | |
1726 0x3564, 0x1140, 0x1d88, 0x291c, 0x05ac, | |
1727 0x3464, 0x1040, 0x1c88, 0x281c, 0x04ac, | |
1728 0x3364, 0x0f40, 0x1b88, 0x271c, 0x03ac, | |
1729 0x3368, 0x0f44, 0x1b8c, 0x2720, 0x03b0, | |
1730 0x3468, 0x1044, 0x1c8c, 0x2820, 0x04b0, | |
1731 0x3568, 0x1144, 0x1d8c, 0x2920, 0x05b0, | |
1732 0x3948, 0x1524, 0x216c, 0x2d00, 0x0990, | |
1733 0x3a48, 0x1624, 0x226c, 0x2e00, 0x0a90, | |
1734 0x3b48, 0x1724, 0x236c, 0x2f00, 0x0b90, | |
1735 0x3b4c, 0x1728, 0x2370, 0x2f04, 0x0b94, | |
1736 0x3a4c, 0x1628, 0x2270, 0x2e04, 0x0a94, | |
1737 0x394c, 0x1528, 0x2170, 0x2d04, 0x0994, | |
1738 0x3950, 0x152c, 0x2174, 0x2d08, 0x0998, | |
1739 0x3a50, 0x162c, 0x2274, 0x2e08, 0x0a98, | |
1740 0x3b50, 0x172c, 0x2374, 0x2f08, 0x0b98, | |
1741 0x3b54, 0x1730, 0x2378, 0x2f0c, 0x0b9c, | |
1742 0x3a54, 0x1630, 0x2278, 0x2e0c, 0x0a9c, | |
1743 0x3954, 0x1530, 0x2178, 0x2d0c, 0x099c, | |
1744 0x3958, 0x1534, 0x217c, 0x2d10, 0x09a0, | |
1745 0x3a58, 0x1634, 0x227c, 0x2e10, 0x0aa0, | |
1746 0x3b58, 0x1734, 0x237c, 0x2f10, 0x0ba0, | |
1747 0x3b5c, 0x1738, 0x2380, 0x2f14, 0x0ba4, | |
1748 0x3a5c, 0x1638, 0x2280, 0x2e14, 0x0aa4, | |
1749 0x395c, 0x1538, 0x2180, 0x2d14, 0x09a4, | |
1750 0x3960, 0x153c, 0x2184, 0x2d18, 0x09a8, | |
1751 0x3a60, 0x163c, 0x2284, 0x2e18, 0x0aa8, | |
1752 0x3b60, 0x173c, 0x2384, 0x2f18, 0x0ba8, | |
1753 0x3b64, 0x1740, 0x2388, 0x2f1c, 0x0bac, | |
1754 0x3a64, 0x1640, 0x2288, 0x2e1c, 0x0aac, | |
1755 0x3964, 0x1540, 0x2188, 0x2d1c, 0x09ac, | |
1756 0x3968, 0x1544, 0x218c, 0x2d20, 0x09b0, | |
1757 0x3a68, 0x1644, 0x228c, 0x2e20, 0x0ab0, | |
1758 0x3b68, 0x1744, 0x238c, 0x2f20, 0x0bb0, | |
1759 0x0348, 0x1b24, 0x276c, 0x3300, 0x0f90, | |
1760 0x0448, 0x1c24, 0x286c, 0x3400, 0x1090, | |
1761 0x0548, 0x1d24, 0x296c, 0x3500, 0x1190, | |
1762 0x054c, 0x1d28, 0x2970, 0x3504, 0x1194, | |
1763 0x044c, 0x1c28, 0x2870, 0x3404, 0x1094, | |
1764 0x034c, 0x1b28, 0x2770, 0x3304, 0x0f94, | |
1765 0x0350, 0x1b2c, 0x2774, 0x3308, 0x0f98, | |
1766 0x0450, 0x1c2c, 0x2874, 0x3408, 0x1098, | |
1767 0x0550, 0x1d2c, 0x2974, 0x3508, 0x1198, | |
1768 0x0554, 0x1d30, 0x2978, 0x350c, 0x119c, | |
1769 0x0454, 0x1c30, 0x2878, 0x340c, 0x109c, | |
1770 0x0354, 0x1b30, 0x2778, 0x330c, 0x0f9c, | |
1771 0x0358, 0x1b34, 0x277c, 0x3310, 0x0fa0, | |
1772 0x0458, 0x1c34, 0x287c, 0x3410, 0x10a0, | |
1773 0x0558, 0x1d34, 0x297c, 0x3510, 0x11a0, | |
1774 0x055c, 0x1d38, 0x2980, 0x3514, 0x11a4, | |
1775 0x045c, 0x1c38, 0x2880, 0x3414, 0x10a4, | |
1776 0x035c, 0x1b38, 0x2780, 0x3314, 0x0fa4, | |
1777 0x0360, 0x1b3c, 0x2784, 0x3318, 0x0fa8, | |
1778 0x0460, 0x1c3c, 0x2884, 0x3418, 0x10a8, | |
1779 0x0560, 0x1d3c, 0x2984, 0x3518, 0x11a8, | |
1780 0x0564, 0x1d40, 0x2988, 0x351c, 0x11ac, | |
1781 0x0464, 0x1c40, 0x2888, 0x341c, 0x10ac, | |
1782 0x0364, 0x1b40, 0x2788, 0x331c, 0x0fac, | |
1783 0x0368, 0x1b44, 0x278c, 0x3320, 0x0fb0, | |
1784 0x0468, 0x1c44, 0x288c, 0x3420, 0x10b0, | |
1785 0x0568, 0x1d44, 0x298c, 0x3520, 0x11b0, | |
1786 0x0948, 0x2124, 0x2d6c, 0x3900, 0x1590, | |
1787 0x0a48, 0x2224, 0x2e6c, 0x3a00, 0x1690, | |
1788 0x0b48, 0x2324, 0x2f6c, 0x3b00, 0x1790, | |
1789 0x0b4c, 0x2328, 0x2f70, 0x3b04, 0x1794, | |
1790 0x0a4c, 0x2228, 0x2e70, 0x3a04, 0x1694, | |
1791 0x094c, 0x2128, 0x2d70, 0x3904, 0x1594, | |
1792 0x0950, 0x212c, 0x2d74, 0x3908, 0x1598, | |
1793 0x0a50, 0x222c, 0x2e74, 0x3a08, 0x1698, | |
1794 0x0b50, 0x232c, 0x2f74, 0x3b08, 0x1798, | |
1795 0x0b54, 0x2330, 0x2f78, 0x3b0c, 0x179c, | |
1796 0x0a54, 0x2230, 0x2e78, 0x3a0c, 0x169c, | |
1797 0x0954, 0x2130, 0x2d78, 0x390c, 0x159c, | |
1798 0x0958, 0x2134, 0x2d7c, 0x3910, 0x15a0, | |
1799 0x0a58, 0x2234, 0x2e7c, 0x3a10, 0x16a0, | |
1800 0x0b58, 0x2334, 0x2f7c, 0x3b10, 0x17a0, | |
1801 0x0b5c, 0x2338, 0x2f80, 0x3b14, 0x17a4, | |
1802 0x0a5c, 0x2238, 0x2e80, 0x3a14, 0x16a4, | |
1803 0x095c, 0x2138, 0x2d80, 0x3914, 0x15a4, | |
1804 0x0960, 0x213c, 0x2d84, 0x3918, 0x15a8, | |
1805 0x0a60, 0x223c, 0x2e84, 0x3a18, 0x16a8, | |
1806 0x0b60, 0x233c, 0x2f84, 0x3b18, 0x17a8, | |
1807 0x0b64, 0x2340, 0x2f88, 0x3b1c, 0x17ac, | |
1808 0x0a64, 0x2240, 0x2e88, 0x3a1c, 0x16ac, | |
1809 0x0964, 0x2140, 0x2d88, 0x391c, 0x15ac, | |
1810 0x0968, 0x2144, 0x2d8c, 0x3920, 0x15b0, | |
1811 0x0a68, 0x2244, 0x2e8c, 0x3a20, 0x16b0, | |
1812 0x0b68, 0x2344, 0x2f8c, 0x3b20, 0x17b0, | |
1813 }; | |
1814 | |
1815 /* 2 channels per frame, 12 DIF sequences per channel, | |
1816 27 video segments per DIF sequence, 5 macroblocks per video segment */ | |
1817 static const uint16_t dv_place_422_625[2*12*27*5] = { | |
1818 0x0c48, 0x2424, 0x306c, 0x0000, 0x1890, | |
1819 0x0d48, 0x2524, 0x316c, 0x0100, 0x1990, | |
1820 0x0e48, 0x2624, 0x326c, 0x0200, 0x1a90, | |
1821 0x0e4c, 0x2628, 0x3270, 0x0204, 0x1a94, | |
1822 0x0d4c, 0x2528, 0x3170, 0x0104, 0x1994, | |
1823 0x0c4c, 0x2428, 0x3070, 0x0004, 0x1894, | |
1824 0x0c50, 0x242c, 0x3074, 0x0008, 0x1898, | |
1825 0x0d50, 0x252c, 0x3174, 0x0108, 0x1998, | |
1826 0x0e50, 0x262c, 0x3274, 0x0208, 0x1a98, | |
1827 0x0e54, 0x2630, 0x3278, 0x020c, 0x1a9c, | |
1828 0x0d54, 0x2530, 0x3178, 0x010c, 0x199c, | |
1829 0x0c54, 0x2430, 0x3078, 0x000c, 0x189c, | |
1830 0x0c58, 0x2434, 0x307c, 0x0010, 0x18a0, | |
1831 0x0d58, 0x2534, 0x317c, 0x0110, 0x19a0, | |
1832 0x0e58, 0x2634, 0x327c, 0x0210, 0x1aa0, | |
1833 0x0e5c, 0x2638, 0x3280, 0x0214, 0x1aa4, | |
1834 0x0d5c, 0x2538, 0x3180, 0x0114, 0x19a4, | |
1835 0x0c5c, 0x2438, 0x3080, 0x0014, 0x18a4, | |
1836 0x0c60, 0x243c, 0x3084, 0x0018, 0x18a8, | |
1837 0x0d60, 0x253c, 0x3184, 0x0118, 0x19a8, | |
1838 0x0e60, 0x263c, 0x3284, 0x0218, 0x1aa8, | |
1839 0x0e64, 0x2640, 0x3288, 0x021c, 0x1aac, | |
1840 0x0d64, 0x2540, 0x3188, 0x011c, 0x19ac, | |
1841 0x0c64, 0x2440, 0x3088, 0x001c, 0x18ac, | |
1842 0x0c68, 0x2444, 0x308c, 0x0020, 0x18b0, | |
1843 0x0d68, 0x2544, 0x318c, 0x0120, 0x19b0, | |
1844 0x0e68, 0x2644, 0x328c, 0x0220, 0x1ab0, | |
1845 0x1248, 0x2a24, 0x366c, 0x0600, 0x1e90, | |
1846 0x1348, 0x2b24, 0x376c, 0x0700, 0x1f90, | |
1847 0x1448, 0x2c24, 0x386c, 0x0800, 0x2090, | |
1848 0x144c, 0x2c28, 0x3870, 0x0804, 0x2094, | |
1849 0x134c, 0x2b28, 0x3770, 0x0704, 0x1f94, | |
1850 0x124c, 0x2a28, 0x3670, 0x0604, 0x1e94, | |
1851 0x1250, 0x2a2c, 0x3674, 0x0608, 0x1e98, | |
1852 0x1350, 0x2b2c, 0x3774, 0x0708, 0x1f98, | |
1853 0x1450, 0x2c2c, 0x3874, 0x0808, 0x2098, | |
1854 0x1454, 0x2c30, 0x3878, 0x080c, 0x209c, | |
1855 0x1354, 0x2b30, 0x3778, 0x070c, 0x1f9c, | |
1856 0x1254, 0x2a30, 0x3678, 0x060c, 0x1e9c, | |
1857 0x1258, 0x2a34, 0x367c, 0x0610, 0x1ea0, | |
1858 0x1358, 0x2b34, 0x377c, 0x0710, 0x1fa0, | |
1859 0x1458, 0x2c34, 0x387c, 0x0810, 0x20a0, | |
1860 0x145c, 0x2c38, 0x3880, 0x0814, 0x20a4, | |
1861 0x135c, 0x2b38, 0x3780, 0x0714, 0x1fa4, | |
1862 0x125c, 0x2a38, 0x3680, 0x0614, 0x1ea4, | |
1863 0x1260, 0x2a3c, 0x3684, 0x0618, 0x1ea8, | |
1864 0x1360, 0x2b3c, 0x3784, 0x0718, 0x1fa8, | |
1865 0x1460, 0x2c3c, 0x3884, 0x0818, 0x20a8, | |
1866 0x1464, 0x2c40, 0x3888, 0x081c, 0x20ac, | |
1867 0x1364, 0x2b40, 0x3788, 0x071c, 0x1fac, | |
1868 0x1264, 0x2a40, 0x3688, 0x061c, 0x1eac, | |
1869 0x1268, 0x2a44, 0x368c, 0x0620, 0x1eb0, | |
1870 0x1368, 0x2b44, 0x378c, 0x0720, 0x1fb0, | |
1871 0x1468, 0x2c44, 0x388c, 0x0820, 0x20b0, | |
1872 0x1848, 0x3024, 0x3c6c, 0x0c00, 0x2490, | |
1873 0x1948, 0x3124, 0x3d6c, 0x0d00, 0x2590, | |
1874 0x1a48, 0x3224, 0x3e6c, 0x0e00, 0x2690, | |
1875 0x1a4c, 0x3228, 0x3e70, 0x0e04, 0x2694, | |
1876 0x194c, 0x3128, 0x3d70, 0x0d04, 0x2594, | |
1877 0x184c, 0x3028, 0x3c70, 0x0c04, 0x2494, | |
1878 0x1850, 0x302c, 0x3c74, 0x0c08, 0x2498, | |
1879 0x1950, 0x312c, 0x3d74, 0x0d08, 0x2598, | |
1880 0x1a50, 0x322c, 0x3e74, 0x0e08, 0x2698, | |
1881 0x1a54, 0x3230, 0x3e78, 0x0e0c, 0x269c, | |
1882 0x1954, 0x3130, 0x3d78, 0x0d0c, 0x259c, | |
1883 0x1854, 0x3030, 0x3c78, 0x0c0c, 0x249c, | |
1884 0x1858, 0x3034, 0x3c7c, 0x0c10, 0x24a0, | |
1885 0x1958, 0x3134, 0x3d7c, 0x0d10, 0x25a0, | |
1886 0x1a58, 0x3234, 0x3e7c, 0x0e10, 0x26a0, | |
1887 0x1a5c, 0x3238, 0x3e80, 0x0e14, 0x26a4, | |
1888 0x195c, 0x3138, 0x3d80, 0x0d14, 0x25a4, | |
1889 0x185c, 0x3038, 0x3c80, 0x0c14, 0x24a4, | |
1890 0x1860, 0x303c, 0x3c84, 0x0c18, 0x24a8, | |
1891 0x1960, 0x313c, 0x3d84, 0x0d18, 0x25a8, | |
1892 0x1a60, 0x323c, 0x3e84, 0x0e18, 0x26a8, | |
1893 0x1a64, 0x3240, 0x3e88, 0x0e1c, 0x26ac, | |
1894 0x1964, 0x3140, 0x3d88, 0x0d1c, 0x25ac, | |
1895 0x1864, 0x3040, 0x3c88, 0x0c1c, 0x24ac, | |
1896 0x1868, 0x3044, 0x3c8c, 0x0c20, 0x24b0, | |
1897 0x1968, 0x3144, 0x3d8c, 0x0d20, 0x25b0, | |
1898 0x1a68, 0x3244, 0x3e8c, 0x0e20, 0x26b0, | |
1899 0x1e48, 0x3624, 0x426c, 0x1200, 0x2a90, | |
1900 0x1f48, 0x3724, 0x436c, 0x1300, 0x2b90, | |
1901 0x2048, 0x3824, 0x446c, 0x1400, 0x2c90, | |
1902 0x204c, 0x3828, 0x4470, 0x1404, 0x2c94, | |
1903 0x1f4c, 0x3728, 0x4370, 0x1304, 0x2b94, | |
1904 0x1e4c, 0x3628, 0x4270, 0x1204, 0x2a94, | |
1905 0x1e50, 0x362c, 0x4274, 0x1208, 0x2a98, | |
1906 0x1f50, 0x372c, 0x4374, 0x1308, 0x2b98, | |
1907 0x2050, 0x382c, 0x4474, 0x1408, 0x2c98, | |
1908 0x2054, 0x3830, 0x4478, 0x140c, 0x2c9c, | |
1909 0x1f54, 0x3730, 0x4378, 0x130c, 0x2b9c, | |
1910 0x1e54, 0x3630, 0x4278, 0x120c, 0x2a9c, | |
1911 0x1e58, 0x3634, 0x427c, 0x1210, 0x2aa0, | |
1912 0x1f58, 0x3734, 0x437c, 0x1310, 0x2ba0, | |
1913 0x2058, 0x3834, 0x447c, 0x1410, 0x2ca0, | |
1914 0x205c, 0x3838, 0x4480, 0x1414, 0x2ca4, | |
1915 0x1f5c, 0x3738, 0x4380, 0x1314, 0x2ba4, | |
1916 0x1e5c, 0x3638, 0x4280, 0x1214, 0x2aa4, | |
1917 0x1e60, 0x363c, 0x4284, 0x1218, 0x2aa8, | |
1918 0x1f60, 0x373c, 0x4384, 0x1318, 0x2ba8, | |
1919 0x2060, 0x383c, 0x4484, 0x1418, 0x2ca8, | |
1920 0x2064, 0x3840, 0x4488, 0x141c, 0x2cac, | |
1921 0x1f64, 0x3740, 0x4388, 0x131c, 0x2bac, | |
1922 0x1e64, 0x3640, 0x4288, 0x121c, 0x2aac, | |
1923 0x1e68, 0x3644, 0x428c, 0x1220, 0x2ab0, | |
1924 0x1f68, 0x3744, 0x438c, 0x1320, 0x2bb0, | |
1925 0x2068, 0x3844, 0x448c, 0x1420, 0x2cb0, | |
1926 0x2448, 0x3c24, 0x006c, 0x1800, 0x3090, | |
1927 0x2548, 0x3d24, 0x016c, 0x1900, 0x3190, | |
1928 0x2648, 0x3e24, 0x026c, 0x1a00, 0x3290, | |
1929 0x264c, 0x3e28, 0x0270, 0x1a04, 0x3294, | |
1930 0x254c, 0x3d28, 0x0170, 0x1904, 0x3194, | |
1931 0x244c, 0x3c28, 0x0070, 0x1804, 0x3094, | |
1932 0x2450, 0x3c2c, 0x0074, 0x1808, 0x3098, | |
1933 0x2550, 0x3d2c, 0x0174, 0x1908, 0x3198, | |
1934 0x2650, 0x3e2c, 0x0274, 0x1a08, 0x3298, | |
1935 0x2654, 0x3e30, 0x0278, 0x1a0c, 0x329c, | |
1936 0x2554, 0x3d30, 0x0178, 0x190c, 0x319c, | |
1937 0x2454, 0x3c30, 0x0078, 0x180c, 0x309c, | |
1938 0x2458, 0x3c34, 0x007c, 0x1810, 0x30a0, | |
1939 0x2558, 0x3d34, 0x017c, 0x1910, 0x31a0, | |
1940 0x2658, 0x3e34, 0x027c, 0x1a10, 0x32a0, | |
1941 0x265c, 0x3e38, 0x0280, 0x1a14, 0x32a4, | |
1942 0x255c, 0x3d38, 0x0180, 0x1914, 0x31a4, | |
1943 0x245c, 0x3c38, 0x0080, 0x1814, 0x30a4, | |
1944 0x2460, 0x3c3c, 0x0084, 0x1818, 0x30a8, | |
1945 0x2560, 0x3d3c, 0x0184, 0x1918, 0x31a8, | |
1946 0x2660, 0x3e3c, 0x0284, 0x1a18, 0x32a8, | |
1947 0x2664, 0x3e40, 0x0288, 0x1a1c, 0x32ac, | |
1948 0x2564, 0x3d40, 0x0188, 0x191c, 0x31ac, | |
1949 0x2464, 0x3c40, 0x0088, 0x181c, 0x30ac, | |
1950 0x2468, 0x3c44, 0x008c, 0x1820, 0x30b0, | |
1951 0x2568, 0x3d44, 0x018c, 0x1920, 0x31b0, | |
1952 0x2668, 0x3e44, 0x028c, 0x1a20, 0x32b0, | |
1953 0x2a48, 0x4224, 0x066c, 0x1e00, 0x3690, | |
1954 0x2b48, 0x4324, 0x076c, 0x1f00, 0x3790, | |
1955 0x2c48, 0x4424, 0x086c, 0x2000, 0x3890, | |
1956 0x2c4c, 0x4428, 0x0870, 0x2004, 0x3894, | |
1957 0x2b4c, 0x4328, 0x0770, 0x1f04, 0x3794, | |
1958 0x2a4c, 0x4228, 0x0670, 0x1e04, 0x3694, | |
1959 0x2a50, 0x422c, 0x0674, 0x1e08, 0x3698, | |
1960 0x2b50, 0x432c, 0x0774, 0x1f08, 0x3798, | |
1961 0x2c50, 0x442c, 0x0874, 0x2008, 0x3898, | |
1962 0x2c54, 0x4430, 0x0878, 0x200c, 0x389c, | |
1963 0x2b54, 0x4330, 0x0778, 0x1f0c, 0x379c, | |
1964 0x2a54, 0x4230, 0x0678, 0x1e0c, 0x369c, | |
1965 0x2a58, 0x4234, 0x067c, 0x1e10, 0x36a0, | |
1966 0x2b58, 0x4334, 0x077c, 0x1f10, 0x37a0, | |
1967 0x2c58, 0x4434, 0x087c, 0x2010, 0x38a0, | |
1968 0x2c5c, 0x4438, 0x0880, 0x2014, 0x38a4, | |
1969 0x2b5c, 0x4338, 0x0780, 0x1f14, 0x37a4, | |
1970 0x2a5c, 0x4238, 0x0680, 0x1e14, 0x36a4, | |
1971 0x2a60, 0x423c, 0x0684, 0x1e18, 0x36a8, | |
1972 0x2b60, 0x433c, 0x0784, 0x1f18, 0x37a8, | |
1973 0x2c60, 0x443c, 0x0884, 0x2018, 0x38a8, | |
1974 0x2c64, 0x4440, 0x0888, 0x201c, 0x38ac, | |
1975 0x2b64, 0x4340, 0x0788, 0x1f1c, 0x37ac, | |
1976 0x2a64, 0x4240, 0x0688, 0x1e1c, 0x36ac, | |
1977 0x2a68, 0x4244, 0x068c, 0x1e20, 0x36b0, | |
1978 0x2b68, 0x4344, 0x078c, 0x1f20, 0x37b0, | |
1979 0x2c68, 0x4444, 0x088c, 0x2020, 0x38b0, | |
1980 0x3048, 0x0024, 0x0c6c, 0x2400, 0x3c90, | |
1981 0x3148, 0x0124, 0x0d6c, 0x2500, 0x3d90, | |
1982 0x3248, 0x0224, 0x0e6c, 0x2600, 0x3e90, | |
1983 0x324c, 0x0228, 0x0e70, 0x2604, 0x3e94, | |
1984 0x314c, 0x0128, 0x0d70, 0x2504, 0x3d94, | |
1985 0x304c, 0x0028, 0x0c70, 0x2404, 0x3c94, | |
1986 0x3050, 0x002c, 0x0c74, 0x2408, 0x3c98, | |
1987 0x3150, 0x012c, 0x0d74, 0x2508, 0x3d98, | |
1988 0x3250, 0x022c, 0x0e74, 0x2608, 0x3e98, | |
1989 0x3254, 0x0230, 0x0e78, 0x260c, 0x3e9c, | |
1990 0x3154, 0x0130, 0x0d78, 0x250c, 0x3d9c, | |
1991 0x3054, 0x0030, 0x0c78, 0x240c, 0x3c9c, | |
1992 0x3058, 0x0034, 0x0c7c, 0x2410, 0x3ca0, | |
1993 0x3158, 0x0134, 0x0d7c, 0x2510, 0x3da0, | |
1994 0x3258, 0x0234, 0x0e7c, 0x2610, 0x3ea0, | |
1995 0x325c, 0x0238, 0x0e80, 0x2614, 0x3ea4, | |
1996 0x315c, 0x0138, 0x0d80, 0x2514, 0x3da4, | |
1997 0x305c, 0x0038, 0x0c80, 0x2414, 0x3ca4, | |
1998 0x3060, 0x003c, 0x0c84, 0x2418, 0x3ca8, | |
1999 0x3160, 0x013c, 0x0d84, 0x2518, 0x3da8, | |
2000 0x3260, 0x023c, 0x0e84, 0x2618, 0x3ea8, | |
2001 0x3264, 0x0240, 0x0e88, 0x261c, 0x3eac, | |
2002 0x3164, 0x0140, 0x0d88, 0x251c, 0x3dac, | |
2003 0x3064, 0x0040, 0x0c88, 0x241c, 0x3cac, | |
2004 0x3068, 0x0044, 0x0c8c, 0x2420, 0x3cb0, | |
2005 0x3168, 0x0144, 0x0d8c, 0x2520, 0x3db0, | |
2006 0x3268, 0x0244, 0x0e8c, 0x2620, 0x3eb0, | |
2007 0x3648, 0x0624, 0x126c, 0x2a00, 0x4290, | |
2008 0x3748, 0x0724, 0x136c, 0x2b00, 0x4390, | |
2009 0x3848, 0x0824, 0x146c, 0x2c00, 0x4490, | |
2010 0x384c, 0x0828, 0x1470, 0x2c04, 0x4494, | |
2011 0x374c, 0x0728, 0x1370, 0x2b04, 0x4394, | |
2012 0x364c, 0x0628, 0x1270, 0x2a04, 0x4294, | |
2013 0x3650, 0x062c, 0x1274, 0x2a08, 0x4298, | |
2014 0x3750, 0x072c, 0x1374, 0x2b08, 0x4398, | |
2015 0x3850, 0x082c, 0x1474, 0x2c08, 0x4498, | |
2016 0x3854, 0x0830, 0x1478, 0x2c0c, 0x449c, | |
2017 0x3754, 0x0730, 0x1378, 0x2b0c, 0x439c, | |
2018 0x3654, 0x0630, 0x1278, 0x2a0c, 0x429c, | |
2019 0x3658, 0x0634, 0x127c, 0x2a10, 0x42a0, | |
2020 0x3758, 0x0734, 0x137c, 0x2b10, 0x43a0, | |
2021 0x3858, 0x0834, 0x147c, 0x2c10, 0x44a0, | |
2022 0x385c, 0x0838, 0x1480, 0x2c14, 0x44a4, | |
2023 0x375c, 0x0738, 0x1380, 0x2b14, 0x43a4, | |
2024 0x365c, 0x0638, 0x1280, 0x2a14, 0x42a4, | |
2025 0x3660, 0x063c, 0x1284, 0x2a18, 0x42a8, | |
2026 0x3760, 0x073c, 0x1384, 0x2b18, 0x43a8, | |
2027 0x3860, 0x083c, 0x1484, 0x2c18, 0x44a8, | |
2028 0x3864, 0x0840, 0x1488, 0x2c1c, 0x44ac, | |
2029 0x3764, 0x0740, 0x1388, 0x2b1c, 0x43ac, | |
2030 0x3664, 0x0640, 0x1288, 0x2a1c, 0x42ac, | |
2031 0x3668, 0x0644, 0x128c, 0x2a20, 0x42b0, | |
2032 0x3768, 0x0744, 0x138c, 0x2b20, 0x43b0, | |
2033 0x3868, 0x0844, 0x148c, 0x2c20, 0x44b0, | |
2034 0x3c48, 0x0c24, 0x186c, 0x3000, 0x0090, | |
2035 0x3d48, 0x0d24, 0x196c, 0x3100, 0x0190, | |
2036 0x3e48, 0x0e24, 0x1a6c, 0x3200, 0x0290, | |
2037 0x3e4c, 0x0e28, 0x1a70, 0x3204, 0x0294, | |
2038 0x3d4c, 0x0d28, 0x1970, 0x3104, 0x0194, | |
2039 0x3c4c, 0x0c28, 0x1870, 0x3004, 0x0094, | |
2040 0x3c50, 0x0c2c, 0x1874, 0x3008, 0x0098, | |
2041 0x3d50, 0x0d2c, 0x1974, 0x3108, 0x0198, | |
2042 0x3e50, 0x0e2c, 0x1a74, 0x3208, 0x0298, | |
2043 0x3e54, 0x0e30, 0x1a78, 0x320c, 0x029c, | |
2044 0x3d54, 0x0d30, 0x1978, 0x310c, 0x019c, | |
2045 0x3c54, 0x0c30, 0x1878, 0x300c, 0x009c, | |
2046 0x3c58, 0x0c34, 0x187c, 0x3010, 0x00a0, | |
2047 0x3d58, 0x0d34, 0x197c, 0x3110, 0x01a0, | |
2048 0x3e58, 0x0e34, 0x1a7c, 0x3210, 0x02a0, | |
2049 0x3e5c, 0x0e38, 0x1a80, 0x3214, 0x02a4, | |
2050 0x3d5c, 0x0d38, 0x1980, 0x3114, 0x01a4, | |
2051 0x3c5c, 0x0c38, 0x1880, 0x3014, 0x00a4, | |
2052 0x3c60, 0x0c3c, 0x1884, 0x3018, 0x00a8, | |
2053 0x3d60, 0x0d3c, 0x1984, 0x3118, 0x01a8, | |
2054 0x3e60, 0x0e3c, 0x1a84, 0x3218, 0x02a8, | |
2055 0x3e64, 0x0e40, 0x1a88, 0x321c, 0x02ac, | |
2056 0x3d64, 0x0d40, 0x1988, 0x311c, 0x01ac, | |
2057 0x3c64, 0x0c40, 0x1888, 0x301c, 0x00ac, | |
2058 0x3c68, 0x0c44, 0x188c, 0x3020, 0x00b0, | |
2059 0x3d68, 0x0d44, 0x198c, 0x3120, 0x01b0, | |
2060 0x3e68, 0x0e44, 0x1a8c, 0x3220, 0x02b0, | |
2061 0x4248, 0x1224, 0x1e6c, 0x3600, 0x0690, | |
2062 0x4348, 0x1324, 0x1f6c, 0x3700, 0x0790, | |
2063 0x4448, 0x1424, 0x206c, 0x3800, 0x0890, | |
2064 0x444c, 0x1428, 0x2070, 0x3804, 0x0894, | |
2065 0x434c, 0x1328, 0x1f70, 0x3704, 0x0794, | |
2066 0x424c, 0x1228, 0x1e70, 0x3604, 0x0694, | |
2067 0x4250, 0x122c, 0x1e74, 0x3608, 0x0698, | |
2068 0x4350, 0x132c, 0x1f74, 0x3708, 0x0798, | |
2069 0x4450, 0x142c, 0x2074, 0x3808, 0x0898, | |
2070 0x4454, 0x1430, 0x2078, 0x380c, 0x089c, | |
2071 0x4354, 0x1330, 0x1f78, 0x370c, 0x079c, | |
2072 0x4254, 0x1230, 0x1e78, 0x360c, 0x069c, | |
2073 0x4258, 0x1234, 0x1e7c, 0x3610, 0x06a0, | |
2074 0x4358, 0x1334, 0x1f7c, 0x3710, 0x07a0, | |
2075 0x4458, 0x1434, 0x207c, 0x3810, 0x08a0, | |
2076 0x445c, 0x1438, 0x2080, 0x3814, 0x08a4, | |
2077 0x435c, 0x1338, 0x1f80, 0x3714, 0x07a4, | |
2078 0x425c, 0x1238, 0x1e80, 0x3614, 0x06a4, | |
2079 0x4260, 0x123c, 0x1e84, 0x3618, 0x06a8, | |
2080 0x4360, 0x133c, 0x1f84, 0x3718, 0x07a8, | |
2081 0x4460, 0x143c, 0x2084, 0x3818, 0x08a8, | |
2082 0x4464, 0x1440, 0x2088, 0x381c, 0x08ac, | |
2083 0x4364, 0x1340, 0x1f88, 0x371c, 0x07ac, | |
2084 0x4264, 0x1240, 0x1e88, 0x361c, 0x06ac, | |
2085 0x4268, 0x1244, 0x1e8c, 0x3620, 0x06b0, | |
2086 0x4368, 0x1344, 0x1f8c, 0x3720, 0x07b0, | |
2087 0x4468, 0x1444, 0x208c, 0x3820, 0x08b0, | |
2088 0x0048, 0x1824, 0x246c, 0x3c00, 0x0c90, | |
2089 0x0148, 0x1924, 0x256c, 0x3d00, 0x0d90, | |
2090 0x0248, 0x1a24, 0x266c, 0x3e00, 0x0e90, | |
2091 0x024c, 0x1a28, 0x2670, 0x3e04, 0x0e94, | |
2092 0x014c, 0x1928, 0x2570, 0x3d04, 0x0d94, | |
2093 0x004c, 0x1828, 0x2470, 0x3c04, 0x0c94, | |
2094 0x0050, 0x182c, 0x2474, 0x3c08, 0x0c98, | |
2095 0x0150, 0x192c, 0x2574, 0x3d08, 0x0d98, | |
2096 0x0250, 0x1a2c, 0x2674, 0x3e08, 0x0e98, | |
2097 0x0254, 0x1a30, 0x2678, 0x3e0c, 0x0e9c, | |
2098 0x0154, 0x1930, 0x2578, 0x3d0c, 0x0d9c, | |
2099 0x0054, 0x1830, 0x2478, 0x3c0c, 0x0c9c, | |
2100 0x0058, 0x1834, 0x247c, 0x3c10, 0x0ca0, | |
2101 0x0158, 0x1934, 0x257c, 0x3d10, 0x0da0, | |
2102 0x0258, 0x1a34, 0x267c, 0x3e10, 0x0ea0, | |
2103 0x025c, 0x1a38, 0x2680, 0x3e14, 0x0ea4, | |
2104 0x015c, 0x1938, 0x2580, 0x3d14, 0x0da4, | |
2105 0x005c, 0x1838, 0x2480, 0x3c14, 0x0ca4, | |
2106 0x0060, 0x183c, 0x2484, 0x3c18, 0x0ca8, | |
2107 0x0160, 0x193c, 0x2584, 0x3d18, 0x0da8, | |
2108 0x0260, 0x1a3c, 0x2684, 0x3e18, 0x0ea8, | |
2109 0x0264, 0x1a40, 0x2688, 0x3e1c, 0x0eac, | |
2110 0x0164, 0x1940, 0x2588, 0x3d1c, 0x0dac, | |
2111 0x0064, 0x1840, 0x2488, 0x3c1c, 0x0cac, | |
2112 0x0068, 0x1844, 0x248c, 0x3c20, 0x0cb0, | |
2113 0x0168, 0x1944, 0x258c, 0x3d20, 0x0db0, | |
2114 0x0268, 0x1a44, 0x268c, 0x3e20, 0x0eb0, | |
2115 0x0648, 0x1e24, 0x2a6c, 0x4200, 0x1290, | |
2116 0x0748, 0x1f24, 0x2b6c, 0x4300, 0x1390, | |
2117 0x0848, 0x2024, 0x2c6c, 0x4400, 0x1490, | |
2118 0x084c, 0x2028, 0x2c70, 0x4404, 0x1494, | |
2119 0x074c, 0x1f28, 0x2b70, 0x4304, 0x1394, | |
2120 0x064c, 0x1e28, 0x2a70, 0x4204, 0x1294, | |
2121 0x0650, 0x1e2c, 0x2a74, 0x4208, 0x1298, | |
2122 0x0750, 0x1f2c, 0x2b74, 0x4308, 0x1398, | |
2123 0x0850, 0x202c, 0x2c74, 0x4408, 0x1498, | |
2124 0x0854, 0x2030, 0x2c78, 0x440c, 0x149c, | |
2125 0x0754, 0x1f30, 0x2b78, 0x430c, 0x139c, | |
2126 0x0654, 0x1e30, 0x2a78, 0x420c, 0x129c, | |
2127 0x0658, 0x1e34, 0x2a7c, 0x4210, 0x12a0, | |
2128 0x0758, 0x1f34, 0x2b7c, 0x4310, 0x13a0, | |
2129 0x0858, 0x2034, 0x2c7c, 0x4410, 0x14a0, | |
2130 0x085c, 0x2038, 0x2c80, 0x4414, 0x14a4, | |
2131 0x075c, 0x1f38, 0x2b80, 0x4314, 0x13a4, | |
2132 0x065c, 0x1e38, 0x2a80, 0x4214, 0x12a4, | |
2133 0x0660, 0x1e3c, 0x2a84, 0x4218, 0x12a8, | |
2134 0x0760, 0x1f3c, 0x2b84, 0x4318, 0x13a8, | |
2135 0x0860, 0x203c, 0x2c84, 0x4418, 0x14a8, | |
2136 0x0864, 0x2040, 0x2c88, 0x441c, 0x14ac, | |
2137 0x0764, 0x1f40, 0x2b88, 0x431c, 0x13ac, | |
2138 0x0664, 0x1e40, 0x2a88, 0x421c, 0x12ac, | |
2139 0x0668, 0x1e44, 0x2a8c, 0x4220, 0x12b0, | |
2140 0x0768, 0x1f44, 0x2b8c, 0x4320, 0x13b0, | |
2141 0x0868, 0x2044, 0x2c8c, 0x4420, 0x14b0, | |
2142 0x0f48, 0x2724, 0x336c, 0x0300, 0x1b90, | |
2143 0x1048, 0x2824, 0x346c, 0x0400, 0x1c90, | |
2144 0x1148, 0x2924, 0x356c, 0x0500, 0x1d90, | |
2145 0x114c, 0x2928, 0x3570, 0x0504, 0x1d94, | |
2146 0x104c, 0x2828, 0x3470, 0x0404, 0x1c94, | |
2147 0x0f4c, 0x2728, 0x3370, 0x0304, 0x1b94, | |
2148 0x0f50, 0x272c, 0x3374, 0x0308, 0x1b98, | |
2149 0x1050, 0x282c, 0x3474, 0x0408, 0x1c98, | |
2150 0x1150, 0x292c, 0x3574, 0x0508, 0x1d98, | |
2151 0x1154, 0x2930, 0x3578, 0x050c, 0x1d9c, | |
2152 0x1054, 0x2830, 0x3478, 0x040c, 0x1c9c, | |
2153 0x0f54, 0x2730, 0x3378, 0x030c, 0x1b9c, | |
2154 0x0f58, 0x2734, 0x337c, 0x0310, 0x1ba0, | |
2155 0x1058, 0x2834, 0x347c, 0x0410, 0x1ca0, | |
2156 0x1158, 0x2934, 0x357c, 0x0510, 0x1da0, | |
2157 0x115c, 0x2938, 0x3580, 0x0514, 0x1da4, | |
2158 0x105c, 0x2838, 0x3480, 0x0414, 0x1ca4, | |
2159 0x0f5c, 0x2738, 0x3380, 0x0314, 0x1ba4, | |
2160 0x0f60, 0x273c, 0x3384, 0x0318, 0x1ba8, | |
2161 0x1060, 0x283c, 0x3484, 0x0418, 0x1ca8, | |
2162 0x1160, 0x293c, 0x3584, 0x0518, 0x1da8, | |
2163 0x1164, 0x2940, 0x3588, 0x051c, 0x1dac, | |
2164 0x1064, 0x2840, 0x3488, 0x041c, 0x1cac, | |
2165 0x0f64, 0x2740, 0x3388, 0x031c, 0x1bac, | |
2166 0x0f68, 0x2744, 0x338c, 0x0320, 0x1bb0, | |
2167 0x1068, 0x2844, 0x348c, 0x0420, 0x1cb0, | |
2168 0x1168, 0x2944, 0x358c, 0x0520, 0x1db0, | |
2169 0x1548, 0x2d24, 0x396c, 0x0900, 0x2190, | |
2170 0x1648, 0x2e24, 0x3a6c, 0x0a00, 0x2290, | |
2171 0x1748, 0x2f24, 0x3b6c, 0x0b00, 0x2390, | |
2172 0x174c, 0x2f28, 0x3b70, 0x0b04, 0x2394, | |
2173 0x164c, 0x2e28, 0x3a70, 0x0a04, 0x2294, | |
2174 0x154c, 0x2d28, 0x3970, 0x0904, 0x2194, | |
2175 0x1550, 0x2d2c, 0x3974, 0x0908, 0x2198, | |
2176 0x1650, 0x2e2c, 0x3a74, 0x0a08, 0x2298, | |
2177 0x1750, 0x2f2c, 0x3b74, 0x0b08, 0x2398, | |
2178 0x1754, 0x2f30, 0x3b78, 0x0b0c, 0x239c, | |
2179 0x1654, 0x2e30, 0x3a78, 0x0a0c, 0x229c, | |
2180 0x1554, 0x2d30, 0x3978, 0x090c, 0x219c, | |
2181 0x1558, 0x2d34, 0x397c, 0x0910, 0x21a0, | |
2182 0x1658, 0x2e34, 0x3a7c, 0x0a10, 0x22a0, | |
2183 0x1758, 0x2f34, 0x3b7c, 0x0b10, 0x23a0, | |
2184 0x175c, 0x2f38, 0x3b80, 0x0b14, 0x23a4, | |
2185 0x165c, 0x2e38, 0x3a80, 0x0a14, 0x22a4, | |
2186 0x155c, 0x2d38, 0x3980, 0x0914, 0x21a4, | |
2187 0x1560, 0x2d3c, 0x3984, 0x0918, 0x21a8, | |
2188 0x1660, 0x2e3c, 0x3a84, 0x0a18, 0x22a8, | |
2189 0x1760, 0x2f3c, 0x3b84, 0x0b18, 0x23a8, | |
2190 0x1764, 0x2f40, 0x3b88, 0x0b1c, 0x23ac, | |
2191 0x1664, 0x2e40, 0x3a88, 0x0a1c, 0x22ac, | |
2192 0x1564, 0x2d40, 0x3988, 0x091c, 0x21ac, | |
2193 0x1568, 0x2d44, 0x398c, 0x0920, 0x21b0, | |
2194 0x1668, 0x2e44, 0x3a8c, 0x0a20, 0x22b0, | |
2195 0x1768, 0x2f44, 0x3b8c, 0x0b20, 0x23b0, | |
2196 0x1b48, 0x3324, 0x3f6c, 0x0f00, 0x2790, | |
2197 0x1c48, 0x3424, 0x406c, 0x1000, 0x2890, | |
2198 0x1d48, 0x3524, 0x416c, 0x1100, 0x2990, | |
2199 0x1d4c, 0x3528, 0x4170, 0x1104, 0x2994, | |
2200 0x1c4c, 0x3428, 0x4070, 0x1004, 0x2894, | |
2201 0x1b4c, 0x3328, 0x3f70, 0x0f04, 0x2794, | |
2202 0x1b50, 0x332c, 0x3f74, 0x0f08, 0x2798, | |
2203 0x1c50, 0x342c, 0x4074, 0x1008, 0x2898, | |
2204 0x1d50, 0x352c, 0x4174, 0x1108, 0x2998, | |
2205 0x1d54, 0x3530, 0x4178, 0x110c, 0x299c, | |
2206 0x1c54, 0x3430, 0x4078, 0x100c, 0x289c, | |
2207 0x1b54, 0x3330, 0x3f78, 0x0f0c, 0x279c, | |
2208 0x1b58, 0x3334, 0x3f7c, 0x0f10, 0x27a0, | |
2209 0x1c58, 0x3434, 0x407c, 0x1010, 0x28a0, | |
2210 0x1d58, 0x3534, 0x417c, 0x1110, 0x29a0, | |
2211 0x1d5c, 0x3538, 0x4180, 0x1114, 0x29a4, | |
2212 0x1c5c, 0x3438, 0x4080, 0x1014, 0x28a4, | |
2213 0x1b5c, 0x3338, 0x3f80, 0x0f14, 0x27a4, | |
2214 0x1b60, 0x333c, 0x3f84, 0x0f18, 0x27a8, | |
2215 0x1c60, 0x343c, 0x4084, 0x1018, 0x28a8, | |
2216 0x1d60, 0x353c, 0x4184, 0x1118, 0x29a8, | |
2217 0x1d64, 0x3540, 0x4188, 0x111c, 0x29ac, | |
2218 0x1c64, 0x3440, 0x4088, 0x101c, 0x28ac, | |
2219 0x1b64, 0x3340, 0x3f88, 0x0f1c, 0x27ac, | |
2220 0x1b68, 0x3344, 0x3f8c, 0x0f20, 0x27b0, | |
2221 0x1c68, 0x3444, 0x408c, 0x1020, 0x28b0, | |
2222 0x1d68, 0x3544, 0x418c, 0x1120, 0x29b0, | |
2223 0x2148, 0x3924, 0x456c, 0x1500, 0x2d90, | |
2224 0x2248, 0x3a24, 0x466c, 0x1600, 0x2e90, | |
2225 0x2348, 0x3b24, 0x476c, 0x1700, 0x2f90, | |
2226 0x234c, 0x3b28, 0x4770, 0x1704, 0x2f94, | |
2227 0x224c, 0x3a28, 0x4670, 0x1604, 0x2e94, | |
2228 0x214c, 0x3928, 0x4570, 0x1504, 0x2d94, | |
2229 0x2150, 0x392c, 0x4574, 0x1508, 0x2d98, | |
2230 0x2250, 0x3a2c, 0x4674, 0x1608, 0x2e98, | |
2231 0x2350, 0x3b2c, 0x4774, 0x1708, 0x2f98, | |
2232 0x2354, 0x3b30, 0x4778, 0x170c, 0x2f9c, | |
2233 0x2254, 0x3a30, 0x4678, 0x160c, 0x2e9c, | |
2234 0x2154, 0x3930, 0x4578, 0x150c, 0x2d9c, | |
2235 0x2158, 0x3934, 0x457c, 0x1510, 0x2da0, | |
2236 0x2258, 0x3a34, 0x467c, 0x1610, 0x2ea0, | |
2237 0x2358, 0x3b34, 0x477c, 0x1710, 0x2fa0, | |
2238 0x235c, 0x3b38, 0x4780, 0x1714, 0x2fa4, | |
2239 0x225c, 0x3a38, 0x4680, 0x1614, 0x2ea4, | |
2240 0x215c, 0x3938, 0x4580, 0x1514, 0x2da4, | |
2241 0x2160, 0x393c, 0x4584, 0x1518, 0x2da8, | |
2242 0x2260, 0x3a3c, 0x4684, 0x1618, 0x2ea8, | |
2243 0x2360, 0x3b3c, 0x4784, 0x1718, 0x2fa8, | |
2244 0x2364, 0x3b40, 0x4788, 0x171c, 0x2fac, | |
2245 0x2264, 0x3a40, 0x4688, 0x161c, 0x2eac, | |
2246 0x2164, 0x3940, 0x4588, 0x151c, 0x2dac, | |
2247 0x2168, 0x3944, 0x458c, 0x1520, 0x2db0, | |
2248 0x2268, 0x3a44, 0x468c, 0x1620, 0x2eb0, | |
2249 0x2368, 0x3b44, 0x478c, 0x1720, 0x2fb0, | |
2250 0x2748, 0x3f24, 0x036c, 0x1b00, 0x3390, | |
2251 0x2848, 0x4024, 0x046c, 0x1c00, 0x3490, | |
2252 0x2948, 0x4124, 0x056c, 0x1d00, 0x3590, | |
2253 0x294c, 0x4128, 0x0570, 0x1d04, 0x3594, | |
2254 0x284c, 0x4028, 0x0470, 0x1c04, 0x3494, | |
2255 0x274c, 0x3f28, 0x0370, 0x1b04, 0x3394, | |
2256 0x2750, 0x3f2c, 0x0374, 0x1b08, 0x3398, | |
2257 0x2850, 0x402c, 0x0474, 0x1c08, 0x3498, | |
2258 0x2950, 0x412c, 0x0574, 0x1d08, 0x3598, | |
2259 0x2954, 0x4130, 0x0578, 0x1d0c, 0x359c, | |
2260 0x2854, 0x4030, 0x0478, 0x1c0c, 0x349c, | |
2261 0x2754, 0x3f30, 0x0378, 0x1b0c, 0x339c, | |
2262 0x2758, 0x3f34, 0x037c, 0x1b10, 0x33a0, | |
2263 0x2858, 0x4034, 0x047c, 0x1c10, 0x34a0, | |
2264 0x2958, 0x4134, 0x057c, 0x1d10, 0x35a0, | |
2265 0x295c, 0x4138, 0x0580, 0x1d14, 0x35a4, | |
2266 0x285c, 0x4038, 0x0480, 0x1c14, 0x34a4, | |
2267 0x275c, 0x3f38, 0x0380, 0x1b14, 0x33a4, | |
2268 0x2760, 0x3f3c, 0x0384, 0x1b18, 0x33a8, | |
2269 0x2860, 0x403c, 0x0484, 0x1c18, 0x34a8, | |
2270 0x2960, 0x413c, 0x0584, 0x1d18, 0x35a8, | |
2271 0x2964, 0x4140, 0x0588, 0x1d1c, 0x35ac, | |
2272 0x2864, 0x4040, 0x0488, 0x1c1c, 0x34ac, | |
2273 0x2764, 0x3f40, 0x0388, 0x1b1c, 0x33ac, | |
2274 0x2768, 0x3f44, 0x038c, 0x1b20, 0x33b0, | |
2275 0x2868, 0x4044, 0x048c, 0x1c20, 0x34b0, | |
2276 0x2968, 0x4144, 0x058c, 0x1d20, 0x35b0, | |
2277 0x2d48, 0x4524, 0x096c, 0x2100, 0x3990, | |
2278 0x2e48, 0x4624, 0x0a6c, 0x2200, 0x3a90, | |
2279 0x2f48, 0x4724, 0x0b6c, 0x2300, 0x3b90, | |
2280 0x2f4c, 0x4728, 0x0b70, 0x2304, 0x3b94, | |
2281 0x2e4c, 0x4628, 0x0a70, 0x2204, 0x3a94, | |
2282 0x2d4c, 0x4528, 0x0970, 0x2104, 0x3994, | |
2283 0x2d50, 0x452c, 0x0974, 0x2108, 0x3998, | |
2284 0x2e50, 0x462c, 0x0a74, 0x2208, 0x3a98, | |
2285 0x2f50, 0x472c, 0x0b74, 0x2308, 0x3b98, | |
2286 0x2f54, 0x4730, 0x0b78, 0x230c, 0x3b9c, | |
2287 0x2e54, 0x4630, 0x0a78, 0x220c, 0x3a9c, | |
2288 0x2d54, 0x4530, 0x0978, 0x210c, 0x399c, | |
2289 0x2d58, 0x4534, 0x097c, 0x2110, 0x39a0, | |
2290 0x2e58, 0x4634, 0x0a7c, 0x2210, 0x3aa0, | |
2291 0x2f58, 0x4734, 0x0b7c, 0x2310, 0x3ba0, | |
2292 0x2f5c, 0x4738, 0x0b80, 0x2314, 0x3ba4, | |
2293 0x2e5c, 0x4638, 0x0a80, 0x2214, 0x3aa4, | |
2294 0x2d5c, 0x4538, 0x0980, 0x2114, 0x39a4, | |
2295 0x2d60, 0x453c, 0x0984, 0x2118, 0x39a8, | |
2296 0x2e60, 0x463c, 0x0a84, 0x2218, 0x3aa8, | |
2297 0x2f60, 0x473c, 0x0b84, 0x2318, 0x3ba8, | |
2298 0x2f64, 0x4740, 0x0b88, 0x231c, 0x3bac, | |
2299 0x2e64, 0x4640, 0x0a88, 0x221c, 0x3aac, | |
2300 0x2d64, 0x4540, 0x0988, 0x211c, 0x39ac, | |
2301 0x2d68, 0x4544, 0x098c, 0x2120, 0x39b0, | |
2302 0x2e68, 0x4644, 0x0a8c, 0x2220, 0x3ab0, | |
2303 0x2f68, 0x4744, 0x0b8c, 0x2320, 0x3bb0, | |
2304 0x3348, 0x0324, 0x0f6c, 0x2700, 0x3f90, | |
2305 0x3448, 0x0424, 0x106c, 0x2800, 0x4090, | |
2306 0x3548, 0x0524, 0x116c, 0x2900, 0x4190, | |
2307 0x354c, 0x0528, 0x1170, 0x2904, 0x4194, | |
2308 0x344c, 0x0428, 0x1070, 0x2804, 0x4094, | |
2309 0x334c, 0x0328, 0x0f70, 0x2704, 0x3f94, | |
2310 0x3350, 0x032c, 0x0f74, 0x2708, 0x3f98, | |
2311 0x3450, 0x042c, 0x1074, 0x2808, 0x4098, | |
2312 0x3550, 0x052c, 0x1174, 0x2908, 0x4198, | |
2313 0x3554, 0x0530, 0x1178, 0x290c, 0x419c, | |
2314 0x3454, 0x0430, 0x1078, 0x280c, 0x409c, | |
2315 0x3354, 0x0330, 0x0f78, 0x270c, 0x3f9c, | |
2316 0x3358, 0x0334, 0x0f7c, 0x2710, 0x3fa0, | |
2317 0x3458, 0x0434, 0x107c, 0x2810, 0x40a0, | |
2318 0x3558, 0x0534, 0x117c, 0x2910, 0x41a0, | |
2319 0x355c, 0x0538, 0x1180, 0x2914, 0x41a4, | |
2320 0x345c, 0x0438, 0x1080, 0x2814, 0x40a4, | |
2321 0x335c, 0x0338, 0x0f80, 0x2714, 0x3fa4, | |
2322 0x3360, 0x033c, 0x0f84, 0x2718, 0x3fa8, | |
2323 0x3460, 0x043c, 0x1084, 0x2818, 0x40a8, | |
2324 0x3560, 0x053c, 0x1184, 0x2918, 0x41a8, | |
2325 0x3564, 0x0540, 0x1188, 0x291c, 0x41ac, | |
2326 0x3464, 0x0440, 0x1088, 0x281c, 0x40ac, | |
2327 0x3364, 0x0340, 0x0f88, 0x271c, 0x3fac, | |
2328 0x3368, 0x0344, 0x0f8c, 0x2720, 0x3fb0, | |
2329 0x3468, 0x0444, 0x108c, 0x2820, 0x40b0, | |
2330 0x3568, 0x0544, 0x118c, 0x2920, 0x41b0, | |
2331 0x3948, 0x0924, 0x156c, 0x2d00, 0x4590, | |
2332 0x3a48, 0x0a24, 0x166c, 0x2e00, 0x4690, | |
2333 0x3b48, 0x0b24, 0x176c, 0x2f00, 0x4790, | |
2334 0x3b4c, 0x0b28, 0x1770, 0x2f04, 0x4794, | |
2335 0x3a4c, 0x0a28, 0x1670, 0x2e04, 0x4694, | |
2336 0x394c, 0x0928, 0x1570, 0x2d04, 0x4594, | |
2337 0x3950, 0x092c, 0x1574, 0x2d08, 0x4598, | |
2338 0x3a50, 0x0a2c, 0x1674, 0x2e08, 0x4698, | |
2339 0x3b50, 0x0b2c, 0x1774, 0x2f08, 0x4798, | |
2340 0x3b54, 0x0b30, 0x1778, 0x2f0c, 0x479c, | |
2341 0x3a54, 0x0a30, 0x1678, 0x2e0c, 0x469c, | |
2342 0x3954, 0x0930, 0x1578, 0x2d0c, 0x459c, | |
2343 0x3958, 0x0934, 0x157c, 0x2d10, 0x45a0, | |
2344 0x3a58, 0x0a34, 0x167c, 0x2e10, 0x46a0, | |
2345 0x3b58, 0x0b34, 0x177c, 0x2f10, 0x47a0, | |
2346 0x3b5c, 0x0b38, 0x1780, 0x2f14, 0x47a4, | |
2347 0x3a5c, 0x0a38, 0x1680, 0x2e14, 0x46a4, | |
2348 0x395c, 0x0938, 0x1580, 0x2d14, 0x45a4, | |
2349 0x3960, 0x093c, 0x1584, 0x2d18, 0x45a8, | |
2350 0x3a60, 0x0a3c, 0x1684, 0x2e18, 0x46a8, | |
2351 0x3b60, 0x0b3c, 0x1784, 0x2f18, 0x47a8, | |
2352 0x3b64, 0x0b40, 0x1788, 0x2f1c, 0x47ac, | |
2353 0x3a64, 0x0a40, 0x1688, 0x2e1c, 0x46ac, | |
2354 0x3964, 0x0940, 0x1588, 0x2d1c, 0x45ac, | |
2355 0x3968, 0x0944, 0x158c, 0x2d20, 0x45b0, | |
2356 0x3a68, 0x0a44, 0x168c, 0x2e20, 0x46b0, | |
2357 0x3b68, 0x0b44, 0x178c, 0x2f20, 0x47b0, | |
2358 0x3f48, 0x0f24, 0x1b6c, 0x3300, 0x0390, | |
2359 0x4048, 0x1024, 0x1c6c, 0x3400, 0x0490, | |
2360 0x4148, 0x1124, 0x1d6c, 0x3500, 0x0590, | |
2361 0x414c, 0x1128, 0x1d70, 0x3504, 0x0594, | |
2362 0x404c, 0x1028, 0x1c70, 0x3404, 0x0494, | |
2363 0x3f4c, 0x0f28, 0x1b70, 0x3304, 0x0394, | |
2364 0x3f50, 0x0f2c, 0x1b74, 0x3308, 0x0398, | |
2365 0x4050, 0x102c, 0x1c74, 0x3408, 0x0498, | |
2366 0x4150, 0x112c, 0x1d74, 0x3508, 0x0598, | |
2367 0x4154, 0x1130, 0x1d78, 0x350c, 0x059c, | |
2368 0x4054, 0x1030, 0x1c78, 0x340c, 0x049c, | |
2369 0x3f54, 0x0f30, 0x1b78, 0x330c, 0x039c, | |
2370 0x3f58, 0x0f34, 0x1b7c, 0x3310, 0x03a0, | |
2371 0x4058, 0x1034, 0x1c7c, 0x3410, 0x04a0, | |
2372 0x4158, 0x1134, 0x1d7c, 0x3510, 0x05a0, | |
2373 0x415c, 0x1138, 0x1d80, 0x3514, 0x05a4, | |
2374 0x405c, 0x1038, 0x1c80, 0x3414, 0x04a4, | |
2375 0x3f5c, 0x0f38, 0x1b80, 0x3314, 0x03a4, | |
2376 0x3f60, 0x0f3c, 0x1b84, 0x3318, 0x03a8, | |
2377 0x4060, 0x103c, 0x1c84, 0x3418, 0x04a8, | |
2378 0x4160, 0x113c, 0x1d84, 0x3518, 0x05a8, | |
2379 0x4164, 0x1140, 0x1d88, 0x351c, 0x05ac, | |
2380 0x4064, 0x1040, 0x1c88, 0x341c, 0x04ac, | |
2381 0x3f64, 0x0f40, 0x1b88, 0x331c, 0x03ac, | |
2382 0x3f68, 0x0f44, 0x1b8c, 0x3320, 0x03b0, | |
2383 0x4068, 0x1044, 0x1c8c, 0x3420, 0x04b0, | |
2384 0x4168, 0x1144, 0x1d8c, 0x3520, 0x05b0, | |
2385 0x4548, 0x1524, 0x216c, 0x3900, 0x0990, | |
2386 0x4648, 0x1624, 0x226c, 0x3a00, 0x0a90, | |
2387 0x4748, 0x1724, 0x236c, 0x3b00, 0x0b90, | |
2388 0x474c, 0x1728, 0x2370, 0x3b04, 0x0b94, | |
2389 0x464c, 0x1628, 0x2270, 0x3a04, 0x0a94, | |
2390 0x454c, 0x1528, 0x2170, 0x3904, 0x0994, | |
2391 0x4550, 0x152c, 0x2174, 0x3908, 0x0998, | |
2392 0x4650, 0x162c, 0x2274, 0x3a08, 0x0a98, | |
2393 0x4750, 0x172c, 0x2374, 0x3b08, 0x0b98, | |
2394 0x4754, 0x1730, 0x2378, 0x3b0c, 0x0b9c, | |
2395 0x4654, 0x1630, 0x2278, 0x3a0c, 0x0a9c, | |
2396 0x4554, 0x1530, 0x2178, 0x390c, 0x099c, | |
2397 0x4558, 0x1534, 0x217c, 0x3910, 0x09a0, | |
2398 0x4658, 0x1634, 0x227c, 0x3a10, 0x0aa0, | |
2399 0x4758, 0x1734, 0x237c, 0x3b10, 0x0ba0, | |
2400 0x475c, 0x1738, 0x2380, 0x3b14, 0x0ba4, | |
2401 0x465c, 0x1638, 0x2280, 0x3a14, 0x0aa4, | |
2402 0x455c, 0x1538, 0x2180, 0x3914, 0x09a4, | |
2403 0x4560, 0x153c, 0x2184, 0x3918, 0x09a8, | |
2404 0x4660, 0x163c, 0x2284, 0x3a18, 0x0aa8, | |
2405 0x4760, 0x173c, 0x2384, 0x3b18, 0x0ba8, | |
2406 0x4764, 0x1740, 0x2388, 0x3b1c, 0x0bac, | |
2407 0x4664, 0x1640, 0x2288, 0x3a1c, 0x0aac, | |
2408 0x4564, 0x1540, 0x2188, 0x391c, 0x09ac, | |
2409 0x4568, 0x1544, 0x218c, 0x3920, 0x09b0, | |
2410 0x4668, 0x1644, 0x228c, 0x3a20, 0x0ab0, | |
2411 0x4768, 0x1744, 0x238c, 0x3b20, 0x0bb0, | |
2412 0x0348, 0x1b24, 0x276c, 0x3f00, 0x0f90, | |
2413 0x0448, 0x1c24, 0x286c, 0x4000, 0x1090, | |
2414 0x0548, 0x1d24, 0x296c, 0x4100, 0x1190, | |
2415 0x054c, 0x1d28, 0x2970, 0x4104, 0x1194, | |
2416 0x044c, 0x1c28, 0x2870, 0x4004, 0x1094, | |
2417 0x034c, 0x1b28, 0x2770, 0x3f04, 0x0f94, | |
2418 0x0350, 0x1b2c, 0x2774, 0x3f08, 0x0f98, | |
2419 0x0450, 0x1c2c, 0x2874, 0x4008, 0x1098, | |
2420 0x0550, 0x1d2c, 0x2974, 0x4108, 0x1198, | |
2421 0x0554, 0x1d30, 0x2978, 0x410c, 0x119c, | |
2422 0x0454, 0x1c30, 0x2878, 0x400c, 0x109c, | |
2423 0x0354, 0x1b30, 0x2778, 0x3f0c, 0x0f9c, | |
2424 0x0358, 0x1b34, 0x277c, 0x3f10, 0x0fa0, | |
2425 0x0458, 0x1c34, 0x287c, 0x4010, 0x10a0, | |
2426 0x0558, 0x1d34, 0x297c, 0x4110, 0x11a0, | |
2427 0x055c, 0x1d38, 0x2980, 0x4114, 0x11a4, | |
2428 0x045c, 0x1c38, 0x2880, 0x4014, 0x10a4, | |
2429 0x035c, 0x1b38, 0x2780, 0x3f14, 0x0fa4, | |
2430 0x0360, 0x1b3c, 0x2784, 0x3f18, 0x0fa8, | |
2431 0x0460, 0x1c3c, 0x2884, 0x4018, 0x10a8, | |
2432 0x0560, 0x1d3c, 0x2984, 0x4118, 0x11a8, | |
2433 0x0564, 0x1d40, 0x2988, 0x411c, 0x11ac, | |
2434 0x0464, 0x1c40, 0x2888, 0x401c, 0x10ac, | |
2435 0x0364, 0x1b40, 0x2788, 0x3f1c, 0x0fac, | |
2436 0x0368, 0x1b44, 0x278c, 0x3f20, 0x0fb0, | |
2437 0x0468, 0x1c44, 0x288c, 0x4020, 0x10b0, | |
2438 0x0568, 0x1d44, 0x298c, 0x4120, 0x11b0, | |
2439 0x0948, 0x2124, 0x2d6c, 0x4500, 0x1590, | |
2440 0x0a48, 0x2224, 0x2e6c, 0x4600, 0x1690, | |
2441 0x0b48, 0x2324, 0x2f6c, 0x4700, 0x1790, | |
2442 0x0b4c, 0x2328, 0x2f70, 0x4704, 0x1794, | |
2443 0x0a4c, 0x2228, 0x2e70, 0x4604, 0x1694, | |
2444 0x094c, 0x2128, 0x2d70, 0x4504, 0x1594, | |
2445 0x0950, 0x212c, 0x2d74, 0x4508, 0x1598, | |
2446 0x0a50, 0x222c, 0x2e74, 0x4608, 0x1698, | |
2447 0x0b50, 0x232c, 0x2f74, 0x4708, 0x1798, | |
2448 0x0b54, 0x2330, 0x2f78, 0x470c, 0x179c, | |
2449 0x0a54, 0x2230, 0x2e78, 0x460c, 0x169c, | |
2450 0x0954, 0x2130, 0x2d78, 0x450c, 0x159c, | |
2451 0x0958, 0x2134, 0x2d7c, 0x4510, 0x15a0, | |
2452 0x0a58, 0x2234, 0x2e7c, 0x4610, 0x16a0, | |
2453 0x0b58, 0x2334, 0x2f7c, 0x4710, 0x17a0, | |
2454 0x0b5c, 0x2338, 0x2f80, 0x4714, 0x17a4, | |
2455 0x0a5c, 0x2238, 0x2e80, 0x4614, 0x16a4, | |
2456 0x095c, 0x2138, 0x2d80, 0x4514, 0x15a4, | |
2457 0x0960, 0x213c, 0x2d84, 0x4518, 0x15a8, | |
2458 0x0a60, 0x223c, 0x2e84, 0x4618, 0x16a8, | |
2459 0x0b60, 0x233c, 0x2f84, 0x4718, 0x17a8, | |
2460 0x0b64, 0x2340, 0x2f88, 0x471c, 0x17ac, | |
2461 0x0a64, 0x2240, 0x2e88, 0x461c, 0x16ac, | |
2462 0x0964, 0x2140, 0x2d88, 0x451c, 0x15ac, | |
2463 0x0968, 0x2144, 0x2d8c, 0x4520, 0x15b0, | |
2464 0x0a68, 0x2244, 0x2e8c, 0x4620, 0x16b0, | |
2465 0x0b68, 0x2344, 0x2f8c, 0x4720, 0x17b0, | |
2466 }; | |
2467 | |
3149
2679184e8be0
AC coefficient weighing (per SMPTE 314M) for the DV encoder and decoder. The
romansh
parents:
3036
diff
changeset
|
2468 /* DV25/50 DCT coefficient weights and inverse weights */ |
2679184e8be0
AC coefficient weighing (per SMPTE 314M) for the DV encoder and decoder. The
romansh
parents:
3036
diff
changeset
|
2469 /* created by dvtables.py */ |
2679184e8be0
AC coefficient weighing (per SMPTE 314M) for the DV encoder and decoder. The
romansh
parents:
3036
diff
changeset
|
2470 static const int dv_weight_bits = 18; |
2679184e8be0
AC coefficient weighing (per SMPTE 314M) for the DV encoder and decoder. The
romansh
parents:
3036
diff
changeset
|
2471 static const int dv_weight_88[64] = { |
2679184e8be0
AC coefficient weighing (per SMPTE 314M) for the DV encoder and decoder. The
romansh
parents:
3036
diff
changeset
|
2472 131072, 257107, 257107, 242189, 252167, 242189, 235923, 237536, |
2679184e8be0
AC coefficient weighing (per SMPTE 314M) for the DV encoder and decoder. The
romansh
parents:
3036
diff
changeset
|
2473 237536, 235923, 229376, 231390, 223754, 231390, 229376, 222935, |
2679184e8be0
AC coefficient weighing (per SMPTE 314M) for the DV encoder and decoder. The
romansh
parents:
3036
diff
changeset
|
2474 224969, 217965, 217965, 224969, 222935, 200636, 218652, 211916, |
2679184e8be0
AC coefficient weighing (per SMPTE 314M) for the DV encoder and decoder. The
romansh
parents:
3036
diff
changeset
|
2475 212325, 211916, 218652, 200636, 188995, 196781, 205965, 206433, |
2679184e8be0
AC coefficient weighing (per SMPTE 314M) for the DV encoder and decoder. The
romansh
parents:
3036
diff
changeset
|
2476 206433, 205965, 196781, 188995, 185364, 185364, 200636, 200704, |
2679184e8be0
AC coefficient weighing (per SMPTE 314M) for the DV encoder and decoder. The
romansh
parents:
3036
diff
changeset
|
2477 200636, 185364, 185364, 174609, 180568, 195068, 195068, 180568, |
2679184e8be0
AC coefficient weighing (per SMPTE 314M) for the DV encoder and decoder. The
romansh
parents:
3036
diff
changeset
|
2478 174609, 170091, 175557, 189591, 175557, 170091, 165371, 170627, |
2679184e8be0
AC coefficient weighing (per SMPTE 314M) for the DV encoder and decoder. The
romansh
parents:
3036
diff
changeset
|
2479 170627, 165371, 160727, 153560, 160727, 144651, 144651, 136258, |
2679184e8be0
AC coefficient weighing (per SMPTE 314M) for the DV encoder and decoder. The
romansh
parents:
3036
diff
changeset
|
2480 }; |
2679184e8be0
AC coefficient weighing (per SMPTE 314M) for the DV encoder and decoder. The
romansh
parents:
3036
diff
changeset
|
2481 static const int dv_weight_248[64] = { |
2679184e8be0
AC coefficient weighing (per SMPTE 314M) for the DV encoder and decoder. The
romansh
parents:
3036
diff
changeset
|
2482 131072, 242189, 257107, 237536, 229376, 200636, 242189, 223754, |
2679184e8be0
AC coefficient weighing (per SMPTE 314M) for the DV encoder and decoder. The
romansh
parents:
3036
diff
changeset
|
2483 224969, 196781, 262144, 242189, 229376, 200636, 257107, 237536, |
2679184e8be0
AC coefficient weighing (per SMPTE 314M) for the DV encoder and decoder. The
romansh
parents:
3036
diff
changeset
|
2484 211916, 185364, 235923, 217965, 229376, 211916, 206433, 180568, |
2679184e8be0
AC coefficient weighing (per SMPTE 314M) for the DV encoder and decoder. The
romansh
parents:
3036
diff
changeset
|
2485 242189, 223754, 224969, 196781, 211916, 185364, 235923, 217965, |
2679184e8be0
AC coefficient weighing (per SMPTE 314M) for the DV encoder and decoder. The
romansh
parents:
3036
diff
changeset
|
2486 200704, 175557, 222935, 205965, 200636, 185364, 195068, 170627, |
2679184e8be0
AC coefficient weighing (per SMPTE 314M) for the DV encoder and decoder. The
romansh
parents:
3036
diff
changeset
|
2487 229376, 211916, 206433, 180568, 200704, 175557, 222935, 205965, |
2679184e8be0
AC coefficient weighing (per SMPTE 314M) for the DV encoder and decoder. The
romansh
parents:
3036
diff
changeset
|
2488 175557, 153560, 188995, 174609, 165371, 144651, 200636, 185364, |
2679184e8be0
AC coefficient weighing (per SMPTE 314M) for the DV encoder and decoder. The
romansh
parents:
3036
diff
changeset
|
2489 195068, 170627, 175557, 153560, 188995, 174609, 165371, 144651, |
2679184e8be0
AC coefficient weighing (per SMPTE 314M) for the DV encoder and decoder. The
romansh
parents:
3036
diff
changeset
|
2490 }; |
2679184e8be0
AC coefficient weighing (per SMPTE 314M) for the DV encoder and decoder. The
romansh
parents:
3036
diff
changeset
|
2491 static const int dv_iweight_bits = 14; |
2679184e8be0
AC coefficient weighing (per SMPTE 314M) for the DV encoder and decoder. The
romansh
parents:
3036
diff
changeset
|
2492 static const int dv_iweight_88[64] = { |
2679184e8be0
AC coefficient weighing (per SMPTE 314M) for the DV encoder and decoder. The
romansh
parents:
3036
diff
changeset
|
2493 32768, 16710, 16710, 17735, 17015, 17735, 18197, 18079, |
2679184e8be0
AC coefficient weighing (per SMPTE 314M) for the DV encoder and decoder. The
romansh
parents:
3036
diff
changeset
|
2494 18079, 18197, 18725, 18559, 19196, 18559, 18725, 19284, |
2679184e8be0
AC coefficient weighing (per SMPTE 314M) for the DV encoder and decoder. The
romansh
parents:
3036
diff
changeset
|
2495 19108, 19692, 19692, 19108, 19284, 21400, 19645, 20262, |
2679184e8be0
AC coefficient weighing (per SMPTE 314M) for the DV encoder and decoder. The
romansh
parents:
3036
diff
changeset
|
2496 20214, 20262, 19645, 21400, 22733, 21845, 20867, 20815, |
2679184e8be0
AC coefficient weighing (per SMPTE 314M) for the DV encoder and decoder. The
romansh
parents:
3036
diff
changeset
|
2497 20815, 20867, 21845, 22733, 23173, 23173, 21400, 21400, |
2679184e8be0
AC coefficient weighing (per SMPTE 314M) for the DV encoder and decoder. The
romansh
parents:
3036
diff
changeset
|
2498 21400, 23173, 23173, 24600, 23764, 22017, 22017, 23764, |
2679184e8be0
AC coefficient weighing (per SMPTE 314M) for the DV encoder and decoder. The
romansh
parents:
3036
diff
changeset
|
2499 24600, 25267, 24457, 22672, 24457, 25267, 25971, 25191, |
2679184e8be0
AC coefficient weighing (per SMPTE 314M) for the DV encoder and decoder. The
romansh
parents:
3036
diff
changeset
|
2500 25191, 25971, 26715, 27962, 26715, 29642, 29642, 31536, |
2679184e8be0
AC coefficient weighing (per SMPTE 314M) for the DV encoder and decoder. The
romansh
parents:
3036
diff
changeset
|
2501 }; |
2679184e8be0
AC coefficient weighing (per SMPTE 314M) for the DV encoder and decoder. The
romansh
parents:
3036
diff
changeset
|
2502 static const int dv_iweight_248[64] = { |
2679184e8be0
AC coefficient weighing (per SMPTE 314M) for the DV encoder and decoder. The
romansh
parents:
3036
diff
changeset
|
2503 32768, 17735, 16710, 18079, 18725, 21400, 17735, 19196, |
2679184e8be0
AC coefficient weighing (per SMPTE 314M) for the DV encoder and decoder. The
romansh
parents:
3036
diff
changeset
|
2504 19108, 21845, 16384, 17735, 18725, 21400, 16710, 18079, |
2679184e8be0
AC coefficient weighing (per SMPTE 314M) for the DV encoder and decoder. The
romansh
parents:
3036
diff
changeset
|
2505 20262, 23173, 18197, 19692, 18725, 20262, 20815, 23764, |
2679184e8be0
AC coefficient weighing (per SMPTE 314M) for the DV encoder and decoder. The
romansh
parents:
3036
diff
changeset
|
2506 17735, 19196, 19108, 21845, 20262, 23173, 18197, 19692, |
2679184e8be0
AC coefficient weighing (per SMPTE 314M) for the DV encoder and decoder. The
romansh
parents:
3036
diff
changeset
|
2507 21400, 24457, 19284, 20867, 21400, 23173, 22017, 25191, |
2679184e8be0
AC coefficient weighing (per SMPTE 314M) for the DV encoder and decoder. The
romansh
parents:
3036
diff
changeset
|
2508 18725, 20262, 20815, 23764, 21400, 24457, 19284, 20867, |
2679184e8be0
AC coefficient weighing (per SMPTE 314M) for the DV encoder and decoder. The
romansh
parents:
3036
diff
changeset
|
2509 24457, 27962, 22733, 24600, 25971, 29642, 21400, 23173, |
2679184e8be0
AC coefficient weighing (per SMPTE 314M) for the DV encoder and decoder. The
romansh
parents:
3036
diff
changeset
|
2510 22017, 25191, 24457, 27962, 22733, 24600, 25971, 29642, |
2679184e8be0
AC coefficient weighing (per SMPTE 314M) for the DV encoder and decoder. The
romansh
parents:
3036
diff
changeset
|
2511 }; |
2679184e8be0
AC coefficient weighing (per SMPTE 314M) for the DV encoder and decoder. The
romansh
parents:
3036
diff
changeset
|
2512 |
4361 | 2513 static const uint8_t dv_audio_shuffle525[10][9] = { |
1036 | 2514 { 0, 30, 60, 20, 50, 80, 10, 40, 70 }, /* 1st channel */ |
2515 { 6, 36, 66, 26, 56, 86, 16, 46, 76 }, | |
2516 { 12, 42, 72, 2, 32, 62, 22, 52, 82 }, | |
2517 { 18, 48, 78, 8, 38, 68, 28, 58, 88 }, | |
2518 { 24, 54, 84, 14, 44, 74, 4, 34, 64 }, | |
2967 | 2519 |
1036 | 2520 { 1, 31, 61, 21, 51, 81, 11, 41, 71 }, /* 2nd channel */ |
2521 { 7, 37, 67, 27, 57, 87, 17, 47, 77 }, | |
2522 { 13, 43, 73, 3, 33, 63, 23, 53, 83 }, | |
2523 { 19, 49, 79, 9, 39, 69, 29, 59, 89 }, | |
2524 { 25, 55, 85, 15, 45, 75, 5, 35, 65 }, | |
2525 }; | |
2526 | |
4361 | 2527 static const uint8_t dv_audio_shuffle625[12][9] = { |
1036 | 2528 { 0, 36, 72, 26, 62, 98, 16, 52, 88}, /* 1st channel */ |
2529 { 6, 42, 78, 32, 68, 104, 22, 58, 94}, | |
2530 { 12, 48, 84, 2, 38, 74, 28, 64, 100}, | |
2531 { 18, 54, 90, 8, 44, 80, 34, 70, 106}, | |
2967 | 2532 { 24, 60, 96, 14, 50, 86, 4, 40, 76}, |
1036 | 2533 { 30, 66, 102, 20, 56, 92, 10, 46, 82}, |
2967 | 2534 |
1036 | 2535 { 1, 37, 73, 27, 63, 99, 17, 53, 89}, /* 2nd channel */ |
2536 { 7, 43, 79, 33, 69, 105, 23, 59, 95}, | |
2537 { 13, 49, 85, 3, 39, 75, 29, 65, 101}, | |
2538 { 19, 55, 91, 9, 45, 81, 35, 71, 107}, | |
2967 | 2539 { 25, 61, 97, 15, 51, 87, 5, 41, 77}, |
1036 | 2540 { 31, 67, 103, 21, 57, 93, 11, 47, 83}, |
2541 }; | |
2542 | |
5083
ce36118abbbb
rename attribute_unused to av_unused and moves its declaration to common.h
benoit
parents:
5006
diff
changeset
|
2543 static const av_unused int dv_audio_frequency[3] = { |
1489
337d13aee605
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
1167
diff
changeset
|
2544 48000, 44100, 32000, |
337d13aee605
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
1167
diff
changeset
|
2545 }; |
2967 | 2546 |
1489
337d13aee605
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
1167
diff
changeset
|
2547 static const DVprofile dv_profiles[] = { |
337d13aee605
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
1167
diff
changeset
|
2548 { .dsf = 0, |
337d13aee605
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
1167
diff
changeset
|
2549 .frame_size = 120000, /* IEC 61834, SMPTE-314M - 525/60 (NTSC) */ |
337d13aee605
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
1167
diff
changeset
|
2550 .difseg_size = 10, |
3167 | 2551 .n_difchan = 1, |
1489
337d13aee605
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
1167
diff
changeset
|
2552 .frame_rate = 30000, |
337d13aee605
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
1167
diff
changeset
|
2553 .ltc_divisor = 30, |
337d13aee605
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
1167
diff
changeset
|
2554 .frame_rate_base = 1001, |
337d13aee605
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
1167
diff
changeset
|
2555 .height = 480, |
337d13aee605
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
1167
diff
changeset
|
2556 .width = 720, |
2228
f9411c92f7e6
* I was finally convinced. And besides, if err it's better to err with
romansh
parents:
1886
diff
changeset
|
2557 .sar = {{10, 11}, {40, 33}}, |
1489
337d13aee605
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
1167
diff
changeset
|
2558 .video_place = dv_place_411, |
337d13aee605
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
1167
diff
changeset
|
2559 .pix_fmt = PIX_FMT_YUV411P, |
337d13aee605
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
1167
diff
changeset
|
2560 .audio_stride = 90, |
337d13aee605
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
1167
diff
changeset
|
2561 .audio_min_samples = { 1580, 1452, 1053 }, /* for 48, 44.1 and 32Khz */ |
3167 | 2562 .audio_samples_dist = { 1600, 1602, 1602, 1602, 1602 }, /* per SMPTE-314M */ |
1489
337d13aee605
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
1167
diff
changeset
|
2563 .audio_shuffle = dv_audio_shuffle525, |
2967 | 2564 }, |
1489
337d13aee605
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
1167
diff
changeset
|
2565 { .dsf = 1, |
337d13aee605
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
1167
diff
changeset
|
2566 .frame_size = 144000, /* IEC 61834 - 625/50 (PAL) */ |
337d13aee605
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
1167
diff
changeset
|
2567 .difseg_size = 12, |
3167 | 2568 .n_difchan = 1, |
1489
337d13aee605
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
1167
diff
changeset
|
2569 .frame_rate = 25, |
337d13aee605
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
1167
diff
changeset
|
2570 .frame_rate_base = 1, |
337d13aee605
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
1167
diff
changeset
|
2571 .ltc_divisor = 25, |
337d13aee605
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
1167
diff
changeset
|
2572 .height = 576, |
337d13aee605
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
1167
diff
changeset
|
2573 .width = 720, |
2228
f9411c92f7e6
* I was finally convinced. And besides, if err it's better to err with
romansh
parents:
1886
diff
changeset
|
2574 .sar = {{59, 54}, {118, 81}}, |
1489
337d13aee605
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
1167
diff
changeset
|
2575 .video_place = dv_place_420, |
337d13aee605
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
1167
diff
changeset
|
2576 .pix_fmt = PIX_FMT_YUV420P, |
337d13aee605
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
1167
diff
changeset
|
2577 .audio_stride = 108, |
337d13aee605
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
1167
diff
changeset
|
2578 .audio_min_samples = { 1896, 1742, 1264 }, /* for 48, 44.1 and 32Khz */ |
337d13aee605
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
1167
diff
changeset
|
2579 .audio_samples_dist = { 1920, 1920, 1920, 1920, 1920 }, |
337d13aee605
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
1167
diff
changeset
|
2580 .audio_shuffle = dv_audio_shuffle625, |
337d13aee605
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
1167
diff
changeset
|
2581 }, |
337d13aee605
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
1167
diff
changeset
|
2582 { .dsf = 1, |
337d13aee605
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
1167
diff
changeset
|
2583 .frame_size = 144000, /* SMPTE-314M - 625/50 (PAL) */ |
337d13aee605
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
1167
diff
changeset
|
2584 .difseg_size = 12, |
3167 | 2585 .n_difchan = 1, |
1489
337d13aee605
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
1167
diff
changeset
|
2586 .frame_rate = 25, |
337d13aee605
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
1167
diff
changeset
|
2587 .frame_rate_base = 1, |
337d13aee605
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
1167
diff
changeset
|
2588 .ltc_divisor = 25, |
337d13aee605
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
1167
diff
changeset
|
2589 .height = 576, |
337d13aee605
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
1167
diff
changeset
|
2590 .width = 720, |
2228
f9411c92f7e6
* I was finally convinced. And besides, if err it's better to err with
romansh
parents:
1886
diff
changeset
|
2591 .sar = {{59, 54}, {118, 81}}, |
1489
337d13aee605
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
1167
diff
changeset
|
2592 .video_place = dv_place_411P, |
337d13aee605
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
1167
diff
changeset
|
2593 .pix_fmt = PIX_FMT_YUV411P, |
337d13aee605
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
1167
diff
changeset
|
2594 .audio_stride = 108, |
337d13aee605
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
1167
diff
changeset
|
2595 .audio_min_samples = { 1896, 1742, 1264 }, /* for 48, 44.1 and 32Khz */ |
337d13aee605
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
1167
diff
changeset
|
2596 .audio_samples_dist = { 1920, 1920, 1920, 1920, 1920 }, |
337d13aee605
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
1167
diff
changeset
|
2597 .audio_shuffle = dv_audio_shuffle625, |
3167 | 2598 }, |
2599 { .dsf = 0, | |
2600 .frame_size = 240000, /* SMPTE-314M - 525/60 (NTSC) 50 Mbps */ | |
2601 .difseg_size = 10, /* also known as "DVCPRO50" */ | |
2602 .n_difchan = 2, | |
2603 .frame_rate = 30000, | |
2604 .ltc_divisor = 30, | |
2605 .frame_rate_base = 1001, | |
2606 .height = 480, | |
2607 .width = 720, | |
2608 .sar = {{10, 11}, {40, 33}}, | |
2609 .video_place = dv_place_422_525, | |
2610 .pix_fmt = PIX_FMT_YUV422P, | |
2611 .audio_stride = 90, | |
2612 .audio_min_samples = { 1580, 1452, 1053 }, /* for 48, 44.1 and 32Khz */ | |
2613 .audio_samples_dist = { 1600, 1602, 1602, 1602, 1602 }, /* per SMPTE-314M */ | |
2614 .audio_shuffle = dv_audio_shuffle525, | |
2615 }, | |
2616 { .dsf = 1, | |
2617 .frame_size = 288000, /* SMPTE-314M - 625/50 (PAL) 50 Mbps */ | |
2618 .difseg_size = 12, /* also known as "DVCPRO50" */ | |
2619 .n_difchan = 2, | |
2620 .frame_rate = 25, | |
2621 .frame_rate_base = 1, | |
2622 .ltc_divisor = 25, | |
2623 .height = 576, | |
2624 .width = 720, | |
2625 .sar = {{59, 54}, {118, 81}}, | |
2626 .video_place = dv_place_422_625, | |
2627 .pix_fmt = PIX_FMT_YUV422P, | |
2628 .audio_stride = 108, | |
2629 .audio_min_samples = { 1896, 1742, 1264 }, /* for 48, 44.1 and 32Khz */ | |
2630 .audio_samples_dist = { 1920, 1920, 1920, 1920, 1920 }, | |
2631 .audio_shuffle = dv_audio_shuffle625, | |
2632 } | |
1036 | 2633 }; |
2634 | |
3671
18113845d891
* Restructuring the division of labor between DV codec and DV format
romansh
parents:
3167
diff
changeset
|
2635 enum dv_section_type { |
18113845d891
* Restructuring the division of labor between DV codec and DV format
romansh
parents:
3167
diff
changeset
|
2636 dv_sect_header = 0x1f, |
18113845d891
* Restructuring the division of labor between DV codec and DV format
romansh
parents:
3167
diff
changeset
|
2637 dv_sect_subcode = 0x3f, |
18113845d891
* Restructuring the division of labor between DV codec and DV format
romansh
parents:
3167
diff
changeset
|
2638 dv_sect_vaux = 0x56, |
18113845d891
* Restructuring the division of labor between DV codec and DV format
romansh
parents:
3167
diff
changeset
|
2639 dv_sect_audio = 0x76, |
18113845d891
* Restructuring the division of labor between DV codec and DV format
romansh
parents:
3167
diff
changeset
|
2640 dv_sect_video = 0x96, |
18113845d891
* Restructuring the division of labor between DV codec and DV format
romansh
parents:
3167
diff
changeset
|
2641 }; |
18113845d891
* Restructuring the division of labor between DV codec and DV format
romansh
parents:
3167
diff
changeset
|
2642 |
18113845d891
* Restructuring the division of labor between DV codec and DV format
romansh
parents:
3167
diff
changeset
|
2643 enum dv_pack_type { |
18113845d891
* Restructuring the division of labor between DV codec and DV format
romansh
parents:
3167
diff
changeset
|
2644 dv_header525 = 0x3f, /* see dv_write_pack for important details on */ |
18113845d891
* Restructuring the division of labor between DV codec and DV format
romansh
parents:
3167
diff
changeset
|
2645 dv_header625 = 0xbf, /* these two packs */ |
18113845d891
* Restructuring the division of labor between DV codec and DV format
romansh
parents:
3167
diff
changeset
|
2646 dv_timecode = 0x13, |
18113845d891
* Restructuring the division of labor between DV codec and DV format
romansh
parents:
3167
diff
changeset
|
2647 dv_audio_source = 0x50, |
18113845d891
* Restructuring the division of labor between DV codec and DV format
romansh
parents:
3167
diff
changeset
|
2648 dv_audio_control = 0x51, |
18113845d891
* Restructuring the division of labor between DV codec and DV format
romansh
parents:
3167
diff
changeset
|
2649 dv_audio_recdate = 0x52, |
18113845d891
* Restructuring the division of labor between DV codec and DV format
romansh
parents:
3167
diff
changeset
|
2650 dv_audio_rectime = 0x53, |
18113845d891
* Restructuring the division of labor between DV codec and DV format
romansh
parents:
3167
diff
changeset
|
2651 dv_video_source = 0x60, |
18113845d891
* Restructuring the division of labor between DV codec and DV format
romansh
parents:
3167
diff
changeset
|
2652 dv_video_control = 0x61, |
18113845d891
* Restructuring the division of labor between DV codec and DV format
romansh
parents:
3167
diff
changeset
|
2653 dv_video_recdate = 0x62, |
18113845d891
* Restructuring the division of labor between DV codec and DV format
romansh
parents:
3167
diff
changeset
|
2654 dv_video_rectime = 0x63, |
18113845d891
* Restructuring the division of labor between DV codec and DV format
romansh
parents:
3167
diff
changeset
|
2655 dv_unknown_pack = 0xff, |
18113845d891
* Restructuring the division of labor between DV codec and DV format
romansh
parents:
3167
diff
changeset
|
2656 }; |
18113845d891
* Restructuring the division of labor between DV codec and DV format
romansh
parents:
3167
diff
changeset
|
2657 |
3167 | 2658 /* minimum number of bytes to read from a DV stream in order to determine the profile */ |
2659 #define DV_PROFILE_BYTES (6*80) /* 6 DIF blocks */ | |
2660 | |
2661 /* largest possible DV frame, in bytes (PAL 50Mbps) */ | |
2662 #define DV_MAX_FRAME_SIZE 288000 | |
2663 | |
6266 | 2664 static inline const DVprofile* dv_frame_profile(const uint8_t* frame) |
1489
337d13aee605
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
1167
diff
changeset
|
2665 { |
337d13aee605
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
1167
diff
changeset
|
2666 if ((frame[3] & 0x80) == 0) { /* DSF flag */ |
3167 | 2667 /* it's an NTSC format */ |
5351
6b4caae00305
* making profile selection a bit more tolerant to the badly broken streams
romansh
parents:
5169
diff
changeset
|
2668 if ((frame[80*5 + 48 + 3] & 0x4) && (frame[80*5 + 48] == dv_video_source)) { /* 4:2:2 sampling */ |
3167 | 2669 return &dv_profiles[3]; /* NTSC 50Mbps */ |
2670 } else { /* 4:1:1 sampling */ | |
2671 return &dv_profiles[0]; /* NTSC 25Mbps */ | |
2672 } | |
2673 } else { | |
2674 /* it's a PAL format */ | |
5351
6b4caae00305
* making profile selection a bit more tolerant to the badly broken streams
romansh
parents:
5169
diff
changeset
|
2675 if ((frame[80*5 + 48 + 3] & 0x4) && (frame[80*5 + 48] == dv_video_source)) { /* 4:2:2 sampling */ |
3167 | 2676 return &dv_profiles[4]; /* PAL 50Mbps */ |
2677 } else if ((frame[5] & 0x07) == 0) { /* APT flag */ | |
2678 return &dv_profiles[1]; /* PAL 25Mbps 4:2:0 */ | |
2679 } else | |
2680 return &dv_profiles[2]; /* PAL 25Mbps 4:1:1 */ | |
1489
337d13aee605
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
1167
diff
changeset
|
2681 } |
337d13aee605
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
1167
diff
changeset
|
2682 } |
337d13aee605
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
1167
diff
changeset
|
2683 |
337d13aee605
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
1167
diff
changeset
|
2684 static inline const DVprofile* dv_codec_profile(AVCodecContext* codec) |
337d13aee605
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
1167
diff
changeset
|
2685 { |
3167 | 2686 int i; |
2687 | |
2688 if (codec->width != 720) | |
1489
337d13aee605
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
1167
diff
changeset
|
2689 return NULL; |
3167 | 2690 |
2691 for (i=0; i<sizeof(dv_profiles)/sizeof(DVprofile); i++) | |
2692 if (codec->height == dv_profiles[i].height && codec->pix_fmt == dv_profiles[i].pix_fmt) | |
2693 return &dv_profiles[i]; | |
2694 | |
2695 return NULL; | |
1489
337d13aee605
* DV handling was streamlined for both muxing/demuxing and
romansh
parents:
1167
diff
changeset
|
2696 } |
3671
18113845d891
* Restructuring the division of labor between DV codec and DV format
romansh
parents:
3167
diff
changeset
|
2697 |
18113845d891
* Restructuring the division of labor between DV codec and DV format
romansh
parents:
3167
diff
changeset
|
2698 static inline int dv_write_dif_id(enum dv_section_type t, uint8_t chan_num, uint8_t seq_num, |
18113845d891
* Restructuring the division of labor between DV codec and DV format
romansh
parents:
3167
diff
changeset
|
2699 uint8_t dif_num, uint8_t* buf) |
18113845d891
* Restructuring the division of labor between DV codec and DV format
romansh
parents:
3167
diff
changeset
|
2700 { |
18113845d891
* Restructuring the division of labor between DV codec and DV format
romansh
parents:
3167
diff
changeset
|
2701 buf[0] = (uint8_t)t; /* Section type */ |
18113845d891
* Restructuring the division of labor between DV codec and DV format
romansh
parents:
3167
diff
changeset
|
2702 buf[1] = (seq_num<<4) | /* DIF seq number 0-9 for 525/60; 0-11 for 625/50 */ |
18113845d891
* Restructuring the division of labor between DV codec and DV format
romansh
parents:
3167
diff
changeset
|
2703 (chan_num << 3) | /* FSC: for 50Mb/s 0 - first channel; 1 - second */ |
18113845d891
* Restructuring the division of labor between DV codec and DV format
romansh
parents:
3167
diff
changeset
|
2704 7; /* reserved -- always 1 */ |
18113845d891
* Restructuring the division of labor between DV codec and DV format
romansh
parents:
3167
diff
changeset
|
2705 buf[2] = dif_num; /* DIF block number Video: 0-134, Audio: 0-8 */ |
18113845d891
* Restructuring the division of labor between DV codec and DV format
romansh
parents:
3167
diff
changeset
|
2706 return 3; |
18113845d891
* Restructuring the division of labor between DV codec and DV format
romansh
parents:
3167
diff
changeset
|
2707 } |
18113845d891
* Restructuring the division of labor between DV codec and DV format
romansh
parents:
3167
diff
changeset
|
2708 |
18113845d891
* Restructuring the division of labor between DV codec and DV format
romansh
parents:
3167
diff
changeset
|
2709 |
18113845d891
* Restructuring the division of labor between DV codec and DV format
romansh
parents:
3167
diff
changeset
|
2710 static inline int dv_write_ssyb_id(uint8_t syb_num, uint8_t fr, uint8_t* buf) |
18113845d891
* Restructuring the division of labor between DV codec and DV format
romansh
parents:
3167
diff
changeset
|
2711 { |
18113845d891
* Restructuring the division of labor between DV codec and DV format
romansh
parents:
3167
diff
changeset
|
2712 if (syb_num == 0 || syb_num == 6) { |
18113845d891
* Restructuring the division of labor between DV codec and DV format
romansh
parents:
3167
diff
changeset
|
2713 buf[0] = (fr<<7) | /* FR ID 1 - first half of each channel; 0 - second */ |
18113845d891
* Restructuring the division of labor between DV codec and DV format
romansh
parents:
3167
diff
changeset
|
2714 (0<<4) | /* AP3 (Subcode application ID) */ |
18113845d891
* Restructuring the division of labor between DV codec and DV format
romansh
parents:
3167
diff
changeset
|
2715 0x0f; /* reserved -- always 1 */ |
18113845d891
* Restructuring the division of labor between DV codec and DV format
romansh
parents:
3167
diff
changeset
|
2716 } |
18113845d891
* Restructuring the division of labor between DV codec and DV format
romansh
parents:
3167
diff
changeset
|
2717 else if (syb_num == 11) { |
18113845d891
* Restructuring the division of labor between DV codec and DV format
romansh
parents:
3167
diff
changeset
|
2718 buf[0] = (fr<<7) | /* FR ID 1 - first half of each channel; 0 - second */ |
18113845d891
* Restructuring the division of labor between DV codec and DV format
romansh
parents:
3167
diff
changeset
|
2719 0x7f; /* reserved -- always 1 */ |
18113845d891
* Restructuring the division of labor between DV codec and DV format
romansh
parents:
3167
diff
changeset
|
2720 } |
18113845d891
* Restructuring the division of labor between DV codec and DV format
romansh
parents:
3167
diff
changeset
|
2721 else { |
18113845d891
* Restructuring the division of labor between DV codec and DV format
romansh
parents:
3167
diff
changeset
|
2722 buf[0] = (fr<<7) | /* FR ID 1 - first half of each channel; 0 - second */ |
18113845d891
* Restructuring the division of labor between DV codec and DV format
romansh
parents:
3167
diff
changeset
|
2723 (0<<4) | /* APT (Track application ID) */ |
18113845d891
* Restructuring the division of labor between DV codec and DV format
romansh
parents:
3167
diff
changeset
|
2724 0x0f; /* reserved -- always 1 */ |
18113845d891
* Restructuring the division of labor between DV codec and DV format
romansh
parents:
3167
diff
changeset
|
2725 } |
18113845d891
* Restructuring the division of labor between DV codec and DV format
romansh
parents:
3167
diff
changeset
|
2726 buf[1] = 0xf0 | /* reserved -- always 1 */ |
18113845d891
* Restructuring the division of labor between DV codec and DV format
romansh
parents:
3167
diff
changeset
|
2727 (syb_num & 0x0f); /* SSYB number 0 - 11 */ |
18113845d891
* Restructuring the division of labor between DV codec and DV format
romansh
parents:
3167
diff
changeset
|
2728 buf[2] = 0xff; /* reserved -- always 1 */ |
18113845d891
* Restructuring the division of labor between DV codec and DV format
romansh
parents:
3167
diff
changeset
|
2729 return 3; |
18113845d891
* Restructuring the division of labor between DV codec and DV format
romansh
parents:
3167
diff
changeset
|
2730 } |
5163 | 2731 |
5830
1d83e9c34641
Add FFMPEG_ prefix to all multiple inclusion guards.
diego
parents:
5351
diff
changeset
|
2732 #endif /* FFMPEG_DVDATA_H */ |