summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* configure: add dependencies to lavfi .pc fileAnton Khirnov2013-05-071-1/+6
| | | | | | | The scale filter depends on sws, resample on lavr, and movie on lavf and lavc. Fixes Bug 502.
* configure: make avconv select (a)trim filtersAnton Khirnov2013-05-071-2/+2
| | | | They are now used for -ss/-t
* avconv: remove -deinterlaceAnton Khirnov2013-05-074-62/+1
| | | | | It is incompatible with refcounted frames and since it's been deprecated for a long time now, fixing it is not worth the effort.
* indeo3: use unaligned reads on reference blocks.Anton Khirnov2013-05-071-20/+20
| | | | | | | They are not guaranteed to be aligned. Fixes Bug 503. CC:libav-stable@libav.org
* jpeg2000dec: initialize static data just onceJanne Grunau2013-05-061-14/+18
|
* jpeg2000dec: cleanup properly after decoding errorsJanne Grunau2013-05-061-6/+7
| | | | Fixes memory leak in fate-redcode-demux.
* fate-jpeg2000-dcinema: force output to xyz12leJanne Grunau2013-05-061-1/+1
| | | | Fixes Fate tests on big-endian configs.
* vf_scale: add endianness conversion pixel format in query_formatsJanne Grunau2013-05-061-2/+4
|
* swscale: support endianness conversion for AV_PIX_FMT_XYZ12Janne Grunau2013-05-062-1/+4
|
* swscale: add support for endianness only conversionJanne Grunau2013-05-063-2/+20
| | | | Use bitfields in FormatEntry array to avoid wasting an int for each flag.
* pixdesc: add function to return pixel format with swapped endiannesJanne Grunau2013-05-063-1/+60
|
* swscale: Use alpha from the right row in yuva2rgba_cMartin Storsjö2013-05-061-6/+6
| | | | | | | | | | Every other pixel had the alpha channel taken from the wrong row. This fixes bug 504. CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* swscale: Remove unnecessary backslashesMartin Storsjö2013-05-061-8/+8
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* jpeg2000: Fix uninitialized data errors pointed out by valgrind/memcheckNicolas Bertrand2013-05-061-4/+13
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* x86: hpeldsp: Move avg_pixels8_x2_mmx() out of hpeldsp_rnd_template.cDiego Biurrun2013-05-065-25/+58
| | | | | The function is only instantiated once, so there is no point in keeping it in a template file.
* x86: hpeldsp: Only compile MMX hpeldsp code if MMX is enabledDiego Biurrun2013-05-061-2/+2
|
* x86: More specific ifdefs for dsputil/hpeldsp init functionsDiego Biurrun2013-05-062-16/+16
|
* wav: Always seek to an even offsetLuca Barbato2013-05-061-2/+8
| | | | | | | RIFF chunks are aligned to 16bit according to the specification. Bug-Id:500 CC:libav-stable@libav.org
* nut: use a define for the nut versionLuca Barbato2013-05-063-2/+4
| | | | Ease switching version in the future and make evident why that value.
* bgmc: Do not mark ff_bgmc_decode_init() as av_coldDiego Biurrun2013-05-051-2/+2
| | | | The function is possibly called once per block.
* avcodec: Add av_cold attributes to end functions missing themDiego Biurrun2013-05-057-10/+14
|
* avformat: Add av_cold attributes to init functions missing themDiego Biurrun2013-05-0510-12/+27
|
* configure: Check for getenvMartin Storsjö2013-05-041-0/+3
| | | | | | | | | | | | | | | | 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-043-10/+15
|
* avutil: Add av_cold attributes to init functions missing themDiego Biurrun2013-05-049-11/+20
|
* lavfi: let gcc realign the stack on public graph driving functionsHendrik Leppkes2013-05-042-4/+8
| | | | | | | | | | 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-041-4/+4
|
* avs: Increase magic value score above file extension scoreDiego Biurrun2013-05-041-1/+3
| | | | | 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-0436-53/+55
|
* build: output-example: Add avutil to ELIBS in link commandDiego Biurrun2013-05-041-1/+1
| | | | | | | | | 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-042-3/+4
|
* avfilter: Add av_cold attributes to init/uninit functionsDiego Biurrun2013-05-0411-17/+27
|
* avcodec: Add av_cold attributes to init functions missing themDiego Biurrun2013-05-0457-87/+161
|
* nut: K&R formatting cosmeticsLuca Barbato2013-05-041-137/+141
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* configure: Add basic valgrind-memcheck supportReinhard Tartler2013-05-042-2/+18
| | | | | | | | 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-041-1/+3
| | | | | 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-041-2/+2
| | | | In the default settings, both tools produce a lot of unhelpful noise.
* wav: return meaningful errorsLuca Barbato2013-05-031-9/+9
|
* silly typo fixesDiego Biurrun2013-05-0314-20/+21
|
* sbrdsp: Unroll and use integer operationsChristophe Gisquet2013-05-031-12/+27
| | | | | | | | | | | | 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-031-0/+25
| | | | | | 1410 cycles to 1148 on Arrandale/Win64 Signed-off-by: Diego Biurrun <diego@biurrun.de>
* x86: sbrdsp: Implement SSE2 qmf_deint_bflyChristophe Gisquet2013-05-032-0/+33
| | | | | | | | | | 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-031-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | 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-031-2/+3
| | | | | | | 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-033-0/+22
| | | | | 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-031-17/+11
| | | | | | 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-034-2/+86
|
* matroskaenc: cosmetics, reorder the #includesAnton Khirnov2013-05-031-9/+11
|
* vc1_parser: Set field_order.Masaki Tanaka2013-05-031-0/+5
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* mpegvideo_parser: Set field_order.Masaki Tanaka2013-05-031-0/+8
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
OpenPOWER on IntegriCloud