Home
last modified time | relevance | path

Searched refs:sampling_rate (Results 1 – 19 of 19) sorted by relevance

/third_party/gstreamer/gstplugins_bad/ext/closedcaption/
Dsampling_par.c220 if (rate > (unsigned int) sp->sampling_rate) { in _vbi_sampling_par_permit_service()
224 sp->sampling_rate / 1e6, par->id, par->label); in _vbi_sampling_par_permit_service()
235 double sampling_rate; in _vbi_sampling_par_permit_service() local
239 sampling_rate = (double) sp->sampling_rate; in _vbi_sampling_par_permit_service()
241 offset = sp->offset / sampling_rate; in _vbi_sampling_par_permit_service()
242 end = (sp->offset + samples_per_line) / sampling_rate; in _vbi_sampling_par_permit_service()
264 samples = samples_per_line / (double) sp->sampling_rate; in _vbi_sampling_par_permit_service()
387 sp->sampling_rate = 27000000; /* ITU-R BT.601 */ in _vbi_sampling_par_from_services_log()
388 sp->offset = (int) (64e-6 * sp->sampling_rate); in _vbi_sampling_par_from_services_log()
443 offset = (int) ((par->offset / 1e9) * sp->sampling_rate); in _vbi_sampling_par_from_services_log()
[all …]
Dbit_slicer.c651 unsigned int sampling_rate, in vbi3_bit_slicer_set_params() argument
679 if (cri_rate > sampling_rate) { in vbi3_bit_slicer_set_params()
680 warn (&bs->log, "cri_rate %u > sampling_rate %u.", cri_rate, sampling_rate); in vbi3_bit_slicer_set_params()
684 if (payload_rate > sampling_rate) { in vbi3_bit_slicer_set_params()
686 "payload_rate %u > sampling_rate %u.", payload_rate, sampling_rate); in vbi3_bit_slicer_set_params()
690 min_samples_per_bit = sampling_rate / MAX (cri_rate, payload_rate); in vbi3_bit_slicer_set_params()
850 cri_samples = (sampling_rate * (int64_t) cri_bits) / cri_rate; in vbi3_bit_slicer_set_params()
853 data_samples = (sampling_rate * (int64_t) data_bits) / payload_rate; in vbi3_bit_slicer_set_params()
875 bs->oversampling_rate = sampling_rate * oversampling; in vbi3_bit_slicer_set_params()
881 bs->step = (sampling_rate * (int64_t) 256) / payload_rate; in vbi3_bit_slicer_set_params()
[all …]
Ddecoder.c340 int raw_samples, int sampling_rate,
440 - ((long long) sampling_rate * (payload + frc_bits)) / bit_rate;
443 slicer->oversampling_rate = sampling_rate * OVERSAMPLING;
449 slicer->step = (int) (sampling_rate * 256.0 / bit_rate);
464 (sampling_rate * 256.0 / cri_rate * .5
465 + sampling_rate * 256.0 / bit_rate * .5 + 128);
473 (sampling_rate * 256.0 / cri_rate * .5
474 + sampling_rate * 256.0 / bit_rate * .25 + 128);
Dio-sim.c128 double sample_period = 1.0 / sp->sampling_rate; in signal_teletext()
143 t = sp->offset / (double) sp->sampling_rate; in signal_teletext()
170 double sample_period = 1.0 / sp->sampling_rate; in signal_vps()
193 t = sp->offset / (double) sp->sampling_rate; in signal_vps()
255 double sample_period = 1.0 / sp->sampling_rate; in signal_wss_625()
266 t = sp->offset / (double) sp->sampling_rate; in signal_wss_625()
296 double sample_period = 1.0 / sp->sampling_rate; in signal_closed_caption()
306 t = sp->offset / (double) sp->sampling_rate; in signal_closed_caption()
432 if (unlikely (sp->sampling_rate <= 0)) in vbi_raw_add_noise()
443 w0 = 2 * M_PI * f0 / sp->sampling_rate; in vbi_raw_add_noise()
Ddecoder.h267 int raw_samples, int sampling_rate,
325 int sampling_rate; /* Hz */ member
Dbit_slicer.h118 unsigned int sampling_rate,
Draw_decoder.c981 offset = sp->offset / (double) sp->sampling_rate; in vbi3_raw_decoder_add_services()
983 sample_offset = (int) (min_offset * sp->sampling_rate); in vbi3_raw_decoder_add_services()
1004 sp->sampling_rate, in vbi3_raw_decoder_add_services()
Dgstline21enc.c199 self->sp.sampling_rate = 13.5e6; in gst_line_21_encoder_set_info()
Dgstline21dec.c360 self->zvbi_decoder.sampling_rate = 13.5e6; /* Hz (i.e. BT.601) */ in gst_line_21_decoder_set_info()
/third_party/ffmpeg/libavcodec/
Dav3a_parser.c66 int32_t sampling_rate; member
419 hdf->sampling_rate = avs3_samplingrate_table[samping_rate_index]; in read_av3a_frame_header()
474 avctx->sample_rate = hdf.sampling_rate; in raw_av3a_parse()
Dimc.c126 static av_cold void iac_generate_tabs(IMCContext *q, int sampling_rate) in iac_generate_tabs() argument
129 double scale = sampling_rate / (256.0 * 2.0 * 2.0); in iac_generate_tabs()
130 double nyquist_freq = sampling_rate * 0.5; in iac_generate_tabs()
/third_party/gstreamer/gstplugins_bad/ext/smoothstreaming/
Dgstmssmanifest.c731 _frequency_index_from_sampling_rate (guint sampling_rate) in _frequency_index_from_sampling_rate() argument
740 if (aac_sample_rates[i] == sampling_rate) in _frequency_index_from_sampling_rate()
747 _make_aacl_codec_data (guint64 sampling_rate, guint64 channels) in _make_aacl_codec_data() argument
756 frequency_index = _frequency_index_from_sampling_rate (sampling_rate); in _make_aacl_codec_data()
770 data[1] += sampling_rate >> 17; in _make_aacl_codec_data()
771 data[2] = (sampling_rate >> 9) & 0xFF; in _make_aacl_codec_data()
772 data[3] = (sampling_rate >> 1) & 0xFF; in _make_aacl_codec_data()
773 data[4] = sampling_rate & 0x01; in _make_aacl_codec_data()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/pbutils/
Dcodec-utils.c157 guint32 sampling_rate; in gst_codec_utils_aac_get_audio_sample_rate() local
163 if (!gst_bit_reader_get_bits_uint32 (br, &sampling_rate, 24)) in gst_codec_utils_aac_get_audio_sample_rate()
166 sampling_rate = in gst_codec_utils_aac_get_audio_sample_rate()
168 if (!sampling_rate) in gst_codec_utils_aac_get_audio_sample_rate()
172 *sample_rate = sampling_rate; in gst_codec_utils_aac_get_audio_sample_rate()
/third_party/python/Doc/library/
Dsndhdr.rst25 ``'sb'``, ``'ub'``, or ``'ul'``. The *sampling_rate* will be either the actual
/third_party/gstreamer/gstplugins_good/gst/audioparsers/
Dgstaacparse.c543 guint32 sampling_rate; in gst_aac_parse_get_audio_sample_rate() local
544 if (!gst_bit_reader_get_bits_uint32 (br, &sampling_rate, 24)) in gst_aac_parse_get_audio_sample_rate()
546 *sample_rate = sampling_rate; in gst_aac_parse_get_audio_sample_rate()
/third_party/ltp/testcases/kernel/device-drivers/v4l/user_space/
Dtest_VIDIOC_FMT.c334 format.fmt.vbi.sampling_rate, in do_get_formats()
1086 format_max.fmt.vbi.sampling_rate, in do_set_formats_enum()
1156 format_min.fmt.vbi.sampling_rate, in do_set_formats_enum()
/third_party/gstreamer/gstplugins_good/sys/v4l2/ext/
Dvideodev2.h2111 __u32 sampling_rate; /* in 1 Hz */ member
/third_party/gstreamer/gstplugins_bad/sys/v4l2codecs/linux/
Dvideodev2.h2111 __u32 sampling_rate; /* in 1 Hz */ member
/third_party/gstreamer/gstplugins_bad/
DChangeLog188130 signalprocessor: change _setup to pass whole caps and not just sampling_rate
188131 This allows to get rid of the sampling_rate variable in the base-class. Also now