allow ffmpeg video to resample curr_pos, add bluray format
[goodguy/history.git] / cinelerra-5.0 / quicktime / qtasf_codes.h
1 #ifndef QTASF_CODES_H
2 #define QTASF_CODES_H
3
4 /* We have lifted sections of ASF decoding from ffmpeg */
5 /* to add direct copy support and seeking to it */
6
7 #include "qtasf.h"
8 #include "quicktime.h"
9
10 static const quicktime_guid_t index_guid = {
11     0x33000890, 0xe5b1, 0x11cf, { 0x89, 0xf4, 0x00, 0xa0, 0xc9, 0x03, 0x49, 0xcb },
12 };
13
14
15 static const quicktime_guid_t asf_header = {
16     0x75B22630, 0x668E, 0x11CF, { 0xA6, 0xD9, 0x00, 0xAA, 0x00, 0x62, 0xCE, 0x6C },
17 };
18
19 static const quicktime_guid_t file_header = {
20     0x8CABDCA1, 0xA947, 0x11CF, { 0x8E, 0xE4, 0x00, 0xC0, 0x0C, 0x20, 0x53, 0x65 },
21 };
22
23 static const quicktime_guid_t stream_header = {
24     0xB7DC0791, 0xA9B7, 0x11CF, { 0x8E, 0xE6, 0x00, 0xC0, 0x0C, 0x20, 0x53, 0x65 },
25 };
26
27 static const quicktime_guid_t ext_stream_header = {
28     0x14E6A5CB, 0xC672, 0x4332, { 0x83, 0x99, 0xA9, 0x69, 0x52, 0x06, 0x5B, 0x5A },
29 };
30
31 static const quicktime_guid_t audio_stream = {
32     0xF8699E40, 0x5B4D, 0x11CF, { 0xA8, 0xFD, 0x00, 0x80, 0x5F, 0x5C, 0x44, 0x2B },
33 };
34
35 static const quicktime_guid_t audio_conceal_none = {
36     // 0x49f1a440, 0x4ece, 0x11d0, { 0xa3, 0xac, 0x00, 0xa0, 0xc9, 0x03, 0x48, 0xf6 },
37     // New value lifted from avifile
38     0x20fb5700, 0x5b55, 0x11cf, { 0xa8, 0xfd, 0x00, 0x80, 0x5f, 0x5c, 0x44, 0x2b },
39 };
40
41 static const quicktime_guid_t audio_conceal_spread = {
42      0xBFC3CD50, 0x618F, 0x11CF, { 0x8B, 0xB2, 0x00, 0xAA, 0x00, 0xB4, 0xE2, 0x20 },
43 };
44
45 static const quicktime_guid_t video_stream = {
46     0xBC19EFC0, 0x5B4D, 0x11CF, { 0xA8, 0xFD, 0x00, 0x80, 0x5F, 0x5C, 0x44, 0x2B },
47 };
48
49 static const quicktime_guid_t video_conceal_none = {
50     0x20FB5700, 0x5B55, 0x11CF, { 0xA8, 0xFD, 0x00, 0x80, 0x5F, 0x5C, 0x44, 0x2B },
51 };
52
53 static const quicktime_guid_t command_stream = {
54     0x59DACFC0, 0x59E6, 0x11D0, { 0xA3, 0xAC, 0x00, 0xA0, 0xC9, 0x03, 0x48, 0xF6 },
55 };
56
57 static const quicktime_guid_t comment_header = {
58     0x75b22633, 0x668e, 0x11cf, { 0xa6, 0xd9, 0x00, 0xaa, 0x00, 0x62, 0xce, 0x6c },
59 };
60
61 static const quicktime_guid_t codec_comment_header = {
62     0x86D15240, 0x311D, 0x11D0, { 0xA3, 0xA4, 0x00, 0xA0, 0xC9, 0x03, 0x48, 0xF6 },
63 };
64 static const quicktime_guid_t codec_comment1_header = {
65     0x86d15241, 0x311d, 0x11d0, { 0xa3, 0xa4, 0x00, 0xa0, 0xc9, 0x03, 0x48, 0xf6 },
66 };
67
68 static const quicktime_guid_t data_header = {
69     0x75b22636, 0x668e, 0x11cf, { 0xa6, 0xd9, 0x00, 0xaa, 0x00, 0x62, 0xce, 0x6c },
70 };
71
72 static const quicktime_guid_t head1_guid = {
73     0x5fbf03b5, 0xa92e, 0x11cf, { 0x8e, 0xe3, 0x00, 0xc0, 0x0c, 0x20, 0x53, 0x65 },
74 };
75
76 static const quicktime_guid_t head2_guid = {
77     0xabd3d211, 0xa9ba, 0x11cf, { 0x8e, 0xe6, 0x00, 0xc0, 0x0c, 0x20, 0x53, 0x65 },
78 };
79
80 static const quicktime_guid_t extended_content_header = {
81         0xD2D0A440, 0xE307, 0x11D2, { 0x97, 0xF0, 0x00, 0xA0, 0xC9, 0x5E, 0xA8, 0x50 },
82 };
83
84 static const quicktime_guid_t simple_index_header = {
85         0x33000890, 0xE5B1, 0x11CF, { 0x89, 0xF4, 0x00, 0xA0, 0xC9, 0x03, 0x49, 0xCB },
86 };
87
88 static const quicktime_guid_t ext_stream_embed_stream_header = {
89         0x3afb65e2, 0x47ef, 0x40f2, { 0xac, 0x2c, 0x70, 0xa9, 0x0d, 0x71, 0xd3, 0x43}
90 };
91
92 static const quicktime_guid_t ext_stream_audio_stream = {
93         0x31178c9d, 0x03e1, 0x4528, { 0xb5, 0x82, 0x3d, 0xf9, 0xdb, 0x22, 0xf5, 0x03}
94 };
95
96 /* I am not a number !!! This quicktime_guid_t is the one found on the PC used to
97    generate the stream */
98 static const quicktime_guid_t my_guid = {
99     0, 0, 0, { 0, 0, 0, 0, 0, 0, 0, 0 },
100 };
101
102
103 #endif