Lines Matching refs:nalu
1354 GstH264NalUnitType nal_type, GstH264NalUnit * nalu) in gst_nvdec_store_h264_nal() argument
1357 guint size = nalu->size, store_size; in gst_nvdec_store_h264_nal()
1379 gst_buffer_fill (buf, sizeof (start_code), nalu->data + nalu->offset, size); in gst_nvdec_store_h264_nal()
1391 GstH264NalUnit nalu; in gst_nvdec_handle_h264_buffer() local
1404 memset (&nalu, 0, sizeof (GstH264NalUnit)); in gst_nvdec_handle_h264_buffer()
1408 map.data, nalu.offset + nalu.size, map.size, &nalu); in gst_nvdec_handle_h264_buffer()
1413 switch (nalu.type) { in gst_nvdec_handle_h264_buffer()
1418 if (nalu.type == GST_H264_NAL_SPS) { in gst_nvdec_handle_h264_buffer()
1419 pres = gst_h264_parser_parse_sps (parser, &nalu, &sps); in gst_nvdec_handle_h264_buffer()
1421 pres = gst_h264_parser_parse_subset_sps (parser, &nalu, &sps); in gst_nvdec_handle_h264_buffer()
1428 gst_nvdec_store_h264_nal (self, sps.id, nalu.type, &nalu); in gst_nvdec_handle_h264_buffer()
1435 pres = gst_h264_parser_parse_pps (parser, &nalu, &pps); in gst_nvdec_handle_h264_buffer()
1440 gst_nvdec_store_h264_nal (self, pps.id, nalu.type, &nalu); in gst_nvdec_handle_h264_buffer()
1487 GstH265NalUnitType nal_type, GstH265NalUnit * nalu) in gst_nvdec_store_h265_nal() argument
1490 guint size = nalu->size, store_size; in gst_nvdec_store_h265_nal()
1516 gst_buffer_fill (buf, sizeof (start_code), nalu->data + nalu->offset, size); in gst_nvdec_store_h265_nal()
1528 GstH265NalUnit nalu; in gst_nvdec_handle_h265_buffer() local
1542 memset (&nalu, 0, sizeof (GstH265NalUnit)); in gst_nvdec_handle_h265_buffer()
1546 map.data, nalu.offset + nalu.size, map.size, &nalu); in gst_nvdec_handle_h265_buffer()
1551 switch (nalu.type) { in gst_nvdec_handle_h265_buffer()
1555 pres = gst_h265_parser_parse_vps (parser, &nalu, &vps); in gst_nvdec_handle_h265_buffer()
1560 gst_nvdec_store_h265_nal (self, vps.id, nalu.type, &nalu); in gst_nvdec_handle_h265_buffer()
1566 pres = gst_h265_parser_parse_sps (parser, &nalu, &sps, FALSE); in gst_nvdec_handle_h265_buffer()
1571 gst_nvdec_store_h265_nal (self, sps.id, nalu.type, &nalu); in gst_nvdec_handle_h265_buffer()
1577 pres = gst_h265_parser_parse_pps (parser, &nalu, &pps); in gst_nvdec_handle_h265_buffer()
1582 gst_nvdec_store_h265_nal (self, pps.id, nalu.type, &nalu); in gst_nvdec_handle_h265_buffer()