- 25 Jul, 2022 1 commit
-
-
It's always safe to ignore the result of these methods, because the caller already has a reference to the returned value. PiperOrigin-RevId: 462388947
ibaker committed
-
- 22 Jul, 2022 2 commits
-
-
Rohit Singh committed
-
r2.18.1
Rohit Kumar Singh committed
-
- 21 Jul, 2022 16 commits
-
-
Issue: google/ExoPlayer#10454 PiperOrigin-RevId: 462375294
olly committed -
Also rearranged release notes to correctly show when the changes were released. #minor-release PiperOrigin-RevId: 462361982
rohks committed -
This allows us to use BT.2020 RGB linear for intermediate shaders, which also allows us to re-enable PeriodicVignetteProcessor, which should work properly in linear color-spaces. Manually tested by adding a GlEffectsWrapper, and confirming that HLG HDR editing still looks correct. PiperOrigin-RevId: 462265821
huangdarwin committed -
PiperOrigin-RevId: 462232813
olly committed -
#minor-release PiperOrigin-RevId: 461902089
ibaker committed -
This adds two methods that are helpful when working with Futures. One is a version of postOrRun that can indicate completion by a Future and the other is a simplified version of Guava's Futures.transformAsync (which can't be used as it's in Beta). PiperOrigin-RevId: 461896598
tonihei committed -
Issue: androidx/media#10310 #minor-release PiperOrigin-RevId: 461889651
bachinger committed -
PiperOrigin-RevId: 461888238
samrobinson committed -
Otherwise, invalid ColorInfo instances generated using faulty MediaFormat#getInteger values could cause exceptions. Confirmed that b/239435670 reproduces without this CL, and does not reproduce with this CL. PiperOrigin-RevId: 461862191
huangdarwin committed -
This will help developers self-diagnose issues like Issue: google/ExoPlayer#10392 where the NPE occurs far from the original null value because a field gets assigned to null. This change aims to ensure that every stable method on Player, ExoPlayer and ExoPlayer.Builder that takes a non-null type will fail with an NPE before returning. #minor-release PiperOrigin-RevId: 461846580
ibaker committed -
* Introduced `useHdr` for `GlEffect#toGlTextureProcessor`, so `TextureProcessor` implementations can decide how to handle HDR. * Creating FP16 color textures for HDR input. Tested via manual testing, adding a no-op GlEffectWrapper to the transformation to force use of intermediate textures, adding a linear ramp to the fragment shader, and trying to ascertain that there's a real reduction in posterization when switching from 4-bit to 8-bit unsigned bytes, and again from 8-bit unsigned bytes to 16-bit floating point. PiperOrigin-RevId: 461613117
huangdarwin committed -
This may happen when a containers' color transfer incorrectly does not match the video's color transfer. An example of a file with such a mismatch is the current Transformer demo HDR10 sample file. Manually tested by confirming that no errors are emitted for SDR and HLG sample files, and that errors are emitted for our incorrect HDR10 sample file. PiperOrigin-RevId: 461583532
huangdarwin committed -
Issue: google/ExoPlayer#10429 PiperOrigin-RevId: 461577039
bachinger committed -
- Update profile selection logic to pick an HDR-compatible profile when doing HDR editing on H.264/AVC videos. - Handle doing the capabilities check for all MIME types that support HDR (not just H.265/HEVC). - Fix a bug where we would pass an HDR input color format to the encoder when using tone-mapping. - Tweak how `EncoderWrapper` works so decisions at made at construction time. Manually tested cases: - Transformation of an SDR video. - Transformation of an HDR video to AVC (which triggers fallback/tone-mapping on a device that doesn't support HDR editing for AVC). - Transformation of an HDR video with HDR editing. PiperOrigin-RevId: 461572973
andrewlewis committed -
The old URL doesn't correctly signal the HDR10 color info in the container. The new URL signals ST2084 (PQ) transfer function and BT.2020 color space as expected. PiperOrigin-RevId: 461560107
andrewlewis committed
-
- 15 Jul, 2022 6 commits
-
-
#minor-release PiperOrigin-RevId: 461177918
rohks committed -
PiperOrigin-RevId: 461165173
olly committed -
#minor-release PiperOrigin-RevId: 461162552
rohks committed -
These are providing more variety and complexity. All files are okay to be public. PiperOrigin-RevId: 460935247
samrobinson committed
- 13 Jul, 2022 15 commits
-
-
Also remove VideoEncoderSettings.colorProfile as there are no concrete use cases for customizing this and it clashes with picking the color format automatically based on SDR vs. HDR. PiperOrigin-RevId: 460746987
hschlueter committed -
The call doesn't currently reset the already loaded suppliers and factories. Also fix the supplier loading code to use a local copy of the current dataSourceFactory to avoid leaking an updated instance to a later invocation. Issue: androidx/media#116 #minor-release PiperOrigin-RevId: 460721541
tonihei committed -
We currently start a simple Thread to release AudioTracks asynchronously. If many AudioTracks are released at the same time, this may lead to OOM situations because we attempt to create multiple new threads. This can be improved by using a shared SingleThreadExecutor. In the simple case of one simmultaneous release, it's exactly the same behavior as before: create a thread and release it as soon as it's done. For multiple simultanous releases we get the advantage of sharing a single thread to avoid creating more than one at the same time. Issue: google/ExoPlayer#10057 PiperOrigin-RevId: 460698942
tonihei committed -
Add test that verifies SSIM with API enabled. #minor-release PiperOrigin-RevId: 460692420
samrobinson committed -
PiperOrigin-RevId: 460689252
Rohit Singh committed -
#cleanup #minor-release PiperOrigin-RevId: 460688226
samrobinson committed -
PiperOrigin-RevId: 460662425
claincly committed -
Note: This was already reviewed in <unknown commit>. This doesn't mean we cannot apply further changes though. PiperOrigin-RevId: 460542835
bachinger committed -
Leaving the media item that has been passed in unchanged, ensures that the media item in the timeline is equal to the media item that the user has passed into the player. The value of the tag is the uid of the window, meaning this is redundant information. #minor-release PiperOrigin-RevId: 460542246
bachinger committed -
PiperOrigin-RevId: 460513413
Rohit Singh committed -
PiperOrigin-RevId: 460500666
claincly committed -
`HevcConfig.parse` misreads reserved bit to determine NAL unit type. This is currently meant to be always set to 0, but could be given some kind of meaning in a future revision. Issue: google/ExoPlayer#10366 PiperOrigin-RevId: 460487613
rohks committed -
Issue: google/ExoPlayer#2518 PiperOrigin-RevId: 460482615
tonihei committed -
Issue: androidx/media#25 PiperOrigin-RevId: 460476841
bachinger committed -
Some calls to handleBuffer return false while a previous flush is still handled in the background. Fix this by either asserting the method returns true if we don't expect any delay, or calling it repeatedly until it returns true (within a timeout). PiperOrigin-RevId: 460474419
tonihei committed
-