Lines Matching refs:avctx
28 av_cold void ff_af_queue_init(AVCodecContext *avctx, AudioFrameQueue *afq)
30 afq->avctx = avctx;
31 afq->remaining_delay = avctx->delay;
32 afq->remaining_samples = avctx->delay;
39 av_log(afq->avctx, AV_LOG_WARNING, "%d frames left in the queue on closing\n", afq->frame_count);
57 afq->avctx->time_base,
58 (AVRational){ 1, afq->avctx->sample_rate });
61 av_log(afq->avctx, AV_LOG_WARNING, "Queue input is backward in time\n");
87 av_log(afq->avctx, AV_LOG_WARNING, "Trying to remove %d samples, but the queue is empty\n", nb_samples);
89 *pts = ff_samples_to_time_base(afq->avctx, out_pts);
109 av_log(afq->avctx, AV_LOG_DEBUG, "Trying to remove %d more samples than there are in the queue\n", nb_samples);
112 *duration = ff_samples_to_time_base(afq->avctx, removed_samples);