Home
last modified time | relevance | path

Searched refs:obu (Results 1 – 20 of 20) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dav1_parse.c29 int ff_av1_extract_obu(AV1OBU *obu, const uint8_t *buf, int length, void *logctx) in ff_av1_extract_obu() argument
40 obu->type = type; in ff_av1_extract_obu()
41 obu->temporal_id = temporal_id; in ff_av1_extract_obu()
42 obu->spatial_id = spatial_id; in ff_av1_extract_obu()
44 obu->data = buf + start_pos; in ff_av1_extract_obu()
45 obu->size = obu_size; in ff_av1_extract_obu()
46 obu->raw_data = buf; in ff_av1_extract_obu()
47 obu->raw_size = len; in ff_av1_extract_obu()
51 obu->type, obu->temporal_id, obu->spatial_id, obu->size); in ff_av1_extract_obu()
65 AV1OBU *obu; in ff_av1_packet_split() local
[all …]
Dcbs_av1.c877 AV1RawOBU *obu; in cbs_av1_read_unit() local
884 obu = unit->content; in cbs_av1_read_unit()
890 err = cbs_av1_read_obu_header(ctx, &gbc, &obu->header); in cbs_av1_read_unit()
893 av_assert0(obu->header.obu_type == unit->type); in cbs_av1_read_unit()
895 if (obu->header.obu_has_size_field) { in cbs_av1_read_unit()
900 obu->obu_size = obu_size; in cbs_av1_read_unit()
902 if (unit->data_size < 1 + obu->header.obu_extension_flag) { in cbs_av1_read_unit()
907 obu->obu_size = unit->data_size - 1 - obu->header.obu_extension_flag; in cbs_av1_read_unit()
912 if (obu->header.obu_extension_flag) { in cbs_av1_read_unit()
913 if (obu->header.obu_type != AV1_OBU_SEQUENCE_HEADER && in cbs_av1_read_unit()
[all …]
Dav1_frame_split_bsf.c99 AV1RawOBU *obu = unit->content; in av1_frame_split_filter() local
107 frame = &obu->obu.frame.header; in av1_frame_split_filter()
108 cur_frame_type = obu->header.obu_type; in av1_frame_split_filter()
118 AV1RawOBU *obu = unit->content; in av1_frame_split_filter() local
126 frame = &obu->obu.frame_header; in av1_frame_split_filter()
127 cur_frame_type = obu->header.obu_type; in av1_frame_split_filter()
139 AV1RawOBU *obu = unit->content; in av1_frame_split_filter() local
140 AV1RawTileGroup *group = &obu->obu.tile_group; in av1_frame_split_filter()
Dav1_parser.c100 AV1RawOBU *obu = unit->content; in av1_parser_parse() local
104 frame = &obu->obu.frame.header; in av1_parser_parse()
106 frame = &obu->obu.frame_header; in av1_parser_parse()
110 if (obu->header.spatial_id > 0) in av1_parser_parse()
211 AV1OBU obu; in av1_parser_split() local
215 int len = ff_av1_extract_obu(&obu, ptr, buf_size, avctx); in av1_parser_split()
219 if (obu.type == AV1_OBU_FRAME_HEADER || in av1_parser_split()
220 obu.type == AV1_OBU_FRAME) { in av1_parser_split()
Dextract_extradata_bsf.c78 AV1OBU *obu = &s->av1_pkt.obus[i]; in extract_extradata_av1() local
79 if (val_in_array(extradata_obu_types, nb_extradata_obu_types, obu->type)) { in extract_extradata_av1()
80 extradata_size += obu->raw_size; in extract_extradata_av1()
81 if (obu->type == AV1_OBU_SEQUENCE_HEADER) in extract_extradata_av1()
84 filtered_size += obu->raw_size; in extract_extradata_av1()
115 AV1OBU *obu = &s->av1_pkt.obus[i]; in extract_extradata_av1() local
117 obu->type)) { in extract_extradata_av1()
118 bytestream2_put_bufferu(&pb_extradata, obu->raw_data, obu->raw_size); in extract_extradata_av1()
120 bytestream2_put_bufferu(&pb_filtered_data, obu->raw_data, obu->raw_size); in extract_extradata_av1()
Dav1dec.c903 AV1RawOBU *obu = unit->content; in av1_decode_frame() local
906 if (!obu) in av1_decode_frame()
909 header = &obu->header; in av1_decode_frame()
921 s->raw_seq = &obu->obu.sequence_header; in av1_decode_frame()
972 s->raw_frame_header = &obu->obu.frame.header; in av1_decode_frame()
974 s->raw_frame_header = &obu->obu.frame_header; in av1_decode_frame()
1030 raw_tile_group = &obu->obu.frame.tile_group; in av1_decode_frame()
1032 raw_tile_group = &obu->obu.tile_group; in av1_decode_frame()
Dav1_metadata_bsf.c115 AV1RawOBU *obu = frag->units[i].content; in av1_metadata_update_fragment() local
116 err = av1_metadata_update_sequence_header(bsf, &obu->obu.sequence_header); in av1_metadata_update_fragment()
Dav1_parse.h72 int ff_av1_extract_obu(AV1OBU *obu, const uint8_t *buf, int length,
Dcbs_av1.h404 } obu; member
/third_party/gstreamer/gstplugins_bad/tests/check/libs/
Dav1parser.c112 GstAV1OBU obu; in GST_START_TEST() local
121 &obu, &consumed); in GST_START_TEST()
127 assert_equals_int (obu.obu_type, GST_AV1_OBU_TEMPORAL_DELIMITER); in GST_START_TEST()
128 assert_equals_int (obu.header.obu_extention_flag, 0); in GST_START_TEST()
129 assert_equals_int (obu.header.obu_has_size_field, 1); in GST_START_TEST()
130 assert_equals_int (obu.obu_size, 0); in GST_START_TEST()
131 ret = gst_av1_parser_parse_temporal_delimiter_obu (parser, &obu); in GST_START_TEST()
136 &obu, &consumed); in GST_START_TEST()
141 assert_equals_int (obu.obu_type, GST_AV1_OBU_SEQUENCE_HEADER); in GST_START_TEST()
142 assert_equals_int (obu.header.obu_extention_flag, 0); in GST_START_TEST()
[all …]
/third_party/gstreamer/gstplugins_bad/gst/videoparsers/
Dgstav1parse.c987 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
[all …]
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/codecs/
Dgstav1decoder.c260 gst_av1_decoder_process_sequence (GstAV1Decoder * self, GstAV1OBU * obu) in gst_av1_decoder_process_sequence() argument
273 obu, &seq_header); in gst_av1_decoder_process_sequence()
309 GstAV1TileGroupOBU * tile_group, GstAV1OBU * obu) in gst_av1_decoder_decode_tile_group() argument
327 tile.obu = *obu; in gst_av1_decoder_decode_tile_group()
423 gst_av1_decoder_process_frame_header (GstAV1Decoder * self, GstAV1OBU * obu) in gst_av1_decoder_process_frame_header() argument
429 res = gst_av1_parser_parse_frame_header_obu (priv->parser, obu, in gst_av1_decoder_process_frame_header()
440 gst_av1_decoder_process_tile_group (GstAV1Decoder * self, GstAV1OBU * obu) in gst_av1_decoder_process_tile_group() argument
446 res = gst_av1_parser_parse_tile_group_obu (priv->parser, obu, &tile_group); in gst_av1_decoder_process_tile_group()
452 return gst_av1_decoder_decode_tile_group (self, &tile_group, obu); in gst_av1_decoder_process_tile_group()
456 gst_av1_decoder_process_frame (GstAV1Decoder * self, GstAV1OBU * obu) in gst_av1_decoder_process_frame() argument
[all …]
Dgstav1picture.h59 GstAV1OBU obu; member
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/codecparsers/
Dgstav1parser.c470 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()
[all …]
Dgstav1parser.h1786 guint32 size, GstAV1OBU * obu, guint32 * consumed);
1791 GstAV1OBU * obu, GstAV1SequenceHeaderOBU * seq_header);
1796 GstAV1OBU * obu);
1800 gst_av1_parser_parse_metadata_obu (GstAV1Parser * parser, GstAV1OBU * obu,
1805 gst_av1_parser_parse_tile_list_obu (GstAV1Parser * parser, GstAV1OBU * obu,
1810 gst_av1_parser_parse_tile_group_obu (GstAV1Parser * parser, GstAV1OBU * obu,
1815 gst_av1_parser_parse_frame_header_obu (GstAV1Parser * parser, GstAV1OBU * obu,
1820 gst_av1_parser_parse_frame_obu (GstAV1Parser * parser, GstAV1OBU * obu,
/third_party/gstreamer/gstplugins_bad/sys/d3d11/
Dgstd3d11av1dec.cpp1148 GST_TRACE_OBJECT (self, "OBU size %d", tile->obu.obu_size); in gst_d3d11_av1_dec_decode_tile()
1151 inner->bitstream_buffer.resize (pos + tile->obu.obu_size); in gst_d3d11_av1_dec_decode_tile()
1154 tile->obu.data, tile->obu.obu_size); in gst_d3d11_av1_dec_decode_tile()
/third_party/gstreamer/gstplugins_bad/sys/va/
Dgstvaav1dec.c808 slice_param, sizeof (VASliceParameterBufferAV1), i, tile->obu.data, in gst_va_av1_dec_decode_tile()
809 tile->obu.obu_size)) { in gst_va_av1_dec_decode_tile()
/third_party/ffmpeg/tests/fate/
Ddemux.mak17 fate-av1-annexb-demux: CMD = framecrc -c:v av1 -i $(TARGET_SAMPLES)/av1/annexb.obu -c:v copy
/third_party/libexif/po/
Dpl.po2863 msgstr "Jednostka do wyrażania <XResolution> i <YResolution>. Dla obu wielkości używana jest ta sam…
2959 …omyślna dla TIFF (wyśrodkowane). Jeśli czytający nie ma możliwości obsługi obu rodzajów rozmieszcz…
/third_party/gstreamer/gstplugins_bad/
DChangeLog14976 alignment of obu. This make it the same behaviour as h264/h265
14987 test: Add more test cases for the av1parse obu aligned output.
14999 av1parse: Output each OBU when output is aligned to obu.
15000 The current behaviour for obu aligned output is not very precise.
15164 obu->obu_size does not contain the bytes of obu_size itself, we need
15183 This AV1 parse implements the conversion between alignment of obu,
15184 tu and frame, and the conversion between stream-format of obu-stream
16983 codecparsers: av1: Fix a error report for metadata obu.