[bTSstream-devel] [Git][videolan/bitstream][master] 2 commits: ts.h: add defines for scrambling_control
Christophe Massiot
gitlab at videolan.org
Fri Jan 18 12:14:05 CET 2019
Christophe Massiot pushed to branch master at VideoLAN / bitstream
Commits:
d9f6e999 by Rafaël Carré at 2019-01-15T13:51:09Z
ts.h: add defines for scrambling_control
- - - - -
5dcd90ab by Christophe Massiot at 2019-01-18T11:13:54Z
Merge branch 'funman-csa'
- - - - -
1 changed file:
- mpeg/ts.h
Changes:
=====================================
mpeg/ts.h
=====================================
@@ -150,6 +150,11 @@ static inline uint8_t ts_get_adaptation(const uint8_t *p_ts)
return p_ts[4];
}
+/* not technically defined in ISO-13818, but this seems to be the industry consensus */
+#define TS_SCRAMBLING_CLEAR 0
+#define TS_SCRAMBLING_EVEN 2
+#define TS_SCRAMBLING_ODD 3
+
static inline void ts_set_scrambling(uint8_t *p_ts, uint8_t i_scrambling)
{
p_ts[3] &= ~0xc0;
View it on GitLab: https://code.videolan.org/videolan/bitstream/compare/b3b6b53ea337537344e85ed6f3967f0e4134d14d...5dcd90ab9a47726dfc9a674d85aac9053083d925
--
View it on GitLab: https://code.videolan.org/videolan/bitstream/compare/b3b6b53ea337537344e85ed6f3967f0e4134d14d...5dcd90ab9a47726dfc9a674d85aac9053083d925
You're receiving this email because of your account on code.videolan.org.
More information about the biTStream-devel
mailing list