Lines Matching refs:MAX_PACKET
50 #define MAX_PACKET (1500) macro
147 unsigned char packet[MAX_PACKET+257]; in test_encode()
161 len = opus_encode(enc, &inbuf[samp_count*channels], frame_size, packet, MAX_PACKET); in test_encode()
162 if(len<0 || len>MAX_PACKET) { in test_encode()
288 unsigned char packet[MAX_PACKET+257]; in run_test1()
387 if(opus_encode(enc, inbuf, 500, packet, MAX_PACKET)!=OPUS_BAD_ARG)test_failed(); in run_test1()
436 len = opus_encode(enc, &inbuf[i<<1], frame_size, packet, MAX_PACKET); in run_test1()
437 if(len<0 || len>MAX_PACKET)test_failed(); in run_test1()
514 len = opus_multistream_encode(MSenc, &inbuf[i<<1], frame_size, packet, MAX_PACKET); in run_test1()
515 if(len<0 || len>MAX_PACKET)test_failed(); in run_test1()
566 len = opus_encode(enc, &inbuf[offset<<1], frame_size, packet, MAX_PACKET); in run_test1()
567 if(len<0 || len>MAX_PACKET)test_failed(); in run_test1()