[FFmpeg-devel] [PATCH v2 1/3] lavu/pix_fmt: add new pixel format x2rgb10

Lynne dev at lynne.ee
Wed May 13 02:19:26 EEST 2020


May 12, 2020, 23:42 by sw at jkqxz.net:

> On 12/05/2020 22:42, Lynne wrote:
>
>> Apr 22, 2020, 06:28 by fei.w.wang at intel.com:
>>
>>>> -----Original Message-----
>>>> From: Wang, Fei W <fei.w.wang at intel.com>
>>>> Sent: Wednesday, April 22, 2020 1:23 PM
>>>> To: ffmpeg-devel at ffmpeg.org
>>>> Cc: Wang, Fei W <fei.w.wang at intel.com>
>>>> Subject: [PATCH v2 1/3] lavu/pix_fmt: add new pixel format x2rgb10
>>>>
>>>> The format is packed RGB with each channel 10 bits available and include 2
>>>> bits unused.
>>>>
>>>> Signed-off-by: Fei Wang <fei.w.wang at intel.com>
>>>>
>>
>> Ping on this patch? I kind of need it to support 10 bit Vulkan sw_formats.
>> I'm happy with the name as-is.
>>
>
> Yes, but we probably need to reach a consensus on whether we are accepting the addition of these V210-like packed formats first - there were voices against it last time this was raised.
>
> I am in favour of allowing it because it is a common buffer format used in both graphics and display hardware, and appears in pretty much all related APIs (OpenGL, OpenCL, Vulkan, KMS, D3D).
>

Same. With it, we would be able to support kmsgrab from 10bit displays, which are becoming more
and more popular.



More information about the ffmpeg-devel mailing list