2014-12-31 08:57:59 +02:00
|
|
|
/*
|
2016-01-01 17:16:57 +02:00
|
|
|
* This file is part of FFmpeg.
|
2014-12-31 08:57:59 +02:00
|
|
|
*
|
2016-01-01 17:16:57 +02:00
|
|
|
* FFmpeg is free software; you can redistribute it and/or
|
2014-12-31 08:57:59 +02:00
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
|
|
*
|
2016-01-01 17:16:57 +02:00
|
|
|
* FFmpeg is distributed in the hope that it will be useful,
|
2014-12-31 08:57:59 +02:00
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
2016-01-01 17:16:57 +02:00
|
|
|
* License along with FFmpeg; if not, write to the Free Software
|
2014-12-31 08:57:59 +02:00
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef AVCODEC_PROFILES_H
|
|
|
|
#define AVCODEC_PROFILES_H
|
|
|
|
|
|
|
|
#include "avcodec.h"
|
2020-05-10 20:38:11 +02:00
|
|
|
#include "libavutil/opt.h"
|
|
|
|
|
|
|
|
#define FF_AVCTX_PROFILE_OPTION(name, description, type, value) \
|
|
|
|
{name, description, 0, AV_OPT_TYPE_CONST, {.i64 = value }, INT_MIN, INT_MAX, AV_OPT_FLAG_ENCODING_PARAM | AV_OPT_FLAG_## type ##_PARAM, "avctx.profile"},
|
|
|
|
|
|
|
|
#define FF_AAC_PROFILE_OPTS \
|
|
|
|
FF_AVCTX_PROFILE_OPTION("aac_main", NULL, AUDIO, FF_PROFILE_AAC_MAIN)\
|
|
|
|
FF_AVCTX_PROFILE_OPTION("aac_low", NULL, AUDIO, FF_PROFILE_AAC_LOW)\
|
|
|
|
FF_AVCTX_PROFILE_OPTION("aac_ssr", NULL, AUDIO, FF_PROFILE_AAC_SSR)\
|
|
|
|
FF_AVCTX_PROFILE_OPTION("aac_ltp", NULL, AUDIO, FF_PROFILE_AAC_LTP)\
|
|
|
|
FF_AVCTX_PROFILE_OPTION("aac_he", NULL, AUDIO, FF_PROFILE_AAC_HE)\
|
|
|
|
FF_AVCTX_PROFILE_OPTION("aac_he_v2", NULL, AUDIO, FF_PROFILE_AAC_HE_V2)\
|
|
|
|
FF_AVCTX_PROFILE_OPTION("aac_ld", NULL, AUDIO, FF_PROFILE_AAC_LD)\
|
|
|
|
FF_AVCTX_PROFILE_OPTION("aac_eld", NULL, AUDIO, FF_PROFILE_AAC_ELD)\
|
|
|
|
FF_AVCTX_PROFILE_OPTION("mpeg2_aac_low", NULL, AUDIO, FF_PROFILE_MPEG2_AAC_LOW)\
|
|
|
|
FF_AVCTX_PROFILE_OPTION("mpeg2_aac_he", NULL, AUDIO, FF_PROFILE_MPEG2_AAC_HE)\
|
2014-12-31 08:57:59 +02:00
|
|
|
|
2020-05-10 21:58:35 +02:00
|
|
|
#define FF_MPEG4_PROFILE_OPTS \
|
|
|
|
FF_AVCTX_PROFILE_OPTION("mpeg4_sp", NULL, VIDEO, FF_PROFILE_MPEG4_SIMPLE)\
|
|
|
|
FF_AVCTX_PROFILE_OPTION("mpeg4_core", NULL, VIDEO, FF_PROFILE_MPEG4_CORE)\
|
|
|
|
FF_AVCTX_PROFILE_OPTION("mpeg4_main", NULL, VIDEO, FF_PROFILE_MPEG4_MAIN)\
|
|
|
|
FF_AVCTX_PROFILE_OPTION("mpeg4_asp", NULL, VIDEO, FF_PROFILE_MPEG4_ADVANCED_SIMPLE)\
|
|
|
|
|
2014-12-31 08:57:59 +02:00
|
|
|
extern const AVProfile ff_aac_profiles[];
|
|
|
|
extern const AVProfile ff_dca_profiles[];
|
2016-07-17 04:37:37 +02:00
|
|
|
extern const AVProfile ff_dnxhd_profiles[];
|
2014-12-31 08:57:59 +02:00
|
|
|
extern const AVProfile ff_h264_profiles[];
|
|
|
|
extern const AVProfile ff_hevc_profiles[];
|
|
|
|
extern const AVProfile ff_jpeg2000_profiles[];
|
|
|
|
extern const AVProfile ff_mpeg2_video_profiles[];
|
|
|
|
extern const AVProfile ff_mpeg4_video_profiles[];
|
|
|
|
extern const AVProfile ff_vc1_profiles[];
|
2016-01-01 17:25:01 +02:00
|
|
|
extern const AVProfile ff_vp9_profiles[];
|
2018-03-29 04:28:34 +02:00
|
|
|
extern const AVProfile ff_av1_profiles[];
|
2017-12-17 20:59:30 +02:00
|
|
|
extern const AVProfile ff_sbc_profiles[];
|
2018-11-02 21:23:16 +02:00
|
|
|
extern const AVProfile ff_prores_profiles[];
|
2018-11-02 21:33:20 +02:00
|
|
|
extern const AVProfile ff_mjpeg_profiles[];
|
2019-01-14 21:52:23 +02:00
|
|
|
extern const AVProfile ff_arib_caption_profiles[];
|
2014-12-31 08:57:59 +02:00
|
|
|
|
2016-02-16 19:04:16 +02:00
|
|
|
#endif /* AVCODEC_PROFILES_H */
|