[PATCH 2/2] [media] v4l: Add 10-bits per channel YUV pixel formats
Daniel Stone
daniel at fooishbar.org
Tue Jan 3 10:49:32 UTC 2017
Hi all,
On 2 January 2017 at 13:03, ayaka <ayaka at soulik.info> wrote:
> On 01/02/2017 07:07 PM, Sakari Ailus wrote:
>> On Mon, Jan 02, 2017 at 06:53:16PM +0800, ayaka wrote:
>>> On 01/02/2017 05:10 PM, Sakari Ailus wrote:
>>>> If the format resembles the existing formats but on a different bit
>>>> depth,
>>>> it should be named in similar fashion.
>>>
>>> Do you mean it would be better if it is called as NV12_10?
>>
>> If it otherwise resembles NV12 but just has 10 bits per pixel, I think
>> NV12_10 is a good name for it.
>
> The main reason I don't like it is that there is a various of software
> having used the P010 for this kind of pixel format. It would leadi a
> conflict between them(and I never saw it is used as NV12_10), as the P010 is
> more common to be used.
Indeed; GStreamer, FFmpeg and Microsoft all call this P010:
https://msdn.microsoft.com/en-us/library/windows/desktop/bb970578(v=vs.85).aspx
fourcc.org is supposed to reflect Microsoft's registry, but seems to
not be actively maintained anymore.
Cheers,
Daniel
More information about the dri-devel
mailing list