[bTSstream-devel] add slice types

Christophe Massiot git at videolan.org
Sat Jun 28 18:50:19 CEST 2014


bitstream | branch: master | Christophe Massiot <cmassiot at openheadend.tv> | Sat Jun 28 18:50:08 2014 +0200| [047c02753ca8b6b3e8d69b9b9a4790559d6aa8b7] | committer: Christophe Massiot

add slice types

> http://git.videolan.org/gitweb.cgi/bitstream.git/?a=commit;h=047c02753ca8b6b3e8d69b9b9a4790559d6aa8b7
---

 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



More information about the biTStream-devel mailing list