summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* bgmc: Do not mark ff_bgmc_decode_init() as av_coldDiego Biurrun2013-05-05
| | | | The function is possibly called once per block.
* avcodec: Add av_cold attributes to end functions missing themDiego Biurrun2013-05-05
|
* avformat: Add av_cold attributes to init functions missing themDiego Biurrun2013-05-05
|
* configure: Check for getenvMartin Storsjö2013-05-04
| | | | | | | | | | | | | | | | When targeting the "windows store application" (metro) API subset (or the windows phone API subset), the getenv function isn't available. If it is unavailable, just define getenv to NULL. The check uses check_func_headers, since the function actually might exist in the libraries, but is hidden in the headers. The fallback is in config.h since msvc can't do -D defines with parameters on the command line, and it's used both within the libraries and the frontend applications (so a libavutil internal header wouldn't be enough). Signed-off-by: Martin Storsjö <martin@martin.st>
* swscale: Add av_cold attributes to init functions missing themDiego Biurrun2013-05-04
|
* avutil: Add av_cold attributes to init functions missing themDiego Biurrun2013-05-04
|
* lavfi: let gcc realign the stack on public graph driving functionsHendrik Leppkes2013-05-04
| | | | | | | | | | The functions which actually drive the filter graph by pushing frames through it need to ensure an aligned stack for SIMD functions. This fixes a crash in YADIF filter when using a mingw build in a MSVC application. Signed-off-by: Martin Storsjö <martin@martin.st>
* sctp: Add a note on why sctp_recvmsg and sctp_sendmsg have ff_-prefixesDiego Biurrun2013-05-04
|
* avs: Increase magic value score above file extension scoreDiego Biurrun2013-05-04
| | | | | This should fix misdetection of AVS files as AviSynth scripts when AviSynth support is enabled (Bugzilla #357).
* avformat: Add AVPROBE_SCORE_EXTENSION define and use where appropriateDiego Biurrun2013-05-04
|
* build: output-example: Add avutil to ELIBS in link commandDiego Biurrun2013-05-04
| | | | | | | | | output-example links against swscale, which depends on avutil. In standard configurations, by pure good luck, the libs before swscale pull in all of swscale's dependencies and linking succeeds. However, in some configurations like --disable-asm this is not the case and linking fails. Hardcode the dependency to avoid a more general Makefile refactoring.
* avresample: Add av_cold attributes to init functions missing themDiego Biurrun2013-05-04
|
* avfilter: Add av_cold attributes to init/uninit functionsDiego Biurrun2013-05-04
|
* avcodec: Add av_cold attributes to init functions missing themDiego Biurrun2013-05-04
|
* 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
|