diff options
author | James Almer <jamrial@gmail.com> | 2017-04-30 19:05:52 +0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2017-05-05 23:30:38 +0300 |
commit | 6a72578cc21ec608f3c2d8a8e5904e93284b3277 (patch) | |
tree | e9c1b23dc3e860da6b9a08ba6ed3069721a7a44e /libavcodec/hevc_parse.h | |
parent | bf1e3be5a3f655b8035a6866c2e78ee95993ca90 (diff) |
avcodec/hevc_parse: decode SEI message NALUs in extradata
They may be available in hvcc style extradata.
Based on a patch by Hendrik Leppkes.
Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com>
Reviewed-by: Aaron Levinson <alevinsn@aracnet.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/hevc_parse.h')
-rw-r--r-- | libavcodec/hevc_parse.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/libavcodec/hevc_parse.h b/libavcodec/hevc_parse.h index 8aa46a290a..02e1d5b324 100644 --- a/libavcodec/hevc_parse.h +++ b/libavcodec/hevc_parse.h @@ -24,10 +24,13 @@ #ifndef AVCODEC_HEVC_PARSE_H #define AVCODEC_HEVC_PARSE_H -#include "hevcdec.h" +#include <stdint.h> + +#include "hevc_ps.h" +#include "hevc_sei.h" int ff_hevc_decode_extradata(const uint8_t *data, int size, HEVCParamSets *ps, - int *is_nalff, int *nal_length_size, int err_recognition, - int apply_defdispwin, void *logctx); + HEVCSEIContext *sei, int *is_nalff, int *nal_length_size, + int err_recognition, int apply_defdispwin, void *logctx); #endif /* AVCODEC_HEVC_PARSE_H */ |