- 27 Sep, 2022 2 commits
-
- 26 Sep, 2022 4 commits
-
-
PiperOrigin-RevId: 476909855 (cherry picked from commit 3e4aa050)
samrobinson committed -
One of the tests in MediaBrowserListenerTest caused the remote browser service to crash and then just timed out. As this asserts nothing useful besides checking that the timeout method is working, we can remove the test. Crashing the remote browser service had the side effect of letting subsequent tests in the same class fail because the previous session was never released and was still present in the static MediaSession SESSION_ID_TO_SESSION_MAP instance, which prevented the creation of new sessions with the same id. This is only an issue in test runs because a real process would also lose its static variables when it crashes. PiperOrigin-RevId: 476905337 (cherry picked from commit d2887d52)
tonihei committed -
`PlaybackStateCompat.toKeyCode(command)` was replaced by our own implementation of `toKeyCode()`. The legacy implementation used PLAY and PAUSE, while the new implementation uses PLAY_PAUSE. This made `pause` a pending intent that attempt to start the service in the foreground, but `service.startForeground()` won't be called in `MediaNotificationManager.updateNotificationInternal` when paused. PiperOrigin-RevId: 476895752 (cherry picked from commit acd9e581)
bachinger committed -
Comment-only change. PiperOrigin-RevId: 476873286 (cherry picked from commit 16dca182)
huangdarwin committed
-
- 23 Sep, 2022 4 commits
-
-
Calling maybeUpdateLegacyErrorState potentially creates a new legacy playback state which involves calling player methods. This change makes sure that the call sites of `maybeUpdateLegacyErrorState` are called on the app thread as enforced by the library. PiperOrigin-RevId: 476406282 (cherry picked from commit 74124f48)
bachinger committed -
* Before this CL, the texture was stored during the construction of the LUT processor. This failed since if one creates a list of GlEffects on the application thread, the texture will get stored in the application thread during the effect creation and not on the GL thread, which executes the FrameProcessors. * This is an issue since the executing thread then can't index from the texture stored on a different thread. PiperOrigin-RevId: 476388021 (cherry picked from commit 44b9aec0)
leonwind committed
-
- 30 Sep, 2022 1 commit
-
-
PiperOrigin-RevId: 476376463 (cherry picked from commit cac8c4f6)
Marc Baechinger committed
-
- 23 Sep, 2022 4 commits
-
-
If the sample type is dolby vision and the following conditions match a)There is a supported alternative codec mimetype b)Display does not support Dolby Vision Then getDecoderInfos will return the alternative types. Issue: google/ExoPlayer#9794 PiperOrigin-RevId: 476356223 (cherry picked from commit ed79f469)
michaelkatz committed -
To confirm that tone mapping did or did not happen. PiperOrigin-RevId: 476354606 (cherry picked from commit 87fd51a3)
huangdarwin committed
- 22 Sep, 2022 4 commits
-
- 21 Sep, 2022 2 commits
-
-
Tested: * Manually using both path and file descriptor. PiperOrigin-RevId: 475860978 (cherry picked from commit 9ec4e134)
samrobinson committed
-
- 20 Sep, 2022 1 commit
-
- 16 Sep, 2022 2 commits
-
-
Currently doSomeWork is never closed and so tracing is deceiving. See https://screenshot.googleplex.com/eZDzn5APpBNnhe5 PiperOrigin-RevId: 474755816 (cherry picked from commit 06230f19)
yschimke committed
- 15 Sep, 2022 1 commit
-
- 14 Sep, 2022 3 commits
-
-
By skipping every other row and column, SSIM calculation time reduces by 10-30%. PiperOrigin-RevId: 474286702 (cherry picked from commit 314b312a)
samrobinson committed -
PiperOrigin-RevId: 474279220 (cherry picked from commit bca9c9b2)
samrobinson committed
- 13 Sep, 2022 1 commit
-
- 12 Sep, 2022 3 commits
-
-
As part of this change, MssimCalculator is moved from androidTest/ to main/ PiperOrigin-RevId: 473771344 (cherry picked from commit 8ce42f06)
samrobinson committed
-
- 11 Sep, 2022 1 commit
-
- 09 Sep, 2022 4 commits
-
-
https://github.com/androidx/media/commit/3d5ddf0c42f1d2b91d4ef33c75f59656c6e566bc
*** Original commit *** Handle int instead of byte in SSIM. The value of pixels are converted to integers at the point of use, move this logic to the initialisation step. This is a prerequisite step for testing SSIM calculation, which will lead on to some SSIM improvements being verifiable. Tested manually and SSIM values match for the same video before and after this change. *** PiperOrigin-RevId: 473259446 (cherry picked from commit d188babd)
samrobinson committed -
The value of pixels are converted to integers at the point of use, move this logic to the initialisation step. This is a prerequisite step for testing SSIM calculation, which will lead on to some SSIM improvements being verifiable. Tested manually and SSIM values match for the same video before and after this change. PiperOrigin-RevId: 473231779 (cherry picked from commit 3d5ddf0c)
samrobinson committed -
PiperOrigin-RevId: 473212543 (cherry picked from commit 4133bb60)
huangdarwin committed
- 08 Sep, 2022 3 commits
-
-
PiperOrigin-RevId: 472974903 (cherry picked from commit 260aabb6)
christosts committed -
Test that HDR editing succeeds on devices supporting HDR editing, tone maps on devices supporting tone mapping, and throws exceptions on all other devices. Also, only restrict HDR editing and tone mapping support to API 31+ only when transcoding, not for all transformations. PiperOrigin-RevId: 472958965 (cherry picked from commit 0d8fd3d4)
huangdarwin committed