Home
last modified time | relevance | path

Searched refs:max_packet_size (Results 1 - 25 of 36) sorted by relevance

12

/third_party/ffmpeg/libavformat/
H A Drtpenc.c146 if (s1->pb->max_packet_size) in rtp_write_header()
148 s1->pb->max_packet_size); in rtp_write_header()
150 s1->packet_size = s1->pb->max_packet_size; in rtp_write_header()
361 int len, max_packet_size, n; in rtp_send_samples() local
365 max_packet_size = (s->max_payload_size / aligned_samples_size) * aligned_samples_size; in rtp_send_samples()
372 len = FFMIN(max_packet_size, size); in rtp_send_samples()
390 int len, count, max_packet_size; in rtp_send_mpegaudio() local
392 max_packet_size = s->max_payload_size; in rtp_send_mpegaudio()
396 if ((len + size) > max_packet_size) { in rtp_send_mpegaudio()
407 if (size > max_packet_size) { in rtp_send_mpegaudio()
442 int len, max_packet_size; rtp_send_raw() local
[all...]
H A Drtpenc_aac.c32 int len, max_packet_size = s->max_payload_size - max_au_headers_size; in ff_rtp_send_aac() local
66 if (size <= max_packet_size) { in ff_rtp_send_aac()
74 max_packet_size = s->max_payload_size - 4; in ff_rtp_send_aac()
78 len = FFMIN(size, max_packet_size); in ff_rtp_send_aac()
H A Drtpenc_mpv.c32 int len, h, max_packet_size; in ff_rtp_send_mpegvideo() local
37 max_packet_size = s->max_payload_size; in ff_rtp_send_mpegvideo()
47 len = max_packet_size - 4; in ff_rtp_send_mpegvideo()
80 if ((r1 - buf1 > 4) && (r - r1 < max_packet_size)) { in ff_rtp_send_mpegvideo()
H A Drtpenc_vp8.c29 int len, max_packet_size, header_size; in ff_rtp_send_vp8() local
42 max_packet_size = s->max_payload_size - header_size; in ff_rtp_send_vp8()
45 len = FFMIN(size, max_packet_size); in ff_rtp_send_vp8()
H A Drtpenc_h263.c46 int len, max_packet_size; in ff_rtp_send_h263() local
49 max_packet_size = s->max_payload_size; in ff_rtp_send_h263()
62 len = FFMIN(max_packet_size - 2, size); in ff_rtp_send_h263()
H A Daviobuf.c112 s->max_packet_size = 0; in ffio_init_context()
534 av_assert2(ret || s->max_packet_size); in read_packet_wrapper()
543 int max_buffer_size = s->max_packet_size ? in fill_buffer()
544 s->max_packet_size : IO_BUFFER_SIZE; in fill_buffer()
959 int buffer_size, max_packet_size; in ffio_fdopen() local
961 max_packet_size = h->max_packet_size; in ffio_fdopen()
962 if (max_packet_size) { in ffio_fdopen()
963 buffer_size = max_packet_size; /* no need to bufferize more than one packet */ in ffio_fdopen()
997 (*s)->max_packet_size in ffio_fdopen()
1462 url_open_dyn_buf_internal(AVIOContext **s, int max_packet_size) url_open_dyn_buf_internal() argument
1488 ffio_open_dyn_packet_buf(AVIOContext **s, int max_packet_size) ffio_open_dyn_packet_buf() argument
1520 int max_packet_size = s->max_packet_size; ffio_reset_dyn_buf() local
[all...]
H A Dtls_mbedtls.c92 if (h->max_packet_size && len > h->max_packet_size) in mbedtls_send()
105 if (h->max_packet_size && len > h->max_packet_size) in mbedtls_recv()
H A Dsrtpproto.c86 h->max_packet_size = FFMIN(s->rtp_hd->max_packet_size, in srtp_open()
H A Dlibrist.c139 h->max_packet_size = s->packet_size; in librist_open()
146 h->max_packet_size = MAX_PAYLOAD_SIZE; in librist_open()
H A Davio.c106 uc->max_packet_size = 0; /* default: stream file */ in url_alloc_for_protocol()
420 if (h->max_packet_size && size > h->max_packet_size) in ffurl_write()
H A Davio_internal.h179 * size of 'max_packet_size'. The stream is stored in a memory buffer
183 * @param max_packet_size maximum packet size (must be > 0)
186 int ffio_open_dyn_packet_buf(AVIOContext **s, int max_packet_size);
H A Dlibzmq.c88 h->max_packet_size = s->pkt_size; in zmq_proto_open()
H A Dmovenc.h139 uint32_t max_packet_size; member
H A Durl.h43 int max_packet_size; /**< if non zero, the stream is packetized with this max packet size */ member
H A Dmovenchint.c343 if (packet_len > trk->max_packet_size) in write_hint_packets()
344 trk->max_packet_size = packet_len; in write_hint_packets()
H A Dprompeg.c306 h->max_packet_size = s->fec_col_hd->max_packet_size; in prompeg_open()
H A Davio.h243 int max_packet_size; member
/third_party/FreeBSD/sys/dev/usb/
H A Dusb_transfer.c138 xfer->max_frame_size = xfer->max_packet_size * xfer->max_packet_count; in usbd_update_max_frame_size()
363 xfer->max_packet_size = UGETW(edesc->wMaxPacketSize); in usbd_transfer_setup_sub()
376 (xfer->max_packet_size >> 11) & 3; in usbd_transfer_setup_sub()
385 xfer->max_packet_size &= 0x7FF; in usbd_transfer_setup_sub()
388 xfer->max_packet_count += (xfer->max_packet_size >> 11) & 3; in usbd_transfer_setup_sub()
416 xfer->max_packet_size &= 0x7FF; in usbd_transfer_setup_sub()
429 maxp_old = xfer->max_packet_size; in usbd_transfer_setup_sub()
433 if ((xfer->max_packet_size > parm->hc_max_packet_size) || in usbd_transfer_setup_sub()
434 (xfer->max_packet_size == 0)) { in usbd_transfer_setup_sub()
435 xfer->max_packet_size in usbd_transfer_setup_sub()
[all...]
H A Dusb_core.h166 uint16_t max_packet_size; member
/third_party/ffmpeg/libavcodec/
H A Dpngenc.c577 uint64_t *max_packet_size) in add_icc_profile_size()
597 new_pkt_size = *max_packet_size + bound + hdr_size; in add_icc_profile_size()
598 if (new_pkt_size < *max_packet_size) in add_icc_profile_size()
600 *max_packet_size = new_pkt_size; in add_icc_profile_size()
610 uint64_t max_packet_size; in encode_png() local
614 max_packet_size = in encode_png()
620 if ((ret = add_icc_profile_size(avctx, pict, &max_packet_size))) in encode_png()
622 ret = ff_alloc_packet(avctx, pkt, max_packet_size); in encode_png()
928 uint64_t max_packet_size; in encode_apng() local
945 max_packet_size in encode_apng()
576 add_icc_profile_size(AVCodecContext *avctx, const AVFrame *pict, uint64_t *max_packet_size) add_icc_profile_size() argument
[all...]
/third_party/lwip/test/fuzz/
H A Dfuzz.c116 const u16_t max_packet_size = 1514; in input_pkts() local
126 frame_len = LWIP_MIN(frame_len, max_packet_size); in input_pkts()
/third_party/backends/include/sane/
H A Dsanei_usb.h180 SANE_Byte max_packet_size; member
/third_party/python/Lib/
H A Dsocketserver.py532 max_packet_size = 8192 variable in UDPServer
535 data, client_addr = self.socket.recvfrom(self.max_packet_size)
/third_party/FreeBSD/sys/dev/usb/controller/
H A Dxhci.c85 uint32_t max_packet_size; member
1706 if (temp->len % temp->max_packet_size) { in xhci_setup_generic_chain_sub()
1804 npkt = (len_old - npkt_off + temp->max_packet_size - 1) / in xhci_setup_generic_chain_sub()
1805 temp->max_packet_size; in xhci_setup_generic_chain_sub()
1979 temp.max_packet_size = xfer->max_packet_size; in xhci_setup_generic_chain()
2154 tdpc = (temp.len + xfer->max_packet_size - 1) / in xhci_setup_generic_chain()
2155 xfer->max_packet_size; in xhci_setup_generic_chain()
2296 uint8_t mult, uint8_t fps_shift, uint16_t max_packet_size, in xhci_configure_endpoint()
2393 XHCI_EPCTX_1_MAXP_SIZE_SET(max_packet_size); in xhci_configure_endpoint()
2293 xhci_configure_endpoint(struct usb_device *udev, struct usb_endpoint_descriptor *edesc, struct xhci_endpoint_ext *pepext, uint16_t interval, uint8_t max_packet_count, uint8_t mult, uint8_t fps_shift, uint16_t max_packet_size, uint16_t max_frame_size, uint8_t ep_mode) xhci_configure_endpoint() argument
[all...]
/third_party/node/deps/ngtcp2/ngtcp2/lib/
H A Dngtcp2_cc.h309 uint64_t ngtcp2_cc_compute_initcwnd(size_t max_packet_size);

Completed in 23 milliseconds

12