HomeSort by relevance Sort by last modified time
    Searched full:max_packet (Results 1 - 10 of 10) sorted by null

  /frameworks/base/libs/usb/tests/accessorytest/
hid.c 55 int max_packet; local
77 max_packet = usb_device_get_device_descriptor(device)->bMaxPacketSize0;
79 max_packet--;
96 if (count > max_packet) count = max_packet;
  /external/libopus/celt/
opus_custom_demo.c 40 #define MAX_PACKET 1275
53 unsigned char data[MAX_PACKET];
81 if (bytes_per_packet < 0 || bytes_per_packet > MAX_PACKET)
84 MAX_PACKET);
  /external/mesa3d/src/mesa/drivers/dri/nouveau/
nouveau_render_t.c 49 * grouping them in packets of length MAX_PACKET.
62 int npack = MIN2(npush, MAX_PACKET * MAX_OUT_##out); \
183 return MAX2(0, n - 7) * max_out * MAX_PACKET / (1 + MAX_PACKET);
nv10_render.c 172 #define MAX_PACKET 0x400
nv20_render.c 196 #define MAX_PACKET 0x400
  /external/libopus/tests/
test_opus_encode.c 50 #define MAX_PACKET (1500)
133 unsigned char packet[MAX_PACKET+257];
280 len = opus_encode(enc, &inbuf[i<<1], frame_size, packet, MAX_PACKET);
281 if(len<0 || len>MAX_PACKET)test_failed();
357 len = opus_multistream_encode(MSenc, &inbuf[i<<1], frame_size, packet, MAX_PACKET);
358 if(len<0 || len>MAX_PACKET)test_failed();
409 len = opus_encode(enc, &inbuf[offset<<1], frame_size, packet, MAX_PACKET);
410 if(len<0 || len>MAX_PACKET)test_failed();
test_opus_decode.c 48 #define MAX_PACKET (1500)
69 packet=malloc(sizeof(unsigned char)*MAX_PACKET);
  /external/libopus/src/
opus_demo.c 43 #define MAX_PACKET 1500
340 max_payload_bytes = MAX_PACKET;
490 if (max_payload_bytes < 0 || max_payload_bytes > MAX_PACKET)
493 MAX_PACKET);
    [all...]
  /external/webrtc/webrtc/p2p/base/
pseudotcp.cc 65 const uint32_t MAX_PACKET = 65535;
240 m_mtu_advise = MAX_PACKET;
358 if (len > MAX_PACKET) {
517 ASSERT(HEADER_SIZE + len <= MAX_PACKET);
521 rtc::scoped_ptr<uint8_t[]> buffer(new uint8_t[MAX_PACKET]);
    [all...]
  /external/libopus/include/
opus.h 131 * len = opus_encode(enc, audio_frame, frame_size, packet, max_packet);
139 * <li>max_packet is the maximum number of bytes that can be written in the packet (4000 bytes is recommended).
140 * Do not use max_packet to control VBR target bitrate, instead use the #OPUS_SET_BITRATE CTL.</li>
    [all...]

Completed in 879 milliseconds