diff options
author | James Almer <jamrial@gmail.com> | 2017-05-07 10:51:59 -0300 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2017-05-09 13:42:20 +0200 |
commit | cfd25488bf35123bdd38ecbe1107a21df2e03c2f (patch) | |
tree | 544a492d0ff0420cc68f30038a2c787ecd91a4d2 /libavcodec/hevcdec.h | |
parent | 648a0b450387d535567a1569cabb9e3dbe08a3e5 (diff) |
hevcdec: move SEI message parsing into a separate header
It doesn't depend on hevcdec anymore.
Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'libavcodec/hevcdec.h')
-rw-r--r-- | libavcodec/hevcdec.h | 30 |
1 files changed, 1 insertions, 29 deletions
diff --git a/libavcodec/hevcdec.h b/libavcodec/hevcdec.h index 68ccfb743a..f2c589217f 100644 --- a/libavcodec/hevcdec.h +++ b/libavcodec/hevcdec.h @@ -27,7 +27,6 @@ #include <stdint.h> #include "libavutil/buffer.h" -#include "libavutil/md5.h" #include "avcodec.h" #include "bswapdsp.h" @@ -36,6 +35,7 @@ #include "h2645_parse.h" #include "hevc.h" #include "hevc_ps.h" +#include "hevc_sei.h" #include "hevcdsp.h" #include "internal.h" #include "thread.h" @@ -444,31 +444,6 @@ typedef struct HEVCLocalContext { int boundary_flags; } HEVCLocalContext; -typedef struct HEVCSEIPictureHash { - struct AVMD5 *md5_ctx; - uint8_t md5[3][16]; - uint8_t is_md5; -} HEVCSEIPictureHash; - -typedef struct HEVCSEIFramePacking { - int present; - int arrangement_type; - int content_interpretation_type; - int quincunx_subsampling; -} HEVCSEIFramePacking; - -typedef struct HEVCSEIDisplayOrientation { - int present; - int anticlockwise_rotation; - int hflip, vflip; -} HEVCSEIDisplayOrientation; - -typedef struct HEVCSEI { - HEVCSEIPictureHash picture_hash; - HEVCSEIFramePacking frame_packing; - HEVCSEIDisplayOrientation display_orientation; -} HEVCSEI; - typedef struct HEVCContext { const AVClass *c; // needed by private avoptions AVCodecContext *avctx; @@ -557,9 +532,6 @@ typedef struct HEVCContext { int nuh_layer_id; } HEVCContext; -int ff_hevc_decode_nal_sei(GetBitContext *gb, void *logctx, HEVCSEI *s, - int type); - /** * Mark all frames in DPB as unused for reference. */ |