• Home
  • Raw
  • Download

Lines Matching refs:obu

987     GstAV1OBU * obu, gboolean frame_complete)  in gst_av1_parse_convert_to_annexb()  argument
998 obu->obu_size + 1 + obu->header.obu_extention_flag); in gst_av1_parse_convert_to_annexb()
1004 gst_bit_writer_put_bits_uint8 (&bs, obu->obu_type, 4); in gst_av1_parse_convert_to_annexb()
1006 gst_bit_writer_put_bits_uint8 (&bs, obu->header.obu_extention_flag, 1); in gst_av1_parse_convert_to_annexb()
1011 if (obu->header.obu_extention_flag) { in gst_av1_parse_convert_to_annexb()
1013 gst_bit_writer_put_bits_uint8 (&bs, obu->header.obu_temporal_id, 3); in gst_av1_parse_convert_to_annexb()
1015 gst_bit_writer_put_bits_uint8 (&bs, obu->header.obu_spatial_id, 2); in gst_av1_parse_convert_to_annexb()
1023 len += obu->obu_size; in gst_av1_parse_convert_to_annexb()
1035 memcpy (data + offset, obu->data, obu->obu_size); in gst_av1_parse_convert_to_annexb()
1065 GstAV1OBU * obu) in gst_av1_parse_convert_from_annexb() argument
1074 _write_leb128 (size_data, &size_len, obu->obu_size); in gst_av1_parse_convert_from_annexb()
1078 if (obu->header.obu_extention_flag) in gst_av1_parse_convert_from_annexb()
1081 len += obu->obu_size; in gst_av1_parse_convert_from_annexb()
1087 gst_bit_writer_put_bits_uint8 (&bs, obu->obu_type, 4); in gst_av1_parse_convert_from_annexb()
1089 gst_bit_writer_put_bits_uint8 (&bs, obu->header.obu_extention_flag, 1); in gst_av1_parse_convert_from_annexb()
1094 if (obu->header.obu_extention_flag) { in gst_av1_parse_convert_from_annexb()
1096 gst_bit_writer_put_bits_uint8 (&bs, obu->header.obu_temporal_id, 3); in gst_av1_parse_convert_from_annexb()
1098 gst_bit_writer_put_bits_uint8 (&bs, obu->header.obu_spatial_id, 2); in gst_av1_parse_convert_from_annexb()
1113 memcpy (data + offset, obu->data, obu->obu_size); in gst_av1_parse_convert_from_annexb()
1127 GstAV1OBU * obu, guint8 * data, guint32 size, gboolean frame_complete) in gst_av1_parse_cache_one_obu() argument
1139 gst_av1_parse_convert_from_annexb (self, buffer, obu); in gst_av1_parse_cache_one_obu()
1141 gst_av1_parse_convert_to_annexb (self, buffer, obu, frame_complete); in gst_av1_parse_cache_one_obu()
1145 gst_av1_parse_convert_to_annexb (self, buffer, obu, frame_complete); in gst_av1_parse_cache_one_obu()
1157 gst_av1_parse_handle_sequence_obu (GstAV1Parse * self, GstAV1OBU * obu) in gst_av1_parse_handle_sequence_obu() argument
1165 obu, &seq_header); in gst_av1_parse_handle_sequence_obu()
1244 GstAV1OBU * obu) in gst_av1_parse_frame_start_new_temporal_unit() argument
1248 g_assert (obu->obu_type == GST_AV1_OBU_FRAME_HEADER in gst_av1_parse_frame_start_new_temporal_unit()
1249 || obu->obu_type == GST_AV1_OBU_FRAME); in gst_av1_parse_frame_start_new_temporal_unit()
1254 obu->header.obu_temporal_id != self->last_shown_frame_temporal_id) { in gst_av1_parse_frame_start_new_temporal_unit()
1270 obu->header.obu_temporal_id == self->last_shown_frame_temporal_id && in gst_av1_parse_frame_start_new_temporal_unit()
1271 obu->header.obu_spatial_id == self->last_shown_frame_spatial_id) { in gst_av1_parse_frame_start_new_temporal_unit()
1290 gst_av1_parse_handle_one_obu (GstAV1Parse * self, GstAV1OBU * obu, in gst_av1_parse_handle_one_obu() argument
1302 switch (obu->obu_type) { in gst_av1_parse_handle_one_obu()
1304 res = gst_av1_parser_parse_temporal_delimiter_obu (self->parser, obu); in gst_av1_parse_handle_one_obu()
1307 res = gst_av1_parse_handle_sequence_obu (self, obu); in gst_av1_parse_handle_one_obu()
1310 res = gst_av1_parser_parse_frame_header_obu (self->parser, obu, in gst_av1_parse_handle_one_obu()
1314 res = gst_av1_parser_parse_frame_header_obu (self->parser, obu, in gst_av1_parse_handle_one_obu()
1318 res = gst_av1_parser_parse_frame_obu (self->parser, obu, &frame); in gst_av1_parse_handle_one_obu()
1321 res = gst_av1_parser_parse_metadata_obu (self->parser, obu, &metadata); in gst_av1_parse_handle_one_obu()
1325 gst_av1_parser_parse_tile_group_obu (self->parser, obu, &tile_group); in gst_av1_parse_handle_one_obu()
1328 res = gst_av1_parser_parse_tile_list_obu (self->parser, obu, &tile_list); in gst_av1_parse_handle_one_obu()
1333 GST_WARNING_OBJECT (self, "an unrecognized obu type %d", obu->obu_type); in gst_av1_parse_handle_one_obu()
1339 _obu_name (obu->obu_type), res); in gst_av1_parse_handle_one_obu()
1351 if (obu->header.obu_spatial_id > self->highest_spatial_id) { in gst_av1_parse_handle_one_obu()
1354 obu->header.obu_spatial_id, self->highest_spatial_id); in gst_av1_parse_handle_one_obu()
1364 if (obu->obu_type == GST_AV1_OBU_TEMPORAL_DELIMITER) { in gst_av1_parse_handle_one_obu()
1374 if (obu->obu_type == GST_AV1_OBU_SEQUENCE_HEADER) in gst_av1_parse_handle_one_obu()
1377 if (obu->obu_type == GST_AV1_OBU_FRAME_HEADER in gst_av1_parse_handle_one_obu()
1378 || obu->obu_type == GST_AV1_OBU_FRAME in gst_av1_parse_handle_one_obu()
1379 || obu->obu_type == GST_AV1_OBU_REDUNDANT_FRAME_HEADER) { in gst_av1_parse_handle_one_obu()
1382 if (obu->obu_type == GST_AV1_OBU_FRAME) in gst_av1_parse_handle_one_obu()
1388 if (check_new_tu && obu->obu_type != GST_AV1_OBU_REDUNDANT_FRAME_HEADER in gst_av1_parse_handle_one_obu()
1389 && gst_av1_parse_frame_start_new_temporal_unit (self, obu)) { in gst_av1_parse_handle_one_obu()
1395 self->last_shown_frame_temporal_id = obu->header.obu_temporal_id; in gst_av1_parse_handle_one_obu()
1396 self->last_shown_frame_spatial_id = obu->header.obu_spatial_id; in gst_av1_parse_handle_one_obu()
1418 if (obu->obu_type == GST_AV1_OBU_TILE_GROUP in gst_av1_parse_handle_one_obu()
1419 || obu->obu_type == GST_AV1_OBU_FRAME) { in gst_av1_parse_handle_one_obu()
1424 if (obu->obu_type == GST_AV1_OBU_FRAME) in gst_av1_parse_handle_one_obu()
1436 if (obu->obu_type == GST_AV1_OBU_REDUNDANT_FRAME_HEADER) { in gst_av1_parse_handle_one_obu()
1438 _obu_name (obu->obu_type)); in gst_av1_parse_handle_one_obu()
1453 GstAV1OBU obu; in gst_av1_parse_handle_obu_to_obu() local
1469 map_info.size, &obu, &consumed); in gst_av1_parse_handle_obu_to_obu()
1471 res = gst_av1_parse_handle_one_obu (self, &obu, &frame_complete, NULL); in gst_av1_parse_handle_obu_to_obu()
1546 GstAV1OBU obu; in gst_av1_parse_handle_to_small_and_equal_align() local
1564 &obu, &consumed); in gst_av1_parse_handle_to_small_and_equal_align()
1566 res = gst_av1_parse_handle_one_obu (self, &obu, &frame_complete, NULL); in gst_av1_parse_handle_to_small_and_equal_align()
1570 if (obu.obu_type == GST_AV1_OBU_TEMPORAL_DELIMITER && total_consumed) { in gst_av1_parse_handle_to_small_and_equal_align()
1581 gst_av1_parse_cache_one_obu (self, buffer, &obu, in gst_av1_parse_handle_to_small_and_equal_align()
1652 GstAV1OBU obu; in gst_av1_parse_handle_to_big_align() local
1674 map_info.size - self->last_parsed_offset, &obu, &consumed); in gst_av1_parse_handle_to_big_align()
1679 res = gst_av1_parse_handle_one_obu (self, &obu, &frame_complete, in gst_av1_parse_handle_to_big_align()
1696 gst_av1_parse_convert_to_annexb (self, buffer, &obu, frame_complete); in gst_av1_parse_handle_to_big_align()
1776 GstAV1OBU obu; in gst_av1_parse_detect_alignment() local
1801 &obu, &consumed); in gst_av1_parse_detect_alignment()
1804 res = gst_av1_parse_handle_one_obu (self, &obu, &frame_complete, NULL); in gst_av1_parse_detect_alignment()
1810 if (obu.obu_type == GST_AV1_OBU_SEQUENCE_HEADER) in gst_av1_parse_detect_alignment()
1812 if (obu.obu_type == GST_AV1_OBU_REDUNDANT_FRAME_HEADER || in gst_av1_parse_detect_alignment()
1813 obu.obu_type == GST_AV1_OBU_FRAME || in gst_av1_parse_detect_alignment()
1814 obu.obu_type == GST_AV1_OBU_FRAME_HEADER) in gst_av1_parse_detect_alignment()