RingBuffer 72 libavformat/async.c RingBuffer ring; RingBuffer 83 libavformat/async.c static int ring_init(RingBuffer *ring, unsigned int capacity, int read_back_capacity) RingBuffer 85 libavformat/async.c memset(ring, 0, sizeof(RingBuffer)); RingBuffer 94 libavformat/async.c static void ring_destroy(RingBuffer *ring) RingBuffer 99 libavformat/async.c static void ring_reset(RingBuffer *ring) RingBuffer 105 libavformat/async.c static int ring_size(RingBuffer *ring) RingBuffer 110 libavformat/async.c static int ring_space(RingBuffer *ring) RingBuffer 115 libavformat/async.c static int ring_generic_read(RingBuffer *ring, void *dest, int buf_size, void (*func)(void*, void*, int)) RingBuffer 131 libavformat/async.c static int ring_generic_write(RingBuffer *ring, void *src, int size, int (*func)(void*, void*, int)) RingBuffer 137 libavformat/async.c static int ring_size_of_read_back(RingBuffer *ring) RingBuffer 142 libavformat/async.c static int ring_drain(RingBuffer *ring, int offset) RingBuffer 180 libavformat/async.c RingBuffer *ring = &c->ring; RingBuffer 330 libavformat/async.c RingBuffer *ring = &c->ring; RingBuffer 385 libavformat/async.c RingBuffer *ring = &c->ring;