RFR: 8336277: Colors are incorrect when playing H.265/HEVC on Windows 11

Alexander Matveev almatvee at openjdk.org
Thu Aug 1 20:52:36 UTC 2024


On Thu, 1 Aug 2024 15:12:15 GMT, Andy Goryachev <angorya at 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


More information about the openjfx-dev mailing list