Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libdvbpsi
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
libdvbpsi
Commits
4929d8e5
Commit
4929d8e5
authored
Oct 02, 2013
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dr_45.h: document some defines.
parent
1a9bf781
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
src/descriptors/dr_54.h
src/descriptors/dr_54.h
+12
-0
No files found.
src/descriptors/dr_54.h
View file @
4929d8e5
...
@@ -34,10 +34,22 @@
...
@@ -34,10 +34,22 @@
extern
"C"
{
extern
"C"
{
#endif
#endif
/*!
* \def DVDPSI_GetContentCategoryFromType
* \brief Extract content category by type. The value 'type' includes the
* content category (MSB) and content detail (LSB).
*/
#define DVDPSI_GetContentCategoryFromType(type) ((type) >> 4)
#define DVDPSI_GetContentCategoryFromType(type) ((type) >> 4)
/*!
* \def L1L2MERGE
* \brief Merge content category and content detail in one byte. The
* category is in the topmost 4-bits (MSB) and the content detail in
* the lower 4-bits (LSB).
*/
#define L1L2MERGE(L1,L2) ( ( DVBPSI_CONTENT_CAT ## L1<<4) | (L2) )
#define L1L2MERGE(L1,L2) ( ( DVBPSI_CONTENT_CAT ## L1<<4) | (L2) )
/* Content category */
#define DVBPSI_CONTENT_CAT_UNDEFINED 0x0
#define DVBPSI_CONTENT_CAT_UNDEFINED 0x0
#define DVBPSI_CONTENT_CAT_MOVIE 0x1
#define DVBPSI_CONTENT_CAT_MOVIE 0x1
#define DVBPSI_CONTENT_CAT_NEWS 0x2
#define DVBPSI_CONTENT_CAT_NEWS 0x2
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment