summaryrefslogtreecommitdiff
path: root/libavutil/crc.c
Commit message (Collapse)AuthorAge
* build: Split test programs off into separate filesDiego Biurrun2016-04-07
| | | | | This avoids spurious library rebuilds when only the test program code is changed and simplifies the build system.
* testprogs: K&R formatting cosmeticsDiego Biurrun2016-03-24
|
* crc: add ANSI CRC16 LEAlessandro Ghedini2014-04-17
| | | | | | This adds the reversed byte-order version of the ANSI CRC16. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* crc: Move static data table from header to .c fileDiego Biurrun2013-02-11
| | | | Having static data tables in header files is a potential source of trouble.
* Remove pointless #undefs of previously forbidden functions.Anton Khirnov2012-12-04
|
* crc: move doxy to the headerAnton Khirnov2012-11-02
|
* Code clean-up for crc.c, lfg.c, log.c, random_see.d, rational.c and tree.c.Yordan Makariev2011-12-03
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* crc: fix signed overflowMans Rullgard2011-10-09
| | | | | | | | This fixes a signed overflow from i << 24 when i == 255 by making i unsigned. The result of the shift is already assigned to an variable of unsigned type. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Add av_ prefix to bswap macrosMåns Rullgård2010-07-10
| | | | Originally committed as revision 24170 to svn://svn.ffmpeg.org/ffmpeg/trunk
* bswap: change ME to NE in macro namesMåns Rullgård2010-07-10
| | | | | | | 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
* Fix parameter name and position in av_crc_init Doxygen documentation.Diego Biurrun2010-07-02
| | | | Originally committed as revision 23981 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix grammar errors in documentationMåns Rullgård2010-06-30
| | | | Originally committed as revision 23904 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace many includes of libavutil/common.h with what is actually neededMåns Rullgård2010-03-09
| | | | | | | 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
* Fix cast of byte buffer to uint32 that was disregarding alignmentJeff Downs2009-06-12
| | | | | | | | | requirements. Now calculates crc byte at a time until aligned, then continues with uint32 optimized calculation. This fixes crashes during mlp decoding on sparc (at least, maybe others). Originally committed as revision 19160 to svn://svn.ffmpeg.org/ffmpeg/trunk
* spelling/grammar/consistency review part IIIDiego Biurrun2009-01-28
| | | | Originally committed as revision 16849 to svn://svn.ffmpeg.org/ffmpeg/trunk
* spelling/grammar/consistency review part IDiego Biurrun2009-01-28
| | | | Originally committed as revision 16840 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change semantic of CONFIG_*, HAVE_* and ARCH_*.Aurelien Jacobs2009-01-13
| | | | | | They are now always defined to either 0 or 1. Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add necessary, remove unnecessary #includes.Diego Biurrun2009-01-11
| | | | Originally committed as revision 16547 to svn://svn.ffmpeg.org/ffmpeg/trunk
* uses FF_ARRAY_ELEMS() where appropriateAurelien Jacobs2008-10-21
| | | | Originally committed as revision 15662 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Dont cast const away.Michael Niedermayer2008-02-01
| | | | Originally committed as revision 11700 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix a couple of 'return type defaults to int' and 'control reaches end ofDiego Biurrun2008-01-10
| | | | | | non-void function' warnings in test code. Originally committed as revision 11491 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix access to the last element of the table.Aurelien Jacobs2008-01-07
| | | | | | (size of the table vs. number of elements in the table) Originally committed as revision 11448 to svn://svn.ffmpeg.org/ffmpeg/trunk
* improve CRC APIAurelien Jacobs2008-01-04
| | | | | | | - don't export any global var - provide either generated or hardcoded tables Originally committed as revision 11409 to svn://svn.ffmpeg.org/ffmpeg/trunk
* main() --> main(void)Diego Biurrun2007-11-23
| | | | Originally committed as revision 11079 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Additional documentation for CRC functionsReimar Döffinger2007-08-20
| | | | Originally committed as revision 10151 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use defines instead of raw hex numbers to specify CRC polynomialsReimar Döffinger2007-08-19
| | | | Originally committed as revision 10143 to svn://svn.ffmpeg.org/ffmpeg/trunk
* kill 3 more av_mallocz_static()Michael Niedermayer2007-03-14
| | | | Originally committed as revision 8397 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change license headers to say 'FFmpeg' instead of 'this program/this library'Diego Biurrun2006-10-07
| | | | | | and fix GPL/LGPL version mismatches. Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add official LGPL license headers to the files that were missing them.Diego Biurrun2006-09-10
| | | | Originally committed as revision 6219 to svn://svn.ffmpeg.org/ffmpeg/trunk
* put the code which is specific for the large crc table under #ifndef ↵Michael Niedermayer2006-07-08
| | | | | | CONFIG_SMALL Originally committed as revision 5676 to svn://svn.ffmpeg.org/ffmpeg/trunk
* generic crc calculation codeMichael Niedermayer2006-03-06
Originally committed as revision 5115 to svn://svn.ffmpeg.org/ffmpeg/trunk