Lines Matching refs:unit
1025 CodedBitstreamUnit *unit = &s->current_obu.units[i];
1026 AV1RawOBU *obu = unit->content;
1033 av_log(avctx, AV_LOG_DEBUG, "Obu idx:%d, obu type:%d.\n", i, unit->type);
1035 switch (unit->type) {
1038 s->seq_ref = av_buffer_ref(unit->content_ref);
1066 ret = avctx->hwaccel->decode_params(avctx, unit->type, unit->data,
1067 unit->data_size);
1088 s->header_ref = av_buffer_ref(unit->content_ref);
1094 if (unit->type == AV1_OBU_FRAME)
1136 ret = avctx->hwaccel->start_frame(avctx, unit->data,
1137 unit->data_size);
1143 if (unit->type != AV1_OBU_FRAME)
1153 if (unit->type == AV1_OBU_FRAME)
1181 unit->type, unit->data_size);