]> git.baikalelectronics.ru Git - kernel.git/commit
[media] videodev2.h: add VICs and picture aspect ratio
authorHans Verkuil <hans.verkuil@cisco.com>
Thu, 14 Jul 2016 10:58:35 +0000 (07:58 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 16 Nov 2016 16:30:47 +0000 (14:30 -0200)
commit7239b824e06622a975ef4de5126373793c364ac8
tree7bdc78d37c8aa3fdd6edf59db02100521d666161
parentf7a468df148e1b61d7c5a569332c8e76d3db2407
[media] videodev2.h: add VICs and picture aspect ratio

Add picture aspect ratio information, the CEA-861 VIC (Video Identification
Code) and the HDMI VIC to struct v4l2_bt_timings.

The picture aspect was chosen rather than the pixel aspect since 1) the
CEA-861 standard uses picture aspect, and 2) pixel aspect ratio can become
tricky when dealing with pixel repeat timings. While we don't support those
yet at the moment, this might become necessary. And in that case using
picture aspect ratio makes more sense. And converting picture aspect ratio
to pixel aspect ratio is easy enough.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
include/uapi/linux/videodev2.h