[bTSstream-devel] [Git][videolan/bitstream][master] 2 commits: mp2v: add profile/levels with escape bit set

Massiot gitlab at videolan.org
Tue Dec 20 22:53:21 CET 2016


Massiot pushed to branch master at videolan / bitstream


Commits:
74f384b9 by Rafaël Carré at 2016-12-20T17:46:34+01:00
mp2v: add profile/levels with escape bit set

- - - - -
5b596ce8 by Massiot at 2016-12-20T22:53:21+01:00
Merge branch 'master' into 'master'

mp2v: add profile/levels with escape bit set

See merge request !7
- - - - -


1 changed file:

- mpeg/mp2v.h


Changes:

=====================================
mpeg/mp2v.h
=====================================
--- a/mpeg/mp2v.h
+++ b/mpeg/mp2v.h
@@ -284,12 +284,18 @@ static inline bool mp2vseq_get_nonintramatrix(const uint8_t *p_mp2vseq,
 #define MP2VSEQX_PROFILE_SNR_SCAL   (3 << 4)
 #define MP2VSEQX_PROFILE_SPAT_SCAL  (2 << 4)
 #define MP2VSEQX_PROFILE_HIGH       (1 << 4)
-#define MP2VSEQX_LEVEL_MASK         0xf
+#define MP2VSEQX_LEVEL_MASK         0x8f /* with escape bit */
 #define MP2VSEQX_LEVEL_LOW          10
 #define MP2VSEQX_LEVEL_MAIN         8
 #define MP2VSEQX_LEVEL_HIGH1440     6
 #define MP2VSEQX_LEVEL_HIGH         4
 #define MP2VSEQX_LEVEL_HIGHP        2
+#define MPV2SEQX_LEVEL_LOW_MV       0x8e
+#define MPV2SEQX_LEVEL_MAIN_MV      0x8d
+#define MPV2SEQX_LEVEL_HIGH_MV      0x8b
+#define MPV2SEQX_LEVEL_HIGH1440_MV  0x8a
+#define MPV2SEQX_LEVEL_MAIN_422     0x85
+#define MPV2SEQX_LEVEL_HIGH_422     0x82
 
 #define MP2VSEQX_CHROMA_420         1
 #define MP2VSEQX_CHROMA_422         2



View it on GitLab: https://code.videolan.org/videolan/bitstream/compare/f271f309cd2d99e71a8917b06e05fc0a57f3526f...5b596ce85c661f758b41816d21aa18433fccb68b
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/bitstream-devel/attachments/20161220/8ced3bea/attachment.html>


More information about the biTStream-devel mailing list