summaryrefslogtreecommitdiff
path: root/libavutil/mathematics.c
Commit message (Collapse)AuthorAge
* av_rescale: support passing MIN/MAX throughMichael Niedermayer2013-01-03
| | | | | Reviewed-by: Clément Bœsch <ubitux@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavu: add av_rescale_delta()Michael Niedermayer2012-10-27
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* mathemathics: update copyright yearsMichael Niedermayer2012-10-27
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge commit 'd5c62122a7b26704bf867a1262df358623bf5edf'Michael Niedermayer2012-10-13
|\ | | | | | | | | | | | | | | | | | | | | | | | | * commit 'd5c62122a7b26704bf867a1262df358623bf5edf': Move av_reverse table to libavcodec Conflicts: libavcodec/asvenc.c libavcodec/vble.c libavutil/common.h libavutil/mathematics.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Move av_reverse table to libavcodecDiego Biurrun2012-10-12
| | | | | | | | It is only used in that library.
* | Merge commit '930c9d4373e0f3cb7c64fcfc129127a309f6d066'Michael Niedermayer2012-10-13
|\| | | | | | | | | | | | | * commit '930c9d4373e0f3cb7c64fcfc129127a309f6d066': avutil: Duplicate ff_log2_tab instead of sharing it across libs Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avutil: Duplicate ff_log2_tab instead of sharing it across libsDiego Biurrun2012-10-12
| | | | | | | | | | The table is so small that the space gain is not worth the performance overhead of cross-library access.
* | Merge commit '9734b8ba56d05e970c353dfd5baafa43fdb08024'Michael Niedermayer2012-10-12
|\| | | | | | | | | | | | | | | | | | | | | * commit '9734b8ba56d05e970c353dfd5baafa43fdb08024': Move avutil tables only used in libavcodec to libavcodec. Conflicts: libavcodec/mathtables.c libavutil/intmath.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Move avutil tables only used in libavcodec to libavcodec.Diego Biurrun2012-10-11
| |
* | libavutil/mathematics: use av_assert()Michael Niedermayer2012-06-06
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-02-21
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (36 commits) adpcmenc: Use correct frame_size for Yamaha ADPCM. avcodec: add ff_samples_to_time_base() convenience function to internal.h adx parser: set duration mlp parser: set duration instead of frame_size gsm parser: set duration mpegaudio parser: set duration instead of frame_size (e)ac3 parser: set duration instead of frame_size flac parser: set duration instead of frame_size avcodec: add duration field to AVCodecParserContext avutil: add av_rescale_q_rnd() to allow different rounding pnmdec: remove useless .pix_fmts libmp3lame: support float and s32 sample formats libmp3lame: renaming, rearrangement, alignment, and comments libmp3lame: use the LAME default bit rate libmp3lame: use avpriv_mpegaudio_decode_header() for output frame parsing libmp3lame: cosmetics: remove some pointless comments libmp3lame: convert some debugging code to av_dlog() libmp3lame: remove outdated comment. libmp3lame: do not set coded_frame->key_frame. libmp3lame: improve error handling in MP3lame_encode_init() ... Conflicts: doc/APIchanges libavcodec/libmp3lame.c libavcodec/pcxenc.c libavcodec/pnmdec.c libavcodec/pnmenc.c libavcodec/sgienc.c libavcodec/utils.c libavformat/hls.c libavutil/avutil.h libswscale/x86/swscale_mmx.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avutil: add av_rescale_q_rnd() to allow different roundingJustin Ruggles2012-02-20
| |
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-06-29
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (21 commits) swscale: Add Doxygen for hyscale_fast/hScale. fate: enable lavfi-pixmt tests on big endian systems PPC: swscale: disable altivec functions for unsupported formats fate: merge identical pixdesc_be/le tests swscale: Add Doxygen for yuv2planar*/yuv2packed* functions. build: call texi2pod.pl with full path instead of symlink build: include sub-makefiles using full path instead of symlinks swscale: update big endian reference values after dff5a835. wavpack: skip blocks with no samples cosmetics: remove outdated comment that is no longer true build: replace some addprefix/addsuffix with substitution refs avutil: Remove unused arbitrary precision integer code. configure: Drop check for availability of ten assembler operands. aacenc: Save channel configuration for later use. aacenc: Fix codebook trellising for zeroed bands. swscale: change prototypes of scaled YUV output functions. swscale: re-add support for non-native endianness. swscale: disentangle yuv2rgbX_c_full() into small functions. swscale: split yuv2packed[12X]_c() remainders into small functions. swscale: split yuv2packedX_altivec in smaller functions. ... Conflicts: Makefile configure libavcodec/x86/dsputil_mmx.c libavfilter/Makefile libavformat/Makefile libavutil/integer.c libavutil/integer.h libswscale/swscale.c libswscale/swscale_internal.h libswscale/x86/swscale_template.c tests/ref/lavfi/pixdesc_le tests/ref/lavfi/pixfmts_scale Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avutil: Remove unused arbitrary precision integer code.Diego Biurrun2011-06-28
| |
| * Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* | av_compare_ts: Improve speed when calculations fit in 64bit.Michael Niedermayer2011-05-11
|/ | | | | about 110 cpu cycles before 60 cpu cycles afterwards. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Silence "comparison of unsigned expression >= 0 is always true" warning.Eli Friedman2010-07-03
| | | | | | Patch by Eli Friedman, eli d friedman a gmail Originally committed as revision 24022 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add av_compare_mod()Michael Niedermayer2010-06-09
| | | | Originally committed as revision 23551 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove explicit filename from Doxygen @file commands.Diego Biurrun2010-04-20
| | | | | | | | 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
* 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
* av_compare_ts()Michael Niedermayer2010-02-07
| | | | Originally committed as revision 21671 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move ff_reverse in libavcodec to av_reverse in libavutil.Francesco Lavra2009-11-09
| | | | | | Patch by Francesco Lavra, francescolavra interfree it Originally committed as revision 20484 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove all remaining code that was disabled through the major version bump.Diego Biurrun2009-03-09
| | | | Originally committed as revision 17903 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use full internal pathname in doxygen @file directives.Diego Biurrun2009-02-01
| | | | | | | 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
* spelling/grammar/consistency review part IDiego Biurrun2009-01-28
| | | | Originally committed as revision 16840 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add a ff_gcd() function again, for compatibility with old libavcodecAurelien Jacobs2009-01-27
| | | | Originally committed as revision 16814 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Directly #include a bunch of indirectly #included headers.Diego Biurrun2009-01-24
| | | | Originally committed as revision 16748 to svn://svn.ffmpeg.org/ffmpeg/trunk
* export gcd function as av_gcd()Aurelien Jacobs2009-01-17
| | | | Originally committed as revision 16653 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Faster ff_sqrt()Michael Niedermayer2008-01-21
| | | | Originally committed as revision 11586 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
* Allow compilation of test programs when TEST is defined.Diego Biurrun2008-01-08
| | | | Originally committed as revision 11473 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
* Replace most of the %lld and %llx by their (cleaner) PRI*64 counterparts.Steve L'Homme2006-11-01
| | | | | | patch by Steve Lhomme, slhomme divxcorp com Originally committed as revision 6868 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
* improve selftestMichael Niedermayer2006-05-29
| | | | Originally committed as revision 5424 to svn://svn.ffmpeg.org/ffmpeg/trunk
* extend range used for testing (larger range should work too but testing code ↵Michael Niedermayer2006-04-29
| | | | | | overflows) Originally committed as revision 5334 to svn://svn.ffmpeg.org/ffmpeg/trunk
* <= vs. >= 10l bugMichael Niedermayer2006-04-29
| | | | Originally committed as revision 5333 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add newline at end of fileMåns Rullgård2006-04-28
| | | | Originally committed as revision 5330 to svn://svn.ffmpeg.org/ffmpeg/trunk
* avoid AVInteger usage in av_rescaleMichael Niedermayer2006-04-23
| | | | | | | disable integer.* (unused) libavutil.a 45k -> 32k Originally committed as revision 5311 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Update licensing information: The FSF changed postal address.Diego Biurrun2006-01-12
| | | | Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk
* COSMETICS: Remove all trailing whitespace.Diego Biurrun2005-12-17
| | | | Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
* libavutil: Utility code from libavcodec moved to a separate library.Alexander Strasser2005-08-01
Originally committed as revision 4489 to svn://svn.ffmpeg.org/ffmpeg/trunk