Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
Dlibvorbisenc.c47 AVFifoBuffer *pkt_fifo; /**< output packet buffer */ member
197 av_fifo_freep(&s->pkt_fifo); in libvorbis_encode_close()
273 s->pkt_fifo = av_fifo_alloc(BUFFER_SIZE); in libvorbis_encode_init()
274 if (!s->pkt_fifo) { in libvorbis_encode_init()
329 if (av_fifo_space(s->pkt_fifo) < sizeof(ogg_packet) + op.bytes) { in libvorbis_encode_frame()
333 av_fifo_generic_write(s->pkt_fifo, &op, sizeof(ogg_packet), NULL); in libvorbis_encode_frame()
334 av_fifo_generic_write(s->pkt_fifo, op.packet, op.bytes, NULL); in libvorbis_encode_frame()
347 if (av_fifo_size(s->pkt_fifo) < sizeof(ogg_packet)) in libvorbis_encode_frame()
350 av_fifo_generic_read(s->pkt_fifo, &op, sizeof(ogg_packet), NULL); in libvorbis_encode_frame()
354 av_fifo_generic_read(s->pkt_fifo, avpkt->data, op.bytes, NULL); in libvorbis_encode_frame()