[media] DocBook: make the G/S/TRY_FMT specification more strict
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 3 Sep 2012 12:37:18 +0000 (09:37 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 26 Sep 2012 12:30:22 +0000 (09:30 -0300)
commit93828d6438081649e81b8681df9bf6ad5d691650
tree0529d43509c1782b3e2f88a896e4540f408c2e87
parent6bd4dd27f926519527b9c39709df13ad120d63f9
[media] DocBook: make the G/S/TRY_FMT specification more strict

- S/TRY_FMT should always succeed, unless an invalid type field is passed in.
- TRY_FMT should give the same result as S_FMT, all other things being equal.
- ENUMFMT may return different formats for different inputs or outputs.
This was decided during the 2012 Media Workshop.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Reviewed-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Sakari Ailus <sakari.ailus@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Documentation/DocBook/media/v4l/vidioc-enum-fmt.xml
Documentation/DocBook/media/v4l/vidioc-g-fmt.xml