Searched refs:bsfc (Results 1 – 11 of 11) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
D | bitstream_filter.c | 83 void av_bitstream_filter_close(AVBitStreamFilterContext *bsfc) in av_bitstream_filter_close() argument 87 if (!bsfc) in av_bitstream_filter_close() 90 priv = bsfc->priv_data; in av_bitstream_filter_close() 93 av_freep(&bsfc->priv_data); in av_bitstream_filter_close() 94 av_free(bsfc); in av_bitstream_filter_close() 97 int av_bitstream_filter_filter(AVBitStreamFilterContext *bsfc, in av_bitstream_filter_filter() argument 102 BSFCompatContext *priv = bsfc->priv_data; in av_bitstream_filter_filter() 107 ret = av_bsf_alloc(bsfc->filter, &priv->ctx); in av_bitstream_filter_filter() 117 if (bsfc->args && bsfc->filter->priv_class) { in av_bitstream_filter_filter() 124 ret = av_opt_set_from_string(priv->ctx->priv_data, bsfc->args, shorthand, "=", ":"); in av_bitstream_filter_filter()
|
D | aac_adtstoasc_bsf.c | 39 static int aac_adtstoasc_filter(AVBSFContext *bsfc, AVPacket *pkt) in aac_adtstoasc_filter() argument 41 AACBSFContext *ctx = bsfc->priv_data; in aac_adtstoasc_filter() 48 ret = ff_bsf_get_packet_ref(bsfc, pkt); in aac_adtstoasc_filter() 52 if (bsfc->par_in->extradata && pkt->size >= 2 && (AV_RB16(pkt->data) >> 4) != 0xfff) in aac_adtstoasc_filter() 61 av_log(bsfc, AV_LOG_ERROR, "Error parsing ADTS frame header!\n"); in aac_adtstoasc_filter() 67 avpriv_report_missing_feature(bsfc, in aac_adtstoasc_filter() 86 avpriv_report_missing_feature(bsfc, in aac_adtstoasc_filter() 125 av_log(bsfc, AV_LOG_ERROR, "Input packet too small\n"); in aac_adtstoasc_filter()
|
D | opus_metadata_bsf.c | 28 static int opus_metadata_init(AVBSFContext *bsfc) in opus_metadata_init() argument 30 OpusBSFContext *s = bsfc->priv_data; in opus_metadata_init() 32 if (bsfc->par_out->extradata_size < 19) in opus_metadata_init() 35 AV_WL16(bsfc->par_out->extradata + 16, s->gain); in opus_metadata_init()
|
D | mpeg4_unpack_bframes_bsf.c | 148 static void mpeg4_unpack_bframes_close_flush(AVBSFContext *bsfc) in mpeg4_unpack_bframes_close_flush() argument 150 UnpackBFramesBSFContext *ctx = bsfc->priv_data; in mpeg4_unpack_bframes_close_flush()
|
D | avcodec.h | 4048 int av_bitstream_filter_filter(AVBitStreamFilterContext *bsfc,
|
/third_party/ffmpeg/libavformat/ |
D | mux.c | 1159 AVBSFContext *bsfc = st->internal->bsfc; local 1162 if ((ret = av_bsf_send_packet(bsfc, pkt)) < 0) { 1165 bsfc->filter->name, st->index); 1170 ret = av_bsf_receive_packet(bsfc, pkt); 1180 av_packet_rescale_ts(pkt, bsfc->time_base_out, st->time_base); 1205 if (st->internal->bsfc) { 1281 if (s->streams[i]->internal->bsfc) {
|
D | utils.c | 4433 av_bsf_free(&st->internal->bsfc); 5616 AVBSFContext *bsfc; local 5618 av_assert0(!st->internal->bsfc); 5625 if ((ret = av_bsf_alloc(bsf, &bsfc)) < 0) 5628 bsfc->time_base_in = st->time_base; 5629 if ((ret = avcodec_parameters_copy(bsfc->par_in, st->codecpar)) < 0) { 5630 av_bsf_free(&bsfc); 5634 if (args && bsfc->filter->priv_class) { 5635 const AVOption *opt = av_opt_next(bsfc->priv_data, NULL); 5641 if ((ret = av_opt_set_from_string(bsfc->priv_data, args, shorthand, "=", ":")) < 0) { [all …]
|
D | segment.c | 1003 st->internal->bsfc = ost->internal->bsfc; in seg_check_bitstream() 1004 ost->internal->bsfc = NULL; in seg_check_bitstream()
|
D | internal.h | 170 AVBSFContext *bsfc; member
|
D | avformat.h | 2975 AVBitStreamFilterContext *bsfc);
|
D | dashenc.c | 2329 st->internal->bsfc = ost->internal->bsfc; in dash_check_bitstream() 2330 ost->internal->bsfc = NULL; in dash_check_bitstream()
|