Home
last modified time | relevance | path

Searched refs:benc (Results 1 – 15 of 15) sorted by relevance

/third_party/gstreamer/gstplugins_bad/gst/siren/
Dgstsirenenc.c123 gst_siren_enc_set_format (GstAudioEncoder * benc, GstAudioInfo * info) in gst_siren_enc_set_format() argument
129 res = gst_audio_encoder_set_output_format (benc, outcaps); in gst_siren_enc_set_format()
133 gst_audio_encoder_set_frame_samples_min (benc, 320); in gst_siren_enc_set_format()
134 gst_audio_encoder_set_frame_samples_max (benc, 320); in gst_siren_enc_set_format()
136 gst_audio_encoder_set_hard_min (benc, TRUE); in gst_siren_enc_set_format()
137 gst_audio_encoder_set_drainable (benc, FALSE); in gst_siren_enc_set_format()
143 gst_siren_enc_handle_frame (GstAudioEncoder * benc, GstBuffer * buf) in gst_siren_enc_handle_frame() argument
159 enc = GST_SIREN_ENC (benc); in gst_siren_enc_handle_frame()
182 out_buf = gst_audio_encoder_allocate_output_buffer (benc, out_size); in gst_siren_enc_handle_frame()
211 ret = gst_audio_encoder_finish_frame (benc, out_buf, -1); in gst_siren_enc_handle_frame()
/third_party/gstreamer/gstplugins_bad/ext/gsm/
Dgstgsmenc.c134 gst_gsmenc_set_format (GstAudioEncoder * benc, GstAudioInfo * info) in gst_gsmenc_set_format() argument
139 gst_audio_encoder_set_output_format (GST_AUDIO_ENCODER (benc), srccaps); in gst_gsmenc_set_format()
143 gst_audio_encoder_set_frame_samples_min (benc, 160); in gst_gsmenc_set_format()
144 gst_audio_encoder_set_frame_samples_max (benc, 160); in gst_gsmenc_set_format()
145 gst_audio_encoder_set_frame_max (benc, 1); in gst_gsmenc_set_format()
151 gst_gsmenc_handle_frame (GstAudioEncoder * benc, GstBuffer * buffer) in gst_gsmenc_handle_frame() argument
159 gsmenc = GST_GSMENC (benc); in gst_gsmenc_handle_frame()
171 ret = gst_audio_encoder_finish_frame (benc, NULL, -1); in gst_gsmenc_handle_frame()
186 ret = gst_audio_encoder_finish_frame (benc, outbuf, 160); in gst_gsmenc_handle_frame()
/third_party/gstreamer/gstplugins_good/ext/speex/
Dgstspeexenc.c242 GstAudioEncoder *benc = GST_AUDIO_ENCODER (enc); in gst_speex_enc_init() local
245 gst_audio_encoder_set_mark_granule (benc, TRUE); in gst_speex_enc_init()
246 gst_audio_encoder_set_perfect_timestamp (benc, TRUE); in gst_speex_enc_init()
251 gst_speex_enc_start (GstAudioEncoder * benc) in gst_speex_enc_start() argument
253 GstSpeexEnc *enc = GST_SPEEX_ENC (benc); in gst_speex_enc_start()
265 gst_speex_enc_stop (GstAudioEncoder * benc) in gst_speex_enc_stop() argument
267 GstSpeexEnc *enc = GST_SPEEX_ENC (benc); in gst_speex_enc_stop()
296 gst_speex_enc_set_format (GstAudioEncoder * benc, GstAudioInfo * info) in gst_speex_enc_set_format() argument
300 enc = GST_SPEEX_ENC (benc); in gst_speex_enc_set_format()
315 gst_audio_encoder_set_latency (benc, in gst_speex_enc_set_format()
[all …]
/third_party/gstreamer/gstplugins_bad/ext/voamrwbenc/
Dgstvoamrwbenc.c235 gst_voamrwbenc_set_format (GstAudioEncoder * benc, GstAudioInfo * info) in gst_voamrwbenc_set_format() argument
240 amrwbenc = GST_VOAMRWBENC (benc); in gst_voamrwbenc_set_format()
263 gst_audio_encoder_set_frame_samples_min (benc, L_FRAME16k); in gst_voamrwbenc_set_format()
264 gst_audio_encoder_set_frame_samples_max (benc, L_FRAME16k); in gst_voamrwbenc_set_format()
265 gst_audio_encoder_set_frame_max (benc, 1); in gst_voamrwbenc_set_format()
271 gst_voamrwbenc_handle_frame (GstAudioEncoder * benc, GstBuffer * buffer) in gst_voamrwbenc_handle_frame() argument
280 amrwbenc = GST_VOAMRWBENC (benc); in gst_voamrwbenc_handle_frame()
295 ret = gst_audio_encoder_finish_frame (benc, NULL, -1); in gst_voamrwbenc_handle_frame()
310 ret = gst_audio_encoder_finish_frame (benc, out, L_FRAME16k); in gst_voamrwbenc_handle_frame()
/third_party/gstreamer/gstplugins_base/ext/opus/
Dgstopusenc.c222 static gboolean gst_opus_enc_sink_event (GstAudioEncoder * benc,
224 static GstCaps *gst_opus_enc_sink_getcaps (GstAudioEncoder * benc,
234 static gboolean gst_opus_enc_start (GstAudioEncoder * benc);
235 static gboolean gst_opus_enc_stop (GstAudioEncoder * benc);
236 static gboolean gst_opus_enc_set_format (GstAudioEncoder * benc,
238 static GstFlowReturn gst_opus_enc_handle_frame (GstAudioEncoder * benc,
397 gst_opus_enc_start (GstAudioEncoder * benc) in gst_opus_enc_start() argument
399 GstOpusEnc *enc = GST_OPUS_ENC (benc); in gst_opus_enc_start()
409 gst_opus_enc_stop (GstAudioEncoder * benc) in gst_opus_enc_stop() argument
411 GstOpusEnc *enc = GST_OPUS_ENC (benc); in gst_opus_enc_stop()
[all …]
/third_party/gstreamer/gstplugins_bad/gst/adpcmenc/
Dadpcmenc.c183 adpcmenc_set_format (GstAudioEncoder * benc, GstAudioInfo * info) in adpcmenc_set_format() argument
185 ADPCMEnc *enc = (ADPCMEnc *) (benc); in adpcmenc_set_format()
194 gst_audio_encoder_set_frame_samples_min (benc, enc->samples_per_block); in adpcmenc_set_format()
195 gst_audio_encoder_set_frame_samples_max (benc, enc->samples_per_block); in adpcmenc_set_format()
196 gst_audio_encoder_set_frame_max (benc, 1); in adpcmenc_set_format()
373 adpcmenc_handle_frame (GstAudioEncoder * benc, GstBuffer * buffer) in adpcmenc_handle_frame() argument
375 ADPCMEnc *enc = (ADPCMEnc *) (benc); in adpcmenc_handle_frame()
385 GST_DEBUG_OBJECT (benc, "no data"); in adpcmenc_handle_frame()
396 ret = gst_audio_encoder_finish_frame (benc, NULL, -1); in adpcmenc_handle_frame()
404 ret = gst_audio_encoder_finish_frame (benc, outbuf, enc->samples_per_block); in adpcmenc_handle_frame()
/third_party/gstreamer/gstplugins_base/ext/theora/
Dgsttheoraenc.c189 static GstFlowReturn theora_enc_pre_push (GstVideoEncoder * benc,
430 theora_enc_start (GstVideoEncoder * benc) in theora_enc_start() argument
434 GST_DEBUG_OBJECT (benc, "start: init theora"); in theora_enc_start()
435 enc = GST_THEORA_ENC (benc); in theora_enc_start()
468 theora_enc_stop (GstVideoEncoder * benc) in theora_enc_stop() argument
472 GST_DEBUG_OBJECT (benc, "stop: clearing theora state"); in theora_enc_stop()
473 enc = GST_THEORA_ENC (benc); in theora_enc_stop()
565 theora_enc_set_format (GstVideoEncoder * benc, GstVideoCodecState * state) in theora_enc_set_format() argument
567 GstTheoraEnc *enc = GST_THEORA_ENC (benc); in theora_enc_set_format()
613 theora_enc_flush (benc); in theora_enc_set_format()
[all …]
/third_party/gstreamer/gstplugins_bad/ext/voaacenc/
Dgstvoaacenc.c337 gst_voaacenc_set_format (GstAudioEncoder * benc, GstAudioInfo * info) in gst_voaacenc_set_format() argument
343 voaacenc = GST_VOAACENC (benc); in gst_voaacenc_set_format()
365 gst_audio_encoder_set_frame_samples_min (benc, 1024); in gst_voaacenc_set_format()
366 gst_audio_encoder_set_frame_samples_max (benc, 1024); in gst_voaacenc_set_format()
367 gst_audio_encoder_set_frame_max (benc, 1); in gst_voaacenc_set_format()
373 gst_voaacenc_handle_frame (GstAudioEncoder * benc, GstBuffer * buf) in gst_voaacenc_handle_frame() argument
382 GstAudioInfo *info = gst_audio_encoder_get_audio_info (benc); in gst_voaacenc_handle_frame()
384 voaacenc = GST_VOAACENC (benc); in gst_voaacenc_handle_frame()
390 GST_DEBUG_OBJECT (benc, "no data"); in gst_voaacenc_handle_frame()
407 ret = gst_audio_encoder_finish_frame (benc, NULL, -1); in gst_voaacenc_handle_frame()
[all …]
/third_party/gstreamer/gstplugins_bad/ext/webp/
Dgstwebpenc.c52 static gboolean gst_webp_enc_start (GstVideoEncoder * benc);
53 static gboolean gst_webp_enc_stop (GstVideoEncoder * benc);
377 gst_webp_enc_start (GstVideoEncoder * benc) in gst_webp_enc_start() argument
379 GstWebpEnc *enc = (GstWebpEnc *) benc; in gst_webp_enc_start()
396 gst_webp_enc_stop (GstVideoEncoder * benc) in gst_webp_enc_stop() argument
398 GstWebpEnc *enc = GST_WEBP_ENC (benc); in gst_webp_enc_stop()
/third_party/openssl/apps/
Denc.c118 BIO *in = NULL, *out = NULL, *b64 = NULL, *benc = NULL, *rbio = in enc_main() local
555 if ((benc = BIO_new(BIO_f_cipher())) == NULL) in enc_main()
563 BIO_get_cipher_ctx(benc, &ctx); in enc_main()
583 BIO_set_callback_ex(benc, BIO_debug_callback_ex); in enc_main()
584 BIO_set_callback_arg(benc, (char *)bio_err); in enc_main()
614 if (benc != NULL) in enc_main()
615 wbio = BIO_push(benc, wbio); in enc_main()
642 BIO_free(benc); in enc_main()
/third_party/node/deps/openssl/openssl/apps/
Denc.c118 BIO *in = NULL, *out = NULL, *b64 = NULL, *benc = NULL, *rbio = in enc_main() local
555 if ((benc = BIO_new(BIO_f_cipher())) == NULL) in enc_main()
563 BIO_get_cipher_ctx(benc, &ctx); in enc_main()
583 BIO_set_callback_ex(benc, BIO_debug_callback_ex); in enc_main()
584 BIO_set_callback_arg(benc, (char *)bio_err); in enc_main()
614 if (benc != NULL) in enc_main()
615 wbio = BIO_push(benc, wbio); in enc_main()
642 BIO_free(benc); in enc_main()
/third_party/gstreamer/gstplugins_good/ext/wavpack/
Dgstwavpackenc.c329 GstAudioEncoder *benc = GST_AUDIO_ENCODER (enc); in gst_wavpack_enc_init() local
355 gst_audio_encoder_set_perfect_timestamp (benc, TRUE); in gst_wavpack_enc_init()
381 gst_wavpack_enc_set_format (GstAudioEncoder * benc, GstAudioInfo * info) in gst_wavpack_enc_set_format() argument
383 GstWavpackEnc *enc = GST_WAVPACK_ENC (benc); in gst_wavpack_enc_set_format()
422 if (!gst_audio_encoder_set_output_format (benc, caps)) in gst_wavpack_enc_set_format()
681 gst_wavpack_enc_handle_frame (GstAudioEncoder * benc, GstBuffer * buf) in gst_wavpack_enc_handle_frame() argument
683 GstWavpackEnc *enc = GST_WAVPACK_ENC (benc); in gst_wavpack_enc_handle_frame()
885 gst_wavpack_enc_sink_event (GstAudioEncoder * benc, GstEvent * event) in gst_wavpack_enc_sink_event() argument
887 GstWavpackEnc *enc = GST_WAVPACK_ENC (benc); in gst_wavpack_enc_sink_event()
908 return GST_AUDIO_ENCODER_CLASS (parent_class)->sink_event (benc, event); in gst_wavpack_enc_sink_event()
/third_party/gstreamer/gstplugins_good/ext/jpeg/
Dgstjpegenc.c84 static gboolean gst_jpegenc_start (GstVideoEncoder * benc);
85 static gboolean gst_jpegenc_stop (GstVideoEncoder * benc);
628 gst_jpegenc_start (GstVideoEncoder * benc) in gst_jpegenc_start() argument
630 GstJpegEnc *enc = (GstJpegEnc *) benc; in gst_jpegenc_start()
641 gst_jpegenc_stop (GstVideoEncoder * benc) in gst_jpegenc_stop() argument
643 GstJpegEnc *enc = (GstJpegEnc *) benc; in gst_jpegenc_stop()
/third_party/python/Lib/email/
Dcharset.py229 henc, benc, conv = CHARSETS.get(self.input_charset,
235 self.body_encoding = benc
/third_party/gstreamer/gstplugins_good/ext/vpx/
Dgstvpxenc.c2317 gst_vpx_enc_sink_event (GstVideoEncoder * benc, GstEvent * event) in gst_vpx_enc_sink_event() argument
2319 GstVPXEnc *enc = GST_VPX_ENC (benc); in gst_vpx_enc_sink_event()
2333 return GST_VIDEO_ENCODER_CLASS (parent_class)->sink_event (benc, event); in gst_vpx_enc_sink_event()