Searched refs:MAX_PACKET (Results 1 – 9 of 9) sorted by relevance
/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/libopus/tests/ |
D | test_opus_encode.c | 50 #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 …]
|
D | opus_decode_fuzzer.c | 38 #define MAX_PACKET 1500 macro 95 if (len > MAX_PACKET || len < 0 || i + SETUP_BYTE_COUNT + len > size) { in LLVMFuzzerTestOneInput()
|
D | test_opus_decode.c | 48 #define MAX_PACKET (1500) macro 69 packet=malloc(sizeof(unsigned char)*MAX_PACKET); in test_decoder_code0()
|
/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/p2p/base/ |
D | pseudo_tcp.cc | 64 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/ |
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()
|