media/libraries
tonihei b0adf2fe43 Don't set codec color info for default SDR
Some media can read color info values from the bitstream
and may partially set some of the SDR default values in
Format.ColorInfo. Setting these default values for SDR can
confuse some codecs and may also prevent adaptive ABR
switches if not all ColorInfo values are set in exactly the
same way.

We can avoid any influence of HDR color info handling by
disabling setting the color info MediaFormat keys for SDR
video and also avoid codec reset at format changes if both
formats are SDR with slightly different ColorInfo settings.

To identify "SDR" ColorInfo instances, we need to do some
fuzzy matching as many of the default values are assumed to
match the SDR profile even if not set.

Issue: androidx/media#1158
PiperOrigin-RevId: 617473937
(cherry picked from commit 3a7d31a599)
2024-03-20 04:55:06 -07:00
..
cast Return empty timeline when media info is null 2023-11-20 09:55:36 -08:00
common Don't set codec color info for default SDR 2024-03-20 04:55:06 -07:00
container Remove empty container/src/androidTest directory 2023-12-11 10:41:51 -08:00
database Do not trim audio samples by changing their timestamp 2023-06-29 22:50:04 +00:00
datasource Add supportsMimeType API to bitmapLoader 2024-01-12 13:49:38 -08:00
datasource_cronet Replace or suppress deprecated usages 2024-02-08 17:29:12 +00:00
datasource_okhttp Replace or suppress deprecated usages 2024-02-08 17:29:12 +00:00
datasource_rtmp Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
decoder Satisfy nullness checker correctness by using local variable 2023-10-31 12:56:32 +00:00
decoder_av1 Replace or suppress deprecated usages 2024-02-08 17:29:12 +00:00
decoder_ffmpeg Replace or suppress deprecated usages 2024-02-08 17:29:12 +00:00
decoder_flac Replace or suppress deprecated usages 2024-02-08 17:29:12 +00:00
decoder_midi MidiExtractor: mark only the first sample as key-frame 2023-11-21 07:39:46 -08:00
decoder_opus Replace or suppress deprecated usages 2024-02-08 17:29:12 +00:00
decoder_vp9 Replace or suppress deprecated usages 2024-02-08 17:29:12 +00:00
effect Fix forward for 216f3fedb8 2024-04-02 16:41:12 +00:00
exoplayer Don't set codec color info for default SDR 2024-03-20 04:55:06 -07:00
exoplayer_dash Rollback of 406c0a15be 2024-02-08 17:30:17 +00:00
exoplayer_hls Rollback of 406c0a15be 2024-02-08 17:30:17 +00:00
exoplayer_ima Replace or suppress deprecated usages 2024-02-08 17:29:12 +00:00
exoplayer_rtsp Allow empty information attributes in RTSP Session Description 2024-04-02 17:08:26 +00:00
exoplayer_smoothstreaming Rollback of 406c0a15be 2024-02-08 17:30:17 +00:00
exoplayer_workmanager Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
extractor Don't emit a CuesWithTiming for zero-duration Subtitle events 2024-03-15 05:22:47 -07:00
muxer Write "stco" box instead of "co64" for fragmented MP4 2024-01-25 11:42:44 +00:00
session Fix some invalid javadoc references caught by a new JDK version 2024-04-02 18:43:29 +00:00
test_data Don't emit a CuesWithTiming for zero-duration Subtitle events 2024-03-15 05:22:47 -07:00
test_exoplayer_playback Disable 'skip buffers with identical release times' in GTS tests 2024-01-25 11:42:43 +00:00
test_session_common Add session extras to the state of the controller 2023-11-21 14:32:33 -08:00
test_session_current Avoid position jumping back when controller replaces the current item 2024-04-02 18:36:22 +00:00
test_utils Add device-specific opt-ins for async MediaCodecAdapter 2024-03-11 06:27:15 -07:00
test_utils_robolectric Fix docs on playUntilStartOfMediaItem to match playUntilPosition 2024-04-02 16:41:12 +00:00
transformer Composition: clarify javadoc to setTransmuxAudio\Video 2024-03-07 02:55:30 -08:00
ui Fallback to including track language name if display name is not found 2024-04-02 16:13:56 +00:00
ui_leanback Bump effect and leanback minSdk to 19 2024-01-10 07:22:00 -08:00
lint.xml Update recommended way to suppress @UnstableApi errors in lint.xml 2023-11-15 02:34:40 -08:00