Post

Replies

Boosts

Views

Activity

Reply to How do I enable HDR on Metal on iOS ?
To add more context, I am trying to implement a simple video player using Metal. Take a SDR avc stream, decode it using VideoToolBox, convert the decoded frame to a Metal texture and render it on a MTKView. The problem is a white clip looks more bright when played on the native player compared to my player. The root cause is that the even setting the pixels in the fragment shader to (1,1,1) in the MTKView is dimmer compared to the native player playback of the white clip. I am assuming that internally the native player is enabling the HDR mode. Since the "wantsExtendedDynamicRangeContent" field is not available in iOS, I am trying to see if there is any work around.
Jul ’20