/third_party/ffmpeg/libavformat/ |
D | rtpenc_h264_hevc.c | 61 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()
|
D | rtpenc.c | 157 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 …]
|
D | rtpenc_aac.c | 32 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()
|
D | rtpenc_h263_rfc2190.c | 129 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()
|
D | rtpenc_vp9.c | 38 len = FFMIN(size, rtp_ctx->max_payload_size - RTP_VP9_DESC_REQUIRED_SIZE); in ff_rtp_send_vp9()
|
D | rtpenc_vp8.c | 41 max_packet_size = s->max_payload_size - header_size; in ff_rtp_send_vp8()
|
D | rtpenc_latm.c | 51 len = FFMIN(size, s->max_payload_size - (!offset ? header_size : 0)); in ff_rtp_send_latm()
|
D | rtpenc_h261.c | 83 cur_frame_size = FFMIN(rtp_ctx->max_payload_size - RTP_H261_HEADER_SIZE, frame_size); in ff_rtp_send_h261()
|
D | rtpenc_h263.c | 49 max_packet_size = s->max_payload_size; in ff_rtp_send_h263()
|
D | rtpenc_amr.c | 42 len + size - 1 > s->max_payload_size || in ff_rtp_send_amr()
|
D | rtpenc_mpv.c | 37 max_packet_size = s->max_payload_size; in ff_rtp_send_mpegvideo()
|
D | rtpenc_xiph.c | 40 max_pkt_size = s->max_payload_size - 6; // ident+frag+tdt/vdt+pkt_num+pkt_length in ff_rtp_send_xiph()
|
D | rtpenc.h | 38 int max_payload_size; member
|
D | rtpenc_vc2hq.c | 90 frag_len = FFMIN(rtp_ctx->max_payload_size - 20 /* pl header */, size); in send_picture()
|
D | rtpdec.h | 157 int max_payload_size; member
|
D | rtpenc_jpeg.c | 196 len = FFMIN(size, s->max_payload_size - hdr_size); in ff_rtp_send_jpeg()
|
/third_party/gstreamer/gstplugins_bad/ext/isac/ |
D | gstisacenc.c | 114 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/ |
D | gstrtpklvpay.c | 119 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()
|
D | gstrtpdvpay.c | 287 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()
|
D | gstrtpjpegpay.c | 727 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()
|
D | gstrtph261pay.c | 869 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()
|
D | gstrtph263pay.c | 1436 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/ |
D | gstopusenc.c | 392 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()
|
D | gstopusenc.h | 76 guint max_payload_size; member
|