Home
last modified time | relevance | path

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

/external/libopus/tests/
Dtest_opus_encode.c216 if(err!=OPUS_OK || dec==NULL)test_failed(); in fuzz_encoder_settings()
219 if(err!=OPUS_OK || enc==NULL)test_failed(); in fuzz_encoder_settings()
248 if(opus_encoder_ctl(enc, OPUS_SET_BITRATE(bitrate)) != OPUS_OK) test_failed(); in fuzz_encoder_settings()
249 if(opus_encoder_ctl(enc, OPUS_SET_FORCE_CHANNELS(force_channel)) != OPUS_OK) test_failed(); in fuzz_encoder_settings()
250 if(opus_encoder_ctl(enc, OPUS_SET_VBR(vbr)) != OPUS_OK) test_failed(); in fuzz_encoder_settings()
251 … if(opus_encoder_ctl(enc, OPUS_SET_VBR_CONSTRAINT(vbr_constraint)) != OPUS_OK) test_failed(); in fuzz_encoder_settings()
252 if(opus_encoder_ctl(enc, OPUS_SET_COMPLEXITY(complexity)) != OPUS_OK) test_failed(); in fuzz_encoder_settings()
253 if(opus_encoder_ctl(enc, OPUS_SET_MAX_BANDWIDTH(max_bw)) != OPUS_OK) test_failed(); in fuzz_encoder_settings()
254 if(opus_encoder_ctl(enc, OPUS_SET_SIGNAL(sig)) != OPUS_OK) test_failed(); in fuzz_encoder_settings()
255 if(opus_encoder_ctl(enc, OPUS_SET_INBAND_FEC(inband_fec)) != OPUS_OK) test_failed(); in fuzz_encoder_settings()
[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()
162 if(opus_decoder_ctl(dec[t], OPUS_RESET_STATE)!=OPUS_OK)test_failed(); in test_decoder_code0()
190 if(opus_decoder_ctl(dec[t], OPUS_GET_LAST_PACKET_DURATION(&dur))!=OPUS_OK)test_failed(); in test_decoder_code0()
205 if(opus_decoder_ctl(dec[t], OPUS_GET_LAST_PACKET_DURATION(&dur))!=OPUS_OK)test_failed(); in test_decoder_code0()
214 if(opus_decoder_ctl(dec[t], OPUS_GET_LAST_PACKET_DURATION(&dur))!=OPUS_OK)test_failed(); in test_decoder_code0()
329 if(opus_decoder_ctl(dec[t], OPUS_GET_LAST_PACKET_DURATION(&dur))!=OPUS_OK)test_failed(); in test_decoder_code0()
Dopus_decode_fuzzer.c77 if (err != OPUS_OK | dec == NULL) { in LLVMFuzzerTestOneInput()
/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()
416 int ret = OPUS_OK; in opus_multistream_decoder_ctl()
457 if (ret != OPUS_OK) break; in opus_multistream_decoder_ctl()
475 if (ret != OPUS_OK) in opus_multistream_decoder_ctl()
519 if (ret != OPUS_OK) in opus_multistream_decoder_ctl()
Drepacketizer.c89 return OPUS_OK; in opus_repacketizer_cat_impl()
246 return OPUS_OK; in opus_packet_pad()
253 if (ret != OPUS_OK) in opus_packet_pad()
257 return OPUS_OK; in opus_packet_pad()
289 return OPUS_OK; in opus_multistream_packet_pad()
Dopus_multistream_encoder.c510 if(ret!=OPUS_OK)return ret; in opus_multistream_encoder_init_impl()
520 if(ret!=OPUS_OK)return ret; in opus_multistream_encoder_init_impl()
529 return OPUS_OK; in opus_multistream_encoder_init_impl()
651 if (ret != OPUS_OK) in opus_multistream_encoder_create()
696 if (ret != OPUS_OK) in opus_multistream_surround_encoder_create()
1086 if (ret != OPUS_OK) in opus_multistream_encode_native()
1204 int ret = OPUS_OK; in opus_multistream_encoder_ctl()
1291 if (ret != OPUS_OK) break; in opus_multistream_encoder_ctl()
1325 if (ret != OPUS_OK) in opus_multistream_encoder_ctl()
1386 if (ret != OPUS_OK) in opus_multistream_encoder_ctl()
Dopus_decoder.c129 if(ret!=OPUS_OK)return OPUS_INTERNAL_ERROR; in opus_decoder_init()
136 return OPUS_OK; in opus_decoder_init()
160 if (ret != OPUS_OK) in opus_decoder_create()
804 int ret = OPUS_OK; in opus_decoder_ctl()
Dopus_demo.c527 if (err != OPUS_OK) in main()
551 if (err != OPUS_OK) in main()
748 if ((err = opus_packet_pad(data[toggle], len[toggle], new_len)) != OPUS_OK) in main()
Drepacketizer_demo.c147 if (err!=OPUS_OK) in main()
Dopus_encoder.c233 if(err!=OPUS_OK)return OPUS_INTERNAL_ERROR; in opus_encoder_init()
270 return OPUS_OK; in opus_encoder_init()
558 if (ret != OPUS_OK) in opus_encoder_create()
1283 if (ret == OPUS_OK) in opus_encode_native()
2160 if (opus_packet_pad(data, ret, max_data_bytes) != OPUS_OK) in opus_encode_native()
2249 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.c251 *error = OPUS_OK; in opus_custom_mode_create()
398 *error = OPUS_OK; in opus_custom_mode_create()
Dcelt_decoder.c125 if (ret != OPUS_OK) in opus_custom_decoder_create()
140 if (ret != OPUS_OK) in celt_decoder_init()
146 return OPUS_OK; in celt_decoder_init()
176 return OPUS_OK; in opus_custom_decoder_init()
1333 return OPUS_OK;
Dcelt_encoder.c155 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()
2530 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