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
+
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.
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
+