Lines Matching refs:nalu
455 GstH265NalUnitType naltype, GstH265NalUnit * nalu) in gst_h265_parser_store_nal() argument
458 guint size = nalu->size, store_size; in gst_h265_parser_store_nal()
481 gst_buffer_fill (buf, 0, nalu->data + nalu->offset, size); in gst_h265_parser_store_nal()
548 gst_h265_parse_process_sei (GstH265Parse * h265parse, GstH265NalUnit * nalu) in gst_h265_parse_process_sei() argument
556 pres = gst_h265_parser_parse_sei (nalparser, nalu, &messages); in gst_h265_parse_process_sei()
714 gst_h265_parse_process_nal (GstH265Parse * h265parse, GstH265NalUnit * nalu) in gst_h265_parse_process_nal() argument
724 if (G_UNLIKELY (nalu->size < 2)) { in gst_h265_parse_process_nal()
725 GST_DEBUG_OBJECT (h265parse, "not processing nal size %u", nalu->size); in gst_h265_parse_process_nal()
730 nal_type = nalu->type; in gst_h265_parse_process_nal()
733 nal_type, _nal_name (nal_type), nalu->size); in gst_h265_parse_process_nal()
738 pres = gst_h265_parser_parse_vps (nalparser, nalu, &vps); in gst_h265_parse_process_nal()
758 gst_h265_parser_store_nal (h265parse, vps.id, nal_type, nalu); in gst_h265_parse_process_nal()
765 pres = gst_h265_parser_parse_sps (nalparser, nalu, &sps, TRUE); in gst_h265_parse_process_nal()
771 pres = gst_h265_parser_parse_sps (nalparser, nalu, &sps, FALSE); in gst_h265_parse_process_nal()
795 gst_h265_parser_store_nal (h265parse, sps.id, nal_type, nalu); in gst_h265_parse_process_nal()
805 pres = gst_h265_parser_parse_pps (nalparser, nalu, &pps); in gst_h265_parse_process_nal()
831 gst_h265_parser_store_nal (h265parse, pps.id, nal_type, nalu); in gst_h265_parse_process_nal()
843 gst_h265_parse_process_sei (h265parse, nalu); in gst_h265_parse_process_nal()
850 h265parse->sei_pos = nalu->sc_offset; in gst_h265_parse_process_nal()
887 pres = gst_h265_parser_parse_slice_hdr (nalparser, nalu, &slice); in gst_h265_parse_process_nal()
950 h265parse->idr_pos = nalu->sc_offset; in gst_h265_parse_process_nal()
964 pres = gst_h265_parser_parse_nal (nalparser, nalu); in gst_h265_parse_process_nal()
973 pres = gst_h265_parser_parse_nal (nalparser, nalu); in gst_h265_parse_process_nal()
986 nalu->data + nalu->offset, nalu->size); in gst_h265_parse_process_nal()
997 guint size, GstH265NalUnit * nalu) in gst_h265_parse_collect_nal() argument
999 GstH265NalUnitType nal_type = nalu->type; in gst_h265_parse_collect_nal()
1014 if (nalu->size > nalu->header_bytes) { in gst_h265_parse_collect_nal()
1019 && (nalu->data[nalu->offset + 2] & 0x80)); in gst_h265_parse_collect_nal()
1038 GstH265NalUnit nalu; in gst_h265_parse_handle_frame_packetized() local
1060 map.data, 0, map.size, nl, &nalu); in gst_h265_parse_handle_frame_packetized()
1063 GST_DEBUG_OBJECT (h265parse, "HEVC nal offset %d", nalu.offset + nalu.size); in gst_h265_parse_handle_frame_packetized()
1066 gst_h265_parse_process_nal (h265parse, &nalu); in gst_h265_parse_handle_frame_packetized()
1077 nalu.offset, nalu.size); in gst_h265_parse_handle_frame_packetized()
1080 if (nl + nalu.size == left) { in gst_h265_parse_handle_frame_packetized()
1090 ret = gst_base_parse_finish_frame (parse, &tmp_frame, nl + nalu.size); in gst_h265_parse_handle_frame_packetized()
1091 left -= nl + nalu.size; in gst_h265_parse_handle_frame_packetized()
1095 map.data, nalu.offset + nalu.size, map.size, nl, &nalu); in gst_h265_parse_handle_frame_packetized()
1143 GstH265NalUnit nalu; in gst_h265_parse_handle_frame() local
1194 nalu.size = 0; in gst_h265_parse_handle_frame()
1195 nalu.offset = current_off; in gst_h265_parse_handle_frame()
1206 size, &nalu); in gst_h265_parse_handle_frame()
1209 if (nalu.sc_offset > 0) { in gst_h265_parse_handle_frame()
1210 *skipsize = nalu.sc_offset; in gst_h265_parse_handle_frame()
1229 gst_base_parse_set_ts_at_offset (parse, nalu.offset); in gst_h265_parse_handle_frame()
1235 &nalu); in gst_h265_parse_handle_frame()
1240 nalu.offset, nalu.size); in gst_h265_parse_handle_frame()
1247 nalu.size = size - nalu.offset; in gst_h265_parse_handle_frame()
1251 nalu.offset); in gst_h265_parse_handle_frame()
1255 nalu.size = size - nalu.offset; in gst_h265_parse_handle_frame()
1257 nalu.size); in gst_h265_parse_handle_frame()
1259 if (nalu.size < 3) in gst_h265_parse_handle_frame()
1281 "it contains a NAL unit of length %u", nalu.size); in gst_h265_parse_handle_frame()
1288 *skipsize = nalu.offset; in gst_h265_parse_handle_frame()
1292 nalu.size = 0; in gst_h265_parse_handle_frame()
1293 nalu.offset = nalu.sc_offset; in gst_h265_parse_handle_frame()
1302 data, nalu.offset, nalu.size); in gst_h265_parse_handle_frame()
1304 if (gst_h265_parse_collect_nal (h265parse, data, size, &nalu)) { in gst_h265_parse_handle_frame()
1307 nalu.size = 0; in gst_h265_parse_handle_frame()
1308 nalu.offset = nalu.sc_offset; in gst_h265_parse_handle_frame()
1314 if (!gst_h265_parse_process_nal (h265parse, &nalu)) { in gst_h265_parse_handle_frame()
1317 nalu.type, _nal_name (nalu.type), nalu.size); in gst_h265_parse_handle_frame()
1318 *skipsize = nalu.size; in gst_h265_parse_handle_frame()
1341 current_off = nalu.offset + nalu.size; in gst_h265_parse_handle_frame()
1350 current_off = nalu.offset + nalu.size; in gst_h265_parse_handle_frame()
1365 framesize = nalu.offset + nalu.size; in gst_h265_parse_handle_frame()
3047 GstH265NalUnit nalu; in gst_h265_parse_set_caps() local
3123 data, off, size, 2, &nalu); in gst_h265_parse_set_caps()
3130 gst_h265_parse_process_nal (h265parse, &nalu); in gst_h265_parse_set_caps()
3131 off = nalu.offset + nalu.size; in gst_h265_parse_set_caps()