On Thu, 1 Aug 2024 15:12:15 GMT, Andy Goryachev <ango...@openjdk.org> wrote:
> This might sound silly, but these formats seem to differ by the way color > bits are laid out in memory - would it be possible to write a utility that > does the direct conversion instead of calling two conversion methods? NV12 and IYUV are different in memory layout only, but P010 is 10-bit per pixel and NV12 is 8-bit per pixel. I filed enhancement request https://bugs.openjdk.org/browse/JDK-8337686 to support P010 and NV12 directly by Graphics. I think it is better approach, then doing conversion in Media. For now this approach is good enough until JDK-8337686 is implemented. ------------- PR Comment: https://git.openjdk.org/jfx/pull/1525#issuecomment-2263960073