/external/libopus/tests/ |
D | test_opus_encode.c | 216 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 …]
|
D | test_opus_api.c | 124 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 …]
|
D | test_opus_decode.c | 83 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()
|
D | opus_decode_fuzzer.c | 77 if (err != OPUS_OK | dec == NULL) { in LLVMFuzzerTestOneInput()
|
/external/libopus/src/ |
D | opus_multistream_decoder.c | 97 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()
|
D | repacketizer.c | 89 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()
|
D | opus_multistream_encoder.c | 510 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()
|
D | opus_decoder.c | 129 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()
|
D | opus_demo.c | 527 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()
|
D | repacketizer_demo.c | 147 if (err!=OPUS_OK) in main()
|
D | opus_encoder.c | 233 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/ |
D | opus_interface.c | 72 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()
|
D | opus_unittest.cc | 649 EXPECT_EQ(OPUS_OK, opus_repacketizer_cat(rp, bitstream_, encoded_bytes_)); in TEST_P()
|
/external/libopus/celt/ |
D | modes.c | 251 *error = OPUS_OK; in opus_custom_mode_create() 398 *error = OPUS_OK; in opus_custom_mode_create()
|
D | celt_decoder.c | 125 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;
|
D | celt_encoder.c | 155 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/ |
D | neteq_opus_quality_test.cc | 189 if (OPUS_OK != opus_repacketizer_cat(repacketizer_, payload, value)) { in EncodeBlock()
|
/external/libopus/include/ |
D | opus_defines.h | 46 #define OPUS_OK 0 macro
|