summaryrefslogtreecommitdiff
path: root/drivers/scsi/pcmcia
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2015-03-07 14:15:25 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-04-02 20:40:17 -0300
commit1f088dc162ff191b95d4737d9a3664d8b6a4fca8 (patch)
tree6e6576fa9cd0e054bb7d586633148a42b4c124fe /drivers/scsi/pcmcia
parent5d7c539e194af598a8f8d8f616ce97581f3d079a (diff)
[media] vivid-tpg: correctly average the two pixels in gen_twopix()
gen_twopix() is always called twice: once for the first and once for the second pixel. Improve the code to properly average the two if the format requires horizontal downsampling. This is necessary for patterns like 1x1 red/blue checkers. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/scsi/pcmcia')
0 files changed, 0 insertions, 0 deletions