0340
0341
0342/** main function */
0343 int main(int argc,char *argv[]) {
int i, j, xferSize=-1, debug_level=1, nLoopCount = 0,
nLoopRepeat = 1;
int bUserStop = FALSE;
int bLoopback = FALSE, enable_OSD = FALSE;
0347 int bSkipDL = FALSE, bLogFile = FALSE, bI2CTable = TRUE, bTVTuner =
FALSE;
char *config_overrides[128]; // up to 128 different
parameters
int num_overrides = 0;
U32 pMode = 0xffff;
0352 BOOL do_mar = FALSE, fixed_pattern = FALSE, set_135mhz = FALSE,
set_162mhz = FALSE;
BOOL disable_config = FALSE;
TVTunerSelection tv_tuner_selection;
VW2010Impl vw2010hw; // actual hardware
implementation
IVwebHW *chip_interface = &vw2010hw; // virtual
interface to the hardware
printVersion(chip_interface);
if (argc < 3) {
printUsage();
return SUCCESS;
}
........
}
i use gdb debug the program , i find the process flow by
0347->0341->0347->0352->0341->0352 , it seems disordered, im really puzzled