Re: [RFC PATCH] Docbook/media: improve data_offset/bytesused documentation

2014-07-25 Thread Hans Verkuil
On 07/21/2014 03:30 PM, Nicolas Dufresne wrote: Le lundi 21 juillet 2014 à 15:16 +0200, Hans Verkuil a écrit : + Note that data_offset is included in structfieldbytesused/structfield. + So the size of the image in the plane is +

[RFC PATCH] Docbook/media: improve data_offset/bytesused documentation

2014-07-21 Thread Hans Verkuil
This patch explicitly documents the relationship between bytesused and data_offset. But looking in the kernel there isn't a single driver that actually sets data_offset. Do such beasts exist? It's also annoying that there is no such equivalent for the single planar API, so it is asymmetrical.

Re: [RFC PATCH] Docbook/media: improve data_offset/bytesused documentation

2014-07-21 Thread Nicolas Dufresne
Le lundi 21 juillet 2014 à 15:16 +0200, Hans Verkuil a écrit : + Note that data_offset is included in structfieldbytesused/structfield. + So the size of the image in the plane is + structfieldbytesused/structfield-structfielddata_offset/structfield at +