summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMartin Bugge <marbugge@cisco.com>2013-12-05 11:52:39 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-01-07 06:30:41 -0200
commit3c4da74fe55e52e2635b08af99471a5679a7a92e (patch)
treecb1ffb628b9ff75b67ab554733759c1c7bdf064b /include
parentb38a1c4cf27ca8303b7c15f8df8247c081ba2723 (diff)
downloadlinux-stable-3c4da74fe55e52e2635b08af99471a5679a7a92e.tar.gz
linux-stable-3c4da74fe55e52e2635b08af99471a5679a7a92e.tar.bz2
linux-stable-3c4da74fe55e52e2635b08af99471a5679a7a92e.zip
[media] adv7842: 625/525 line standard jitter fix
Both the PAL and NTSC standards are interlaced where a frame consist of two fields. Total number of lines in a frame in both systems are an odd number so the two fields will have different length. In the 625 line standard ("PAL") the odd field of the frame is transmitted first, while in the 525 standard ("NTSC") the even field is transmitted first. This adds the possibility to change output config between the fields and standards. This setting will reduce the "format-jitter" on the signal sent by the pixelport moving the difference between the fields to vertical front/back-porch only. Signed-off-by: Martin Bugge <marbugge@cisco.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'include')
-rw-r--r--include/media/adv7842.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/media/adv7842.h b/include/media/adv7842.h
index f4e9d0d68c13..5327ba36d846 100644
--- a/include/media/adv7842.h
+++ b/include/media/adv7842.h
@@ -197,7 +197,8 @@ struct adv7842_platform_data {
struct adv7842_sdp_csc_coeff sdp_csc_coeff;
- struct adv7842_sdp_io_sync_adjustment sdp_io_sync;
+ struct adv7842_sdp_io_sync_adjustment sdp_io_sync_625;
+ struct adv7842_sdp_io_sync_adjustment sdp_io_sync_525;
/* i2c addresses */
u8 i2c_sdp_io;