Lines Matching refs:frag
29 CodedBitstreamFragment frag[2]; member
38 ff_cbs_fragment_reset(&ctx->frag[0]); in av1_frame_merge_flush()
39 ff_cbs_fragment_reset(&ctx->frag[1]); in av1_frame_merge_flush()
47 CodedBitstreamFragment *frag = &ctx->frag[ctx->idx], *tu = &ctx->frag[!ctx->idx]; in av1_frame_merge_filter() local
58 err = ff_cbs_read_packet(ctx->input, frag, in); in av1_frame_merge_filter()
64 if (frag->nb_units == 0) { in av1_frame_merge_filter()
70 if (tu->nb_units == 0 && frag->units[0].type != AV1_OBU_TEMPORAL_DELIMITER) { in av1_frame_merge_filter()
76 for (i = 1; i < frag->nb_units; i++) { in av1_frame_merge_filter()
77 if (frag->units[i].type == AV1_OBU_TEMPORAL_DELIMITER) { in av1_frame_merge_filter()
84 if (tu->nb_units > 0 && frag->units[0].type == AV1_OBU_TEMPORAL_DELIMITER) { in av1_frame_merge_filter()
96 for (i = 0; i < frag->nb_units; i++) { in av1_frame_merge_filter()
97 err = ff_cbs_insert_unit_content(tu, -1, frag->units[i].type, in av1_frame_merge_filter()
98 frag->units[i].content, frag->units[i].content_ref); in av1_frame_merge_filter()
112 ff_cbs_fragment_reset(&ctx->frag[ctx->idx]); in av1_frame_merge_filter()
142 ff_cbs_fragment_free(&ctx->frag[0]); in av1_frame_merge_close()
143 ff_cbs_fragment_free(&ctx->frag[1]); in av1_frame_merge_close()