Re: [RFC PATCH 2/2] media/uapi/v4l: clarify cropcap/crop/selection behavior

2017-06-19 Thread Sylwester Nawrocki
Hi Hans, On 06/19/2017 09:35 AM, Hans Verkuil wrote: diff --git a/Documentation/media/uapi/v4l/vidioc-cropcap.rst b/Documentation/media/uapi/v4l/vidioc-cropcap.rst index f21a69b554e1..d354216846e6 100644 --- a/Documentation/media/uapi/v4l/vidioc-cropcap.rst +++

Re: [RFC PATCH 2/2] media/uapi/v4l: clarify cropcap/crop/selection behavior

2017-06-19 Thread Hans Verkuil
Hi Sylwester, On 05/08/2017 04:35 PM, Hans Verkuil wrote: From: Hans Verkuil Unfortunately the use of 'type' was inconsistent for multiplanar buffer types. Starting with 4.12 both the normal and _MPLANE variants are allowed, thus making it possible to write sensible

Re: [RFC PATCH 2/2] media/uapi/v4l: clarify cropcap/crop/selection behavior

2017-06-18 Thread Sylwester Nawrocki
On 06/16/2017 03:08 PM, Sakari Ailus wrote: > On Mon, May 08, 2017 at 04:35:06PM +0200, Hans Verkuil wrote: >> From: Hans Verkuil >> >> Unfortunately the use of 'type' was inconsistent for multiplanar >> buffer types. Starting with 4.12 both the normal and _MPLANE variants

Re: [RFC PATCH 2/2] media/uapi/v4l: clarify cropcap/crop/selection behavior

2017-06-16 Thread Sakari Ailus
Hi Hans, On Mon, May 08, 2017 at 04:35:06PM +0200, Hans Verkuil wrote: > From: Hans Verkuil > > Unfortunately the use of 'type' was inconsistent for multiplanar > buffer types. Starting with 4.12 both the normal and _MPLANE variants > are allowed, thus making it possible

[RFC PATCH 2/2] media/uapi/v4l: clarify cropcap/crop/selection behavior

2017-05-08 Thread Hans Verkuil
From: Hans Verkuil Unfortunately the use of 'type' was inconsistent for multiplanar buffer types. Starting with 4.12 both the normal and _MPLANE variants are allowed, thus making it possible to write sensible code. Yes, we messed up :-( Signed-off-by: Hans Verkuil