summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2015-11-30 09:59:18 -0200
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-12-18 13:29:13 -0200
commite80bf856af271423bc055e895ef6141b0795ffd9 (patch)
tree589d52a2ac9a32bde59593fb897abd186bc37e28 /Makefile
parent52d60eb7e6d6429a766ea1b8f67e01c3b2dcd3c5 (diff)
[media] cx23885: fix format/crop handling
While testing the cx23885 driver with various TV standards I found a number of bugs: 1) norm_maxw() returned 768 instead of 720 for PAL formats. This should always be 720, so drop this inline function and just always use 720. 2) cropcap() was missing, so the pixelaspect was never known and qv4l2 would scale the image incorrectly. Add cropcap support. 3) cx23885_set_tvnorm() should just return 0 if the same standard was set again. If another standard is set, then reset the width/height and call set_fmt for the subdevs. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions