Xpra: Ticket #1308: nvenc support for 10-bit modes with HEVC

Follow up from #1260 (nvenc 7) and #909 (10-bit colour).

According to NVIDIA VIDEO CODEC SDK: HEVC 10-bit encoding (..) require Pascal generation GPUs.

According to the docs:

The "each pixel of size 2 bytes" looks wrong to me (probably true for YUV formats only): this conflicts with "A2B10G10R10" / "A2R10G10B10". It looks like plain 32-bit data (2 alpha + 3*10 bit) we get from X11, which would be nice. Another way would be to use nvenc via ffmpeg (ie: added support for 10 bit HEVC encoding), meh.

Fri, 16 Sep 2016 06:56:32 GMT - Antoine Martin: status, description, summary changed

Mon, 20 Feb 2017 11:44:11 GMT - Antoine Martin:

See also #1347, #1317, #1823.

Wed, 28 Mar 2018 05:21:05 GMT - Antoine Martin: milestone changed

Wed, 20 Mar 2019 05:06:15 GMT - Antoine Martin: milestone changed

Milestone renamed

Sat, 21 Sep 2019 12:08:11 GMT - Antoine Martin: milestone changed

Sun, 12 Jul 2020 15:49:34 GMT - Antoine Martin: status changed; resolution set

As per NvEncodeAPI Data structures: NV_ENC_BUFFER_FORMAT_ABGR10 : 10 bit Packed A2B10G10R10. This is a word-ordered format where a pixel is represented by a 32-bit word with R in the lowest 10 bits, G in the next 10 bits, B in the 10 bits after that and A in the highest 2 bits.

Done in r26968.

Sat, 23 Jan 2021 05:20:42 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1308