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
2015-12-02avcodec/mpegaudio_tablegen: Add (), fix fateMichael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-12-02avcodec/mpegaudio_tablegen: more dynamic table creation speedupsGanesh Ajjanagadde
This further speeds up runtime initialization, with identical generated tables. Sample benchmark (x86-64, Haswell, GNU/Linux): old: 34441423 decicycles in mpegaudio_tableinit, 8192 runs, 0 skips new: 10776291 decicycles in mpegaudio_tableinit, 8192 runs, 0 skips Most low hanging fruit is taken care of here. For some idea, note that 83,064 array elements totalling 233,722 bytes need to be initialized. Thus, with this patch, we average ~ 12.9 cycles per element or ~ 4.6 cycles per byte. Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
2015-12-02avcodec/mpegaudio_tablegen: speed up dynamic table creationGanesh Ajjanagadde
This does some miscellaneous stuff mainly avoiding the usage of pow to achieve significant speedups. This is not speed critical, but is unnecessary latency and cycles wasted for a user. All tables tested and are identical to the old ones (bit-exact even in floating point case). Sample benchmark (x86-64, Haswell, GNU/Linux): old: 102329530 decicycles in mpegaudio_tableinit, 1 runs, 0 skips new: 34111900 decicycles in mpegaudio_tableinit, 1 runs, 0 skips Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
2014-08-31Add av_cold to table generation functions.Reimar Döffinger
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
2013-10-24avcodec/mpegaudio_tablegen: fix build with hardcoded tablesMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-10-22libavcodec/mpegaudio_tablegen: clip value before castingMichael Niedermayer
Avoids FPE on alpha Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-10-15avcodec/mpegaudio_tablegen: remove dead branchMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-10-15avcodec: improve precission for cbrtf() emulationMichael Niedermayer
cbrtf() took floats but it represented 1/3 exactly and even if not more precission should be better in theory for the table generation Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-10-15mpegaudio_tablegen: Don't use llrintDerek Buitenhuis
You cannot count on it being present on all systems, and you cannot include libm.h in a host tool, so just hard code a baseline implementation. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2013-10-15tablegen: Don't use cbrtf in host toolsDerek Buitenhuis
You cannot count on them being present on all systems, and you cannot include libm.h in a host tool, so just hard code baseline implementations. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2012-08-02mpegaudio_tablegen: try to fix hardcoded tablesMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-08-02mp3dec: adjust IMDCT scaling to avoid overflowsMichael Niedermayer
Fixes ticket268 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-22Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: ffmpeg: get rid of the -vglobal option. dct32: Add AVX implementation of 32-point DCT dct32: Change pass 6 permutation to allow for AVX implementation dct32: port SSE 32-point DCT to YASM multiple inclusion guard cleanup avio: document buffer must created with av_malloc() and friends avio: check AVIOContext malloc failure swscale: point out an alternative to sws_getContext svq3: Do initialization after parsing the extradata add changelog entries for 0.7_beta2 mp3lame: add #include required for AV_RB32 macro. Conflicts: Changelog libavcodec/svq3.c libavcodec/x86/dct32_sse.c libavfilter/vsrc_buffer.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-21multiple inclusion guard cleanupDiego Biurrun
Add missing multiple inclusion guards; clean up #endif comments; add missing library prefixes; keep guard names consistent.
2011-05-18Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: Fix compilation of iirfilter-test. libx264: handle closed GOP codec flag lavf: remove duplicate assignment in avformat_alloc_context. lavf: use designated initializers for AVClasses. flvdec: clenup debug code asfdec: fix possible overread on broken files. asfdec: do not fall back to binary/generic search asfdec: reindent after previous commit c7bd5ed asfdec: fallback to binary search internally mpegaudio: add _fixed suffix to some names Modify x86util.asm to ease transitioning to 10-bit H.264 assembly. dct: build dct32 as separate object files qdm2: include correct header for rdft Conflicts: ffpresets/libx264-fast.ffpreset ffpresets/libx264-fast_firstpass.ffpreset ffpresets/libx264-faster.ffpreset ffpresets/libx264-faster_firstpass.ffpreset ffpresets/libx264-medium.ffpreset ffpresets/libx264-medium_firstpass.ffpreset ffpresets/libx264-placebo.ffpreset ffpresets/libx264-placebo_firstpass.ffpreset ffpresets/libx264-slow.ffpreset ffpresets/libx264-slow_firstpass.ffpreset ffpresets/libx264-slower.ffpreset ffpresets/libx264-slower_firstpass.ffpreset ffpresets/libx264-superfast.ffpreset ffpresets/libx264-superfast_firstpass.ffpreset ffpresets/libx264-ultrafast.ffpreset ffpresets/libx264-ultrafast_firstpass.ffpreset ffpresets/libx264-veryfast.ffpreset ffpresets/libx264-veryfast_firstpass.ffpreset ffpresets/libx264-veryslow.ffpreset ffpresets/libx264-veryslow_firstpass.ffpreset libavformat/flvdec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-17mpegaudio: add _fixed suffix to some namesMans Rullgard
This adds a _fixed suffix to the fixed-point versions of things with both float and fixed-point variants. This makes it more consistent with other dual-implementation things, e.g. fft. Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-05-10Merge remote branch 'qatar/master'Michael Niedermayer
* qatar/master: mpegaudiodec: group #includes more sanely mpegaudio: remove #if 0 blocks ffmpeg.c: reset avoptions after each input/output file. ffmpeg.c: store per-output stream sws flags. mpegaudio: remove CONFIG_MPEGAUDIO_HP option mpegtsenc: Clear st->priv_data when freeing it udp: Fix receiving RTP data over multicast rtpproto: Remove an unused variable regtest: fix wma tests NOT pulled: mpegaudio: remove CONFIG_AUDIO_NONSHORT regtest: separate flags for encoding and decoding Conflicts: ffmpeg.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-09mpegaudio: remove CONFIG_MPEGAUDIO_HP optionMans Rullgard
The low quality mode is off by default and never tested. The high quality mode is also plenty fast enough. Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-03-19Replace FFmpeg with Libav in licence headersMans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2010-06-21mathematics.h no longer needs config.h, so update tablegen code andReimar Döffinger
documentation to use it where appropriate. Originally committed as revision 23680 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-11float based mp1/mp2/mp3 decoders.Michael Niedermayer
Originally committed as revision 23095 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-26Revert "Add required header #include to fix 'make checkheaders'."Måns Rullgård
config.h must not be included in that file. The table generator runs on the host system, but config.h describes the target. Originally committed as revision 20620 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-26cosmetics: K&R style, prettyprintingDiego Biurrun
Originally committed as revision 20619 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-26Add required header #include to fix 'make checkheaders'.Diego Biurrun
Originally committed as revision 20612 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-08Remove unused variable.Michael Niedermayer
1l for me if it wherent sunday and i could buy cola. Originally committed as revision 20477 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-07Simpliy exp*table init, based on patch by reimar.Michael Niedermayer
Originally committed as revision 20470 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-28Fix out-of-tree builds with --enable-hardcoded-tablesReimar Döffinger
Originally committed as revision 20404 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-2810l, fix incorrect endif comment.Reimar Döffinger
Originally committed as revision 20401 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-28Add support for hardcoding the mpegaudiodec tables.Reimar Döffinger
Reduces .bss size by about 194 kB. Originally committed as revision 20400 to svn://svn.ffmpeg.org/ffmpeg/trunk