RE: [PATCH/RFC v3 03/11] v4l: Group media bus pixel codes by types and sort them alphabetically

2010-10-06 Thread Hiremath, Vaibhav
: Group media bus pixel codes by types and sort them alphabetically Adding new pixel codes at the end of the enumeration will soon create a mess, so group the pixel codes by type and sort them by bus_width, bits per component, samples per pixel and order of subsamples. As the codes are part

Re: [PATCH/RFC v3 03/11] v4l: Group media bus pixel codes by types and sort them alphabetically

2010-10-06 Thread Laurent Pinchart
Hi Vaibhav, On Wednesday 06 October 2010 11:19:21 Hiremath, Vaibhav wrote: On Tuesday, October 05, 2010 7:55 PM Laurent Pinchart wrote: Adding new pixel codes at the end of the enumeration will soon create a mess, so group the pixel codes by type and sort them by bus_width, bits per

RE: [PATCH/RFC v3 03/11] v4l: Group media bus pixel codes by types and sort them alphabetically

2010-10-06 Thread Hiremath, Vaibhav
-Original Message- From: Laurent Pinchart [mailto:laurent.pinch...@ideasonboard.com] Sent: Wednesday, October 06, 2010 3:43 PM To: Hiremath, Vaibhav Cc: linux-media@vger.kernel.org; sakari.ai...@maxwell.research.nokia.com Subject: Re: [PATCH/RFC v3 03/11] v4l: Group media bus pixel

[PATCH/RFC v3 03/11] v4l: Group media bus pixel codes by types and sort them alphabetically

2010-10-05 Thread Laurent Pinchart
Adding new pixel codes at the end of the enumeration will soon create a mess, so group the pixel codes by type and sort them by bus_width, bits per component, samples per pixel and order of subsamples. As the codes are part of the kernel ABI their value can't change when a new code is inserted in

Re: [PATCH/RFC v3 03/11] v4l: Group media bus pixel codes by types and sort them alphabetically

2010-10-05 Thread Guennadi Liakhovetski
On Tue, 5 Oct 2010, Laurent Pinchart wrote: Adding new pixel codes at the end of the enumeration will soon create a mess, so group the pixel codes by type and sort them by bus_width, bits per component, samples per pixel and order of subsamples. As the codes are part of the kernel ABI their