- 19 Oct, 2022 21 commits
-
-
* Sets KEY_HDR_STATIC_INFO from MediaFormat in the DefaultCodec. * Adds checks in mediaparser to ensure color space, range, and transfer are valid values. PiperOrigin-RevId: 463921325
huangdarwin committed -
PiperOrigin-RevId: 463852948
Marc Baechinger committed -
Despite unregistering the callback and clearing pending Handler messages, the callback may still receive pending calls if they are already triggered by the AudioTrack. Instead of asserting that the track is correct, we should gracefully ignore stale events. PiperOrigin-RevId: 463851393
tonihei committed -
Merging https://github.com/androidx/media/pull/110/commits/c37a767fdfc2f7e0b9eb1ad7ae6f864c93950712 PiperOrigin-RevId: 463826373
claincly committed -
MediaCodecRenderer allows passing HDR10+ out-of-bound metadata with ApplicationVersion = 1. PiperOrigin-RevId: 463822315
christosts committed -
PiperOrigin-RevId: 463792127
Marc Baechinger committed -
TransformationException error codes were previously tied to OpenGL but other FrameProcessor implementations are possible. So this CL renames the error codes. Also, remove GL_INIT_FAILED error code, as FrameProcessor implemenations may initialize resources on a background thread after the factory method returns, so it's not obvious how to distinguish between initialization failures and processing failures. PiperOrigin-RevId: 463704902
Googler committed -
This allows non-GL effects to be passed to custom FrameProcessor implementations. PiperOrigin-RevId: 463696384
Googler committed -
PiperOrigin-RevId: 463646211
Googler committed -
Both are used in the public FrameProcessor interface, so they should be public too. PiperOrigin-RevId: 463454859
Googler committed -
Downsampled from 3840x2160 resolution videos using ffmpeg: `ffmpeg -i <inputFilename> -filter:v scale=<width>:<height> -c:a copy <outputFilename>` PiperOrigin-RevId: 463454628
samrobinson committed -
PiperOrigin-RevId: 463452893
samrobinson committed -
PiperOrigin-RevId: 463450395
leonwind committed -
This is possible because SSIM increases monotonically with bitrate. PiperOrigin-RevId: 463434373
samrobinson committed -
Just a misc nit, since I found the name a bit confusing, and figured findEncoderWithClosestSupportedFormat might be more descriptive. PiperOrigin-RevId: 463433646
huangdarwin committed -
Extract a FrameProcessor.Factory interface from GlEffectsFrameProcessor and allow it to be customized using a setter on Transformer.Builder. PiperOrigin-RevId: 463433438
Googler committed -
PiperOrigin-RevId: 463328405
hmzh committed -
PiperOrigin-RevId: 463320634
christosts committed -
PiperOrigin-RevId: 463315188
Googler committed -
Size requires API 21. Using Pair instead will allow effects to be used from API 18 during previewing once they are moved out of transformer. PiperOrigin-RevId: 463206474
Googler committed -
PiperOrigin-RevId: 463193768
Googler committed
-
- 25 Jul, 2022 5 commits
-
-
Issue: google/ExoPlayer#10460 #minor-release PiperOrigin-RevId: 463163839
olly committed -
PiperOrigin-RevId: 463146426
Oliver Woodman committed -
#minor-release PiperOrigin-RevId: 463062454
bachinger committed -
This is needed for applying effects to a playlist. The effects are applied based on the presentation time of the frame in its corresponding media item and the offset is added back before encoding. Each time the offset changes, end of input stream is signalled to the texture processors. This is needed because the texture processors can expect monotonically increasing timestamp within the same input stream but when the offset changes, the timstamps jump back to 0. PiperOrigin-RevId: 462714966
hschlueter committed -
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 12 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
-