Home
last modified time | relevance | path

Searched refs:opus_packet_pad (Results 1 – 6 of 6) sorted by relevance

/external/libopus/src/
Drepacketizer.c240 int opus_packet_pad(unsigned char *data, opus_int32 len, opus_int32 new_len) in opus_packet_pad() function
306 return opus_packet_pad(data, len, len+amount); in opus_multistream_packet_pad()
Dopus_demo.c737 if ((err = opus_packet_pad(data[toggle], len[toggle], new_len)) != OPUS_OK) in main()
Dopus_encoder.c1283 ret = opus_packet_pad(data, ret, max_data_bytes); in opus_encode_native()
2184 if (opus_packet_pad(data, ret, max_data_bytes) != OPUS_OK) in opus_encode_native()
/external/libopus/include/
Dopus.h929 OPUS_EXPORT int opus_packet_pad(unsigned char *data, opus_int32 len, opus_int32 new_len);
/external/libopus/tests/
Dtest_opus_api.c1562 if(opus_packet_pad(po,len,len+1)!=OPUS_OK)test_failed(); in test_repacketizer_api()
1564 if(opus_packet_pad(po,len+1,len+256)!=OPUS_OK)test_failed(); in test_repacketizer_api()
1677 if(opus_packet_pad(po,len,len+1)!=OPUS_OK)test_failed(); in test_repacketizer_api()
1679 if(opus_packet_pad(po,len+1,len+256)!=OPUS_OK)test_failed(); in test_repacketizer_api()
1705 if(opus_packet_pad(po,4,4)!=OPUS_OK)test_failed(); in test_repacketizer_api()
1709 if(opus_packet_pad(po,4,5)!=OPUS_INVALID_PACKET)test_failed(); in test_repacketizer_api()
1713 if(opus_packet_pad(po,0,5)!=OPUS_BAD_ARG)test_failed(); in test_repacketizer_api()
1728 if(opus_packet_pad(po,5,4)!=OPUS_BAD_ARG)test_failed(); in test_repacketizer_api()
Dtest_opus_encode.c441 if(opus_packet_pad(packet,len,len+1)!=OPUS_OK)test_failed(); in run_test1()
446 if(opus_packet_pad(packet,len,len+256)!=OPUS_OK)test_failed(); in run_test1()