Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
SDK
/
exoplayer
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
1b9e2497
authored
Jul 25, 2019
by
sofijajvc
Committed by
Oliver Woodman
Jul 26, 2019
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Add comment about AV1 levels
PiperOrigin-RevId: 259918196
parent
074307dd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
library/core/src/main/java/com/google/android/exoplayer2/mediacodec/MediaCodecUtil.java
library/core/src/main/java/com/google/android/exoplayer2/mediacodec/MediaCodecUtil.java
View file @
1b9e2497
...
...
@@ -1060,6 +1060,8 @@ public final class MediaCodecUtil {
DOLBY_VISION_STRING_TO_LEVEL
.
put
(
"08"
,
CodecProfileLevel
.
DolbyVisionLevelUhd48
);
DOLBY_VISION_STRING_TO_LEVEL
.
put
(
"09"
,
CodecProfileLevel
.
DolbyVisionLevelUhd60
);
// See https://aomediacodec.github.io/av1-spec/av1-spec.pdf Annex A: Profiles and levels for
// more information on mapping AV1 codec strings to levels.
AV1_LEVEL_NUMBER_TO_CONST
=
new
SparseIntArray
();
AV1_LEVEL_NUMBER_TO_CONST
.
put
(
0
,
CodecProfileLevel
.
AV1Level2
);
AV1_LEVEL_NUMBER_TO_CONST
.
put
(
1
,
CodecProfileLevel
.
AV1Level21
);
...
...
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