summaryrefslogtreecommitdiff
path: root/libavcodec/hevc_parse.h
diff options
context:
space:
mode:
authorMatthieu Bouron <matthieu.bouron@stupeflix.com>2016-09-05 17:08:41 +0200
committerMatthieu Bouron <matthieu.bouron@stupeflix.com>2016-09-15 21:48:28 +0200
commit140da8e810b2221922b800b4b0be8a5a8e08e0b6 (patch)
tree2ee429915c3a564f17f7799a27c87ae52b2f2ded /libavcodec/hevc_parse.h
parentb82c1a377a2b11663561189208f57c6c639f8ec6 (diff)
downloadffmpeg-140da8e810b2221922b800b4b0be8a5a8e08e0b6.tar.gz
lavc: add hevc mediacodec decoder
Diffstat (limited to 'libavcodec/hevc_parse.h')
-rw-r--r--libavcodec/hevc_parse.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/libavcodec/hevc_parse.h b/libavcodec/hevc_parse.h
new file mode 100644
index 0000000000..877356a687
--- /dev/null
+++ b/libavcodec/hevc_parse.h
@@ -0,0 +1,33 @@
+/*
+ * This file is part of FFmpeg.
+ *
+ * FFmpeg 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.
+ *
+ * FFmpeg 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 FFmpeg; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+/**
+ * @file
+ * H.265 parser code
+ */
+
+#ifndef AVCODEC_HEVC_PARSE_H
+#define AVCODEC_HEVC_PARSE_H
+
+#include "hevc.h"
+
+int ff_hevc_decode_extradata(const uint8_t *data, int size, HEVCParamSets *ps,
+ int *is_nalff, int *nal_length_size,
+ int err_recognition, void *logctx);
+
+#endif /* AVCODEC_HEVC_PARSE_H */