Lukasz Marek
7336e39f3c
lavu/fifo: add av_fifo_alloc_array function
...
Allows to alloc fifo buffer by passing
number of elements and size of element.
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
11 years ago
Michael Niedermayer
acb6f3af4f
avutil/fifo: delay addition of const from 78d3453c4a
until next major ABI bump
...
This unbreaks API, for example audacity has more build errors due to this
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Lukasz Marek
351f6118c7
lavu/fifo: add av_fifo_freep function
...
Function allows to free fifo and reset freed pointer.
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
11 years ago
Lukasz Marek
78d3453c4a
lavu/fifo: add const to arguments
...
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Anton Khirnov
00ed7f5958
lavu: remove disabled FF_API_AV_FIFO_PEEK cruft
12 years ago
Martin Storsjö
1d9c2dc89a
Don't include common.h from avutil.h
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Michael Niedermayer
f8196759b4
fifo: add av_fifo_grow()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Stefano Sabatini
bf917e26e1
fifo: add note in av_fifo_realloc2() doxy regarding reallocation failure behavior
13 years ago
Diego Biurrun
fa19c5c20e
doxygen: drop another pointless star from pointer variable name
13 years ago
Stefano Sabatini
f2011ed234
fifo: add av_fifo_peek2(), and deprecate av_fifo_peek()
...
The new function provides a more generic interface than av_fifo_peek()
for peeking at a FIFO buffer data.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Diego Biurrun
0138a8dead
doxygen: drop pointless star from pointer variable names
13 years ago
Stefano Sabatini
323b930699
fifo: add av_fifo_peek2(), and deprecate av_fifo_peek()
...
The new function provides a more flexible interface for peeking at a
FIFO buffer data.
13 years ago
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Måns Rullgård
49bd8e4b84
Fix grammar errors in documentation
...
Originally committed as revision 23904 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
ba87f0801d
Remove explicit filename from Doxygen @file commands.
...
Passing an explicit filename to this command is only necessary if the
documentation in the @file block refers to a file different from the
one the block resides in.
Originally committed as revision 22921 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
b9bd6589d7
Clarify doxy for av_fifo_alloc().
...
Originally committed as revision 22812 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
2ed6f39944
Replace many includes of libavutil/common.h with what is actually needed
...
This reduces the number of false dependencies on header files and
speeds up compilation.
Originally committed as revision 22407 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
3314799368
Extend doxy for the src parameter of av_fifo_generic_write().
...
@patchby Tomas Härdin |tomas dot hardin at codemill dot se|
Originally committed as revision 22043 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Olivier Guilyardi
7b09db3522
Implement av_fifo_space().
...
Patch by Olivier Guilyardi list et samalyse DOT c0m.
Originally committed as revision 18321 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
3898eed890
Reorder arguments for av_fifo_generic_read to be more logical and
...
consistent with av_fifo_generic_write.
Originally committed as revision 17914 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
32b936d0c3
Add av_fifo_reset function to completely reset fifo state, which makes
...
it easier to reuse the fifo.
Originally committed as revision 17901 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
fe4032b66a
Remove more functions disabled by major version bump.
...
Originally committed as revision 17876 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
cddcf8c60f
Remove av_fifo_read, API is already broken and major version will be bumped soon.
...
Originally committed as revision 17870 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
41dd680dd8
Allocate AVFifoBuffer through the fifo API to reduce future API/ABI issues.
...
Yes this breaks ABI/API but ive already broken it and will bump avutil major
soon.
Originally committed as revision 17869 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
0a71e78ce4
Try to fix the 1 byte cannot be used issue.
...
Originally committed as revision 17865 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
bad5537e2c
Use full internal pathname in doxygen @file directives.
...
Otherwise doxygen complains about ambiguous filenames when files exist
under the same name in different subdirectories.
Originally committed as revision 16912 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
89c9ff504b
spelling/grammar/consistency review part I
...
Originally committed as revision 16840 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
5090122f90
Drop deprecated av_fifo_write function with the next libavutil version bump.
...
Originally committed as revision 16782 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
af5f434f8c
add the necessary include for LIBAV*_VERSION_*
...
Originally committed as revision 16571 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
987903826b
Globally rename the header inclusion guard names.
...
Consistently apply this rule: the guard name is obtained from the
filename by stripping the leading "lib", converting '/' and '.' to
'_' and uppercasing the resulting name. Guard names in the root
directory have to be prefixed by "FFMPEG_".
Originally committed as revision 15120 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
e8e2b2ef17
Deprecate av_fifo_realloc(). av_fifo_realloc2() should be used instead.
...
Originally committed as revision 14855 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
8257b835cf
Implement av_fifo_realloc2().
...
Originally committed as revision 14846 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
fa3b98182d
Ensure that one can store X bytes in a fifo of size X.
...
Fixed issue417.
Originally committed as revision 13405 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Måns Rullgård
7c43009358
add necessary #includes in headers
...
Originally committed as revision 13043 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Benoit Fouet
95c76e1180
cosmetics (by Björn Axelsson)
...
Originally committed as revision 12774 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Björn Axelsson
49cec1998a
Add a generic write function to av_fifo.
...
Patch by Björn Axelsson: bjorn axelsson intinor se
Original thread: [FFmpeg-devel] [RFC][PATCH] av_fifo_write_from_bytestream()
Date: 04/03/2008 12:14 PM
Originally committed as revision 12773 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
5b21bdabe4
Add FFMPEG_ prefix to all multiple inclusion guards.
...
Originally committed as revision 10765 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Måns Rullgård
99545457bf
include all prerequisites in header files
...
Originally committed as revision 9344 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
82ffe1919a
Improve Doxygen documentation, inspired by Michael's description.
...
Originally committed as revision 8187 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Dujardin Bernard
1faf7dc807
Doxygen documentation for all functions, patch by Dujardin Bernard,
...
dujardin.iut numericable fr with some further changes by me.
Originally committed as revision 8151 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
f5a90186d7
Add missing license headers.
...
Originally committed as revision 8149 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Roman Shaposhnik
f5a478f65d
* Moving FifoBuffer out of libavformat/avformat.h and
...
libavformat/utils.c into libavutil
Originally committed as revision 6310 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago