Home
last modified time | relevance | path

Searched refs:obu (Results 1 - 11 of 11) sorted by relevance

/third_party/ffmpeg/libavcodec/
H A 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 in ff_av1_extract_obu()
65 AV1OBU *obu; ff_av1_packet_split() local
[all...]
H A 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 in cbs_av1_read_unit()
1056 AV1RawOBU *obu = unit->content; cbs_av1_write_obu() local
1272 AV1RawOBU *obu = (AV1RawOBU*)content; cbs_av1_free_metadata() local
[all...]
H A 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 in av1_frame_split_filter()
[all...]
H A Dextract_extradata_bsf.c77 AV1OBU *obu = &s->av1_pkt.obus[i]; in extract_extradata_av1() local
78 if (val_in_array(extradata_obu_types, nb_extradata_obu_types, obu->type)) { in extract_extradata_av1()
79 extradata_size += obu->raw_size; in extract_extradata_av1()
80 if (obu->type == AV1_OBU_SEQUENCE_HEADER) in extract_extradata_av1()
83 filtered_size += obu->raw_size; in extract_extradata_av1()
114 AV1OBU *obu = &s->av1_pkt.obus[i]; in extract_extradata_av1() local
116 obu->type)) { in extract_extradata_av1()
117 bytestream2_put_bufferu(&pb_extradata, obu->raw_data, obu->raw_size); in extract_extradata_av1()
119 bytestream2_put_bufferu(&pb_filtered_data, obu in extract_extradata_av1()
[all...]
H A Dav1_parser.c99 const AV1RawOBU *obu = unit->content; in av1_parser_parse() local
103 frame = &obu->obu.frame.header; in av1_parser_parse()
105 frame = &obu->obu.frame_header; in av1_parser_parse()
109 if (obu->header.spatial_id > 0) in av1_parser_parse()
H A Dremove_extradata_bsf.c47 AV1OBU obu; in av1_split() local
51 int len = ff_av1_extract_obu(&obu, ptr, buf_size, logctx); in av1_split()
55 if (obu.type == AV1_OBU_FRAME_HEADER || in av1_split()
56 obu.type == AV1_OBU_FRAME) { in av1_split()
H A Dav1dec.c1021 av_log(avctx, AV_LOG_DEBUG, "Total obu for this frame:%d.\n", in av1_decode_frame()
1026 AV1RawOBU *obu = unit->content; in av1_decode_frame() local
1029 if (!obu) in av1_decode_frame()
1032 header = &obu->header; in av1_decode_frame()
1033 av_log(avctx, AV_LOG_DEBUG, "Obu idx:%d, obu type:%d.\n", i, unit->type); in av1_decode_frame()
1044 s->raw_seq = &obu->obu.sequence_header; in av1_decode_frame()
1095 s->raw_frame_header = &obu->obu.frame.header; in av1_decode_frame()
1097 s->raw_frame_header = &obu in av1_decode_frame()
[all...]
H A Dav1_metadata_bsf.c116 AV1RawOBU *obu = frag->units[i].content; in av1_metadata_update_fragment() local
117 err = av1_metadata_update_sequence_header(bsf, &obu->obu.sequence_header); in av1_metadata_update_fragment()
H A Dav1_parse.h76 int ff_av1_extract_obu(AV1OBU *obu, const uint8_t *buf, int length,
H A Dcbs_av1.h404 } obu; member
/third_party/ffmpeg/tests/fate/
H A Ddemux.mak17 fate-av1-annexb-demux: CMD = framecrc -c:v av1 -i $(TARGET_SAMPLES)/av1/annexb.obu -c:v copy

Completed in 8 milliseconds