2 * Copyright 2009-2010 Stephan Aßmus <superstippi@gmx.de>
3 * All rights reserved. Distributed under the terms of the MIT license.
5 #ifndef ENCODER_TABLE_H
6 #define ENCODER_TABLE_H
9 #include <MediaFormats.h>
16 #if LIBAVCODEC_VERSION_INT > ((54 << 16) | (50 << 8))
17 typedef AVCodecID CodecID
;
21 struct EncoderDescription
{
22 media_codec_info codec_info
;
23 media_format_family format_family
;
24 media_type input_type
;
25 media_type output_type
;
30 extern const EncoderDescription gEncoderTable
[];
31 extern const size_t gEncoderCount
;
33 CodecID
raw_audio_codec_id_for(const media_format
& format
);
36 #endif // ENCODER_TABLE_H