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@xxxxxxxxxxxxxxx/msg39321.html -- Regards, Sylwester Nawrocki Samsung Poland R&D Center -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html