Searched refs:MAX_PACKET (Results 1 – 11 of 11) sorted by relevance
/external/libopus/tests/ |
D | opus_decode_fuzzer.c | 38 #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()
|
D | test_opus_encode.c | 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() [all …]
|
D | test_opus_decode.c | 48 #define MAX_PACKET (1500) macro 69 packet=malloc(sizeof(unsigned char)*MAX_PACKET); in test_decoder_code0()
|
/external/libopus/celt/ |
D | opus_custom_demo.c | 40 #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/ |
D | nouveau_render_t.c | 62 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()
|
D | nv10_render.c | 172 #define MAX_PACKET 0x400 macro
|
D | nv20_render.c | 196 #define MAX_PACKET 0x400 macro
|
/external/webrtc/webrtc/p2p/base/ |
D | pseudotcp.cc | 65 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/ |
D | opus_demo.c | 43 #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/ |
D | xhci.c | 588 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()
|
D | xhci.h | 654 #define MAX_PACKET(p) (((p)&0xffff) << 16) macro
|