summaryrefslogtreecommitdiff
path: root/libavcodec/hevc.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2015-06-30 15:19:52 +0200
committerAnton Khirnov <anton@khirnov.net>2015-07-08 23:38:32 +0200
commit69ab9f53f901eac6a649e22d28cf093357870627 (patch)
treee60f34f4bf7444be31ac32f10b5b97ad209e810c /libavcodec/hevc.h
parentfd124d8357b1becfde3ac8d5e3320127cf97a5b7 (diff)
hevc: split bitstream unescaping to a separate file
It will be useful in the QSV HEVC encoder.
Diffstat (limited to 'libavcodec/hevc.h')
-rw-r--r--libavcodec/hevc.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libavcodec/hevc.h b/libavcodec/hevc.h
index 27b0af6b95..8b06e1f4cd 100644
--- a/libavcodec/hevc.h
+++ b/libavcodec/hevc.h
@@ -1002,6 +1002,12 @@ void ff_hevc_pps_free(HEVCPPS **ppps);
void ff_hevc_pred_init(HEVCPredContext *hpc, int bit_depth);
+/**
+ * Extract the raw (unescaped) HEVC bitstream.
+ */
+int ff_hevc_extract_rbsp(const uint8_t *src, int length,
+ HEVCNAL *nal);
+
extern const uint8_t ff_hevc_qpel_extra_before[4];
extern const uint8_t ff_hevc_qpel_extra_after[4];
extern const uint8_t ff_hevc_qpel_extra[4];