1/* 2 * Copyright 2009-2010 Stephan A��mus <superstippi@gmx.de> 3 * All rights reserved. Distributed under the terms of the MIT license. 4 */ 5#ifndef ENCODER_TABLE_H 6#define ENCODER_TABLE_H 7 8 9#include <MediaFormats.h> 10 11extern "C" { 12 #include "avcodec.h" 13} 14 15 16typedef AVCodecID CodecID; 17 18 19struct EncoderDescription { 20 media_codec_info codec_info; 21 media_format_family format_family; 22 media_type input_type; 23 media_type output_type; 24 int bit_rate_scale; 25}; 26 27 28extern const EncoderDescription gEncoderTable[]; 29extern const size_t gEncoderCount; 30 31CodecID raw_audio_codec_id_for(const media_format& format); 32 33 34#endif // ENCODER_TABLE_H 35