Home
last modified time | relevance | path

Searched refs:bufqueue (Results 1 – 4 of 4) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dopusenc.c45 struct FFBufQueue bufqueue; member
125 cur = ff_bufqueue_get(&s->bufqueue); in celt_frame_setup_input()
138 cur = ff_bufqueue_get(&s->bufqueue); in celt_frame_setup_input()
140 cur = ff_bufqueue_peek(&s->bufqueue, 0); in celt_frame_setup_input()
551 ff_bufqueue_add(avctx, &s->bufqueue, av_frame_clone(frame)); in opus_encode_frame()
566 … int pad_empty = s->packet.frames*(frame_size/s->avctx->frame_size) - s->bufqueue.available + 1; in opus_encode_frame()
575 ff_bufqueue_add(avctx, &s->bufqueue, empty); in opus_encode_frame()
623 ff_bufqueue_discard_all(&s->bufqueue); in opus_encode_end()
680 ff_bufqueue_add(avctx, &s->bufqueue, spawn_empty_frame(s)); in opus_encode_init()
681 if (!ff_bufqueue_peek(&s->bufqueue, 0)) in opus_encode_init()
[all …]
Dopusenc_psy.h59 struct FFBufQueue *bufqueue; member
102 struct FFBufQueue *bufqueue, OpusEncOptions *options);
Dopusenc_psy.c90 AVFrame *cur = ff_bufqueue_peek(s->bufqueue, index - i); in step_collect_psy_metrics()
95 AVFrame *cur = ff_bufqueue_peek(s->bufqueue, index + i); in step_collect_psy_metrics()
517 struct FFBufQueue *bufqueue, OpusEncOptions *options) in ff_opus_psy_init() argument
525 s->bufqueue = bufqueue; in ff_opus_psy_init()
Dvorbisenc.c120 struct FFBufQueue bufqueue; member
1074 cur = ff_bufqueue_get(&venc->bufqueue); in move_audio()
1108 ff_bufqueue_add(avctx, &venc->bufqueue, clone); in vorbis_encode_frame()
1113 need_more = venc->bufqueue.available * avctx->frame_size < frame_size; in vorbis_encode_frame()
1120 if (venc->bufqueue.available * avctx->frame_size < frame_size) { in vorbis_encode_frame()
1121 int frames_needed = (frame_size/avctx->frame_size) - venc->bufqueue.available; in vorbis_encode_frame()
1129 ff_bufqueue_add(avctx, &venc->bufqueue, empty); in vorbis_encode_frame()
1261 ff_bufqueue_discard_all(&venc->bufqueue); in vorbis_encode_close()