diff options
author | Frederic CAND <frederic.cand@anevia.com> | 2008-10-30 03:53:07 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-12-29 14:53:25 -0500 |
commit | b84ca9f2a08601205878a07a91ef418a1a5f77b1 (patch) | |
tree | a6af6ece0b4d02ca2c33b0e40036d3b213c4c699 /drivers/media/video/cx88 | |
parent | d9b01449e75d1351296595e28d2af72993bcc3dc (diff) |
V4L/DVB (9497): tda9887/cx88: Adds SECAM/BGH standards
Adds secam bgh support
Signed-off-by: Frederic CAND <frederic.cand@anevia.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/cx88')
-rw-r--r-- | drivers/media/video/cx88/cx88-core.c | 3 | ||||
-rw-r--r-- | drivers/media/video/cx88/cx88.h | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/drivers/media/video/cx88/cx88-core.c b/drivers/media/video/cx88/cx88-core.c index 60705b08bfe8..b045874ad04f 100644 --- a/drivers/media/video/cx88/cx88-core.c +++ b/drivers/media/video/cx88/cx88-core.c | |||
@@ -844,6 +844,9 @@ static int set_tvaudio(struct cx88_core *core) | |||
844 | } else if (V4L2_STD_SECAM_L & norm) { | 844 | } else if (V4L2_STD_SECAM_L & norm) { |
845 | core->tvaudio = WW_L; | 845 | core->tvaudio = WW_L; |
846 | 846 | ||
847 | } else if ((V4L2_STD_SECAM_B | V4L2_STD_SECAM_G | V4L2_STD_SECAM_H) & norm) { | ||
848 | core->tvaudio = WW_BG; | ||
849 | |||
847 | } else if (V4L2_STD_SECAM_DK & norm) { | 850 | } else if (V4L2_STD_SECAM_DK & norm) { |
848 | core->tvaudio = WW_DK; | 851 | core->tvaudio = WW_DK; |
849 | 852 | ||
diff --git a/drivers/media/video/cx88/cx88.h b/drivers/media/video/cx88/cx88.h index f4240965be32..f3c26ab6c7c6 100644 --- a/drivers/media/video/cx88/cx88.h +++ b/drivers/media/video/cx88/cx88.h | |||
@@ -58,7 +58,8 @@ | |||
58 | V4L2_STD_NTSC_M| V4L2_STD_NTSC_M_JP| V4L2_STD_NTSC_443 | \ | 58 | V4L2_STD_NTSC_M| V4L2_STD_NTSC_M_JP| V4L2_STD_NTSC_443 | \ |
59 | V4L2_STD_PAL_BG| V4L2_STD_PAL_DK | V4L2_STD_PAL_I | \ | 59 | V4L2_STD_PAL_BG| V4L2_STD_PAL_DK | V4L2_STD_PAL_I | \ |
60 | V4L2_STD_PAL_M | V4L2_STD_PAL_N | V4L2_STD_PAL_Nc | \ | 60 | V4L2_STD_PAL_M | V4L2_STD_PAL_N | V4L2_STD_PAL_Nc | \ |
61 | V4L2_STD_PAL_60| V4L2_STD_SECAM_L | V4L2_STD_SECAM_DK ) | 61 | V4L2_STD_PAL_60| V4L2_STD_SECAM_L | V4L2_STD_SECAM_DK | \ |
62 | V4L2_STD_SECAM_B| V4L2_STD_SECAM_G | V4L2_STD_SECAM_H ) | ||
62 | 63 | ||
63 | #define FORMAT_FLAGS_PACKED 0x01 | 64 | #define FORMAT_FLAGS_PACKED 0x01 |
64 | #define FORMAT_FLAGS_PLANAR 0x02 | 65 | #define FORMAT_FLAGS_PLANAR 0x02 |