Home
last modified time | relevance | path

Searched refs:max_payload_size (Results 1 – 24 of 24) sorted by relevance

/third_party/ffmpeg/libavformat/
Drtpenc_h264_hevc.c61 if (size <= s->max_payload_size) { in nal_send()
74 if (buffered_size + 2 + size > s->max_payload_size) { in nal_send()
82 if (buffered_size + 2 + header_size + size <= s->max_payload_size && in nal_send()
107 s->max_payload_size, s->max_payload_size); in nal_send()
110 av_log(s1, AV_LOG_DEBUG, "NAL size %d > %d\n", size, s->max_payload_size); in nal_send()
167 while (size + header_size > s->max_payload_size) { in nal_send()
168 memcpy(&s->buf[header_size], buf, s->max_payload_size - header_size); in nal_send()
169 ff_rtp_send_data(s1, s->buf, s->max_payload_size, 0); in nal_send()
170 buf += s->max_payload_size - header_size; in nal_send()
171 size -= s->max_payload_size - header_size; in nal_send()
Drtpenc.c157 s->max_payload_size = s1->packet_size - 12; in rtp_write_header()
175 n = s->max_payload_size / TS_PACKET_SIZE; in rtp_write_header()
178 s->max_payload_size = n * TS_PACKET_SIZE; in rtp_write_header()
251 s->max_frames_per_packet = s->max_payload_size / st->codecpar->block_align; in rtp_write_header()
261 if (1 + s->max_frames_per_packet + n > s->max_payload_size) { in rtp_write_header()
363 max_packet_size = (s->max_payload_size / aligned_samples_size) * aligned_samples_size; in rtp_send_samples()
390 max_packet_size = s->max_payload_size; in rtp_send_mpegaudio()
442 max_packet_size = s->max_payload_size; in rtp_send_raw()
466 len = s->max_payload_size - (s->buf_ptr - s->buf); in rtp_send_mpegts_raw()
475 if (out_len >= s->max_payload_size) { in rtp_send_mpegts_raw()
[all …]
Drtpenc_aac.c32 int len, max_packet_size = s->max_payload_size - max_au_headers_size; in ff_rtp_send_aac()
45 (len + size) > s->max_payload_size || in ff_rtp_send_aac()
74 max_packet_size = s->max_payload_size - 4; in ff_rtp_send_aac()
Drtpenc_h263_rfc2190.c129 len = FFMIN(s->max_payload_size - 8, size); in ff_rtp_send_h263_rfc2190()
136 if (len == s->max_payload_size - 8) { in ff_rtp_send_h263_rfc2190()
173 s->max_payload_size - 8); in ff_rtp_send_h263_rfc2190()
Drtpenc_vp9.c38 len = FFMIN(size, rtp_ctx->max_payload_size - RTP_VP9_DESC_REQUIRED_SIZE); in ff_rtp_send_vp9()
Drtpenc_vp8.c41 max_packet_size = s->max_payload_size - header_size; in ff_rtp_send_vp8()
Drtpenc_latm.c51 len = FFMIN(size, s->max_payload_size - (!offset ? header_size : 0)); in ff_rtp_send_latm()
Drtpenc_h261.c83 cur_frame_size = FFMIN(rtp_ctx->max_payload_size - RTP_H261_HEADER_SIZE, frame_size); in ff_rtp_send_h261()
Drtpenc_h263.c49 max_packet_size = s->max_payload_size; in ff_rtp_send_h263()
Drtpenc_amr.c42 len + size - 1 > s->max_payload_size || in ff_rtp_send_amr()
Drtpenc_mpv.c37 max_packet_size = s->max_payload_size; in ff_rtp_send_mpegvideo()
Drtpenc_xiph.c40 max_pkt_size = s->max_payload_size - 6; // ident+frag+tdt/vdt+pkt_num+pkt_length in ff_rtp_send_xiph()
Drtpenc.h38 int max_payload_size; member
Drtpenc_vc2hq.c90 frag_len = FFMIN(rtp_ctx->max_payload_size - 20 /* pl header */, size); in send_picture()
Drtpdec.h157 int max_payload_size; member
Drtpenc_jpeg.c196 len = FFMIN(size, s->max_payload_size - hdr_size); in ff_rtp_send_jpeg()
/third_party/gstreamer/gstplugins_bad/ext/isac/
Dgstisacenc.c114 gint max_payload_size; member
214 if (self->max_payload_size != GST_ISACENC_MAX_PAYLOAD_SIZE_DEFAULT) { in gst_isacenc_set_format()
216 self->max_payload_size); in gst_isacenc_set_format()
217 ret = WebRtcIsac_SetMaxPayloadSize (self->isac, self->max_payload_size); in gst_isacenc_set_format()
335 self->max_payload_size = g_value_get_int (value); in gst_isacenc_set_property()
360 g_value_set_int (value, self->max_payload_size); in gst_isacenc_get_property()
435 self->max_payload_size = GST_ISACENC_MAX_PAYLOAD_SIZE_DEFAULT; in gst_isacenc_init()
/third_party/gstreamer/gstplugins_good/gst/rtp/
Dgstrtpklvpay.c119 guint mtu, rtp_header_size, max_payload_size; in gst_rtp_klv_pay_handle_buffer() local
125 max_payload_size = mtu - rtp_header_size; in gst_rtp_klv_pay_handle_buffer()
137 if (map.size > max_payload_size) in gst_rtp_klv_pay_handle_buffer()
151 payload_size = MIN (bytes_left, max_payload_size); in gst_rtp_klv_pay_handle_buffer()
Dgstrtpdvpay.c287 guint max_payload_size; in gst_rtp_dv_pay_handle_buffer() local
306 max_payload_size = ((GST_RTP_BASE_PAYLOAD_MTU (rtpdvpay) - hdrlen) / 80) * 80; in gst_rtp_dv_pay_handle_buffer()
321 GST_TIME_FORMAT, size, max_payload_size, in gst_rtp_dv_pay_handle_buffer()
340 max_payload_size, 0, 0); in gst_rtp_dv_pay_handle_buffer()
369 if (filled + 80 > max_payload_size || size < 80) { in gst_rtp_dv_pay_handle_buffer()
Dgstrtpjpegpay.c727 guint mtu, max_payload_size; in gst_rtp_jpeg_pay_handle_buffer() local
870 max_payload_size = mtu - (RTP_HEADER_LEN + sizeof (jpeg_header)); in gst_rtp_jpeg_pay_handle_buffer()
871 list = gst_buffer_list_new_sized ((bytes_left / max_payload_size) + 1); in gst_rtp_jpeg_pay_handle_buffer()
Dgstrtph261pay.c869 guint max_payload_size = in gst_rtp_h261_packetize_and_push() local
900 endpos = GST_ROUND_DOWN_8 (startpos) + max_payload_size * 8; in gst_rtp_h261_packetize_and_push()
908 if (bitrange_to_bytes (startpos, gob->endpos) > max_payload_size) { in gst_rtp_h261_packetize_and_push()
Dgstrtph263pay.c1436 guint max_payload_size; in gst_rtp_h263_pay_mode_B_fragment() local
1444 max_payload_size = in gst_rtp_h263_pay_mode_B_fragment()
1583 if (payload_len + gob->macroblocks[mb]->length < max_payload_size) { in gst_rtp_h263_pay_mode_B_fragment()
/third_party/gstreamer/gstplugins_base/ext/opus/
Dgstopusenc.c392 enc->max_payload_size = DEFAULT_MAX_PAYLOAD_SIZE; in gst_opus_enc_init()
940 guint max_payload_size; in gst_opus_enc_encode() local
946 max_payload_size = enc->max_payload_size; in gst_opus_enc_encode()
1035 max_payload_size * enc->n_channels); in gst_opus_enc_encode()
1054 frame_samples, omap.data, max_payload_size * enc->n_channels); in gst_opus_enc_encode()
1063 } else if (outsize > max_payload_size) { in gst_opus_enc_encode()
1066 outsize, max_payload_size)); in gst_opus_enc_encode()
1146 g_value_set_uint (value, enc->max_payload_size); in gst_opus_enc_get_property()
1217 enc->max_payload_size = g_value_get_uint (value); in gst_opus_enc_set_property()
Dgstopusenc.h76 guint max_payload_size; member