/external/libopus/tests/ |
D | test_opus_encode.c | 145 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 …]
|
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() 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/ |
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() 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()
|
D | repacketizer.c | 89 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()
|
D | opus_multistream_encoder.c | 434 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()
|
D | opus_decoder.c | 134 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()
|
D | repacketizer_demo.c | 147 if (err!=OPUS_OK) in main()
|
D | opus_demo.c | 527 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()
|
D | opus_encoder.c | 213 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/ |
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 | 249 *error = OPUS_OK; in opus_custom_mode_create() 396 *error = OPUS_OK; in opus_custom_mode_create()
|
D | celt_decoder.c | 120 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;
|
D | celt_encoder.c | 153 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/ |
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
|