summaryrefslogtreecommitdiff
path: root/libavcodec/profiles.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2014-12-31 07:57:59 +0100
committerAnton Khirnov <anton@khirnov.net>2015-12-12 21:22:49 +0100
commit2c6811397bdf13d43ca206e48d6d6da9c2cd47c6 (patch)
tree75909934dcab62130bd60a14e9369ef6b78278a1 /libavcodec/profiles.h
parentcdc9ce098e8d101b43b8f68dd35ba7226f4a728c (diff)
lavc: add profiles to AVCodecDescriptor
The profiles are a property of the codec, so it makes sense to export them through AVCodecDescriptors, not just the codec implementations.
Diffstat (limited to 'libavcodec/profiles.h')
-rw-r--r--libavcodec/profiles.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/libavcodec/profiles.h b/libavcodec/profiles.h
new file mode 100644
index 0000000000..4c9e4cdb52
--- /dev/null
+++ b/libavcodec/profiles.h
@@ -0,0 +1,34 @@
+/*
+ *
+ * This file is part of Libav.
+ *
+ * Libav is free software; you can redistribute it and/or
+ * 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.
+ *
+ * Libav is distributed in the hope that it will be useful,
+ * 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
+ * License along with Libav; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+#ifndef AVCODEC_PROFILES_H
+#define AVCODEC_PROFILES_H
+
+#include "avcodec.h"
+
+extern const AVProfile ff_aac_profiles[];
+extern const AVProfile ff_dca_profiles[];
+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[];
+
+#endif