Home
last modified time | relevance | path

Searched refs:MAX_PACKET (Results 1 – 9 of 9) sorted by relevance

/external/libopus/celt/
Dopus_custom_demo.c40 #define MAX_PACKET 1275 macro
53 unsigned char data[MAX_PACKET]; in main()
81 if (bytes_per_packet < 0 || bytes_per_packet > MAX_PACKET) in main()
84 MAX_PACKET); in main()
/external/libopus/tests/
Dtest_opus_encode.c50 #define MAX_PACKET (1500) macro
147 unsigned char packet[MAX_PACKET+257]; in test_encode()
162 len = opus_encode(enc, &inbuf[samp_count*channels], frame_size, packet, MAX_PACKET); in test_encode()
163 if(len<0 || len>MAX_PACKET) { in test_encode()
290 unsigned char packet[MAX_PACKET+257]; in run_test1()
389 if(opus_encode(enc, inbuf, 500, packet, MAX_PACKET)!=OPUS_BAD_ARG)test_failed(); in run_test1()
438 len = opus_encode(enc, &inbuf[i<<1], frame_size, packet, MAX_PACKET); in run_test1()
439 if(len<0 || len>MAX_PACKET)test_failed(); in run_test1()
516 len = opus_multistream_encode(MSenc, &inbuf[i<<1], frame_size, packet, MAX_PACKET); in run_test1()
517 if(len<0 || len>MAX_PACKET)test_failed(); in run_test1()
[all …]
Dopus_decode_fuzzer.c38 #define MAX_PACKET 1500 macro
95 if (len > MAX_PACKET || len < 0 || i + SETUP_BYTE_COUNT + len > size) { in LLVMFuzzerTestOneInput()
Dtest_opus_decode.c48 #define MAX_PACKET (1500) macro
69 packet=malloc(sizeof(unsigned char)*MAX_PACKET); in test_decoder_code0()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_render_t.c62 int _npack = MIN2(_npush, MAX_PACKET * MAX_OUT_##out); \
183 return MAX2(0, n - 7) * max_out * MAX_PACKET / (1 + MAX_PACKET); in get_max_vertices()
Dnv10_render.c172 #define MAX_PACKET 0x400 macro
Dnv20_render.c196 #define MAX_PACKET 0x400 macro
/external/webrtc/p2p/base/
Dpseudo_tcp.cc64 const uint32_t MAX_PACKET = 65535; variable
237 m_mtu_advise = MAX_PACKET; in PseudoTcp()
356 if (len > MAX_PACKET) { in NotifyPacket()
515 RTC_DCHECK(HEADER_SIZE + len <= MAX_PACKET); in packet()
519 std::unique_ptr<uint8_t[]> buffer(new uint8_t[MAX_PACKET]); in packet()
/external/libopus/src/
Dopus_demo.c43 #define MAX_PACKET 1500 macro
336 max_payload_bytes = MAX_PACKET; in main()
486 if (max_payload_bytes < 0 || max_payload_bytes > MAX_PACKET) in main()
489 MAX_PACKET); in main()