summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* nut: K&R formatting cosmeticsLuca Barbato2013-05-04
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* configure: Add basic valgrind-memcheck supportReinhard Tartler2013-05-04
| | | | | | | | With the parameter --valgrind-memcheck, the configure script sets reasonable defaults that can be overridden as explained in the documentation. The idea of using set_defaults is from Luca Barbato.
* build: normalize coverage.infoReinhard Tartler2013-05-04
| | | | | Without this, lcov sometimes misses to normalize paths that contain "/./". Also, ignore uninteresting hits in system headers.
* build: tune down the output of lcov/gcovReinhard Tartler2013-05-04
| | | | In the default settings, both tools produce a lot of unhelpful noise.
* wav: return meaningful errorsLuca Barbato2013-05-03
|
* silly typo fixesDiego Biurrun2013-05-03
|
* sbrdsp: Unroll and use integer operationsChristophe Gisquet2013-05-03
| | | | | | | | | | | | This patch can be controversial, by assuming floats are IEEE-754 and particular behaviour of the FPU will get in the way. Timing on Arrandale and Win32 (thus, x87 FPU is used in the reference). sbr_qmf_pre_shuffle_c: 115 to 76 sbr_neg_odd_64_c: 84 to 55 sbr_qmf_post_shuffle_c: 112 to 83 Signed-off-by: Diego Biurrun <diego@biurrun.de>
* sbrdsp: Unroll sbr_autocorrelate_cChristophe Gisquet2013-05-03
| | | | | | 1410 cycles to 1148 on Arrandale/Win64 Signed-off-by: Diego Biurrun <diego@biurrun.de>
* x86: sbrdsp: Implement SSE2 qmf_deint_bflyChristophe Gisquet2013-05-03
| | | | | | | | | | Sandybridge: 47 cycles Having a loop counter is a 7 cycle gain. Unrolling is another 7 cycle gain. Working in reverse scan is another 6 cycles. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* compat: msvc: Make sure the object files are included when linking staticallyMartin Storsjö2013-05-03
| | | | | | | | | | | | | | | | | | | | | | | | | | If building libav with -MD in the cflags (for making the MSVC compiler generate code for using a dynamically linked libc), the system headers that declare strtod, snprintf and vsnprintf declare the functions as imported from a DLL. To hook up wrappers of our own for these functions, the function names are defined to avpriv_*, so that the calling code within libav calls the wrappers instead. Since these functions are declared to be imported from DLLs, the calling code expects to load them from DLL import function pointers (creating references to _imp__avpriv_strtod instead of directly to avpriv_strtod). If the libav libraries are not built as DLLs, no such function pointers (as the calling code expects) are created. The linker can fix this up automatically in some cases (producing warnings LNK4217 and LNK4049), if the object files are already included. By telling the linker to try to include those symbols (without the _imp prefix as the calling code ends up using), we get the object files included, so that the linker can do the automatic fixup. This is done via config.h, so that all (or at least most) of the object files in our libraries force including the compat files, to make sure they are included regardless of what files from our static libraries actually are included. Signed-off-by: Martin Storsjö <martin@martin.st>
* id3v2: check for end of file while unescaping tagsLuca Barbato2013-05-03
| | | | | | | Prevent a serious out of buffer bound write. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC:libav-stable@libav.org
* avconv: do not send non-monotonous DTS to the muxers.Anton Khirnov2013-05-03
| | | | | Hack partially based on a commit by Michael Niedermayer <michaelni@gmx.at> Should fix (or work around) bug 458.
* avconv: improve -re implementationAnton Khirnov2013-05-03
| | | | | | Integrate the code in the packet reading function, instead of inserting sleeps in many places. This is simpler to follow and should work better.
* matroskaenc: add an option to put the index at the start of the fileAnton Khirnov2013-05-03
|
* matroskaenc: cosmetics, reorder the #includesAnton Khirnov2013-05-03
|
* vc1_parser: Set field_order.Masaki Tanaka2013-05-03
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* mpegvideo_parser: Set field_order.Masaki Tanaka2013-05-03
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avcodec: Add field order information to AVCodecParserContext.Masaki Tanaka2013-05-03
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* x86: float dsp: butterflies_float SSEChristophe Gisquet2013-05-03
| | | | | 97c -> 49c Some codecs could benefit from more unrolling, but AAC doesn't.
* lavf-regression: use -frames instead of -t for image testsAnton Khirnov2013-05-03
| | | | | -t 0.5 is 12.5 frames at 25 fps, which may round to either 12 or 13 on different platforms.
* lavc: schedule AVCodecContext.lowres for removal on next bump.Anton Khirnov2013-05-03
| | | | | It has been deprecated some time ago, but was forgotten during the last bump.
* configure: Don't do enable_deep_weak on disabled variablesMartin Storsjö2013-05-02
| | | | | | | | | | | | | This avoids cases where configure tries to weakly enable an item which actually is disabled, ending up still enabling dependencies of the item which itself is only enabled weakly. More concretely, the h264 decoder suggests error resilience, which is then enabled weakly (unless manually disabled). Previously, dsputil, which is a dependency of error resilience, was enabled even if error resilience wasn't enabled in the end. Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Use a different variable name in push/popvarMartin Storsjö2013-05-02
| | | | | | | | | The variable name 'var' is commonly used to iterate through arguments in other functions. When the pushvar function internally uses the variable 'var', it makes pushing/popping the variable 'var' not work as intended. Signed-off-by: Martin Storsjö <martin@martin.st>
* wav: K&R formatting cosmeticsLuca Barbato2013-05-02
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* aac: Remove aacpsy.h header, unused since 78e65cd7726Diego Biurrun2013-05-02
|
* cavs: Remove cavsdata.h header, unused since 88386feefdDiego Biurrun2013-05-02
|
* x86: dsputil: Move cavs and vc1-specific functions where they belongDiego Biurrun2013-05-02
|
* x86: dsputil: Move avg_pixels16_mmx() out of rnd_template.cDiego Biurrun2013-05-02
| | | | | The function does not do any rounding, so there is no point in keeping it in a round template file.
* x86: dsputil: Move avg_pixels8_mmx() out of rnd_template.cDiego Biurrun2013-05-02
| | | | | The function is only instantiated once, so there is no point in keeping it in a template file.
* x86: Move duplicated put_pixels{8|16}_mmx functions into their own fileDiego Biurrun2013-05-02
|
* id3v2: K&R formatting cosmeticsLuca Barbato2013-05-02
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* ppc: Only compile AltiVec FFT assembly when AltiVec is enabledDiego Biurrun2013-05-02
|
* avutil: doxy: Small clarification for av_buffer_create()Derek Buitenhuis2013-04-30
| | | | | | Explicitly saying it can't hurt. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* avcodec: doxy: Clarify how to use buf[] when implementing get_buffer2()Derek Buitenhuis2013-04-30
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* avcodec: doxy: Clarify what get_buffer2 must fill in buf[]Derek Buitenhuis2013-04-30
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* avformat: Drop unnecessary ff_ name prefixes from static functionsDiego Biurrun2013-04-30
|
* ppc: Drop unnecessary ff_ name prefixes from static functionsDiego Biurrun2013-04-30
|
* x86: Drop unnecessary ff_ name prefixes from static functionsDiego Biurrun2013-04-30
|
* arm: Drop unnecessary ff_ name prefixes from static functionsDiego Biurrun2013-04-30
|
* avcodec: Drop unnecessary ff_ name prefixes from static functionsDiego Biurrun2013-04-30
|
* ppc: More consistent arch initializationDiego Biurrun2013-04-30
|
* fft: Remove pointless #ifdefs around function declarationsDiego Biurrun2013-04-30
|
* ppc: Move AltiVec utility headers out of AltiVec ifdefsDiego Biurrun2013-04-30
| | | | | Now that the headers themselves have ifdef protection this is no longer necessary and more consistent with normal include handling.
* ppc: util_altivec: Surround AltiVec-related code by appropriate ifdefsDiego Biurrun2013-04-30
| | | | This prevents non-AltiVec-enabled compilers from choking.
* ppc: More consistent names for H.264 optimizations filesDiego Biurrun2013-04-30
|
* mpegaudiosp: More consistent names for ppc/x86 optimization filesDiego Biurrun2013-04-30
|
* avconv: make output -ss insert trim/atrim filters.Anton Khirnov2013-04-30
| | | | | This makes output -ss sample-accurate for audio and will allow further simplication in the future.
* avconv: make -t insert trim/atrim filters.Anton Khirnov2013-04-30
| | | | | | | | | This makes -t sample-accurate for audio and will allow further simplication in the future. Most of the FATE changes are due to audio now being sample accurate. In some cases a video frame was incorrectly passed with the old code, while its was over the limit.
* avconv_opt: allocate an OutputFile before the streams.Anton Khirnov2013-04-30
| | | | | This way OutputFile variables like recording time can be used when creating the streams.
* lavfi: add trim and atrim filters.Anton Khirnov2013-04-30
|