Home
last modified time | relevance | path

Searched refs:sample_period (Results 1 – 3 of 3) sorted by relevance

/third_party/libsnd/src/
Dhtk.c107 int sample_count, sample_period ; in htk_write_header() local
124 sample_period = 10000000 / psf->sf.samplerate ; in htk_write_header()
126 psf_binheader_writef (psf, "E444", BHW4 (sample_count), BHW4 (sample_period), BHW4 (0x20000)) ; in htk_write_header()
187 { int sample_count, sample_period, marker ; in htk_read_header() local
189 psf_binheader_readf (psf, "pE444", 0, &sample_count, &sample_period, &marker) ; in htk_read_header()
199 if (sample_period > 0) in htk_read_header()
200 { psf->sf.samplerate = 10000000 / sample_period ; in htk_read_header()
202 sample_count, sample_period, psf->sf.samplerate) ; in htk_read_header()
207 sample_count, sample_period, psf->sf.samplerate) ; in htk_read_header()
/third_party/ffmpeg/libavformat/
Dsdsdec.c81 unsigned sample_period; in sds_read_header() local
108 sample_period = avio_rl24(pb); in sds_read_header()
109 sample_period = SDS_3BYTE_TO_INT_DECODE(sample_period); in sds_read_header()
114 st->codecpar->sample_rate = sample_period ? 1000000000 / sample_period : 16000; in sds_read_header()
/third_party/gstreamer/gstplugins_bad/ext/closedcaption/
Dio-sim.c128 double sample_period = 1.0 / sp->sampling_rate; in signal_teletext() local
151 t += sample_period; in signal_teletext()
170 double sample_period = 1.0 / sp->sampling_rate; in signal_vps() local
201 t += sample_period; in signal_vps()
255 double sample_period = 1.0 / sp->sampling_rate; in signal_wss_625() local
274 t += sample_period; in signal_wss_625()
296 double sample_period = 1.0 / sp->sampling_rate; in signal_closed_caption() local
359 t += sample_period; in signal_closed_caption()