media/libraries
claincly 3b7ebecf16 Prefer hardware encoders in EncoderSelector.
In encoding small and odd-numbered resolutions, like `316x61` ([this image](https://upload.wikimedia.org/wikipedia/commons/6/65/100winners.png)), the current fallback logic prefers a software encoder to hardware ones. The assumption was, the encoder factory applies the encoder size alignment and changes the resolution to `316x60` for SW encoders and `316x64` for HW ones. SW encoders is selected because the supported resolution 60 is closer to requested 61, than the hardware supported 64.

This change changes the default encoder selection process to only expose hardware encoders if there is any.

PiperOrigin-RevId: 506879983
2023-02-08 13:49:52 +00:00
..
cast Clarify behavior for out-of-bounds indices and align implementations 2022-12-21 15:07:20 +00:00
common Support flushing in FrameProcessor 2023-02-02 15:33:05 +00:00
database Add javadoc links to README files 2022-12-12 11:19:23 +00:00
datasource Add javadoc links to README files 2022-12-12 11:19:23 +00:00
datasource_cronet Add javadoc links to README files 2022-12-12 11:19:23 +00:00
datasource_okhttp Add javadoc links to README files 2022-12-12 11:19:23 +00:00
datasource_rtmp Add javadoc links to README files 2022-12-12 11:19:23 +00:00
decoder Add javadoc links to README files 2022-12-12 11:19:23 +00:00
decoder_av1 Add javadoc links to README files 2022-12-12 11:19:23 +00:00
decoder_ffmpeg Add javadoc links to README files 2022-12-12 11:19:23 +00:00
decoder_flac Add javadoc links to README files 2022-12-12 11:19:23 +00:00
decoder_opus Add javadoc links to README files 2022-12-12 11:19:23 +00:00
decoder_vp9 Add javadoc links to README files 2022-12-12 11:19:23 +00:00
effect HDR: Fix debug surface by setting correct output color. 2023-02-08 13:44:31 +00:00
exoplayer Fix end of stream handling for previewing. 2023-02-02 15:37:01 +00:00
exoplayer_dash Merge pull request #10793 from fraunhoferfokus:dash-thumbnail-support 2023-02-02 15:30:08 +00:00
exoplayer_hls Add javadoc links to README files 2022-12-12 11:19:23 +00:00
exoplayer_ima Suppress warnings in ImaUtil 2023-01-25 18:41:55 +00:00
exoplayer_rtsp Add javadoc links to README files 2022-12-12 11:19:23 +00:00
exoplayer_smoothstreaming Add javadoc links to README files 2022-12-12 11:19:23 +00:00
exoplayer_workmanager Add javadoc links to README files 2022-12-12 11:19:23 +00:00
extractor Fix timestamp comparison for seeks in fMP4 2023-02-01 10:26:52 +00:00
session Session: advertise legacy FLAG_HANDLES_QUEUE_COMMANDS 2023-02-02 15:38:04 +00:00
test_data Add sRGB eotf to overlay fragment shader. 2023-02-02 15:32:08 +00:00
test_exoplayer_playback Fix instrumentation tests not working via Gradle 2022-09-30 18:03:11 +00:00
test_session_common Do not assume a valid queue in 3rd party sessions 2023-02-01 10:34:25 +00:00
test_session_current Session: advertise legacy FLAG_HANDLES_QUEUE_COMMANDS 2023-02-02 15:38:04 +00:00
test_utils HDR: Add device checks and mh for GL tone mapping PixelTests. 2023-02-01 10:37:09 +00:00
test_utils_robolectric Rollback of 7e63997459 2022-12-21 15:13:24 +00:00
transformer Prefer hardware encoders in EncoderSelector. 2023-02-08 13:49:52 +00:00
ui Tweak UI behavior when commands are missing. 2023-02-01 10:22:15 +00:00
ui_leanback Fix (another) LeanbackPlayerAdapter param name mismatch 2023-02-01 10:41:50 +00:00