Re: [PATCH] mt9t031: preserve output format on VIDIOC_S_CROP

2010-04-22 Thread Guennadi Liakhovetski
On Thu, 22 Apr 2010, Valentin Longchamp wrote: > Guennadi Liakhovetski wrote: > > On Wed, 14 Apr 2010, Guennadi Liakhovetski wrote: > > > > > Interpretation of the V4L2 API specification, according to which the > > > VIDIOC_S_CROP ioctl for capture devices shall set the input window and > > > pre

Re: [PATCH] mt9t031: preserve output format on VIDIOC_S_CROP

2010-04-22 Thread Valentin Longchamp
Guennadi Liakhovetski wrote: On Wed, 14 Apr 2010, Guennadi Liakhovetski wrote: Interpretation of the V4L2 API specification, according to which the VIDIOC_S_CROP ioctl for capture devices shall set the input window and preserve the scales, thus possibly changing the output window, seems to be

Re: [PATCH] mt9t031: preserve output format on VIDIOC_S_CROP

2010-04-22 Thread Guennadi Liakhovetski
On Wed, 14 Apr 2010, Guennadi Liakhovetski wrote: > Interpretation of the V4L2 API specification, according to which the > VIDIOC_S_CROP ioctl for capture devices shall set the input window and > preserve the scales, thus possibly changing the output window, seems to be > incorrect. Switch to u

[PATCH] mt9t031: preserve output format on VIDIOC_S_CROP

2010-04-14 Thread Guennadi Liakhovetski
Interpretation of the V4L2 API specification, according to which the VIDIOC_S_CROP ioctl for capture devices shall set the input window and preserve the scales, thus possibly changing the output window, seems to be incorrect. Switch to using a more intuitive definition, i.e., to preserving the