• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/media/video/cx88/

Lines Matching defs:norm

649 static unsigned int inline norm_swidth(v4l2_std_id norm)
651 return (norm & (V4L2_STD_MN & ~V4L2_STD_PAL_Nc)) ? 754 : 922;
654 static unsigned int inline norm_hdelay(v4l2_std_id norm)
656 return (norm & (V4L2_STD_MN & ~V4L2_STD_PAL_Nc)) ? 135 : 186;
659 static unsigned int inline norm_vdelay(v4l2_std_id norm)
661 return (norm & V4L2_STD_625_50) ? 0x24 : 0x18;
664 static unsigned int inline norm_fsc8(v4l2_std_id norm)
666 if (norm & V4L2_STD_PAL_M)
669 if (norm & (V4L2_STD_PAL_Nc))
672 if (norm & V4L2_STD_NTSC) // All NTSC/M and variants
684 static unsigned int inline norm_htotal(v4l2_std_id norm)
687 unsigned int fsc4=norm_fsc8(norm)/2;
690 return (norm & V4L2_STD_625_50) ?
695 static unsigned int inline norm_vbipack(v4l2_std_id norm)
697 return (norm & V4L2_STD_625_50) ? 511 : 400;
848 v4l2_std_id norm = core->tvnorm;
854 if (V4L2_STD_PAL_BG & norm) {
857 } else if (V4L2_STD_PAL_DK & norm) {
860 } else if (V4L2_STD_PAL_I & norm) {
863 } else if (V4L2_STD_SECAM_L & norm) {
866 } else if ((V4L2_STD_SECAM_B | V4L2_STD_SECAM_G | V4L2_STD_SECAM_H) & norm) {
869 } else if (V4L2_STD_SECAM_DK & norm) {
872 } else if ((V4L2_STD_NTSC_M & norm) ||
873 (V4L2_STD_PAL_M & norm)) {
876 } else if (V4L2_STD_NTSC_M_JP & norm) {
880 printk("%s/0: tvaudio support needs work for this tv norm [%s], sorry\n",
900 int cx88_set_tvnorm(struct cx88_core *core, v4l2_std_id norm)
910 core->tvnorm = norm;
911 fsc8 = norm_fsc8(norm);
917 if (norm & V4L2_STD_NTSC_M_JP) {
920 } else if (norm & V4L2_STD_NTSC_443) {
923 } else if (norm & V4L2_STD_PAL_M) {
926 } else if (norm & V4L2_STD_PAL_N) {
929 } else if (norm & V4L2_STD_PAL_Nc) {
932 } else if (norm & V4L2_STD_PAL_60) {
935 } else if (norm & V4L2_STD_NTSC) {
938 } else if (norm & V4L2_STD_SECAM) {
959 norm & V4L2_STD_SECAM ? cxiformat : cxiformat | 0x400);
994 tmp64 = norm_htotal(norm) * (u64)vdec_clock;
1003 cx_write(MO_VBI_PACKET, (10<<11) | norm_vbipack(norm));
1012 call_all(core, core, s_std, norm);