aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/hevc_data.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2016-10-12 10:21:35 +0200
committerAnton Khirnov <anton@khirnov.net>2016-10-16 20:26:40 +0200
commit150c896a9e46b23b97debb0a5f66fbaeaa32f153 (patch)
tree22901bd9e41dd42a8187e86c0550b76941f8b817 /libavcodec/hevc_data.h
parent645c6ff4231a75a71db58c8e6d06346068d2f949 (diff)
downloadffmpeg-150c896a9e46b23b97debb0a5f66fbaeaa32f153.tar.gz
hevcdec: split ff_hevc_diag_scan* declarations into a separate header
This will be useful in the following commits.
Diffstat (limited to 'libavcodec/hevc_data.h')
-rw-r--r--libavcodec/hevc_data.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/libavcodec/hevc_data.h b/libavcodec/hevc_data.h
new file mode 100644
index 0000000000..d1d2c33411
--- /dev/null
+++ b/libavcodec/hevc_data.h
@@ -0,0 +1,31 @@
+/*
+ * HEVC shared data tables
+ *
+ * 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_HEVC_DATA_H
+#define AVCODEC_HEVC_DATA_H
+
+#include <stdint.h>
+
+extern const uint8_t ff_hevc_diag_scan4x4_x[16];
+extern const uint8_t ff_hevc_diag_scan4x4_y[16];
+extern const uint8_t ff_hevc_diag_scan8x8_x[64];
+extern const uint8_t ff_hevc_diag_scan8x8_y[64];
+
+#endif /* AVCODEC_HEVC_DATA_H */