Mercurial > libavutil.hg
comparison fifo.h @ 686:b084f8cd043f libavutil
Remove more functions disabled by major version bump.
author | reimar |
---|---|
date | Sun, 08 Mar 2009 15:02:12 +0000 |
parents | cb5d78a798ac |
children | 91216685a7ae |
comparison
equal
deleted
inserted
replaced
685:634bcf10f5df | 686:b084f8cd043f |
---|---|
62 * @param *func generic read function | 62 * @param *func generic read function |
63 * @param *dest data destination | 63 * @param *dest data destination |
64 */ | 64 */ |
65 int av_fifo_generic_read(AVFifoBuffer *f, int buf_size, void (*func)(void*, void*, int), void* dest); | 65 int av_fifo_generic_read(AVFifoBuffer *f, int buf_size, void (*func)(void*, void*, int), void* dest); |
66 | 66 |
67 #if LIBAVUTIL_VERSION_MAJOR < 50 | |
68 /** | |
69 * Writes data into an AVFifoBuffer. | |
70 * @param *f AVFifoBuffer to write to | |
71 * @param *buf data source | |
72 * @param size data size | |
73 */ | |
74 attribute_deprecated void av_fifo_write(AVFifoBuffer *f, const uint8_t *buf, int size); | |
75 #endif | |
76 | |
77 /** | 67 /** |
78 * Feeds data from a user-supplied callback to an AVFifoBuffer. | 68 * Feeds data from a user-supplied callback to an AVFifoBuffer. |
79 * @param *f AVFifoBuffer to write to | 69 * @param *f AVFifoBuffer to write to |
80 * @param *src data source | 70 * @param *src data source |
81 * @param size number of bytes to write | 71 * @param size number of bytes to write |
85 * indicate no more data available to write. | 75 * indicate no more data available to write. |
86 * If func is NULL, src is interpreted as a simple byte array for source data. | 76 * If func is NULL, src is interpreted as a simple byte array for source data. |
87 * @return the number of bytes written to the FIFO | 77 * @return the number of bytes written to the FIFO |
88 */ | 78 */ |
89 int av_fifo_generic_write(AVFifoBuffer *f, void *src, int size, int (*func)(void*, void*, int)); | 79 int av_fifo_generic_write(AVFifoBuffer *f, void *src, int size, int (*func)(void*, void*, int)); |
90 | |
91 #if LIBAVUTIL_VERSION_MAJOR < 50 | |
92 /** | |
93 * Resizes an AVFifoBuffer. | |
94 * @param *f AVFifoBuffer to resize | |
95 * @param size new AVFifoBuffer size in bytes | |
96 * @see av_fifo_realloc2() | |
97 */ | |
98 attribute_deprecated void av_fifo_realloc(AVFifoBuffer *f, unsigned int size); | |
99 #endif | |
100 | 80 |
101 /** | 81 /** |
102 * Resizes an AVFifoBuffer. | 82 * Resizes an AVFifoBuffer. |
103 * @param *f AVFifoBuffer to resize | 83 * @param *f AVFifoBuffer to resize |
104 * @param size new AVFifoBuffer size in bytes | 84 * @param size new AVFifoBuffer size in bytes |