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
1095f5fc
authored
Jan 18, 2021
by
Oliver Woodman
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge pull request #8437 from equeim:interlaced
PiperOrigin-RevId: 352357712
parents
08132656
377a3250
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
0 deletions
library/extractor/src/main/java/com/google/android/exoplayer2/extractor/ts/H265Reader.java
library/extractor/src/main/java/com/google/android/exoplayer2/extractor/ts/H265Reader.java
View file @
1095f5fc
...
@@ -335,6 +335,26 @@ public final class H265Reader implements ElementaryStreamReader {
...
@@ -335,6 +335,26 @@ public final class H265Reader implements ElementaryStreamReader {
Log
.
w
(
TAG
,
"Unexpected aspect_ratio_idc value: "
+
aspectRatioIdc
);
Log
.
w
(
TAG
,
"Unexpected aspect_ratio_idc value: "
+
aspectRatioIdc
);
}
}
}
}
if
(
bitArray
.
readBit
())
{
// overscan_info_present_flag
bitArray
.
skipBit
();
// overscan_appropriate_flag
}
if
(
bitArray
.
readBit
())
{
// video_signal_type_present_flag
bitArray
.
skipBits
(
4
);
// video_format, video_full_range_flag
if
(
bitArray
.
readBit
())
{
// colour_description_present_flag
// colour_primaries, transfer_characteristics, matrix_coeffs
bitArray
.
skipBits
(
24
);
}
}
if
(
bitArray
.
readBit
())
{
// chroma_loc_info_present_flag
bitArray
.
readUnsignedExpGolombCodedInt
();
// chroma_sample_loc_type_top_field
bitArray
.
readUnsignedExpGolombCodedInt
();
// chroma_sample_loc_type_bottom_field
}
bitArray
.
skipBit
();
// neutral_chroma_indication_flag
if
(
bitArray
.
readBit
())
{
// field_seq_flag
// field_seq_flag equal to 1 indicates that the coded video sequence conveys pictures that
// represent fields, which means that frame height is double the picture height.
picHeightInLumaSamples
*=
2
;
}
}
}
// Parse the SPS to derive an RFC 6381 codecs string.
// Parse the SPS to derive an RFC 6381 codecs string.
...
...
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