Re: [RFC] V4L2 events with extensible payload

2013-02-12 Thread Sylwester Nawrocki
On 02/12/2013 08:59 AM, Hans Verkuil wrote: On Mon February 11 2013 23:32:33 Sylwester Nawrocki wrote: ... 1. Is the event payload supposed to be relatively small and the interface is deliberately defined to disallow passing anything with the payload greater than 64 B ? In order to keep it a ra

Re: [RFC] V4L2 events with extensible payload

2013-02-11 Thread Hans Verkuil
On Mon February 11 2013 23:32:33 Sylwester Nawrocki wrote: > > Hi All, > > I have run recently into a situation where it would be useful to have > a data structure within the struct v4l2_event::u union of size greater > than 64 bytes, which is the current size of the union. > > Currently struct

[RFC] V4L2 events with extensible payload

2013-02-11 Thread Sylwester Nawrocki
Hi All, I have run recently into a situation where it would be useful to have a data structure within the struct v4l2_event::u union of size greater than 64 bytes, which is the current size of the union. Currently struct v4l2_event looks like this [1], and I have been thinking about extending i