/third_party/ffmpeg/libswscale/ppc/ |
H A D | swscale_ppc_template.c | 105 LOCAL_ALIGNED(16, int, tempo, [4]); in hScale_real() 132 vec_st(val_s, 0, tempo); in hScale_real() 133 dst[i] = FFMIN(tempo[3] >> 7, (1 << 15) - 1); in hScale_real() 150 vec_st(val_s, 0, tempo); in hScale_real() 151 dst[i] = FFMIN(tempo[3] >> 7, (1 << 15) - 1); in hScale_real() 172 VEC_ST(val_s, 0, tempo); in hScale_real() 173 dst[i] = FFMIN(tempo[3] >> 7, (1 << 15) - 1); in hScale_real() 218 VEC_ST(val_s, 0, tempo); in hScale_real() 219 dst[i] = FFMIN(tempo[3] >> 7, (1 << 15) - 1); in hScale_real()
|
/third_party/alsa-lib/test/ |
H A D | midifile.c | 40 * its units change value at every tempo change. Mf_realtime is 43 * (9) maintains a history of tempo settings to update Mf_currtempo, 44 * to handle tempo tracks. 153 double mf_ticks2sec (unsigned long ticks, int division, unsigned long tempo); 361 * Step through each tempo change from old_currtime up to now, in readtrack() 379 printf("d(rev %lu - old %lu, div %d, tempo %lu) = %.3f\n", in readtrack() 396 printf("d(rev %lu - old %lu, div %d, tempo %lu) = %.3f\n", in readtrack() 549 case 0x51: /* Set tempo */ in metaevent() 828 /* In format 1 files, the first track is a tempo map */ 1030 mf_write_tempo (delta_time, tempo) in mf_write_tempo() [all...] |
H A D | playmidi1.c | 12 * - fix tempo event bug 152 snd_seq_queue_tempo_t *tempo; in do_header() local 165 snd_seq_queue_tempo_alloca(&tempo); in do_header() 167 if (snd_seq_get_queue_tempo(seq_handle, dest_queue, tempo) < 0) { in do_header() 171 if ((slave_ppq = snd_seq_queue_tempo_get_ppq(tempo)) != ppq) { in do_header() 172 snd_seq_queue_tempo_set_ppq(tempo, ppq); in do_header() 173 if (snd_seq_set_queue_tempo(seq_handle, dest_queue, tempo) < 0) { in do_header() 182 printf("ALSA Timer updated, PPQ = %d\n", snd_seq_queue_tempo_get_ppq(tempo)); in do_header() 244 /* change the tempo */ 255 /* store the new tempo an in do_tempo() [all...] |
H A D | midifile.h | 46 extern double mf_ticks2sec(unsigned long ticks,int division,unsigned long tempo);
|
/third_party/alsa-utils/seq/aplaymidi/ |
H A D | arecordmidi.c | 279 snd_seq_queue_tempo_t *tempo; in create_queue() local 285 snd_seq_queue_tempo_alloca(&tempo); in create_queue() 287 snd_seq_queue_tempo_set_tempo(tempo, 60000000 / beats); in create_queue() 288 snd_seq_queue_tempo_set_ppq(tempo, ticks); in create_queue() 292 * we pretend to have a musical tempo with the equivalent in create_queue() 297 snd_seq_queue_tempo_set_tempo(tempo, 500000); in create_queue() 298 snd_seq_queue_tempo_set_ppq(tempo, 12 * ticks); in create_queue() 301 snd_seq_queue_tempo_set_tempo(tempo, 400000); in create_queue() 302 snd_seq_queue_tempo_set_ppq(tempo, 10 * ticks); in create_queue() 305 snd_seq_queue_tempo_set_tempo(tempo, 10000000 in create_queue() [all...] |
H A D | aplaymidi.c | 56 int tempo; member 419 case 0x51: /* tempo */ in read_track() 430 event->data.tempo = read_byte() << 16; in read_track() 431 event->data.tempo |= read_byte() << 8; in read_track() 432 event->data.tempo |= read_byte(); in read_track() 494 /* interpret and set tempo */ in read_smf() 532 errormsg("Cannot set queue tempo (%u/%i)", in read_smf() 827 ev.data.queue.param.value = event->data.tempo; in play_midi()
|
/third_party/ffmpeg/libavfilter/ |
H A D | af_rubberband.c | 35 double tempo, pitch; member 49 { "tempo", "set tempo scale factor", OFFSET(tempo), AV_OPT_TYPE_DOUBLE, {.dbl=1}, 0.01, 100, AT }, 138 s->rbs = rubberband_new(inlink->sample_rate, inlink->ch_layout.nb_channels, opts, 1. / s->tempo, s->pitch); in config_input() 183 rubberband_set_time_ratio(s->rbs, 1. / s->tempo); in process_command()
|
H A D | af_atempo.c | 23 * tempo scaling audio filter -- an implementation of WSOLA algorithm 127 // tempo scaling factor: 128 double tempo; member 131 // captured when the tempo scale factor was set most recently: 164 { "tempo", "set tempo scale factor", 165 OFFSET(tempo), AV_OPT_TYPE_DOUBLE, { .dbl = 1.0 }, 441 // samples are not expected to be skipped, unless tempo is greater than 2: in yae_load_data() 442 av_assert0(read_size <= atempo->ring || atempo->tempo > 2.0); in yae_load_data() 585 const double fragment_step = atempo->tempo * (doubl in yae_advance_to_next_frag() [all...] |
/third_party/alsa-lib/src/seq/ |
H A D | seq_local.h | 55 int (*get_queue_tempo)(snd_seq_t *seq, snd_seq_queue_tempo_t * tempo); 56 int (*set_queue_tempo)(snd_seq_t *seq, snd_seq_queue_tempo_t * tempo);
|
H A D | seq_hw.c | 271 static int snd_seq_hw_get_queue_tempo(snd_seq_t *seq, snd_seq_queue_tempo_t * tempo) in snd_seq_hw_get_queue_tempo() argument 274 if (ioctl(hw->fd, SNDRV_SEQ_IOCTL_GET_QUEUE_TEMPO, tempo) < 0) { in snd_seq_hw_get_queue_tempo() 281 static int snd_seq_hw_set_queue_tempo(snd_seq_t *seq, snd_seq_queue_tempo_t * tempo) in snd_seq_hw_set_queue_tempo() argument 284 if (ioctl(hw->fd, SNDRV_SEQ_IOCTL_SET_QUEUE_TEMPO, tempo) < 0) { in snd_seq_hw_set_queue_tempo()
|
H A D | seq.c | 47 The event scheduling can be done either on a MIDI tempo queue or 335 like start, stop and continue queue, change tempo, etc. 419 \subsection seq_ev_tempo Setting queue tempo 421 The tempo (or the speed) of the scheduling queue is variable. 422 In the case of <i>tick</i> queue, the tempo is controlled 424 actual tempo, PPQ (pulse per quarter note) and MIDI tempo. 426 the latter defines the beat tempo in microseconds. 428 That is, the tempo is set to 500000 (= 60 * 1000000 / 120). 442 When the tempo o 3823 snd_seq_queue_tempo_set_tempo(snd_seq_queue_tempo_t *info, unsigned int tempo) snd_seq_queue_tempo_set_tempo() argument 3880 snd_seq_get_queue_tempo(snd_seq_t *seq, int q, snd_seq_queue_tempo_t * tempo) snd_seq_get_queue_tempo() argument 3897 snd_seq_set_queue_tempo(snd_seq_t *seq, int q, snd_seq_queue_tempo_t * tempo) snd_seq_set_queue_tempo() argument [all...] |
/third_party/alsa-lib/include/ |
H A D | seqmid.h | 270 * \param q queue id to change tempo 271 * \param val the new tempo value 279 * \param q queue id to change tempo 291 * \param q queue id to change tempo 356 * \brief change the tempo of the specified queue 359 * \param tempo the new tempo value 362 #define snd_seq_change_queue_tempo(seq, q, tempo, ev) \ 363 snd_seq_control_queue(seq, q, SND_SEQ_EVENT_TEMPO, tempo, ev)
|
H A D | seq.h | 438 /** queue tempo container */ 509 void snd_seq_queue_tempo_set_tempo(snd_seq_queue_tempo_t *info, unsigned int tempo); 514 int snd_seq_get_queue_tempo(snd_seq_t *handle, int q, snd_seq_queue_tempo_t *tempo); 515 int snd_seq_set_queue_tempo(snd_seq_t *handle, int q, snd_seq_queue_tempo_t *tempo);
|
/third_party/mksh/ |
H A D | check.pl | 361 $tempo = "${temp_dir}/rto"; 405 unlink($tempi, $tempo, $tempe, $temps); 580 if (!open(STDOUT, "> $tempo")) { 581 print STDERR "$prog: couldn't open $tempo in child - $!\n"; 662 $tmp = &check_output($test{'long-name'}, $tempo, 'stdout',
|
/third_party/alsa-lib/include/sound/uapi/ |
H A D | asequencer.h | 80 #define SNDRV_SEQ_EVENT_QUEUE_SKEW 38 /* skew queue tempo */ 256 signed int value; /* affected value (e.g. tempo) */ 539 /* queue tempo */ 542 unsigned int tempo; /* current tempo, us/tick */ member
|
/third_party/libsnd/src/ |
H A D | wav.c | 1555 ** 4 bytes (float) tempo 1565 float q2, tempo ; in wav_read_acid_chunk() local 1583 bytesread += psf_binheader_readf (psf, "422f", &beats, &meter_denom, &meter_numer, &tempo) ; in wav_read_acid_chunk() 1584 snprintf (buffer, sizeof (buffer), "%f", tempo) ; in wav_read_acid_chunk() 1602 psf->loop_info->bpm = tempo ; in wav_read_acid_chunk()
|