summaryrefslogtreecommitdiffstats
path: root/libavutil/softfloat.h
Commit message (Collapse)AuthorAgeFilesLines
* avutil/softfloat: move av_sincos_sf() back to headerJames Almer2015-07-221-1/+48
| | | | | | | Fixes compilation of host tool aacps_fixed_tablegen Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec: Implementation of AAC_fixed_decoder (SBR-module)Djordje Pesut2015-07-201-0/+8
| | | | | | | Add fixed poind code. Signed-off-by: Nedeljko Babic <nedeljko.babic@imgtec.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* softfloat: make av_div_sf() inlineJames Almer2015-06-131-1/+1
| | | | | | | Removes a defined but not used warning on files including softfloat.h Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: James Almer <jamrial@gmail.com>
* avutil/softfloat: Move av_sf2double() to headerMichael Niedermayer2015-06-111-0/+6
| | | | | | It was not intended to be a static private function Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avutil/softfloat: Fix alternative implementation of av_normalize1_sf()Michael Niedermayer2015-06-051-1/+1
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avutil/softfloat: Fix alternative implementation of av_normalize_sf()Michael Niedermayer2015-06-051-1/+1
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avutil/softfloat: Move av_sincos_sf() from header to c fileMichael Niedermayer2015-06-051-48/+1
| | | | | | | The function is quite big and trigonometric functions should not really be used in speed critical code Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avutil/softfloat: Fix thresholds in av_normalize_sf()Michael Niedermayer2015-06-051-1/+1
| | | | | Found-by: Nedeljko Babic <Nedeljko.Babic@imgtec.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* libavutil/softfloat: Fix av_normalize1_sf bias.Nedeljko Babic2015-06-041-1/+1
| | | | | | | av_normalize1_sf doesn't properly address border case when mantis is exactly -0x40000000. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* libavutil/softfloat: Add functions.Nedeljko Babic2015-04-301-1/+92
| | | | | | | Functions av_gt_sf, av_sqrt_sf and av_sincos_sf added to softfloat Signed-off-by: Nedeljko Babic <nedeljko.babic@imgtec.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* libavutil/softfloat: Added av_normalize_sf in av_add_sfNedeljko Babic2015-04-301-2/+2
| | | | | | | | This will normalize sums for which mantissa is smaller than the lower boundary (needed for implementation of fixed point aac decoder). Signed-off-by: Nedeljko Babic <nedeljko.babic@imgtec.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* libavutil/softfloat: exponent adjusted for aac fixed point decNedeljko Babic2015-04-301-4/+4
| | | | | | | | Exponent usage and calculation in softfloat adjusted to the format used in implementation of fixed point aac decoder. Signed-off-by: Nedeljko Babic <nedeljko.babic@imgtec.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avutil/softfloat: document av_int2sf()Michael Niedermayer2015-04-251-0/+4
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* libavutil/softfloat: Change order of fields in SoftFloat structure.Nedeljko Babic2015-04-151-7/+7
| | | | | | | | | Softfloat will be used in implementation of AAC fixed point decoder. This change is needed in order to more easily integrate ffmpegs softfloat in already developed algorithm for AAC. Signed-off-by: Nedeljko Babic <nedeljko.babic@imgtec.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avutil/softfloat: Fix undefined shift in av_add_sf()Michael Niedermayer2014-10-101-2/+4
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avutil/softfloat: add some assertsMichael Niedermayer2014-10-091-0/+4
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avutil/softfloat: Fix dependence on signed overflow in av_normalize1_sf()Michael Niedermayer2014-10-091-1/+1
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* spelling/grammar/consistency review part IDiego Biurrun2009-01-281-9/+6
| | | | Originally committed as revision 16840 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Globally rename the header inclusion guard names.Stefano Sabatini2008-08-311-3/+3
| | | | | | | | | 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
* cosmetics: Fix two common typos: wont --> will not, lets --> let us.Diego Biurrun2008-07-241-1/+1
| | | | Originally committed as revision 14372 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add missing #include "common.h" to libavutil headersMåns Rullgård2008-03-191-0/+1
| | | | Originally committed as revision 12502 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reapply r12489: Add pure, const and malloc attributes to proper functionsZuxy Meng2008-03-191-9/+9
| | | | | | | in libavutil. Fix a compilation failure in r12489. Originally committed as revision 12498 to svn://svn.ffmpeg.org/ffmpeg/trunk
* revert r12489.Benoit Fouet2008-03-181-9/+9
| | | | Originally committed as revision 12490 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Pure, const and malloc attributes to libavutil.Zuxy Meng2008-03-181-9/+9
| | | | | | | | | Patch by Zuxy Meng: zuxy meng gmail com Original thread: [FFmpeg-devel] [PATCH] Pure, const and malloc attributes to libavutil Date: 03/18/2008 6:09 AM Originally committed as revision 12489 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add FFMPEG_ prefix to all multiple inclusion guards.Diego Biurrun2007-10-171-3/+3
| | | | Originally committed as revision 10765 to svn://svn.ffmpeg.org/ffmpeg/trunk
* license header consistency cosmeticsDiego Biurrun2007-07-051-1/+0
| | | | Originally committed as revision 9484 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add a comment to indicate which #endif belong to which #defineGuillaume Poirier2007-06-171-1/+1
| | | | Originally committed as revision 9356 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add multiple inclusion guards to headersMåns Rullgård2007-06-171-0/+5
| | | | Originally committed as revision 9345 to svn://svn.ffmpeg.org/ffmpeg/trunk
* include all prerequisites in header filesMåns Rullgård2007-06-161-0/+2
| | | | Originally committed as revision 9344 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change license headers to say 'FFmpeg' instead of 'this program/this library'Diego Biurrun2006-10-071-4/+6
| | | | | | and fix GPL/LGPL version mismatches. Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Exchange informal LGPL notice by official license header.Diego Biurrun2006-09-041-1/+18
| | | | Originally committed as revision 6164 to svn://svn.ffmpeg.org/ffmpeg/trunk
* floating point "emulation" codeMichael Niedermayer2006-08-081-0/+103
unused currently, but might come in handy for some fpu-less cpus Originally committed as revision 5955 to svn://svn.ffmpeg.org/ffmpeg/trunk
OpenPOWER on IntegriCloud