Home
last modified time | relevance | path

Searched refs:MAX_PACKET (Results 1 – 8 of 8) 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/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/libopus/tests/
Dtest_opus_encode.c50 #define MAX_PACKET (1500) macro
133 unsigned char packet[MAX_PACKET+257]; in run_test1()
280 len = opus_encode(enc, &inbuf[i<<1], frame_size, packet, MAX_PACKET); in run_test1()
281 if(len<0 || len>MAX_PACKET)test_failed(); in run_test1()
357 len = opus_multistream_encode(MSenc, &inbuf[i<<1], frame_size, packet, MAX_PACKET); in run_test1()
358 if(len<0 || len>MAX_PACKET)test_failed(); in run_test1()
409 len = opus_encode(enc, &inbuf[offset<<1], frame_size, packet, MAX_PACKET); in run_test1()
410 if(len<0 || len>MAX_PACKET)test_failed(); in run_test1()
Dtest_opus_decode.c48 #define MAX_PACKET (1500) macro
69 packet=malloc(sizeof(unsigned char)*MAX_PACKET); in test_decoder_code0()
/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
340 max_payload_bytes = MAX_PACKET; in main()
490 if (max_payload_bytes < 0 || max_payload_bytes > MAX_PACKET) in main()
493 MAX_PACKET); in main()