• Home
  • Raw
  • Download

Lines Matching refs:sync

28 extern int start_vo(unsigned int dev, unsigned int type, unsigned int sync);
35 static int check_vo_support(unsigned int dev, unsigned int type, unsigned int sync) in check_vo_support() argument
50 if (sync == VO_OUTPUT_USER) { in check_vo_support()
55 if ((((sync < VO_OUTPUT_1080P24) && (sync > VO_OUTPUT_1080I60)) || in check_vo_support()
56 ((sync < VO_OUTPUT_576P50) && (sync > VO_OUTPUT_1024x768_60))) && in check_vo_support()
57 (sync != VO_OUTPUT_640x480_60)) { in check_vo_support()
58 printf("vo%u's intfsync %u illegal!\n", dev, sync); in check_vo_support()
64 if ((sync != VO_OUTPUT_PAL) && (sync != VO_OUTPUT_NTSC)) { in check_vo_support()
65 printf("vo%u's intfsync %u illegal!\n", dev, sync); in check_vo_support()
71 if (VO_OUTPUT_320x240_60 != sync) { in check_vo_support()
72 printf("vo%u's intfsync %u illegal!\n", dev, sync); in check_vo_support()
78 if ((sync < VO_OUTPUT_320x240_50) || (sync > VO_OUTPUT_240x320_50)) { in check_vo_support()
79 printf("vo%u's intfsync %u illegal!\n", dev, sync); in check_vo_support()
85 if (VO_OUTPUT_240x320_60 != sync) { in check_vo_support()
86 printf("vo%u's intfsync %u illegal!\n", dev, sync); in check_vo_support()
120 unsigned int dev, intftype, sync; in do_startvo() local
130 sync = (unsigned int)simple_strtoul(argv[3], NULL, CMD_VO_ARGS_BASE10); in do_startvo()
131 if ((dev >= VO_DEV_BUTT) || (sync >= VO_OUTPUT_BUTT)) { in do_startvo()
136 if (check_vo_support(dev, intftype, sync)) { in do_startvo()
141 start_vo(dev, intftype, sync); in do_startvo()