• Home
  • Raw
  • Download

Lines Matching refs:obu

470     GstAV1OBU * obu)  in av1_skip_trailing_bits()  argument
475 if (obu->obu_size > 0 in av1_skip_trailing_bits()
476 && obu->obu_type != GST_AV1_OBU_TILE_GROUP in av1_skip_trailing_bits()
477 && obu->obu_type != GST_AV1_OBU_TILE_LIST in av1_skip_trailing_bits()
478 && obu->obu_type != GST_AV1_OBU_FRAME) { in av1_skip_trailing_bits()
479 if (payloadBits >= obu->obu_size * 8) in av1_skip_trailing_bits()
482 ret = av1_bitstreamfn_trailing_bits (br, obu->obu_size * 8 - payloadBits); in av1_skip_trailing_bits()
681 guint32 size, GstAV1OBU * obu, guint32 * consumed) in gst_av1_parser_identify_one_obu() argument
689 g_return_val_if_fail (obu != NULL, GST_AV1_PARSER_INVALID_OPERATION); in gst_av1_parser_identify_one_obu()
694 memset (obu, 0, sizeof (*obu)); in gst_av1_parser_identify_one_obu()
819 ret = gst_av1_parse_obu_header (parser, &br, &obu->header); in gst_av1_parser_identify_one_obu()
823 obu->obu_type = obu->header.obu_type; in gst_av1_parser_identify_one_obu()
824 GST_LOG ("identify obu type is %d", obu->obu_type); in gst_av1_parser_identify_one_obu()
826 if (obu->header.obu_has_size_field) { in gst_av1_parser_identify_one_obu()
829 obu->obu_size = av1_bitstreamfn_leb128 (&br, &ret); in gst_av1_parser_identify_one_obu()
835 && obu_length - 1 - obu->header.obu_extention_flag - size_sz != in gst_av1_parser_identify_one_obu()
836 obu->obu_size) { in gst_av1_parser_identify_one_obu()
843 if (AV1_REMAINING_BYTES (&br) < obu->obu_size) { in gst_av1_parser_identify_one_obu()
853 obu->obu_size = obu_length - 1 - obu->header.obu_extention_flag; in gst_av1_parser_identify_one_obu()
859 if (size - *consumed - used < obu->obu_size) { in gst_av1_parser_identify_one_obu()
871 obu->data = (guint8 *) (data + *consumed); in gst_av1_parser_identify_one_obu()
873 *consumed += obu->obu_size; in gst_av1_parser_identify_one_obu()
875 parser->temporal_unit_consumed += obu->obu_size; in gst_av1_parser_identify_one_obu()
876 parser->frame_unit_consumed += obu->obu_size; in gst_av1_parser_identify_one_obu()
879 if (obu->obu_type != GST_AV1_OBU_SEQUENCE_HEADER in gst_av1_parser_identify_one_obu()
880 && obu->obu_type != GST_AV1_OBU_TEMPORAL_DELIMITER in gst_av1_parser_identify_one_obu()
881 && parser->state.operating_point_idc && obu->header.obu_extention_flag) { in gst_av1_parser_identify_one_obu()
883 (parser->state.operating_point_idc >> obu->header.obu_temporal_id) & 1; in gst_av1_parser_identify_one_obu()
885 (parser->state.operating_point_idc >> (obu->header.obu_spatial_id + in gst_av1_parser_identify_one_obu()
1141 GstAV1OBU * obu, GstAV1SequenceHeaderOBU * seq_header) in gst_av1_parser_parse_sequence_header_obu() argument
1149 g_return_val_if_fail (obu != NULL, GST_AV1_PARSER_INVALID_OPERATION); in gst_av1_parser_parse_sequence_header_obu()
1150 g_return_val_if_fail (obu->obu_type == GST_AV1_OBU_SEQUENCE_HEADER, in gst_av1_parser_parse_sequence_header_obu()
1155 gst_bit_reader_init (br, obu->data, obu->obu_size); in gst_av1_parser_parse_sequence_header_obu()
1440 retval = av1_skip_trailing_bits (parser, br, obu); in gst_av1_parser_parse_sequence_header_obu()
1492 GstAV1OBU * obu) in gst_av1_parser_parse_temporal_delimiter_obu() argument
1498 g_return_val_if_fail (obu != NULL, GST_AV1_PARSER_INVALID_OPERATION); in gst_av1_parser_parse_temporal_delimiter_obu()
1499 g_return_val_if_fail (obu->obu_type == GST_AV1_OBU_TEMPORAL_DELIMITER, in gst_av1_parser_parse_temporal_delimiter_obu()
1502 gst_bit_reader_init (&bit_reader, obu->data, obu->obu_size); in gst_av1_parser_parse_temporal_delimiter_obu()
1506 ret = av1_skip_trailing_bits (parser, &bit_reader, obu); in gst_av1_parser_parse_temporal_delimiter_obu()
1750 gst_av1_parser_parse_metadata_obu (GstAV1Parser * parser, GstAV1OBU * obu, in gst_av1_parser_parse_metadata_obu() argument
1757 g_return_val_if_fail (obu != NULL, GST_AV1_PARSER_INVALID_OPERATION); in gst_av1_parser_parse_metadata_obu()
1758 g_return_val_if_fail (obu->obu_type == GST_AV1_OBU_METADATA, in gst_av1_parser_parse_metadata_obu()
1762 gst_bit_reader_init (&bit_reader, obu->data, obu->obu_size); in gst_av1_parser_parse_metadata_obu()
1798 retval = av1_skip_trailing_bits (parser, &bit_reader, obu); in gst_av1_parser_parse_metadata_obu()
3501 gst_av1_parse_uncompressed_frame_header (GstAV1Parser * parser, GstAV1OBU * obu, in gst_av1_parse_uncompressed_frame_header() argument
3778 (op_pt_idc >> obu->header.obu_temporal_id) & 1; in gst_av1_parse_uncompressed_frame_header()
3780 (op_pt_idc >> (obu->header.obu_spatial_id + 8)) & 1; in gst_av1_parse_uncompressed_frame_header()
4329 GstAV1OBU * obu, GstAV1TileListOBU * tile_list) in gst_av1_parser_parse_tile_list_obu() argument
4337 g_return_val_if_fail (obu != NULL, GST_AV1_PARSER_INVALID_OPERATION); in gst_av1_parser_parse_tile_list_obu()
4338 g_return_val_if_fail (obu->obu_type == GST_AV1_OBU_TILE_LIST, in gst_av1_parser_parse_tile_list_obu()
4344 gst_bit_reader_init (br, obu->data, obu->obu_size); in gst_av1_parser_parse_tile_list_obu()
4366 obu->data + gst_bit_reader_get_pos (br) / 8; in gst_av1_parser_parse_tile_list_obu()
4375 retval = av1_skip_trailing_bits (parser, br, obu); in gst_av1_parser_parse_tile_list_obu()
4513 gst_av1_parser_parse_tile_group_obu (GstAV1Parser * parser, GstAV1OBU * obu, in gst_av1_parser_parse_tile_group_obu() argument
4520 g_return_val_if_fail (obu != NULL, GST_AV1_PARSER_INVALID_OPERATION); in gst_av1_parser_parse_tile_group_obu()
4521 g_return_val_if_fail (obu->obu_type == GST_AV1_OBU_TILE_GROUP, in gst_av1_parser_parse_tile_group_obu()
4530 gst_bit_reader_init (&bit_reader, obu->data, obu->obu_size); in gst_av1_parser_parse_tile_group_obu()
4536 gst_av1_parse_frame_header (GstAV1Parser * parser, GstAV1OBU * obu, in gst_av1_parse_frame_header() argument
4549 ret = gst_av1_parse_uncompressed_frame_header (parser, obu, bit_reader, in gst_av1_parse_frame_header()
4578 GstAV1OBU * obu, GstAV1FrameHeaderOBU * frame_header) in gst_av1_parser_parse_frame_header_obu() argument
4584 g_return_val_if_fail (obu != NULL, GST_AV1_PARSER_INVALID_OPERATION); in gst_av1_parser_parse_frame_header_obu()
4585 g_return_val_if_fail (obu->obu_type == GST_AV1_OBU_FRAME_HEADER || in gst_av1_parser_parse_frame_header_obu()
4586 obu->obu_type == GST_AV1_OBU_REDUNDANT_FRAME_HEADER, in gst_av1_parser_parse_frame_header_obu()
4590 if (obu->obu_type == GST_AV1_OBU_REDUNDANT_FRAME_HEADER in gst_av1_parser_parse_frame_header_obu()
4596 if (obu->obu_type == GST_AV1_OBU_FRAME_HEADER in gst_av1_parser_parse_frame_header_obu()
4602 gst_bit_reader_init (&bit_reader, obu->data, obu->obu_size); in gst_av1_parser_parse_frame_header_obu()
4603 ret = gst_av1_parse_frame_header (parser, obu, &bit_reader, frame_header); in gst_av1_parser_parse_frame_header_obu()
4607 ret = av1_skip_trailing_bits (parser, &bit_reader, obu); in gst_av1_parser_parse_frame_header_obu()
4625 gst_av1_parser_parse_frame_obu (GstAV1Parser * parser, GstAV1OBU * obu, in gst_av1_parser_parse_frame_obu() argument
4632 g_return_val_if_fail (obu != NULL, GST_AV1_PARSER_INVALID_OPERATION); in gst_av1_parser_parse_frame_obu()
4633 g_return_val_if_fail (obu->obu_type == GST_AV1_OBU_FRAME, in gst_av1_parser_parse_frame_obu()
4642 gst_bit_reader_init (&bit_reader, obu->data, obu->obu_size); in gst_av1_parser_parse_frame_obu()
4643 retval = gst_av1_parse_frame_header (parser, obu, &bit_reader, in gst_av1_parser_parse_frame_obu()