|
@@ -612,15 +612,10 @@ extern int cx23885_risc_databuffer(struct pci_dev *pci,
|
|
|
|
|
|
static inline unsigned int norm_maxw(v4l2_std_id norm)
|
|
static inline unsigned int norm_maxw(v4l2_std_id norm)
|
|
{
|
|
{
|
|
- return (norm & (V4L2_STD_MN & ~V4L2_STD_PAL_Nc)) ? 720 : 768;
|
|
|
|
|
|
+ return (norm & V4L2_STD_525_60) ? 720 : 768;
|
|
}
|
|
}
|
|
|
|
|
|
static inline unsigned int norm_maxh(v4l2_std_id norm)
|
|
static inline unsigned int norm_maxh(v4l2_std_id norm)
|
|
{
|
|
{
|
|
- return (norm & V4L2_STD_625_50) ? 576 : 480;
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-static inline unsigned int norm_swidth(v4l2_std_id norm)
|
|
|
|
-{
|
|
|
|
- return (norm & (V4L2_STD_MN & ~V4L2_STD_PAL_Nc)) ? 754 : 922;
|
|
|
|
|
|
+ return (norm & V4L2_STD_525_60) ? 480 : 576;
|
|
}
|
|
}
|