Lines Matching refs:frame_count
33 afq->frame_count = 0; in ff_af_queue_init()
38 if(afq->frame_count) in ff_af_queue_close()
39 … av_log(afq->avctx, AV_LOG_WARNING, "%d frames left in the queue on closing\n", afq->frame_count); in ff_af_queue_close()
46 … *new = av_fast_realloc(afq->frames, &afq->frame_alloc, sizeof(*afq->frames)*(afq->frame_count+1)); in ff_af_queue_add()
50 new += afq->frame_count; in ff_af_queue_add()
60 if(afq->frame_count && new[-1].pts >= new->pts) in ff_af_queue_add()
70 afq->frame_count++; in ff_af_queue_add()
82 if (afq->frame_count || afq->frame_alloc) { in ff_af_queue_remove()
86 if(!afq->frame_count) in ff_af_queue_remove()
91 for(i=0; nb_samples && i<afq->frame_count; i++){ in ff_af_queue_remove()
101 memmove(afq->frames, afq->frames + i, sizeof(*afq->frames) * (afq->frame_count - i)); in ff_af_queue_remove()
102 afq->frame_count -= i; in ff_af_queue_remove()
105 av_assert0(!afq->frame_count); in ff_af_queue_remove()