OSDN Git Service

[media] DocBook media: update VIDIOC_CREATE_BUFS documentation
authorHans Verkuil <hans.verkuil@cisco.com>
Thu, 29 Oct 2015 04:07:30 +0000 (02:07 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 18 Dec 2015 15:49:27 +0000 (13:49 -0200)
commit02a34b6ace4cce92d5cf4d76e54afe0c71e4f706
treeb2f9218ec027880178a16ba333d1d4486972070c
parentdf9ecb0cad14b952a2865f8b3af86b2bbadfab45
[media] DocBook media: update VIDIOC_CREATE_BUFS documentation

During the Seoul media workshop we decided to relax the VIDIOC_CREATE_BUFS
specification so it would no longer require drivers to validate the format
field since almost no driver did that anyway.

Instead drivers use the buffer size(s) based on the format type and the
corresponding format fields and will ignore any other fields. If the size
cannot be used an error is returned, otherwise the size is used as-is.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Documentation/DocBook/media/v4l/vidioc-create-bufs.xml