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>
This commit is contained in:
parent
d9b01449e7
commit
b84ca9f2a0
3 changed files with 7 additions and 4 deletions
|
@ -180,11 +180,10 @@ static struct tvnorm tvnorms[] = {
|
|||
},{
|
||||
.std = V4L2_STD_SECAM_B | V4L2_STD_SECAM_G | V4L2_STD_SECAM_H,
|
||||
.name = "SECAM-BGH",
|
||||
.b = ( cPositiveAmTV |
|
||||
.b = ( cNegativeFmTV |
|
||||
cQSS ),
|
||||
.c = ( cTopDefault),
|
||||
.e = ( cGating_36 |
|
||||
cAudioIF_5_5 |
|
||||
.e = ( cAudioIF_5_5 |
|
||||
cVideoIF_38_90 ),
|
||||
},{
|
||||
.std = V4L2_STD_SECAM_L,
|
||||
|
|
|
@ -844,6 +844,9 @@ static int set_tvaudio(struct cx88_core *core)
|
|||
} else if (V4L2_STD_SECAM_L & norm) {
|
||||
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) {
|
||||
core->tvaudio = WW_DK;
|
||||
|
||||
|
|
|
@ -58,7 +58,8 @@
|
|||
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_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_PLANAR 0x02
|
||||
|
|
Loading…
Reference in a new issue