Lines Matching refs:bsfc
1138 AVBSFContext *const bsfc = sti->bsfc;
1141 if ((ret = av_bsf_send_packet(bsfc, pkt)) < 0) {
1144 bsfc->filter->name, st->index);
1149 ret = av_bsf_receive_packet(bsfc, pkt);
1159 av_packet_rescale_ts(pkt, bsfc->time_base_out, st->time_base);
1186 if (sti->bsfc) {
1264 if (sti->bsfc) {
1317 AVBSFContext *bsfc;
1319 av_assert0(!sti->bsfc);
1326 if ((ret = av_bsf_alloc(bsf, &bsfc)) < 0)
1329 bsfc->time_base_in = st->time_base;
1330 if ((ret = avcodec_parameters_copy(bsfc->par_in, st->codecpar)) < 0) {
1331 av_bsf_free(&bsfc);
1335 if (args && bsfc->filter->priv_class) {
1336 if ((ret = av_set_options_string(bsfc->priv_data, args, "=", ":")) < 0) {
1337 av_bsf_free(&bsfc);
1342 if ((ret = av_bsf_init(bsfc)) < 0) {
1343 av_bsf_free(&bsfc);
1347 sti->bsfc = bsfc;