Home
last modified time | relevance | path

Searched refs:frame_samples (Results 1 – 13 of 13) sorted by relevance

/third_party/gstreamer/gstplugins_base/ext/opus/
Dgstopusenc.c381 enc->frame_samples = 0; in gst_opus_enc_init()
426 gint64 latency = gst_util_uint64_scale (enc->frame_samples, GST_SECOND, in gst_opus_enc_get_latency()
437 gst_audio_encoder_set_frame_samples_min (benc, enc->frame_samples); in gst_opus_enc_setup_base_class()
438 gst_audio_encoder_set_frame_samples_max (benc, enc->frame_samples); in gst_opus_enc_setup_base_class()
445 gint frame_samples = 0; in gst_opus_enc_get_frame_samples() local
448 frame_samples = enc->sample_rate / 400; in gst_opus_enc_get_frame_samples()
451 frame_samples = enc->sample_rate / 200; in gst_opus_enc_get_frame_samples()
454 frame_samples = enc->sample_rate / 100; in gst_opus_enc_get_frame_samples()
457 frame_samples = enc->sample_rate / 50; in gst_opus_enc_get_frame_samples()
460 frame_samples = enc->sample_rate / 25; in gst_opus_enc_get_frame_samples()
[all …]
Dgstopusenc.h78 gint frame_samples; member
/third_party/gstreamer/gstplugins_bad/sys/mediafoundation/
Dgstmfaudioenc.cpp158 g_assert (klass->frame_samples > 0); in gst_mf_audio_enc_set_format()
159 gst_audio_encoder_set_frame_samples_min (enc, klass->frame_samples); in gst_mf_audio_enc_set_format()
160 gst_audio_encoder_set_frame_samples_max (enc, klass->frame_samples); in gst_mf_audio_enc_set_format()
165 self->sample_duration_in_mf = gst_util_uint64_scale (klass->frame_samples, in gst_mf_audio_enc_set_format()
280 klass->frame_samples); in gst_mf_audio_enc_process_output()
Dgstmfaudioenc.h56 gint frame_samples; member
Dgstmfaacenc.cpp161 mfenc_class->frame_samples = 1024; in gst_mf_aac_enc_class_init()
Dgstmfmp3enc.cpp161 mfenc_class->frame_samples = 1152; in gst_mf_mp3_enc_class_init()
/third_party/gstreamer/gstplugins_good/gst/audioparsers/
Dgstaacparse.c107 gint * channels, gint * frame_samples);
338 &aacparse->frame_samples); in gst_aac_parse_sink_setcaps()
346 aacparse->channels, aacparse->frame_samples); in gst_aac_parse_sink_setcaps()
560 gint * frame_samples) in gst_aac_parse_read_audio_specific_config() argument
620 if (frame_samples && audio_object_type == 23) { in gst_aac_parse_read_audio_specific_config()
627 *frame_samples = frame_flag ? 960 : 1024; in gst_aac_parse_read_audio_specific_config()
943 aacparse->frame_samples, 2, 2); in gst_aac_parse_detect_stream()
971 aacparse->frame_samples, 2, 2); in gst_aac_parse_detect_stream()
1377 aacparse->sample_rate, aacparse->frame_samples, 2, 2); in gst_aac_parse_handle_frame()
1417 aacparse->sample_rate, aacparse->frame_samples, 2, 2); in gst_aac_parse_handle_frame()
[all …]
Dgstaacparse.h80 gint frame_samples; member
/third_party/ffmpeg/libavcodec/
Dtak_parser.c58 : t->ti.frame_samples; in tak_parse()
91 t->ti.frame_samples; in tak_parse()
Dtak.h136 int frame_samples; member
Dtak.c125 s->frame_samples = tak_get_nb_samples(s->sample_rate, frame_type); in ff_tak_parse_streaminfo()
Dac3enc.c2254 int num_blks_code, num_blocks, frame_samples; in validate_options() local
2263 frame_samples = AC3_BLOCK_SIZE * num_blocks; in validate_options()
2264 max_br = 2048 * s->sample_rate / frame_samples * 16; in validate_options()
2265 min_br = ((s->sample_rate + (frame_samples-1)) / frame_samples) * 16; in validate_options()
2278 wpf = (avctx->bit_rate / 16) * frame_samples / s->sample_rate; in validate_options()
Dtakdec.c725 if (s->ti.frame_samples <= 0) { in tak_decode_frame()
742 : s->ti.frame_samples; in tak_decode_frame()