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
2017-11-06avutil/softfloat: Add FLOAT_MINMichael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-06-05avutil/softfloat: Fix sign error in and improve documentation of av_int2sf()Michael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-05-07avutil/softfloat: Fix overflow in av_div_sf()Michael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-05-06avutil/softfloat: Fix multiple runtime error: left shift of negative value -8Michael Niedermayer
Fixes: 1352/clusterfuzz-testcase-minimized-5757565017260032 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-05-02avutil/softfloat: use ldexp(), fixes undefined shiftMichael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-11-25softfloat: decrease MIN_EXP to cover full float rangeAndreas Cadhalpun
floats are not necessarily normalized, so a normalized softfloat needs MIN_EXP lowered by 23 to cover that range. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2016-11-15softfloat: handle -INT_MAX correctlyAndreas Cadhalpun
This is similar to commit 9ac61e73d0843ec4b83f4e3d47eded73234e406e. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2016-05-29avutil/softfloat: Improve doxy for av_sub_sf() and av_sf2int()Michael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-05-28avutil/softfloat: Document public constants and a few public functionsMichael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-12-11avutil/softfloat: Assert that the exponent did not overflow the legal range ↵Michael Niedermayer
in av_normalize1_sf() Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-11-10avutil/softfloat: use abort() instead of av_assert0(0)James Almer
Fixes compilation of host tool aacps_fixed_tablegen. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
2015-11-08softfloat: handle INT_MIN correctly in av_int2sfAndreas Cadhalpun
Otherwise v=INT_MIN doesn't get normalized and thus triggers av_assert2 in other functions. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2015-11-08softfloat: assert when the argument of av_sqrt_sf is negativeAndreas Cadhalpun
The correct result can't be expressed in SoftFloat. Currently it returns a random value from an out of bounds read. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2015-11-08avutil/softfloat: Fix av_gt_sf() with large exponents try #2Michael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-11-08avutil/softfloat: Fix overflows in shifts in av_cmp_sf() and av_gt_sf()Michael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-11-08avutil/softfloat: Fix exponent underflow in av_div_sf()Michael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-11-08avutil/softfloat: Fix exponent underflow in av_mul_sf()Michael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-11-08avutil/softfloat: Fix typo in av_mul_sf() doxyMichael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-11-08Revert "avutil/softfloat: Check for MIN_EXP in av_sqrt_sf()"Michael Niedermayer
This case should not be possible if the input has a exponent within the valid range This reverts commit 0269fb11e3de17375f86d9120599af8c87cdfa0a.
2015-11-08avutil/softfloat: Check for MIN_EXP in av_sqrt_sf()Michael Niedermayer
Otherwise the exponent could eventually underflow Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-11-08avutil/softfloat: Correctly set the exponent for 0.0 in av_sqrt_sf()Michael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-11-08avutil/softfloat: FLOAT_0 should use MIN_EXPMichael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-07-23avutil/softfloat: move av_sincos_sf() back to headerJames Almer
Fixes compilation of host tool aacps_fixed_tablegen Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
2015-07-20avcodec: Implementation of AAC_fixed_decoder (SBR-module)Djordje Pesut
Add fixed poind code. Signed-off-by: Nedeljko Babic <nedeljko.babic@imgtec.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-06-14softfloat: make av_div_sf() inlineJames Almer
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>
2015-06-11avutil/softfloat: Move av_sf2double() to headerMichael Niedermayer
It was not intended to be a static private function Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-06-05avutil/softfloat: Fix alternative implementation of av_normalize1_sf()Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-06-05avutil/softfloat: Fix alternative implementation of av_normalize_sf()Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-06-05avutil/softfloat: Move av_sincos_sf() from header to c fileMichael Niedermayer
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>
2015-06-05avutil/softfloat: Fix thresholds in av_normalize_sf()Michael Niedermayer
Found-by: Nedeljko Babic <Nedeljko.Babic@imgtec.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-06-04libavutil/softfloat: Fix av_normalize1_sf bias.Nedeljko Babic
av_normalize1_sf doesn't properly address border case when mantis is exactly -0x40000000. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-04-30libavutil/softfloat: Add functions.Nedeljko Babic
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>
2015-04-30libavutil/softfloat: Added av_normalize_sf in av_add_sfNedeljko Babic
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>
2015-04-30libavutil/softfloat: exponent adjusted for aac fixed point decNedeljko Babic
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>
2015-04-25avutil/softfloat: document av_int2sf()Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-04-15libavutil/softfloat: Change order of fields in SoftFloat structure.Nedeljko Babic
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>
2014-10-10avutil/softfloat: Fix undefined shift in av_add_sf()Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-10-09avutil/softfloat: add some assertsMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-10-09avutil/softfloat: Fix dependence on signed overflow in av_normalize1_sf()Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2009-01-28spelling/grammar/consistency review part IDiego Biurrun
Originally committed as revision 16840 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-31Globally rename the header inclusion guard names.Stefano Sabatini
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
2008-07-24cosmetics: Fix two common typos: wont --> will not, lets --> let us.Diego Biurrun
Originally committed as revision 14372 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-19add missing #include "common.h" to libavutil headersMåns Rullgård
Originally committed as revision 12502 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-19Reapply r12489: Add pure, const and malloc attributes to proper functionsZuxy Meng
in libavutil. Fix a compilation failure in r12489. Originally committed as revision 12498 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-18revert r12489.Benoit Fouet
Originally committed as revision 12490 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-18Pure, const and malloc attributes to libavutil.Zuxy Meng
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
2007-10-17Add FFMPEG_ prefix to all multiple inclusion guards.Diego Biurrun
Originally committed as revision 10765 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05license header consistency cosmeticsDiego Biurrun
Originally committed as revision 9484 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-17add a comment to indicate which #endif belong to which #defineGuillaume Poirier
Originally committed as revision 9356 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-17add multiple inclusion guards to headersMåns Rullgård
Originally committed as revision 9345 to svn://svn.ffmpeg.org/ffmpeg/trunk