3rdparty/licenseReport: Add seperate LGPL checks
[haiku.git] / src / add-ons / media / plugins / asf_reader / libasf / guid.h
blobc4a739a5a4ab808b20cd93b114e37cd9de3f38d8
1 /* libasf - An Advanced Systems Format media file parser
2 * Copyright (C) 2006-2010 Juho Vähä-Herttua
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 #ifndef GUID_H
20 #define GUID_H
22 #include "asf.h"
24 struct asf_guid_s {
25 uint32_t v1;
26 uint32_t v2;
27 uint16_t v3;
28 uint8_t v4[8];
30 typedef struct asf_guid_s asf_guid_t;
32 typedef enum {
33 GUID_UNKNOWN,
35 GUID_HEADER,
36 GUID_DATA,
37 GUID_INDEX,
39 GUID_FILE_PROPERTIES,
40 GUID_STREAM_PROPERTIES,
41 GUID_CONTENT_DESCRIPTION,
42 GUID_HEADER_EXTENSION,
43 GUID_MARKER,
44 GUID_CODEC_LIST,
45 GUID_STREAM_BITRATE_PROPERTIES,
46 GUID_PADDING,
47 GUID_EXTENDED_CONTENT_DESCRIPTION,
49 GUID_METADATA,
50 GUID_LANGUAGE_LIST,
51 GUID_EXTENDED_STREAM_PROPERTIES,
52 GUID_ADVANCED_MUTUAL_EXCLUSION,
53 GUID_STREAM_PRIORITIZATION,
55 GUID_STREAM_TYPE_AUDIO,
56 GUID_STREAM_TYPE_VIDEO,
57 GUID_STREAM_TYPE_COMMAND,
58 GUID_STREAM_TYPE_EXTENDED,
59 GUID_STREAM_TYPE_EXTENDED_AUDIO
60 } guid_type_t;
63 int asf_guid_equals(const asf_guid_t *guid1, const asf_guid_t *guid2);
64 guid_type_t asf_guid_get_object_type(const asf_guid_t *guid);
65 guid_type_t asf_guid_get_stream_type(const asf_guid_t *guid);
66 guid_type_t asf_guid_get_type(const asf_guid_t *guid);
68 #endif