comparison fifo.h @ 722:2f890bb12bbc libavutil

Implement av_fifo_space(). Patch by Olivier Guilyardi list et samalyse DOT c0m.
author stefano
date Thu, 02 Apr 2009 23:22:19 +0000
parents 4e9e0c52ed08
children 3d6e83a917d2
comparison
equal deleted inserted replaced
721:75c89362a6b1 722:2f890bb12bbc
60 * @return size 60 * @return size
61 */ 61 */
62 int av_fifo_size(AVFifoBuffer *f); 62 int av_fifo_size(AVFifoBuffer *f);
63 63
64 /** 64 /**
65 * Returns the amount of space in bytes in the AVFifoBuffer, that is the
66 * amount of data you can write into it.
67 * @param *f AVFifoBuffer to write into
68 * @return size
69 */
70 int av_fifo_space(AVFifoBuffer *f);
71
72 /**
65 * Feeds data from an AVFifoBuffer to a user-supplied callback. 73 * Feeds data from an AVFifoBuffer to a user-supplied callback.
66 * @param *f AVFifoBuffer to read from 74 * @param *f AVFifoBuffer to read from
67 * @param buf_size number of bytes to read 75 * @param buf_size number of bytes to read
68 * @param *func generic read function 76 * @param *func generic read function
69 * @param *dest data destination 77 * @param *dest data destination