Lines Matching refs:OPUS_INVALID_PACKET
256 if(opus_packet_get_nb_samples(packet,1,24000)!=OPUS_INVALID_PACKET)test_failed(); in test_dec_api()
260 if(opus_packet_get_nb_samples(packet,2,48000)!=OPUS_INVALID_PACKET)test_failed(); in test_dec_api()
261 if(opus_decoder_get_nb_samples(dec,packet,2)!=OPUS_INVALID_PACKET)test_failed(); in test_dec_api()
267 int l1res[4]={1,2,2,OPUS_INVALID_PACKET}; in test_dec_api()
305 if(opus_decode(dec, packet, 51, sbuf, 960, 0)!=OPUS_INVALID_PACKET)test_failed(); in test_dec_api()
650 if(opus_multistream_decode(dec, packet, 51, sbuf, 960, 0)!=OPUS_INVALID_PACKET)test_failed(); in test_msdec_api()
754 } else if(ret!=OPUS_INVALID_PACKET)test_failed(); in test_parse()
767 if(ret!=OPUS_INVALID_PACKET)test_failed(); in test_parse()
772 if(ret!=OPUS_INVALID_PACKET)test_failed(); in test_parse()
781 if(ret!=OPUS_INVALID_PACKET)test_failed(); in test_parse()
786 if(ret!=OPUS_INVALID_PACKET)test_failed(); in test_parse()
815 if(ret!=OPUS_INVALID_PACKET)test_failed(); in test_parse()
830 if(ret!=OPUS_INVALID_PACKET)test_failed(); in test_parse()
835 if(ret!=OPUS_INVALID_PACKET)test_failed(); in test_parse()
840 if(ret!=OPUS_INVALID_PACKET)test_failed(); in test_parse()
845 if(ret!=OPUS_INVALID_PACKET)test_failed(); in test_parse()
868 if(ret!=OPUS_INVALID_PACKET)test_failed(); in test_parse()
893 } else if(ret!=OPUS_INVALID_PACKET)test_failed(); in test_parse()
926 if(ret!=OPUS_INVALID_PACKET)test_failed(); in test_parse()
934 if(ret!=OPUS_INVALID_PACKET)test_failed(); in test_parse()
941 if(ret!=OPUS_INVALID_PACKET)test_failed(); in test_parse()
947 if(ret!=OPUS_INVALID_PACKET)test_failed(); in test_parse()
955 if(ret!=OPUS_INVALID_PACKET)test_failed(); in test_parse()
965 } else if(ret!=OPUS_INVALID_PACKET)test_failed(); in test_parse()
985 } else if(ret!=OPUS_INVALID_PACKET)test_failed(); in test_parse()
1002 if(ret!=OPUS_INVALID_PACKET)test_failed(); in test_parse()
1019 if(ret!=OPUS_INVALID_PACKET)test_failed(); in test_parse()
1029 } else if (ret!=OPUS_INVALID_PACKET)test_failed(); in test_parse()
1483 if(opus_repacketizer_cat(rp,packet,0)!=OPUS_INVALID_PACKET)test_failed(); /* Zero len */ in test_repacketizer_api()
1486 … if(opus_repacketizer_cat(rp,packet,2)!=OPUS_INVALID_PACKET)test_failed(); /* Odd payload code 1 */ in test_repacketizer_api()
1489 …if(opus_repacketizer_cat(rp,packet,1)!=OPUS_INVALID_PACKET)test_failed(); /* Code 2 overflow one */ in test_repacketizer_api()
1492 if(opus_repacketizer_cat(rp,packet,1)!=OPUS_INVALID_PACKET)test_failed(); /* Code 3 no count */ in test_repacketizer_api()
1496 …if(opus_repacketizer_cat(rp,packet,2)!=OPUS_INVALID_PACKET)test_failed(); /* Code 2 overflow two */ in test_repacketizer_api()
1500 …if(opus_repacketizer_cat(rp,packet,251)!=OPUS_INVALID_PACKET)test_failed(); /* Code 2 overflow thr… in test_repacketizer_api()
1504 if(opus_repacketizer_cat(rp,packet,2)!=OPUS_INVALID_PACKET)test_failed(); /* Code 3 m=0 */ in test_repacketizer_api()
1507 if(opus_repacketizer_cat(rp,packet,100)!=OPUS_INVALID_PACKET)test_failed(); /* Code 3 m=49 */ in test_repacketizer_api()
1513 if(opus_repacketizer_cat(rp,packet,3)!=OPUS_INVALID_PACKET)test_failed(); /* Change in TOC */ in test_repacketizer_api()
1542 if((cnt<=maxp&&k<=(1275*i))?ret!=OPUS_OK:ret!=OPUS_INVALID_PACKET)test_failed(); in test_repacketizer_api()
1665 } else if (ret!=OPUS_INVALID_PACKET)test_failed(); in test_repacketizer_api()
1709 if(opus_packet_pad(po,4,5)!=OPUS_INVALID_PACKET)test_failed(); in test_repacketizer_api()
1711 if(opus_multistream_packet_pad(po,4,5,1)!=OPUS_INVALID_PACKET)test_failed(); in test_repacketizer_api()
1721 if(opus_packet_unpad(po,4)!=OPUS_INVALID_PACKET)test_failed(); in test_repacketizer_api()
1723 if(opus_multistream_packet_unpad(po,4,1)!=OPUS_INVALID_PACKET)test_failed(); in test_repacketizer_api()