mirror of
https://github.com/androidx/media.git
synced 2025-05-07 15:40:37 +08:00

Confirmed that the HLG extension displays properly on Pixel 7 Pro, API 34 and Samsung S24, API 34. On these devices, this fixes the washed out HLG preview issue on API 34, where the PQ ext had a washed out look, and where the HLG ext is supported (this bug didn't occur on API 33, only 34). More info on manual tests done to sanity-check: * Test cases: Transformer debug SurfaceView and ExoPlayer.setVideoEffects * Test inputs: HLG and PQ * Test devices: Pixel 7 Pro (API 33 & 34), Samsung Galaxy S24 (API 34) * Added debugging: Logging colorInfo used in GlUtil.createEglSurface No regressions were seen. HLG extension is used more in API 34, and behavior stays the same on API 33. Only human-visible change without logging is that HLG content looks better on API 34, for Samsung S24 and Pixel 7 Pro. PiperOrigin-RevId: 616131192