Home
last modified time | relevance | path

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

/external/chromium_org/third_party/opus/src/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/chromium_org/third_party/opus/src/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()
377 int ret = OPUS_OK; in opus_multistream_decoder_ctl()
417 if (ret != OPUS_OK) break; in opus_multistream_decoder_ctl()
435 if (ret != OPUS_OK) in opus_multistream_decoder_ctl()
478 if (ret != OPUS_OK) in opus_multistream_decoder_ctl()
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()
965 int ret = OPUS_OK; in opus_multistream_encoder_ctl()
1048 if (ret != OPUS_OK) break; in opus_multistream_encoder_ctl()
1080 if (ret != OPUS_OK) in opus_multistream_encoder_ctl()
Drepacketizer.c89 return OPUS_OK; in opus_repacketizer_cat()
Drepacketizer_demo.c142 if (err!=OPUS_OK) in main()
Dopus_decoder.c132 if(ret!=OPUS_OK)return OPUS_INTERNAL_ERROR; in opus_decoder_init()
138 return OPUS_OK; in opus_decoder_init()
162 if (ret != OPUS_OK) in opus_decoder_create()
924 int ret = OPUS_OK; in opus_decoder_ctl()
Dopus_demo.c529 if (err != OPUS_OK) in main()
553 if (err != OPUS_OK) in main()
Dopus_encoder.c212 if(err!=OPUS_OK)return OPUS_INTERNAL_ERROR; in opus_encoder_init()
244 return OPUS_OK; in opus_encoder_init()
535 if (ret != OPUS_OK) in opus_encoder_create()
2044 ret = OPUS_OK; in opus_encoder_ctl()
/external/chromium_org/media/cast/audio_sender/
Daudio_encoder.cc137 OPUS_OK); in OpusImpl()
146 OPUS_OK); in OpusImpl()
/external/chromium_org/third_party/opus/src/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()
168 if (ret != OPUS_OK) in celt_encoder_init()
171 return OPUS_OK; in celt_encoder_init()
206 return OPUS_OK; in opus_custom_encoder_init()
2324 return OPUS_OK; in opus_custom_encoder_ctl()
/external/chromium_org/media/filters/
Dopus_audio_decoder.cc506 if (!opus_decoder_ || status != OPUS_OK) { in ConfigureDecoder()
514 if (status != OPUS_OK) { in ConfigureDecoder()
/external/chromium_org/third_party/opus/src/include/
Dopus_defines.h46 #define OPUS_OK 0 macro