Home
last modified time | relevance | path

Searched refs:audio_enc (Results 1 – 4 of 4) sorted by relevance

/third_party/gstreamer/gstplugins_bad/ext/openaptx/
Dgstopenaptxenc.c83 gst_openaptx_enc_set_format (GstAudioEncoder * audio_enc, GstAudioInfo * info) in gst_openaptx_enc_set_format() argument
85 GstOpenaptxEnc *enc = GST_OPENAPTX_ENC (audio_enc); in gst_openaptx_enc_set_format()
122 gst_audio_encoder_set_latency (audio_enc, encoder_latency, encoder_latency); in gst_openaptx_enc_set_format()
126 gst_audio_encoder_set_frame_samples_min (audio_enc, APTX_SAMPLES_PER_CHANNEL); in gst_openaptx_enc_set_format()
127 gst_audio_encoder_set_frame_samples_max (audio_enc, APTX_SAMPLES_PER_CHANNEL); in gst_openaptx_enc_set_format()
128 gst_audio_encoder_set_frame_max (audio_enc, 0); in gst_openaptx_enc_set_format()
131 gst_audio_encoder_set_hard_min (audio_enc, TRUE); in gst_openaptx_enc_set_format()
133 ret = gst_audio_encoder_set_output_format (audio_enc, output_caps); in gst_openaptx_enc_set_format()
147 gst_openaptx_enc_handle_frame (GstAudioEncoder * audio_enc, GstBuffer * buffer) in gst_openaptx_enc_handle_frame() argument
149 GstOpenaptxEnc *enc = GST_OPENAPTX_ENC (audio_enc); in gst_openaptx_enc_handle_frame()
[all …]
/third_party/gstreamer/gstplugins_bad/ext/ldac/
Dgstldacenc.c191 gst_ldac_enc_do_negotiate (GstAudioEncoder * audio_enc) in gst_ldac_enc_do_negotiate() argument
193 GstLdacEnc *enc = GST_LDAC_ENC (audio_enc); in gst_ldac_enc_do_negotiate()
255 gst_ldac_enc_negotiate (GstAudioEncoder * audio_enc) in gst_ldac_enc_negotiate() argument
257 GstLdacEnc *enc = GST_LDAC_ENC (audio_enc); in gst_ldac_enc_negotiate()
260 output_caps = gst_ldac_enc_do_negotiate (audio_enc); in gst_ldac_enc_negotiate()
266 if (!gst_audio_encoder_set_output_format (audio_enc, output_caps)) { in gst_ldac_enc_negotiate()
273 return GST_AUDIO_ENCODER_CLASS (parent_class)->negotiate (audio_enc); in gst_ldac_enc_negotiate()
277 gst_ldac_enc_set_format (GstAudioEncoder * audio_enc, GstAudioInfo * info) in gst_ldac_enc_set_format() argument
279 GstLdacEnc *enc = GST_LDAC_ENC (audio_enc); in gst_ldac_enc_set_format()
305 output_caps = gst_ldac_enc_do_negotiate (audio_enc); in gst_ldac_enc_set_format()
[all …]
/third_party/gstreamer/gstplugins_bad/ext/sbc/
Dgstsbcenc.c78 gst_sbc_enc_set_format (GstAudioEncoder * audio_enc, GstAudioInfo * info) in gst_sbc_enc_set_format() argument
81 GstSbcEnc *enc = GST_SBC_ENC (audio_enc); in gst_sbc_enc_set_format()
162 gst_audio_encoder_set_frame_samples_min (audio_enc, sampleframes_per_frame); in gst_sbc_enc_set_format()
163 gst_audio_encoder_set_frame_samples_max (audio_enc, sampleframes_per_frame); in gst_sbc_enc_set_format()
164 gst_audio_encoder_set_frame_max (audio_enc, 0); in gst_sbc_enc_set_format()
167 gst_audio_encoder_set_hard_min (audio_enc, TRUE); in gst_sbc_enc_set_format()
218 if (!gst_audio_encoder_set_output_format (audio_enc, output_caps)) in gst_sbc_enc_set_format()
221 return gst_audio_encoder_negotiate (audio_enc); in gst_sbc_enc_set_format()
232 gst_sbc_enc_handle_frame (GstAudioEncoder * audio_enc, GstBuffer * buffer) in gst_sbc_enc_handle_frame() argument
234 GstSbcEnc *enc = GST_SBC_ENC (audio_enc); in gst_sbc_enc_handle_frame()
[all …]
/third_party/ffmpeg/fftools/
Dffmpeg_opt.c1906 AVCodecContext *audio_enc; in new_audio_stream() local
1911 audio_enc = ost->enc_ctx; in new_audio_stream()
1912 audio_enc->codec_type = AVMEDIA_TYPE_AUDIO; in new_audio_stream()
1920 MATCH_PER_STREAM_OPT(audio_channels, i, audio_enc->channels, oc, st); in new_audio_stream()
1924 (audio_enc->sample_fmt = av_get_sample_fmt(sample_fmt)) == AV_SAMPLE_FMT_NONE) { in new_audio_stream()
1929 MATCH_PER_STREAM_OPT(audio_sample_rate, i, audio_enc->sample_rate, oc, st); in new_audio_stream()