Home
last modified time | relevance | path

Searched refs:OPUS_OK (Results 1 – 17 of 17) sorted by relevance

/external/libopus/tests/
Dtest_opus_encode.c145 if(err != OPUS_OK || enc==NULL)test_failed(); in run_test1()
171 if(err != OPUS_OK || MSenc==NULL)test_failed(); in run_test1()
174 if(opus_multistream_encoder_ctl(MSenc, OPUS_GET_BITRATE(&i))!=OPUS_OK)test_failed(); in run_test1()
175 if(opus_multistream_encoder_ctl(MSenc, OPUS_GET_LSB_DEPTH(&i))!=OPUS_OK)test_failed(); in run_test1()
180 …istream_encoder_ctl(MSenc, OPUS_MULTISTREAM_GET_ENCODER_STATE(1,&tmp_enc))!=OPUS_OK)test_failed(); in run_test1()
181 if(opus_encoder_ctl(tmp_enc, OPUS_GET_LSB_DEPTH(&j))!=OPUS_OK)test_failed(); in run_test1()
187 if(err != OPUS_OK || dec==NULL)test_failed(); in run_test1()
190 if(err != OPUS_OK || MSdec==NULL)test_failed(); in run_test1()
193 if(err != OPUS_OK || MSdec_err==NULL)test_failed(); in run_test1()
230 if(opus_encoder_ctl(enc, OPUS_SET_BANDWIDTH(OPUS_AUTO))!=OPUS_OK)test_failed(); in run_test1()
[all …]
Dtest_opus_api.c124 err = OPUS_OK; in test_dec_api()
143 if(err!=OPUS_OK || dec==NULL)test_failed(); in test_dec_api()
154 if(err!=OPUS_OK)test_failed(); in test_dec_api()
168 if(err != OPUS_OK || i!=0)test_failed(); in test_dec_api()
176 if(err != OPUS_OK || i!=48000)test_failed(); in test_dec_api()
186 if(err != OPUS_OK || i>0 || i<-1)test_failed(); in test_dec_api()
194 if(err != OPUS_OK || i>0 || i<-1)test_failed(); in test_dec_api()
201 if(err != OPUS_OK || i>0 || i<-1)test_failed(); in test_dec_api()
209 if(err != OPUS_OK || i!=960)test_failed(); in test_dec_api()
216 if(err != OPUS_OK || i!=0)test_failed(); in test_dec_api()
[all …]
Dtest_opus_decode.c83 if(err!=OPUS_OK || dec[t]==NULL)test_failed(); in test_decoder_code0()
111 if(opus_decoder_ctl(dec[t], OPUS_GET_LAST_PACKET_DURATION(&dur))!=OPUS_OK)test_failed(); in test_decoder_code0()
127 if(opus_decoder_ctl(dec[t], OPUS_GET_LAST_PACKET_DURATION(&dur))!=OPUS_OK)test_failed(); in test_decoder_code0()
155 if(opus_decoder_ctl(dec[t], OPUS_RESET_STATE)!=OPUS_OK)test_failed(); in test_decoder_code0()
183 if(opus_decoder_ctl(dec[t], OPUS_GET_LAST_PACKET_DURATION(&dur))!=OPUS_OK)test_failed(); in test_decoder_code0()
198 if(opus_decoder_ctl(dec[t], OPUS_GET_LAST_PACKET_DURATION(&dur))!=OPUS_OK)test_failed(); in test_decoder_code0()
207 if(opus_decoder_ctl(dec[t], OPUS_GET_LAST_PACKET_DURATION(&dur))!=OPUS_OK)test_failed(); in test_decoder_code0()
322 if(opus_decoder_ctl(dec[t], OPUS_GET_LAST_PACKET_DURATION(&dur))!=OPUS_OK)test_failed(); in test_decoder_code0()
/external/libopus/src/
Dopus_multistream_decoder.c97 if(ret!=OPUS_OK)return ret; in opus_multistream_decoder_init()
103 if(ret!=OPUS_OK)return ret; in opus_multistream_decoder_init()
106 return OPUS_OK; in opus_multistream_decoder_init()
138 if (ret != OPUS_OK) in opus_multistream_decoder_create()
415 int ret = OPUS_OK; in opus_multistream_decoder_ctl()
455 if (ret != OPUS_OK) break; in opus_multistream_decoder_ctl()
473 if (ret != OPUS_OK) in opus_multistream_decoder_ctl()
516 if (ret != OPUS_OK) in opus_multistream_decoder_ctl()
Drepacketizer.c89 return OPUS_OK; in opus_repacketizer_cat_impl()
245 return OPUS_OK; in opus_packet_pad()
254 return OPUS_OK; in opus_packet_pad()
286 return OPUS_OK; in opus_multistream_packet_pad()
Dopus_multistream_encoder.c434 if(ret!=OPUS_OK)return ret; in opus_multistream_encoder_init_impl()
444 if(ret!=OPUS_OK)return ret; in opus_multistream_encoder_init_impl()
453 return OPUS_OK; in opus_multistream_encoder_init_impl()
547 if (ret != OPUS_OK) in opus_multistream_encoder_create()
584 if (ret != OPUS_OK) in opus_multistream_surround_encoder_create()
975 int ret = OPUS_OK; in opus_multistream_encoder_ctl()
1059 if (ret != OPUS_OK) break; in opus_multistream_encoder_ctl()
1092 if (ret != OPUS_OK) in opus_multistream_encoder_ctl()
1154 if (ret != OPUS_OK) in opus_multistream_encoder_ctl()
Dopus_decoder.c134 if(ret!=OPUS_OK)return OPUS_INTERNAL_ERROR; in opus_decoder_init()
140 return OPUS_OK; in opus_decoder_init()
164 if (ret != OPUS_OK) in opus_decoder_create()
772 int ret = OPUS_OK; in opus_decoder_ctl()
Drepacketizer_demo.c147 if (err!=OPUS_OK) in main()
Dopus_demo.c527 if (err != OPUS_OK) in main()
551 if (err != OPUS_OK) in main()
742 if ((err = opus_packet_pad(data[toggle], len[toggle], new_len)) != OPUS_OK) in main()
Dopus_encoder.c213 if(err!=OPUS_OK)return OPUS_INTERNAL_ERROR; in opus_encoder_init()
245 return OPUS_OK; in opus_encoder_init()
498 if (ret != OPUS_OK) in opus_encoder_create()
1922 if (opus_packet_pad(data, ret, max_data_bytes) != OPUS_OK) in opus_encode_native()
2033 ret = OPUS_OK; in opus_encoder_ctl()
/external/webrtc/webrtc/modules/audio_coding/codecs/opus/
Dopus_interface.c72 if (error != OPUS_OK || !state->encoder) { in WebRtcOpus_EncoderCreate()
225 if (ret != OPUS_OK) in WebRtcOpus_EnableDtx()
235 if (ret != OPUS_OK) in WebRtcOpus_DisableDtx()
264 if (error == OPUS_OK && state->decoder != NULL) { in WebRtcOpus_DecoderCreate()
Dopus_unittest.cc649 EXPECT_EQ(OPUS_OK, opus_repacketizer_cat(rp, bitstream_, encoded_bytes_)); in TEST_P()
/external/libopus/celt/
Dmodes.c249 *error = OPUS_OK; in opus_custom_mode_create()
396 *error = OPUS_OK; in opus_custom_mode_create()
Dcelt_decoder.c120 if (ret != OPUS_OK) in opus_custom_decoder_create()
135 if (ret != OPUS_OK) in celt_decoder_init()
141 return OPUS_OK; in celt_decoder_init()
168 return OPUS_OK; in opus_custom_decoder_init()
1188 return OPUS_OK;
Dcelt_encoder.c153 if (ret != OPUS_OK) in opus_custom_encoder_create()
197 return OPUS_OK; in opus_custom_encoder_init_arch()
213 if (ret != OPUS_OK) in celt_encoder_init()
216 return OPUS_OK; in celt_encoder_init()
2346 return OPUS_OK; in opus_custom_encoder_ctl()
/external/webrtc/webrtc/modules/audio_coding/neteq/test/
Dneteq_opus_quality_test.cc189 if (OPUS_OK != opus_repacketizer_cat(repacketizer_, payload, value)) { in EncodeBlock()
/external/libopus/include/
Dopus_defines.h46 #define OPUS_OK 0 macro