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

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-02-16vlc/rl: Add ff_ prefix to the nonstatic symbolsMartin Storsjö
Signed-off-by: Martin Storsjö <martin@martin.st>
2011-12-22Drop ALT_ prefix from BITSTREAM_READER_LE name.Diego Biurrun
The prefix is a historic remnant that probably meant "alternative". Now that the A32 bitstream reader has been dropped it makes no sense anymore.
2011-12-18get_bits: remove LAST_SKIP_CACHE macroMans Rullgard
This macro is empty since the removal of the A32 bitstream reader. Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-12-17get_bits: remove strange/obsolete commentsMans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-12-17get_bits: whitespace (mostly) cosmeticsMans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-12-17get_bits: remove unnecessary #includesMans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-12-17get_bits: introduce safe bitreading to prevent overreads.Ronald S. Bultje
When turned on, H264/CAVLC gets ~15% (CVPCMNL1_SVA_C.264) slower for ultra-high-bitrate files, or ~2.5% (CVFI1_SVA_C.264) for lower-bitrate files. Other codecs are affected to a lesser extent because they are less optimized; e.g., VC-1 slows down by less than 1% (all on x86). The patch generated 3 extra instructions (cmp, cmovae and mov) per call to get_bits(). The performance penalty on ARM is within the error margin for most files, up to 4% in extreme cases such as CVPCMNL1_SVA_C.264. Based on work (for GCI) by Aneesh Dogra <lionaneesh@gmail.com>, and inspired by patch in Chromium by Chris Evans <cevans@chromium.org>.
2011-12-17get_bits: remove A32 variantMans Rullgard
The A32 bitstream reader variant is only used on ARMv5 and for Prores due to the larger bit cache this decoder requires. In benchmarks on ARMv5 (Marvell Sheeva) with gcc 4.6, the only statistically significant difference between ALT and A32 is a 4% advantage for ALT in FLAC decoding. There is thus no (longer) any reason to keep the A32 reader from this point of view. This patch adds an option to the ALT reader increasing the bit cache to 32 bits as required by the Prores decoder. Benchmarking shows no significant change in speed on Intel i7. Again, the A32 reader fails to justify its existence. Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-12-16get_bits: remove useless pointer castsMans Rullgard
These pointers are already of the correct type. Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-12-13doxygen: misc consistency, spelling and wording fixesDiego Biurrun
2011-07-02get_bits: remove x86 inline asm in A32 bitstream readerMans Rullgard
x86 does not use this variant so having inline asm there is pointless. Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-07-01cosmetics: fix some then/than typosDiego Biurrun
2011-05-28get_bits: add av_unused tag to cache variableMans Rullgard
This silences numerous compiler warnings from skip_bits(), where the cache variable is not used. Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-05-04get_bits: make cache unsigned to eliminate undefined signed overflow.Alex Converse
2011-03-19Replace FFmpeg with Libav in licence headersMans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-01-23get_bits: move tracing macros to end of fileMans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-01-23Sanitise get_bits macros, part 2Mans Rullgard
These whitespace changes improve the readability of the get_bits macros. Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-01-23Sanitise get_bits macros, part 1Mans Rullgard
Some of the macros in get_bits.h include a final semicolon, some do not. This removes these or adds do {} while(0) around the macros as appropriate and adds semicolons where needed in calling code. Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-01-23Remove "libmpeg2" bitstream readerMans Rullgard
Using the libmpeg2 reader causes errors in a multitude of places, including MPEG and H264 codecs. As the advantage of this reader is questionable, removing it seems the sensible course of action, especially considering the simplifications this allows elsewhere with the bit cache size increasing from 17 to 25 bits as minimum. Signed-off-by: Mans Rullgard <mans@mansr.com>
2010-07-11Add av_ prefix to bswap macrosMåns Rullgård
Originally committed as revision 24170 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-11bswap: change ME to NE in macro namesMåns Rullgård
Other parts of FFmpeg use NE (native endian) rather than ME (machine). This makes it consistent. Originally committed as revision 24169 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-20Remove explicit filename from Doxygen @file commands.Diego Biurrun
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
2010-02-22get/show_bits() can read up to MIN_CACHE_BITS bitsMåns Rullgård
The limit for get/show_bits_long() to use get/show_bits() directly should be MIN_CACHE_BITS, not 17. Originally committed as revision 21951 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-22Deobfuscate LE SHOW_[SU]BITS; these are simple sign/zero-extendMåns Rullgård
Originally committed as revision 21948 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-18Move NEG_[US]SR32 macros to mathops.hMåns Rullgård
Originally committed as revision 21873 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-18get_bits: Fix spelling and grammar in GET_VLC() comment.Alex Converse
Originally committed as revision 21868 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-24Mark index as unsigend so gcc knows it doesnt need a sign extension on x86_64.Michael Niedermayer
Any tips on how i can convince gcc that it doesnt need a mov %eax, %eax in every get_bits() ? Originally committed as revision 21433 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-24Added missing const to get_bits_count().Laurent Aimar
Originally committed as revision 21419 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-22ARM: use ALT_BITSTREAM_READER on cores with fast unaligned accessMåns Rullgård
Originally committed as revision 20911 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-10Make get_bits_left() available for use in libavcodec (was previously heldRonald S. Bultje
private in dv.c for some reason). See "[PATCH] get_bits_left()" thread. Originally committed as revision 20490 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-09Move ff_reverse in libavcodec to av_reverse in libavutil.Francesco Lavra
Patch by Francesco Lavra, francescolavra interfree it Originally committed as revision 20484 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-24Completely remove INIT_VLC_USE_STATIC, it is deprecated since ages andReimar Döffinger
finally no longer used anywhere. Originally committed as revision 20013 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-11Fix a typo in the documentation.Lars Täuber
Patch by Lars Täuber: firstname taeuber gmx net Originally committed as revision 19820 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-08Try to clarify that anyone using get_bits must check for buffer overrunReimar Döffinger
themselves, get_bits does not do anything in that regard. Originally committed as revision 19794 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-13Rename bitstream.h to get_bits.h.Stefano Sabatini
Originally committed as revision 18494 to svn://svn.ffmpeg.org/ffmpeg/trunk