From 69ab9f53f901eac6a649e22d28cf093357870627 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Tue, 30 Jun 2015 15:19:52 +0200 Subject: hevc: split bitstream unescaping to a separate file It will be useful in the QSV HEVC encoder. --- libavcodec/hevc.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libavcodec/hevc.h') 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]; -- cgit v1.2.3