[bTSstream-devel] [Git][videolan/bitstream][master] 2 commits: scte104: add some request data header sizes

Christophe Massiot gitlab at videolan.org
Thu Dec 3 13:04:27 CET 2020



Christophe Massiot pushed to branch master at VideoLAN / bitstream


Commits:
0afc1914 by Arnaud de Turckheim at 2020-12-01T18:48:07+01:00
scte104: add some request data header sizes

- - - - -
f1cb6b39 by Christophe Massiot at 2020-12-03T13:03:56+01:00
Merge branch 'quarium-scte104'

- - - - -


1 changed file:

- scte/104.h


Changes:

=====================================
scte/104.h
=====================================
@@ -528,6 +528,8 @@ static inline void scte104srd_set_auto_return(uint8_t *p, uint8_t i_auto_return)
 /*****************************************************************************
  * SCTE-104 : time_signal_request_data
  *****************************************************************************/
+#define SCTE104TSRD_HEADER_SIZE     2
+
 static inline uint16_t scte104tsrd_get_pre_roll_time(const uint8_t *p)
 {
     return ((uint16_t)p[0] << 8) | ((uint16_t)p[1]);
@@ -536,6 +538,8 @@ static inline uint16_t scte104tsrd_get_pre_roll_time(const uint8_t *p)
 /*****************************************************************************
  * SCTE-104 : insert_descriptor_request_data
  *****************************************************************************/
+#define SCTE104IDRD_HEADER_SIZE     1
+
 static inline uint8_t scte104idrd_get_count(const uint8_t *p)
 {
     return p[0];
@@ -549,6 +553,8 @@ static inline uint8_t *scte104idrd_get_image(const uint8_t *p)
 /*****************************************************************************
  * SCTE-104 : insert_segmentation_descriptor_request_data
  *****************************************************************************/
+#define SCTE104ISDRD_HEADER_SIZE    18
+
 static inline uint32_t scte104isdrd_get_event_id(const uint8_t *p)
 {
     return ((uint32_t)p[0] << 24) | ((uint32_t)p[1] << 16) |



View it on GitLab: https://code.videolan.org/videolan/bitstream/-/compare/090095e44be43d86b4ad2dc23e0a682dce394335...f1cb6b396300976a7819e8dcbf65d252ae7e72d5

-- 
View it on GitLab: https://code.videolan.org/videolan/bitstream/-/compare/090095e44be43d86b4ad2dc23e0a682dce394335...f1cb6b396300976a7819e8dcbf65d252ae7e72d5
You're receiving this email because of your account on code.videolan.org.




More information about the biTStream-devel mailing list