Commit b84ca9f2 authored by Frederic CAND's avatar Frederic CAND Committed by Mauro Carvalho Chehab

V4L/DVB (9497): tda9887/cx88: Adds SECAM/BGH standards

Adds secam bgh support
Signed-off-by: default avatarFrederic CAND <frederic.cand@anevia.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent d9b01449
...@@ -180,11 +180,10 @@ static struct tvnorm tvnorms[] = { ...@@ -180,11 +180,10 @@ static struct tvnorm tvnorms[] = {
},{ },{
.std = V4L2_STD_SECAM_B | V4L2_STD_SECAM_G | V4L2_STD_SECAM_H, .std = V4L2_STD_SECAM_B | V4L2_STD_SECAM_G | V4L2_STD_SECAM_H,
.name = "SECAM-BGH", .name = "SECAM-BGH",
.b = ( cPositiveAmTV | .b = ( cNegativeFmTV |
cQSS ), cQSS ),
.c = ( cTopDefault), .c = ( cTopDefault),
.e = ( cGating_36 | .e = ( cAudioIF_5_5 |
cAudioIF_5_5 |
cVideoIF_38_90 ), cVideoIF_38_90 ),
},{ },{
.std = V4L2_STD_SECAM_L, .std = V4L2_STD_SECAM_L,
......
...@@ -844,6 +844,9 @@ static int set_tvaudio(struct cx88_core *core) ...@@ -844,6 +844,9 @@ static int set_tvaudio(struct cx88_core *core)
} else if (V4L2_STD_SECAM_L & norm) { } else if (V4L2_STD_SECAM_L & norm) {
core->tvaudio = WW_L; core->tvaudio = WW_L;
} else if ((V4L2_STD_SECAM_B | V4L2_STD_SECAM_G | V4L2_STD_SECAM_H) & norm) {
core->tvaudio = WW_BG;
} else if (V4L2_STD_SECAM_DK & norm) { } else if (V4L2_STD_SECAM_DK & norm) {
core->tvaudio = WW_DK; core->tvaudio = WW_DK;
......
...@@ -58,7 +58,8 @@ ...@@ -58,7 +58,8 @@
V4L2_STD_NTSC_M| V4L2_STD_NTSC_M_JP| V4L2_STD_NTSC_443 | \ V4L2_STD_NTSC_M| V4L2_STD_NTSC_M_JP| V4L2_STD_NTSC_443 | \
V4L2_STD_PAL_BG| V4L2_STD_PAL_DK | V4L2_STD_PAL_I | \ V4L2_STD_PAL_BG| V4L2_STD_PAL_DK | V4L2_STD_PAL_I | \
V4L2_STD_PAL_M | V4L2_STD_PAL_N | V4L2_STD_PAL_Nc | \ V4L2_STD_PAL_M | V4L2_STD_PAL_N | V4L2_STD_PAL_Nc | \
V4L2_STD_PAL_60| V4L2_STD_SECAM_L | V4L2_STD_SECAM_DK ) V4L2_STD_PAL_60| V4L2_STD_SECAM_L | V4L2_STD_SECAM_DK | \
V4L2_STD_SECAM_B| V4L2_STD_SECAM_G | V4L2_STD_SECAM_H )
#define FORMAT_FLAGS_PACKED 0x01 #define FORMAT_FLAGS_PACKED 0x01
#define FORMAT_FLAGS_PLANAR 0x02 #define FORMAT_FLAGS_PLANAR 0x02
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment