• Home
  • Raw
  • Download

Lines Matching refs:ev1

1167                             struct sbg_script_event *ev1)  in generate_plateau()  argument
1169 int64_t ts1 = ev1->ts_int, ts2 = ev1->ts_trans; in generate_plateau()
1173 for (i = 0; i < ev1->nb_elements; i++) { in generate_plateau()
1174 s1 = &s->synth[ev1->elements + i]; in generate_plateau()
1196 struct sbg_script_event *ev1, in generate_transition() argument
1199 int64_t ts1 = ev1->ts_trans, ts2 = ev1->ts_next; in generate_transition()
1202 enum sbg_fade_type type = ev1->fade.slide | (ev1->fade.out & ev2->fade.in); in generate_transition()
1203 int nb_elements = FFMAX(ev1->nb_elements, ev2->nb_elements); in generate_transition()
1216 s1 = i < ev1->nb_elements ? &s->synth[ev1->elements + i] : &s1mod; in generate_transition()
1220 if (ev1->fade.slide) { in generate_transition()
1284 struct sbg_script_event ev0, *ev1, *ev2; in generate_intervals() local
1297 ev1 = &s->events[i]; in generate_intervals()
1299 ev1->ts_int = ev1->ts; in generate_intervals()
1301 if (!ev1->fade.slide && ev1 >= ev2 && ev2->ts > INT64_MAX - period) in generate_intervals()
1304 ev1->ts_trans = ev1->fade.slide ? ev1->ts in generate_intervals()
1305 : ev2->ts + (ev1 < ev2 ? 0 : period); in generate_intervals()
1308 ev1 = &s->events[i]; in generate_intervals()
1310 if (!ev1->fade.slide) { in generate_intervals()
1311 ev1->ts_trans = FFMAX(ev1->ts_int, ev1->ts_trans - trans_time); in generate_intervals()
1314 ev1->ts_next = ev2->ts_int + (ev1 < ev2 ? 0 : period); in generate_intervals()
1325 ev1 = i < 0 ? &ev0 : &s->events[i]; in generate_intervals()
1326 ev1->ts_int = av_rescale(ev1->ts_int, sample_rate, AV_TIME_BASE); in generate_intervals()
1327 ev1->ts_trans = av_rescale(ev1->ts_trans, sample_rate, AV_TIME_BASE); in generate_intervals()
1328 ev1->ts_next = av_rescale(ev1->ts_next, sample_rate, AV_TIME_BASE); in generate_intervals()
1335 ev1 = i < 0 ? &ev0 : &s->events[i]; in generate_intervals()
1337 r = generate_plateau(log, s, inter, ev1); in generate_intervals()
1340 r = generate_transition(log, s, inter, ev1, ev2); in generate_intervals()