/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 | 125 err = OPUS_OK; in test_dec_api() 144 if(err!=OPUS_OK || dec==NULL)test_failed(); in test_dec_api() 155 if(err!=OPUS_OK)test_failed(); in test_dec_api() 169 if(err != OPUS_OK || i!=0)test_failed(); in test_dec_api() 177 if(err != OPUS_OK || i!=48000)test_failed(); in test_dec_api() 187 if(err != OPUS_OK || i>0 || i<-1)test_failed(); in test_dec_api() 195 if(err != OPUS_OK || i>0 || i<-1)test_failed(); in test_dec_api() 202 if(err != OPUS_OK || i>0 || i<-1)test_failed(); in test_dec_api() 210 if(err != OPUS_OK || i!=960)test_failed(); in test_dec_api() 217 if(err != OPUS_OK || i!=0)test_failed(); in test_dec_api() [all …]
|
D | test_opus_projection.c | 217 if (ret != OPUS_OK || !matrix_size) in test_creation_arguments() 237 is_projection_valid = (enc_error == OPUS_OK && dec_error == OPUS_OK); in test_creation_arguments() 309 if (error != OPUS_OK) { in test_encode_decode() 320 if (error != OPUS_OK) in test_encode_decode() 327 if (error != OPUS_OK || !matrix_size) in test_encode_decode() 340 if (error != OPUS_OK) { in test_encode_decode()
|
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 | 78 if (err != OPUS_OK | dec == NULL) { in LLVMFuzzerTestOneInput()
|
/external/libopus/src/ |
D | opus_projection_encoder.c | 98 return OPUS_OK; in get_order_plus_one_from_channels() 107 if (get_order_plus_one_from_channels(channels, order_plus_one) != OPUS_OK) in get_streams_from_channels() 113 return OPUS_OK; in get_streams_from_channels() 156 if (ret != OPUS_OK) in opus_projection_ambisonics_encoder_get_size() 220 coupled_streams, &order_plus_one) != OPUS_OK) in opus_projection_ambisonics_encoder_init() 334 if (ret != OPUS_OK) in opus_projection_ambisonics_encoder_create() 385 int ret = OPUS_OK; in opus_projection_encoder_ctl()
|
D | opus_multistream_decoder.c | 100 if(ret!=OPUS_OK)return ret; in opus_multistream_decoder_init() 106 if(ret!=OPUS_OK)return ret; in opus_multistream_decoder_init() 109 return OPUS_OK; in opus_multistream_decoder_init() 141 if (ret != OPUS_OK) in opus_multistream_decoder_create() 421 int ret = OPUS_OK; in opus_multistream_decoder_ctl_va_list() 460 if (ret != OPUS_OK) break; in opus_multistream_decoder_ctl_va_list() 478 if (ret != OPUS_OK) in opus_multistream_decoder_ctl_va_list() 522 if (ret != OPUS_OK) in opus_multistream_decoder_ctl_va_list()
|
D | repacketizer.c | 89 return OPUS_OK; in opus_repacketizer_cat_impl() 247 return OPUS_OK; in opus_packet_pad() 254 if (ret != OPUS_OK) in opus_packet_pad() 258 return OPUS_OK; in opus_packet_pad() 290 return OPUS_OK; in opus_multistream_packet_pad()
|
D | opus_multistream_encoder.c | 475 if(ret!=OPUS_OK)return ret; in opus_multistream_encoder_init_impl() 485 if(ret!=OPUS_OK)return ret; in opus_multistream_encoder_init_impl() 494 return OPUS_OK; in opus_multistream_encoder_init_impl() 612 if (ret != OPUS_OK) in opus_multistream_encoder_create() 657 if (ret != OPUS_OK) in opus_multistream_surround_encoder_create() 999 if (ret != OPUS_OK) in opus_multistream_encode_native() 1121 int ret = OPUS_OK; in opus_multistream_encoder_ctl_va_list() 1206 if (ret != OPUS_OK) break; in opus_multistream_encoder_ctl_va_list() 1240 if (ret != OPUS_OK) in opus_multistream_encoder_ctl_va_list() 1301 if (ret != OPUS_OK) in opus_multistream_encoder_ctl_va_list()
|
D | opus_projection_decoder.c | 202 if (ret != OPUS_OK) in opus_projection_decoder_create() 245 int ret = OPUS_OK; in opus_projection_decoder_ctl()
|
D | opus_decoder.c | 149 if(ret!=OPUS_OK)return OPUS_INTERNAL_ERROR; in opus_decoder_init() 156 return OPUS_OK; in opus_decoder_init() 180 if (ret != OPUS_OK) in opus_decoder_create() 835 int ret = OPUS_OK; in opus_decoder_ctl()
|
D | repacketizer_demo.c | 147 if (err!=OPUS_OK) in main()
|
D | opus_demo.c | 522 if (err != OPUS_OK) in main() 544 if (err != OPUS_OK) in main() 737 if ((err = opus_packet_pad(data[toggle], len[toggle], new_len)) != 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() 538 if (ret != OPUS_OK) in opus_encoder_create() 1284 if (ret == OPUS_OK) in opus_encode_native() 2184 if (opus_packet_pad(data, ret, max_data_bytes) != OPUS_OK) in opus_encode_native() 2273 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/exoplayer/tree/extensions/opus/src/main/jni/ |
D | opus_jni.cc | 76 if (!decoder || status != OPUS_OK) { in DECODER_FUNC() 81 if (status != OPUS_OK) { in DECODER_FUNC()
|
/external/libopus/celt/ |
D | arch.h | 82 #define MUST_SUCCEED(call) celt_assert((call) == OPUS_OK) 86 #define MUST_SUCCEED(call) do {if((call) != OPUS_OK) {RESTORE_STACK; return OPUS_INTERNAL_ERROR;} }…
|
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 | 165 if (ret != OPUS_OK) in opus_custom_decoder_create() 180 if (ret != OPUS_OK) in celt_decoder_init() 186 return OPUS_OK; in celt_decoder_init() 216 return OPUS_OK; in opus_custom_decoder_init() 1365 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() 2600 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
|