Home
last modified time | relevance | path

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

/external/libopus/src/
Drepacketizer.c238 int opus_packet_pad(unsigned char *data, opus_int32 len, opus_int32 new_len) in opus_packet_pad() function
302 return opus_packet_pad(data, len, len+amount); in opus_multistream_packet_pad()
Dopus_demo.c742 if ((err = opus_packet_pad(data[toggle], len[toggle], new_len)) != OPUS_OK) in main()
Dopus_encoder.c1922 if (opus_packet_pad(data, ret, max_data_bytes) != OPUS_OK) in opus_encode_native()
/external/libopus/include/
Dopus.h926 OPUS_EXPORT int opus_packet_pad(unsigned char *data, opus_int32 len, opus_int32 new_len);
/external/libopus/tests/
Dtest_opus_api.c1555 if(opus_packet_pad(po,len,len+1)!=OPUS_OK)test_failed(); in test_repacketizer_api()
1557 if(opus_packet_pad(po,len+1,len+256)!=OPUS_OK)test_failed(); in test_repacketizer_api()
1670 if(opus_packet_pad(po,len,len+1)!=OPUS_OK)test_failed(); in test_repacketizer_api()
1672 if(opus_packet_pad(po,len+1,len+256)!=OPUS_OK)test_failed(); in test_repacketizer_api()
1698 if(opus_packet_pad(po,4,4)!=OPUS_OK)test_failed(); in test_repacketizer_api()
1702 if(opus_packet_pad(po,4,5)!=OPUS_BAD_ARG)test_failed(); in test_repacketizer_api()
1706 if(opus_packet_pad(po,0,5)!=OPUS_BAD_ARG)test_failed(); in test_repacketizer_api()
1721 if(opus_packet_pad(po,5,4)!=OPUS_BAD_ARG)test_failed(); in test_repacketizer_api()
Dtest_opus_encode.c285 if(opus_packet_pad(packet,len,len+1)!=OPUS_OK)test_failed(); in run_test1()
290 if(opus_packet_pad(packet,len,len+256)!=OPUS_OK)test_failed(); in run_test1()