Lines Matching defs:timeres
39 unsigned timeres;
115 ts_start = (hs*3600 + ms*60 + ss) * jacosub->timeres + fs;
116 ts_end = (he*3600 + me*60 + se) * jacosub->timeres + fe;
127 ts_start = (ts_start + jacosub->shift) * 100 / jacosub->timeres;
128 ts_end = (ts_end + jacosub->shift) * 100 / jacosub->timeres;
134 static int get_shift(int timeres, const char *buf)
148 case 4: return sign * ((a*3600 + b*60 + c) * timeres + d);
149 case 3: return sign * (( a*60 + b) * timeres + c);
150 case 2: return sign * (( a) * timeres + b);
173 jacosub->timeres = 30;
217 jacosub->shift = get_shift(jacosub->timeres, p);
223 jacosub->timeres = strtol(p, NULL, 10);
224 if (!jacosub->timeres)
225 jacosub->timeres = 30;