Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-06-03libavutil/fifo: Fix fifo grow stepJan Sebechlebsky
Fifo was reallocating always to twice of the requested size. This fixes it to reallocate to requested size, or twice of the original size - whichever is greater. Signed-off-by: Jan Sebechlebsky <sebechlebskyjan@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-05-11Merge commit 'd12b5b2f135aade4099f4b26b0fe678656158c13'Derek Buitenhuis
* commit 'd12b5b2f135aade4099f4b26b0fe678656158c13': build: Split test programs off into separate files Some conversions done by: James Almer <jamrial@gmail.com> Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-04-07build: Split test programs off into separate filesDiego Biurrun
This avoids spurious library rebuilds when only the test program code is changed and simplifies the build system.
2015-10-14avutil/fifo: add function av_fifo_generic_peek_at()Zhang Rui
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-10-13avutil/fifo: Fix thread saftey of av_fifo_generic_peek()Michael Niedermayer
changing the context state and restoring it is not safe if another thread writes data into the fifo Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-08-19avfilter: add showfreqs filterPaul B Mahol
2015-07-14avutil/fifo: Fix the case where func() returns less bytes than requested in ↵Zhang Rui
av_fifo_generic_write() Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2014-11-24avutil: remove FF_CONST_AVUTIL53, its no longer neededMichael Niedermayer
version is 54 already Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-05-20lavu/fifo: add av_fifo_alloc_array functionLukasz Marek
Allows to alloc fifo buffer by passing number of elements and size of element. Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
2014-05-14avutil/fifo: delay addition of const from ↵Michael Niedermayer
78d3453c4a2efef9bc079e8f3458653beafcf990 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>
2014-05-08lavu/fifo: add av_fifo_freep functionLukasz Marek
Function allows to free fifo and reset freed pointer. Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
2014-05-05lavu/fifo: add const to argumentsLukasz Marek
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-09-03avutil/fifo: assert that theres enough data in the fifo on drain calls.Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-07-07Merge commit '6516632967da5e6bd7d6136e8678f826669ed26e'Michael Niedermayer
* commit '6516632967da5e6bd7d6136e8678f826669ed26e': tests: Only run noproxy test if networking is enabled fifo: K&R formatting cosmetics Conflicts: libavformat/Makefile libavutil/fifo.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-07-06fifo: K&R formatting cosmeticsLuca Barbato
2012-12-05Merge commit 'cb45553f577f8e0ebfe05d3287e1b6fa5859b967'Michael Niedermayer
* commit 'cb45553f577f8e0ebfe05d3287e1b6fa5859b967': Remove pointless #undefs of previously forbidden functions. fate: Add dependencies for bmp, cdxl, dfa, mp3 Conflicts: doc/examples/muxing.c libavfilter/filtfmts.c libavutil/des.c libavutil/eval.c libavutil/log.c libavutil/parseutils.c tests/fate/mp3.mak Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-12-05Remove pointless #undefs of previously forbidden functions.Anton Khirnov
2012-05-15fifo: add av_fifo_grow()Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-12-23fifo: Make writes atomic.Michael Niedermayer
Prior to this a X bytes write could be seen as less than X bytes being available if the check was done at an unfortunate moment. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-08-27Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: fifo: add FIFO API test program, and fate test fifo: add av_fifo_peek2(), and deprecate av_fifo_peek() postprocess.c: filter name needs to be double 0 terminated doxygen: fix wrong comment syntax, //< vs. ///< doxygen: drop pointless star from pointer variable names Replace deprecated av_find_stream_info() by avformat_find_stream_info(). xmv: eliminate superfluous zeroing of zero data configure: fix typo in avconv dependency list Conflicts: configure doc/APIchanges libavutil/Makefile libavutil/avutil.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-08-26fifo: add FIFO API test program, and fate testStefano Sabatini
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-08-14fifo: return AVERROR(ENOMEM) rather -1 in av_fifo_realloc2()Stefano Sabatini
2011-08-14fifo: apply misc cosmetic fixesStefano Sabatini
2011-05-09fifo: use av_freep()Michael Niedermayer
With this change libavutil uses av_freep() everywhere where it makes sense. Remaining av_free() use in it has the used pointer become inaccessible quickly soo zeroing makes no sense. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-03-19Replace FFmpeg with Libav in licence headersMans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2010-02-23Clarify non constness of src in av_fifo_generic_write()Michael Niedermayer
Originally committed as revision 21997 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-03Implement av_fifo_space().Olivier Guilyardi
Patch by Olivier Guilyardi list et samalyse DOT c0m. Originally committed as revision 18321 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-09Reorder arguments for av_fifo_generic_read to be more logical andReimar Döffinger
consistent with av_fifo_generic_write. Originally committed as revision 17914 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-09Add av_fifo_reset function to completely reset fifo state, which makesReimar Döffinger
it easier to reuse the fifo. Originally committed as revision 17901 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-09indentMichael Niedermayer
Originally committed as revision 17897 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-08Remove more functions disabled by major version bump.Reimar Döffinger
Originally committed as revision 17876 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-08Replace all uses of the replaced av_fifo_read by av_fifo_generic_readReimar Döffinger
Originally committed as revision 17873 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-08Remove av_fifo_read, API is already broken and major version will be bumped ↵Reimar Döffinger
soon. Originally committed as revision 17870 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-08Allocate AVFifoBuffer through the fifo API to reduce future API/ABI issues.Michael Niedermayer
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
2009-03-08Comments to indicate where memory barriers may be needed.Michael Niedermayer
Originally committed as revision 17867 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-08Try to fix the 1 byte cannot be used issue.Michael Niedermayer
Originally committed as revision 17865 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-28spelling/grammar/consistency review part IDiego Biurrun
Originally committed as revision 16840 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-25Drop deprecated av_fifo_write function with the next libavutil version bump.Diego Biurrun
Originally committed as revision 16782 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-20Cosmetics: remove a redundant and misplaced doxy.Stefano Sabatini
Originally committed as revision 14856 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-20Deprecate av_fifo_realloc(). av_fifo_realloc2() should be used instead.Stefano Sabatini
Originally committed as revision 14855 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-19Implement av_fifo_realloc2().Stefano Sabatini
Originally committed as revision 14846 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-26Ensure that one can store X bytes in a fifo of size X.Michael Niedermayer
Fixed issue417. Originally committed as revision 13405 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-26Make av_fifo*_read() ignore the available amount of data.Michael Niedermayer
This is more efficient as in practice the check is redundant most of the time. Callers which do not know if enough data is available have to check it with av_fifo_size(). Doing the check in *read() means the caller has no choice to skip the check when its known to be redundant. Also the return value was never documented in a public header so changing it should not break the API. Besides this fixes the case where read() failed on a 100% full fifo. Originally committed as revision 13404 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-09cosmetics (by Björn Axelsson)Benoit Fouet
Originally committed as revision 12774 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-09Add a generic write function to av_fifo.Björn Axelsson
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
2007-01-18change while loops to do-while as the condition is true the first time and ↵Michael Niedermayer
the check just wastes cpu cycles Originally committed as revision 7576 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-17simpler branch structure in init (16 bytes smaller object file)Michael Niedermayer
Originally committed as revision 7575 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-17doxygenizeMichael Niedermayer
Originally committed as revision 7574 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-17avoid code duplicationMichael Niedermayer
Originally committed as revision 7573 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-17better to set things to NULL instead of random in case of out of memMichael Niedermayer
Originally committed as revision 7572 to svn://svn.ffmpeg.org/ffmpeg/trunk