linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC v2] v4l2: Compressed data formats on the video bus
@ 2011-12-01 10:20 Sylwester Nawrocki
  2011-12-01 10:20 ` [PATCH/RFC v2 1/4] v4l: Add new framesamples field to struct v4l2_mbus_framefmt Sylwester Nawrocki
                   ` (3 more replies)
  0 siblings, 4 replies; 25+ messages in thread
From: Sylwester Nawrocki @ 2011-12-01 10:20 UTC (permalink / raw)
  To: linux-media
  Cc: mchehab, laurent.pinchart, g.liakhovetski, sakari.ailus,
	m.szyprowski, riverful.kim, sw0312.kim, s.nawrocki

Hello,

this is an updated version of the changeset extending struct v4l2_mbus_framefmt
with new framesamples field.

Changes since v1:
 - Docbook documentation improvements
 - drivers that are exposing a sub-device node are modified to initialize
   the new struct v4l2_mbus_framefmt member to 0 if they support only
   uncompressed formats
 
The proposed semantics for the framesamples parameter is as follows:

 - the value is propagated at video pipeline entities where 'code' indicates
   compressed format;
 - the subdevs adjust the value if needed;
 - although currently there is only one compressed data format at the media 
   bus - V4L2_MBUS_FMT_JPEG_1X8 which corresponds to V4L2_PIX_FMT_JPEG and
   one sample at the media bus equals to one byte in memory, it is assumed
   that the host knows exactly what is framesamples/sizeimage ratio and it will 
   validate framesamples/sizeimage values before starting streaming;
 - the host will query internally a relevant subdev to properly handle 'sizeimage' 
   at the VIDIOC_TRY/S_FMT ioctl 
      
And here is a link to my initial RFC:
http://www.mail-archive.com/linux-media@vger.kernel.org/msg39321.html


-- 
Regards, 

Sylwester Nawrocki 
Samsung Poland R&D Center

^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2012-01-11 13:19 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-01 10:20 [RFC v2] v4l2: Compressed data formats on the video bus Sylwester Nawrocki
2011-12-01 10:20 ` [PATCH/RFC v2 1/4] v4l: Add new framesamples field to struct v4l2_mbus_framefmt Sylwester Nawrocki
2011-12-01 10:20 ` [PATCH/RFC v2 2/4] m5mols: Add support for buffer size configuration for compressed formats Sylwester Nawrocki
2011-12-01 10:20 ` [PATCH/RFC v2 3/4] s5p-fimc: Add support for media bus framesamples parameter Sylwester Nawrocki
2011-12-01 10:20 ` [PATCH/RFC v2 4/4] v4l: Update subdev drivers to handle " Sylwester Nawrocki
2011-12-06 16:12   ` Laurent Pinchart
2011-12-06 17:36     ` Sylwester Nawrocki
2011-12-09 17:59     ` [PATCH/RFC v3 " Sylwester Nawrocki
2011-12-12  0:31       ` Laurent Pinchart
2011-12-12 14:39         ` Sylwester Nawrocki
2011-12-14 12:23         ` [PATCH/RFC v4 0/2] v4l2: Extend media bus format with framesamples field Sylwester Nawrocki
2011-12-14 12:23           ` [PATCHv4 1/2] v4l: Add new framesamples field to struct v4l2_mbus_framefmt Sylwester Nawrocki
2011-12-21  0:20             ` Laurent Pinchart
2011-12-22 11:35               ` Sylwester Nawrocki
2011-12-26 12:53               ` Sakari Ailus
2011-12-28 17:09                 ` Sylwester Nawrocki
2011-12-31 13:16                   ` Sakari Ailus
2012-01-01 18:56                     ` Sylwester Nawrocki
2012-01-04 12:21                       ` Sakari Ailus
2012-01-04 22:51                         ` Sylwester Nawrocki
2012-01-06 15:44                           ` Sakari Ailus
2012-01-11 13:20                       ` Laurent Pinchart
2012-01-06 14:04               ` Sylwester Nawrocki
2011-12-14 12:23           ` [PATCHv4 2/2] v4l: Update subdev drivers to handle framesamples parameter Sylwester Nawrocki
2011-12-15 10:14             ` [PATCHv5] " Sylwester Nawrocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).