From 047c02753ca8b6b3e8d69b9b9a4790559d6aa8b7 Mon Sep 17 00:00:00 2001 From: Christophe Massiot Date: Sat, 28 Jun 2014 18:50:08 +0200 Subject: [PATCH] add slice types --- mpeg/h264.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/mpeg/h264.h b/mpeg/h264.h index 8787183..b905c0b 100644 --- a/mpeg/h264.h +++ b/mpeg/h264.h @@ -296,6 +296,15 @@ static inline void h264ssps_init(uint8_t *p_h264ssps) *****************************************************************************/ #define H264VUI_AR_EXTENDED 255 +/***************************************************************************** + * H264 slices + *****************************************************************************/ +#define H264SLI_TYPE_P 0 +#define H264SLI_TYPE_B 1 +#define H264SLI_TYPE_I 2 +#define H264SLI_TYPE_SP 3 +#define H264SLI_TYPE_SI 4 + #ifdef __cplusplus } #endif