upstream: [media] DocBook media: update bytesused field description
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 7 Apr 2014 13:01:28 +0000 (10:01 -0300)
committerChanho Park <chanho61.park@samsung.com>
Thu, 7 Aug 2014 05:26:49 +0000 (14:26 +0900)
commit765c03b24803f72ef88fc9cb67f65f0a877e4e7c
treec350fc979e0b3f72a9b34c0ab72ca9455190a84d
parent4fe3170a4d4f6452808d4583f7138bdc9ab7f946
upstream: [media] DocBook media: update bytesused field description

For output buffers the application has to set the bytesused field.
In reality applications often do not set this since drivers that
deal with fix image sizes just override it anyway.

The vb2 framework will replace this field with the length field if
bytesused was set to 0 by the application, which is what happens
in practice. Document this behavior.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Documentation/DocBook/media/v4l/io.xml