Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 3135
b: refs/heads/master
c: 59dcd94
h: refs/heads/master
i:
  3133: 98ec213
  3131: b4ead93
  3127: 8f52e2c
  3119: dd49f4c
  3103: dacdf9e
  3071: 13184a5
v: v3
  • Loading branch information
Mauro Carvalho Chehab authored and Linus Torvalds committed Jun 24, 2005
1 parent 12ef37d commit 92b0b65
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f246a8172a9e403b78c34568f766990f1506a0ab
refs/heads/master: 59dcd9480d93aebdf41e29c46e6a8b4ceeaca75d
9 changes: 9 additions & 0 deletions trunk/drivers/media/video/cx88/cx88-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -736,6 +736,10 @@ static unsigned int inline norm_fsc8(struct cx88_tvnorm *norm)
{
static const unsigned int ntsc = 28636360;
static const unsigned int pal = 35468950;
static const unsigned int palm = 28604892;

if (norm->id & V4L2_STD_PAL_M)
return palm;

return (norm->id & V4L2_STD_625_50) ? pal : ntsc;
}
Expand All @@ -749,6 +753,11 @@ static unsigned int inline norm_notchfilter(struct cx88_tvnorm *norm)

static unsigned int inline norm_htotal(struct cx88_tvnorm *norm)
{
/* Should always be Line Draw Time / (4*FSC) */

if (norm->id & V4L2_STD_PAL_M)
return 909;

return (norm->id & V4L2_STD_625_50) ? 1135 : 910;
}

Expand Down

0 comments on commit 92b0b65

Please sign in to comment.