Home
last modified time | relevance | path

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

/external/libopus/tests/
Dopus_decode_fuzzer.c38 #define MAX_PACKET 1500 macro
83 packet = (uint8_t*) calloc(MAX_PACKET, sizeof(*packet)); in LLVMFuzzerTestOneInput()
97 if (len > MAX_PACKET || len < 0) { in LLVMFuzzerTestOneInput()
Dtest_opus_encode.c50 #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()
[all …]
Dtest_opus_decode.c48 #define MAX_PACKET (1500) macro
69 packet=malloc(sizeof(unsigned char)*MAX_PACKET); in test_decoder_code0()
/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/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/webrtc/p2p/base/
Dpseudotcp.cc65 const uint32_t MAX_PACKET = 65535; variable
240 m_mtu_advise = MAX_PACKET; in PseudoTcp()
358 if (len > MAX_PACKET) { in NotifyPacket()
517 ASSERT(HEADER_SIZE + len <= MAX_PACKET); in packet()
521 rtc::scoped_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()
/external/u-boot/drivers/usb/host/
Dxhci.c588 cpu_to_le32(MAX_PACKET in xhci_set_configuration()
792 ep_ctx->ep_info2 |= cpu_to_le32(MAX_PACKET(max_packet_size)); in xhci_check_maxpacket()
Dxhci.h654 #define MAX_PACKET(p) (((p)&0xffff) << 16) macro