Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
vlc
Commits
e3b5e536
Commit
e3b5e536
authored
Dec 09, 2015
by
Francois Cartegnie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hevc_nal: replace with define unordered enum
parent
2bca9481
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
24 deletions
+22
-24
modules/packetizer/hevc_nal.h
modules/packetizer/hevc_nal.h
+22
-24
No files found.
modules/packetizer/hevc_nal.h
View file @
e3b5e536
...
@@ -41,30 +41,28 @@ enum hevc_general_profile_idc_e
...
@@ -41,30 +41,28 @@ enum hevc_general_profile_idc_e
HEVC_PROFILE_REXT
=
4
,
/* range extensions */
HEVC_PROFILE_REXT
=
4
,
/* range extensions */
};
};
enum
hevc_format_range_extension_profile_e
{
/* Values built from 9 bits mapping of the A-2 bitstream indications for conformance */
/* Values built from 9 bits mapping of the A-2 bitstream indications for conformance */
#define HEVC_EXT_PROFILE_MONOCHROME 0x1F9
HEVC_EXT_PROFILE_MONOCHROME
=
0
b111111001
,
#define HEVC_EXT_PROFILE_MONOCHROME_12 0x139
HEVC_EXT_PROFILE_MONOCHROME_12
=
0
b100111001
,
#define HEVC_EXT_PROFILE_MONOCHROME_16 0x039
HEVC_EXT_PROFILE_MONOCHROME_16
=
0
b000111001
,
#define HEVC_EXT_PROFILE_MAIN_12 0x131
HEVC_EXT_PROFILE_MAIN_12
=
0
b100110001
,
#define HEVC_EXT_PROFILE_MAIN_422_10 0x1A1
HEVC_EXT_PROFILE_MAIN_422_10
=
0
b110100001
,
#define HEVC_EXT_PROFILE_MAIN_422_12 0x121
HEVC_EXT_PROFILE_MAIN_422_12
=
0
b100100001
,
#define HEVC_EXT_PROFILE_MAIN_444 0x1C1
HEVC_EXT_PROFILE_MAIN_444
=
0
b111000001
,
#define HEVC_EXT_PROFILE_MAIN_444_10 0x181
HEVC_EXT_PROFILE_MAIN_444_10
=
0
b110000001
,
#define HEVC_EXT_PROFILE_MAIN_444_12 0x101
HEVC_EXT_PROFILE_MAIN_444_12
=
0
b100000001
,
#define HEVC_EXT_PROFILE_MAIN_INTRA 0x1F4
/* From this one, lowest bit is insignifiant */
HEVC_EXT_PROFILE_MAIN_INTRA
=
0
b111110100
,
/* From this one, lowest bit is insignifiant */
#define HEVC_EXT_PROFILE_MAIN_10_INTRA 0x1B4
HEVC_EXT_PROFILE_MAIN_10_INTRA
=
0
b110110100
,
#define HEVC_EXT_PROFILE_MAIN_12_INTRA 0x134
HEVC_EXT_PROFILE_MAIN_12_INTRA
=
0
b100110100
,
#define HEVC_EXT_PROFILE_MAIN_422_10_INTRA 0x1A4
HEVC_EXT_PROFILE_MAIN_422_10_INTRA
=
0
b110100100
,
#define HEVC_EXT_PROFILE_MAIN_422_12_INTRA 0x124
HEVC_EXT_PROFILE_MAIN_422_12_INTRA
=
0
b100100100
,
#define HEVC_EXT_PROFILE_MAIN_444_INTRA 0x1C4
HEVC_EXT_PROFILE_MAIN_444_INTRA
=
0
b111000100
,
#define HEVC_EXT_PROFILE_MAIN_444_10_INTRA 0x184
HEVC_EXT_PROFILE_MAIN_444_10_INTRA
=
0
b110000100
,
#define HEVC_EXT_PROFILE_MAIN_444_12_INTRA 0x104
HEVC_EXT_PROFILE_MAIN_444_12_INTRA
=
0
b100000100
,
#define HEVC_EXT_PROFILE_MAIN_444_16_INTRA 0x004
HEVC_EXT_PROFILE_MAIN_444_16_INTRA
=
0
b000000100
,
#define HEVC_EXT_PROFILE_MAIN_444_STILL_PICTURE 0x1C6
HEVC_EXT_PROFILE_MAIN_444_STILL_PICTURE
=
0
b111000110
,
#define HEVC_EXT_PROFILE_MAIN_444_16_STILL_PICTURE 0x006
HEVC_EXT_PROFILE_MAIN_444_16_STILL_PICTURE
=
0
b000000110
,
};
/* NAL types from https://www.itu.int/rec/dologin_pub.asp?lang=e&id=T-REC-H.265-201304-I!!PDF-E&type=items */
/* NAL types from https://www.itu.int/rec/dologin_pub.asp?lang=e&id=T-REC-H.265-201304-I!!PDF-E&type=items */
enum
hevc_nal_unit_type_e
enum
hevc_nal_unit_type_e
...
...
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