[bTSstream-devel] [Git][videolan/bitstream][master] 2 commits: h265: add level and tier VPS getters

Christophe Massiot (@cmassiot) gitlab at videolan.org
Tue Apr 28 09:56:34 UTC 2026



Christophe Massiot pushed to branch master at VideoLAN / bitstream


Commits:
7130f654 by Clément Vasseur at 2026-04-15T17:00:58+02:00
h265: add level and tier VPS getters

- - - - -
4484aebf by Christophe Massiot at 2026-04-28T11:56:21+02:00
Merge branch 'nto-h264-vps'

- - - - -


1 changed file:

- itu/h265.h


Changes:

=====================================
itu/h265.h
=====================================
@@ -235,6 +235,16 @@ static inline uint8_t h265vps_get_vps_id(const uint8_t *p_h265vps)
     return (p_h265vps[5] & 0xf0) >> 4;
 }
 
+static inline uint8_t h265vps_get_tier(const uint8_t *p_h265vps)
+{
+    return (p_h265vps[9] >> 5) & 1;
+}
+
+static inline uint8_t h265vps_get_level(const uint8_t *p_h265vps)
+{
+    return p_h265vps[23];
+}
+
 /*****************************************************************************
  * H265 sequence parameter set
  *****************************************************************************/



View it on GitLab: https://code.videolan.org/videolan/bitstream/-/compare/526a92f59821828aa9a4bc9816487adfd10b3a5a...4484aebf352b2ec786cf474b23b95ba831c4e284

-- 
View it on GitLab: https://code.videolan.org/videolan/bitstream/-/compare/526a92f59821828aa9a4bc9816487adfd10b3a5a...4484aebf352b2ec786cf474b23b95ba831c4e284
You're receiving this email because of your account on code.videolan.org.




More information about the biTStream-devel mailing list