Lines Matching defs:obu
29 int ff_av1_extract_obu(AV1OBU *obu, const uint8_t *buf, int length, void *logctx)
40 obu->type = type;
41 obu->temporal_id = temporal_id;
42 obu->spatial_id = spatial_id;
44 obu->data = buf + start_pos;
45 obu->size = obu_size;
46 obu->raw_data = buf;
47 obu->raw_size = len;
51 obu->type, obu->temporal_id, obu->spatial_id, obu->size);
65 AV1OBU *obu;
81 obu = &pkt->obus[pkt->nb_obus];
83 consumed = ff_av1_extract_obu(obu, bc.buffer, bytestream2_get_bytes_left(&bc), logctx);
89 obu->size_bits = get_obu_bit_length(obu->data, obu->size, obu->type);
91 if (obu->size_bits < 0 || (!obu->size_bits && obu->type != AV1_OBU_TEMPORAL_DELIMITER)) {
92 av_log(logctx, AV_LOG_ERROR, "Invalid OBU of type %d, skipping.\n", obu->type);
98 ret = init_get_bits(&obu->gb, obu->data, obu->size_bits);