Home
last modified time | relevance | path

Searched refs:OpusEncoder (Results 1 – 11 of 11) sorted by relevance

/external/libopus/include/
Dopus.h164 typedef struct OpusEncoder OpusEncoder; typedef
208 OPUS_EXPORT OPUS_WARN_UNUSED_RESULT OpusEncoder *opus_encoder_create(
229 OpusEncoder *st,
264 OpusEncoder *st,
305 OpusEncoder *st,
315 OPUS_EXPORT void opus_encoder_destroy(OpusEncoder *st);
328 OPUS_EXPORT int opus_encoder_ctl(OpusEncoder *st, int request, ...) OPUS_ARG_NONNULL(1);
Dopus_multistream.h47 #define __opus_check_encstate_ptr(ptr) ((ptr) + ((ptr) - (OpusEncoder**)(ptr)))
/external/libopus/src/
Dopus_multistream_encoder.c474 ret = opus_encoder_init((OpusEncoder*)ptr, Fs, 2, application); in opus_multistream_encoder_init_impl()
477 opus_encoder_ctl((OpusEncoder*)ptr, OPUS_SET_LFE(1)); in opus_multistream_encoder_init_impl()
482 ret = opus_encoder_init((OpusEncoder*)ptr, Fs, 1, application); in opus_multistream_encoder_init_impl()
484 opus_encoder_ctl((OpusEncoder*)ptr, OPUS_SET_LFE(1)); in opus_multistream_encoder_init_impl()
782 opus_encoder_ctl((OpusEncoder*)ptr, OPUS_GET_SAMPLE_RATE(&Fs)); in rate_allocation()
843 opus_encoder_ctl((OpusEncoder*)ptr, OPUS_GET_SAMPLE_RATE(&Fs)); in opus_multistream_encode_native()
844 opus_encoder_ctl((OpusEncoder*)ptr, OPUS_GET_VBR(&vbr)); in opus_multistream_encode_native()
845 opus_encoder_ctl((OpusEncoder*)ptr, CELT_GET_MODE(&celt_mode)); in opus_multistream_encode_native()
891 OpusEncoder *enc; in opus_multistream_encode_native()
892 enc = (OpusEncoder*)ptr; in opus_multistream_encode_native()
[all …]
Dopus_encoder.c66 struct OpusEncoder { struct
179 return align(sizeof(OpusEncoder))+silkEncSizeBytes+celtEncSizeBytes; in opus_encoder_get_size()
182 int opus_encoder_init(OpusEncoder* st, opus_int32 Fs, int channels, int application) in opus_encoder_init()
200 st->silk_enc_offset = align(sizeof(OpusEncoder)); in opus_encoder_init()
516 OpusEncoder *opus_encoder_create(opus_int32 Fs, int channels, int application, int *error) in opus_encoder_create()
519 OpusEncoder *st; in opus_encoder_create()
528 st = (OpusEncoder *)opus_alloc(opus_encoder_get_size(channels)); in opus_encoder_create()
546 static opus_int32 user_bitrate_to_bitrate(OpusEncoder *st, int frame_size, int max_data_bytes) in user_bitrate_to_bitrate()
939 static opus_int32 encode_multiframe_packet(OpusEncoder *st, in encode_multiframe_packet()
1066 opus_int32 opus_encode_native(OpusEncoder *st, const opus_val16 *pcm, int frame_size, in opus_encode_native()
[all …]
Dopus_demo.c182 #define OpusEncoder OpusMSEncoder
193 static OpusEncoder *ms_opus_encoder_create(opus_int32 Fs, int channels, int application, int *error)
197 …return (OpusEncoder *)opus_multistream_surround_encoder_create(Fs, channels, 1, &streams, &coupled…
216 OpusEncoder *enc=NULL; in main()
Dopus_private.h143 opus_int32 opus_encode_native(OpusEncoder *st, const opus_val16 *pcm, int frame_size,
/external/webrtc/webrtc/modules/audio_coding/codecs/opus/
Dopus_inst.h19 OpusEncoder* encoder;
/external/libopus/tests/
Dtest_opus_encode.c143 void test_encode(OpusEncoder *enc, int channels, int frame_size, OpusDecoder *dec, const char* debu… in test_encode()
185 OpusEncoder *enc; in fuzz_encoder_settings()
278 OpusEncoder *enc; in run_test1()
334 OpusEncoder *tmp_enc; in run_test1()
364 OpusEncoder *enccpy; in run_test1()
366 enccpy=(OpusEncoder *)malloc(opus_encoder_get_size(2)); in run_test1()
Dopus_encode_regressions.c896 OpusEncoder *enc; in ec_enc_shrink_assert()
959 OpusEncoder *enc; in ec_enc_shrink_assert2()
991 OpusEncoder *enc; in silk_gain_assert()
Dtest_opus_api.c1068 OpusEncoder *enc; in test_enc_api()
1770 OpusEncoder *enc; in test_malloc_fail()
/external/libopus/doc/
Dtrivial_example.c59 OpusEncoder *encoder; in main()