Re: [RFC/PATCH v1 1/3] v4l: Add new framesamples field to struct v4l2_mbus_framefmt

2011-11-22 Thread Sylwester Nawrocki
Hi Tomasz, On 11/22/2011 12:07 PM, Tomasz Stanislawski wrote: > On 11/22/2011 10:55 AM, Sylwester Nawrocki wrote: >> The purpose of the new field is to allow the video pipeline elements to >> negotiate memory buffer size for compressed data frames, where the buffer >> size cannot be derived from p

Re: [RFC/PATCH v1 1/3] v4l: Add new framesamples field to struct v4l2_mbus_framefmt

2011-11-22 Thread Tomasz Stanislawski
Hi On 11/22/2011 10:55 AM, Sylwester Nawrocki wrote: The purpose of the new field is to allow the video pipeline elements to negotiate memory buffer size for compressed data frames, where the buffer size cannot be derived from pixel width and height and the pixel code. For VIDIOC_SUBDEV_S_FMT a

Re: [RFC/PATCH v1 1/3] v4l: Add new framesamples field to struct v4l2_mbus_framefmt

2011-11-22 Thread Sylwester Nawrocki
On 11/22/2011 11:48 AM, Hans Verkuil wrote: > On Tuesday, November 22, 2011 10:55:38 Sylwester Nawrocki wrote: >> The purpose of the new field is to allow the video pipeline elements to >> negotiate memory buffer size for compressed data frames, where the buffer >> size cannot be derived from pixel

Re: [RFC/PATCH v1 1/3] v4l: Add new framesamples field to struct v4l2_mbus_framefmt

2011-11-22 Thread Hans Verkuil
On Tuesday, November 22, 2011 10:55:38 Sylwester Nawrocki wrote: > The purpose of the new field is to allow the video pipeline elements to > negotiate memory buffer size for compressed data frames, where the buffer > size cannot be derived from pixel width and height and the pixel code. > > For VI

[RFC/PATCH v1 1/3] v4l: Add new framesamples field to struct v4l2_mbus_framefmt

2011-11-22 Thread Sylwester Nawrocki
The purpose of the new field is to allow the video pipeline elements to negotiate memory buffer size for compressed data frames, where the buffer size cannot be derived from pixel width and height and the pixel code. For VIDIOC_SUBDEV_S_FMT and VIDIOC_SUBDEV_G_FMT ioctls, the framesamples paramete