Lines Matching refs:frag
25 CodedBitstreamFragment *frag = &ctx->fragment; in cbs_bsf_update_side_data() local
35 err = ff_cbs_read(ctx->input, frag, side_data, side_data_size); in cbs_bsf_update_side_data()
42 err = ctx->type->update_fragment(bsf, NULL, frag); in cbs_bsf_update_side_data()
46 err = ff_cbs_write_fragment_data(ctx->output, frag); in cbs_bsf_update_side_data()
54 frag->data_size); in cbs_bsf_update_side_data()
57 memcpy(side_data, frag->data, frag->data_size); in cbs_bsf_update_side_data()
59 ff_cbs_fragment_reset(frag); in cbs_bsf_update_side_data()
66 CodedBitstreamFragment *frag = &ctx->fragment; in ff_cbs_bsf_generic_filter() local
77 err = ff_cbs_read_packet(ctx->input, frag, pkt); in ff_cbs_bsf_generic_filter()
84 if (frag->nb_units == 0) { in ff_cbs_bsf_generic_filter()
91 err = ctx->type->update_fragment(bsf, pkt, frag); in ff_cbs_bsf_generic_filter()
95 err = ff_cbs_write_packet(ctx->output, pkt, frag); in ff_cbs_bsf_generic_filter()
104 ff_cbs_fragment_reset(frag); in ff_cbs_bsf_generic_filter()
115 CodedBitstreamFragment *frag = &ctx->fragment; in ff_cbs_bsf_generic_init() local
129 err = ff_cbs_read_extradata(ctx->input, frag, bsf->par_in); in ff_cbs_bsf_generic_init()
135 err = type->update_fragment(bsf, NULL, frag); in ff_cbs_bsf_generic_init()
139 err = ff_cbs_write_extradata(ctx->output, bsf->par_out, frag); in ff_cbs_bsf_generic_init()
148 ff_cbs_fragment_reset(frag); in ff_cbs_bsf_generic_init()