On 07/18/2014 09:29 PM, Antti Palosaari wrote: > Add buffer size field to struct v4l2_sdr_format. It is used for > negotiate streaming buffer size between application and driver. Yes, that's what I had in mind. Can you provide a DocBook patch as well? This patch: Acked-by: Hans Verkuil <hans.verkuil@xxxxxxxxx> Regards, Hans > > Cc: Hans Verkuil <hverkuil@xxxxxxxxx> > Signed-off-by: Antti Palosaari <crope@xxxxxx> > --- > include/uapi/linux/videodev2.h | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/videodev2.h > index 25ab057..0dd5ffb 100644 > --- a/include/uapi/linux/videodev2.h > +++ b/include/uapi/linux/videodev2.h > @@ -1724,10 +1724,12 @@ struct v4l2_pix_format_mplane { > /** > * struct v4l2_sdr_format - SDR format definition > * @pixelformat: little endian four character code (fourcc) > + * @buffersize: maximum size in bytes required for data > */ > struct v4l2_sdr_format { > __u32 pixelformat; > - __u8 reserved[28]; > + __u32 buffersize; > + __u8 reserved[24]; > } __attribute__ ((packed)); > > /** > -- 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