]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit1ae14273fc9b352b5c0b9ba633b9056f02df3698
treeb2f9218ec027880178a16ba333d1d4486972070c
parentd00cbc3e570c7581d331efd7e0a0af45a583a7b3
[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