media/libraries
hschlueter 9c8dcb402b Fallback to SDR if encoder doesn't support HDR (HLG only).
If the input is HDR (HLG), check encoder capabilities for HDR support
and request tone-mapping to SDR during decoder configuration otherwise.
Capabilities are only checked for API 31 and above, as HDR editing is
not supported before.

As the encoder capabilities check needs to happen before selecting the
encoder to use (as this may depend on the resolution output by the
effects chain), the EncoderWrapper checks all candidate encoders
for the MIME type for HDR capabilities and only requests fallback to
SDR if none of them support it.

When the actual encoder is selected, the wrapper checks that it matches
one of the encoders is checked capabilities for.

PiperOrigin-RevId: 458511599
2022-07-04 19:55:45 +00:00
..
cast Add timestamp to CueGroup 2022-06-27 10:38:20 +01:00
common Fallback to SDR if encoder doesn't support HDR (HLG only). 2022-07-04 19:55:45 +00:00
database Mark all non-public IntDefs as only TYPE_USE 2022-02-21 16:56:36 +00:00
datasource Remove InvalidResponseCodeException#headerFields from the stable API 2022-05-26 11:51:27 +00:00
datasource_cronet Add @deprecated javadoc to all @Deprecated @Override methods 2022-05-31 10:44:48 +00:00
datasource_okhttp Workaround for OkHttp Interrupt issues. 2022-05-09 10:59:41 +01:00
datasource_rtmp Remove references to deprecated DefaultDataSourceFactory from dev guide 2022-03-24 15:13:09 +00:00
decoder Expect PresentationTime Discontinuity During Stream Transitions 2022-04-26 14:21:36 +01:00
decoder_av1 Make sure native library loads use correct class loader 2022-02-22 11:25:44 +00:00
decoder_ffmpeg Force CMake version 3.21.0+ for the FFMPEG extension 2022-03-14 13:42:31 +00:00
decoder_flac Make sure native library loads use correct class loader 2022-02-22 11:25:44 +00:00
decoder_opus Ignore decoding test cases when library not available 2022-05-31 15:00:28 +00:00
decoder_vp9 Make sure native library loads use correct class loader 2022-02-22 11:25:44 +00:00
exoplayer Only consider enabled tracks in ProgressiveMediaPeriod.bufferedPosition 2022-07-04 19:53:18 +00:00
exoplayer_dash Make MetadataRenderer configurable to output metadata early. 2022-07-04 19:42:59 +00:00
exoplayer_hls Fix bug: playback is frozen with HLS chunkless preparation 2022-06-09 17:50:41 +00:00
exoplayer_ima Simplify DefaultMediaSourceFactory instantiation in a test 2022-05-30 16:32:59 +00:00
exoplayer_rtsp Merge pull request #63 from ittiam-systems:rtp-h263 2022-06-16 11:24:41 +00:00
exoplayer_smoothstreaming Rollback of e01bb47263 2022-05-23 17:12:22 +01:00
exoplayer_workmanager Reformat some javadoc 2022-02-18 14:54:02 +00:00
extractor Fix MP4 parser issue in reading bitrates from esds boxes. 2022-07-04 19:47:51 +00:00
session Document custom commands in the DefaultMediaNotificationProvider 2022-07-04 19:51:25 +00:00
test_data Fix MIDI command timestamp calculations and synthesization duration. 2022-07-04 19:48:43 +00:00
test_exoplayer_playback Move TrackGroupArray back to ExoPlayer 2022-03-17 13:08:56 +00:00
test_session_common Remove setMediaUri/onSetMediaUri 2022-06-15 15:32:14 +00:00
test_session_current Add timestamp to CueGroup 2022-06-27 10:38:20 +01:00
test_utils Consider shuffle order in Timeline.equals() 2022-07-04 19:41:19 +00:00
test_utils_robolectric Add timestamp to Metadata 2022-07-04 19:36:57 +00:00
transformer Fallback to SDR if encoder doesn't support HDR (HLG only). 2022-07-04 19:55:45 +00:00
ui Ensure TalkBack announces the selected playback speed in the UI menu 2022-07-04 19:43:48 +00:00
ui_leanback Fixes for some minor misc issues 2021-11-19 14:44:25 +00:00