]> 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)
commite64aa3346276916f0185e841de493b5eb996660a
tree7bdc78d37c8aa3fdd6edf59db02100521d666161
parent182ab0a47864c8ec64f49cb8dd73b584c836f585
[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