xref: /haiku/src/add-ons/media/plugins/ffmpeg/CodecTable.h (revision b671e9bbdbd10268a042b4f4cc4317ccd03d105e)
1 /*
2  * Copyright (C) 2001 Carlos Hasan. All Rights Reserved.
3  * Copyright (C) 2001 François Revol. All Rights Reserved.
4  * Copyright (C) 2001 Axel Dörfler. All Rights Reserved.
5  * Copyright (C) 2004 Marcus Overhagen. All Rights Reserved.
6  *
7  * Distributed under the terms of the MIT License.
8  */
9 
10 //! libavcodec based decoder for Haiku
11 
12 #ifndef CODEC_TABLE_H
13 #define CODEC_TABLE_H
14 
15 #include <MediaDefs.h>
16 #include <MediaFormats.h>
17 
18 #include "gfx_util.h"
19 
20 
21 struct codec_table {
22 	CodecID					id;
23 	media_type				type;
24 	media_format_family		family;
25 	uint64					fourcc;
26 	const char*				prettyname;
27 };
28 
29 extern const struct codec_table gCodecTable[];
30 extern const int gCodecCount;
31 extern media_format gAVCodecFormats[];
32 
33 
34 #endif // CODEC_TABLE_H
35