-
Encoding API-3 (SDR JPG + raw HDR) sounds like it would be very useful for creation of a gain map with full artistic control of both SDR and HDR renditions. Any suggestions for a tool which may be able to convert some more common HDR format (such as P3 / rec2020 16-bit PQ TIF/PNG or 10-bit AVIF) to the required HDR YUV in P010 colorspace format? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Hi @gregbenz I'm happy to answer this question. Unfortunately P010 raw pixel is the only HDR format we currently support but supporting more HDR and SDR formats is a task on our roadmap. We are now planning our Q2 tasks and will be able to share the roadmap very soon. Thank you! |
Beta Was this translation helpful? Give feedback.
yuv420p10le and p010 are not identical. Both are 10 bits per component, except that in yuv420p10le, they are the present lsb 10 bits and msb 6 bits are zero and in p010 data is present in msb 10 bits and lsb 6 bits are zero. Also the chroma planes in p010 are interleaved.
https://cs.android.com/android/platform/superproject/main/+/main:frameworks/base/media/java/android/media/MediaCodecInfo.java;l=463
This could be a cause for the problem you are facing.