Home
last modified time | relevance | path

Searched refs:nalu_size (Results 1 – 5 of 5) sorted by relevance

/third_party/gstreamer/gstplugins_bad/ext/avtp/
Dgstavtpcvfdepay.c492 GstMapInfo * map, guint16 * nalu_size) in gst_avtp_cvf_depay_get_nalu_size() argument
504 *nalu_size = val - sizeof (guint32); in gst_avtp_cvf_depay_get_nalu_size()
509 GstBuffer * avtpdu, GstMapInfo * map, gsize offset, gsize nalu_size, in gst_avtp_cvf_depay_process_last_fragment() argument
525 GST_BUFFER_COPY_MEMORY, offset, nalu_size); in gst_avtp_cvf_depay_process_last_fragment()
537 nalu_size = gst_buffer_get_size (avtpcvfdepay->fragments) + 1; in gst_avtp_cvf_depay_process_last_fragment()
538 map_nal.data[0] = nalu_size >> 24; in gst_avtp_cvf_depay_process_last_fragment()
539 map_nal.data[1] = nalu_size >> 16; in gst_avtp_cvf_depay_process_last_fragment()
540 map_nal.data[2] = nalu_size >> 8; in gst_avtp_cvf_depay_process_last_fragment()
541 map_nal.data[3] = nalu_size; in gst_avtp_cvf_depay_process_last_fragment()
571 guint16 nalu_size; in gst_avtp_cvf_depay_handle_fu_a() local
[all …]
/third_party/ffmpeg/libavcodec/
Dhevc_mp4toannexb_bsf.c141 uint32_t nalu_size = 0; in hevc_mp4toannexb_filter() local
150 nalu_size = (nalu_size << 8) | bytestream2_get_byte(&gb); in hevc_mp4toannexb_filter()
152 if (nalu_size < 2 || nalu_size > bytestream2_get_bytes_left(&gb)) { in hevc_mp4toannexb_filter()
165 if (FFMIN(INT_MAX, SIZE_MAX) < 4ULL + nalu_size + extra_size) { in hevc_mp4toannexb_filter()
172 ret = av_grow_packet(out, 4 + nalu_size + extra_size); in hevc_mp4toannexb_filter()
179 bytestream2_get_buffer(&gb, out->data + prev_size + 4 + extra_size, nalu_size); in hevc_mp4toannexb_filter()
/third_party/gstreamer/gstplugins_good/gst/rtp/
Dgstrtph264depay.c1181 guint outsize, nalu_size; in gst_rtp_h264_depay_process() local
1250 nalu_size = (payload[0] << 8) | payload[1]; in gst_rtp_h264_depay_process()
1253 if (nalu_size > (payload_len - 2)) in gst_rtp_h264_depay_process()
1254 nalu_size = payload_len - 2; in gst_rtp_h264_depay_process()
1256 outsize = nalu_size + sizeof (sync_bytes); in gst_rtp_h264_depay_process()
1272 memcpy (map.data + sizeof (sync_bytes), payload, nalu_size); in gst_rtp_h264_depay_process()
1277 if (payload_len - nalu_size <= 2) in gst_rtp_h264_depay_process()
1283 payload += nalu_size; in gst_rtp_h264_depay_process()
1284 payload_len -= nalu_size; in gst_rtp_h264_depay_process()
1344 nalu_size = payload_len; in gst_rtp_h264_depay_process()
[all …]
Dgstrtph265depay.c1246 guint outsize, nalu_size; in gst_rtp_h265_depay_process() local
1345 nalu_size = (payload[0] << 8) | payload[1]; in gst_rtp_h265_depay_process()
1348 if (nalu_size > (payload_len - 2)) in gst_rtp_h265_depay_process()
1349 nalu_size = payload_len - 2; in gst_rtp_h265_depay_process()
1351 outsize = nalu_size + sizeof (sync_bytes); in gst_rtp_h265_depay_process()
1358 GST_WRITE_UINT32_BE (map.data, nalu_size); in gst_rtp_h265_depay_process()
1365 memcpy (map.data + sizeof (sync_bytes), payload, nalu_size); in gst_rtp_h265_depay_process()
1370 if (payload_len - nalu_size <= 2) in gst_rtp_h265_depay_process()
1376 payload += nalu_size; in gst_rtp_h265_depay_process()
1377 payload_len -= nalu_size; in gst_rtp_h265_depay_process()
[all …]
/third_party/gstreamer/gstplugins_bad/tests/check/elements/
Dh264parse.c1315 guint32 nalu_size; in nalu_to_memory() local
1317 nalu_size = size - 4; in nalu_to_memory()
1318 nalu_size = GUINT32_TO_BE (nalu_size); in nalu_to_memory()
1319 memcpy (dump, &nalu_size, sizeof (nalu_size)); in nalu_to_memory()