summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* vc1: Make INIT_LUT() self containedMichael Niedermayer2013-05-15
| | | | | | | Move the local variables it uses into the macro, enclosing them in a do {} while (0) scope. Signed-off-by: Martin Storsjö <martin@martin.st>
* vc1: Simplify code by using INIT_LUT()Michael Niedermayer2013-05-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* vc1: Move INIT_LUT() further up to allow using it in more placesMichael Niedermayer2013-05-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* vc1dec: Remove some now unused variablesMartin Storsjö2013-05-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* vc1dec: Do not allow field_mode to change after the first headerMichael Niedermayer2013-05-15
| | | | | | | | This fixes out of array accesses. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Martin Storsjö <martin@martin.st>
* vc1, mss2: Check for any negative return value from ff_vc1_parse_frame_headerMartin Storsjö2013-05-15
| | | | | | | | This is required if we return other error codes than explicitly -1, which so far has been the only other possible return value besides 0. Signed-off-by: Martin Storsjö <martin@martin.st>
* vc1dec: Fix current ptr selection in vc1_mc_4mv_chroma()Michael Niedermayer2013-05-15
| | | | | | No sample tried shows a difference. Signed-off-by: Martin Storsjö <martin@martin.st>
* vc1dec: Factorize picture pointer selection in vc1_mc_4mv_chroma()Michael Niedermayer2013-05-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* vc1dec: Factorize picture pointer selection codeMichael Niedermayer2013-05-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* vc1dec: Factorize srcU/V offsetingMichael Niedermayer2013-05-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* vc1dec: Fix tff == 0 handling in init_block_index()Michael Niedermayer2013-05-15
| | | | | | This fixes several files from VLC ticket 5887. Signed-off-by: Martin Storsjö <martin@martin.st>
* vc1dec: Update destination pointers in context for fieldsMichael Niedermayer2013-05-15
| | | | | | | | | | | | | | | This replaces a large number of checks for the second field by fixing the pointers when they are setup. This should also fix I/BI field pictures. Changes checksums for vc1_sa10143, the file becomes slightly closer to what the reference decoder outputs. Based on "vc1dec: the second field is written wrong to the picture" by Sebastian Sandberg <sebastiand.sandberg@gmail.com>. Signed-off-by: Martin Storsjö <martin@martin.st>
* pixdesc: rename PIX_FMT_* flags to AV_PIX_FMT_FLAG_*Anton Khirnov2013-05-15
|
* jpeg2000dec: don't use deprecated PIX_FMT valuesAnton Khirnov2013-05-15
|
* lavfi: fix compatibility code for old vf_scale options syntaxAnton Khirnov2013-05-15
| | | | | Currently it would incorrectly trigger on a string that contains a '=' but does not contain a ':', e.g. flags=<flags>.
* avfiltergraph: simplify inserting conversion filters.Anton Khirnov2013-05-15
| | | | | There is now no need to explicitly pass 0:0 as width/height to scale, those are the defaults.
* Clarify output of av_get_bits_per_pixelKieran Kunhya2013-05-15
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* fate: update the mmf referenceLuca Barbato2013-05-14
| | | | Using Optional Data chunk introduced changes the hash.
* mmf: Write metadata into an Optional Data chunkYoshihisa Uchida2013-05-14
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* jpeg2000dec: Use correct printf length modifier for pointer differencesDiego Biurrun2013-05-14
| | | | | Also eliminate an unnecessary cast. Fixes the following warning: jpeg2000dec.c:1200:20: warning: format ‘%lX’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘long long unsigned int’
* vc1dec: Don't apply the loop filter on fieldsMartin Storsjö2013-05-14
| | | | | | | | Fixes read of uninitialized memory. Based on a patch by Michael Niedermayer. Signed-off-by: Martin Storsjö <martin@martin.st>
* vc1: implement frame interlaced b-frame header parsingHendrik Leppkes2013-05-14
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* vc1dec: Don't attempt error concealment on field picturesMichael Niedermayer2013-05-14
| | | | | | This is not implemented and doesn't work. Signed-off-by: Martin Storsjö <martin@martin.st>
* vc1dec: fieldtx is only valid for interlaced frame picturesSebastian Sandberg2013-05-14
| | | | | | The fieldtx_plane is not cleared for interlaced fields. Signed-off-by: Martin Storsjö <martin@martin.st>
* aacenc: Fix erasure of surround channelsClaudio Freire2013-05-14
| | | | | | | This was due to a miscomputation of s->cur_channel, which led to psy-based encoders using the psy coefficients for the wrong channel. Signed-off-by: Martin Storsjö <martin@martin.st>
* aacenc: Fix target bitrate for twoloop quantiser searchClaudio Freire2013-05-14
| | | | | | | This fixes a case where multichannel bitrate isn't accurately targetted by psy model alone, never achieving the target bitrate. Signed-off-by: Martin Storsjö <martin@martin.st>
* aacenc: Fix a rounding bug in aacpsy channel bitrate computationClaudio Freire2013-05-14
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* yadif: correct strides in filter_edges_16bitJames Darnley2013-05-14
| | | | | | | The C code treats the data as arrays of uint16_t so strides must not be in bytes but in pixels. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* yadif: restore speed of the C filtering codeJames Darnley2013-05-14
| | | | | | | | | | | | | | Always use the special filter for the first and last 3 columns (only). Changes made in 64ed397 slowed the filter to just under 3/4 of what it was. This commit restores the speed while maintaining identical output. For reference, on my Athlon64: 1733222 decicycles in old 2358563 decicycles in new 1727558 decicycles in this Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavc: Fix msvc compilation of utils.c with -WX (warnings treated as errors)Matt Wolenetz2013-05-14
| | | | | | This fixes https://bugzilla.libav.org/show_bug.cgi?id=514. Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Disable PIC for cygwin just as for win32/mingwMartin Storsjö2013-05-13
| | | | | | | | If this is explicitly disabled for win32/mingw, it should also be disabled for cygwin, for consistency and for the same reasons as for win32/mingw. Signed-off-by: Martin Storsjö <martin@martin.st>
* x86: dsputil: Rename dsputil_mmx.h --> dsputil_x86.hDiego Biurrun2013-05-12
| | | | The header is not (anymore) MMX-specific.
* x86: dsputil: Split inline assembly from init codeDiego Biurrun2013-05-12
| | | | Also remove some pointless comments.
* x86: dsputil: Refactor pixels16 wrapper functions with a macroDiego Biurrun2013-05-12
|
* configure: x86: Only enable cpunop on i686Diego Biurrun2013-05-12
| | | | | The assembler may insert nopl instructions for cpunop, which are not (universally) supported on i586 CPUs.
* configure: Rename cmov processor capability to i686Diego Biurrun2013-05-12
| | | | | The goal is to make the capapility slightly more general and have it cover the availability of the nopl instruction in addition to cmov.
* configure: Explicitly disable PIC when targeting win32/mingwMartin Storsjö2013-05-12
| | | | | | | | | | | | | | These platforms do not have any notion of PIC. On some compilers, enabling pic produces a number of warnings. This avoids trying to produce PIC loads in the ARM assembly - there are no relocation types in PE/COFF that correspond to BFD_RELOC_32_PCREL (R_ARM_REL32 in ELF). As a side-effect, this avoids enabling PIC on mingw64, getting rid of the warnings about PIC not having any effect on that platform. Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Use enable_weak when enabling picMartin Storsjö2013-05-12
| | | | | | | This allows it to be overridden, either by the user on the command line, or by other sections of the configure script. Signed-off-by: Martin Storsjö <martin@martin.st>
* indeo3: avoid writes without necessary alignment in copy_cell()Janne Grunau2013-05-10
| | | | | | | Cells starting at a position aligned to 8 pixels but wider than 4 blocks are copied with 3 blocks per loop. This creates problems on the next loop iterations since the routine copying 2 blocks requires the same alignment on some architectures like ARM NEON.
* x86: sbrdsp: implement SSE2 qmf_pre_shuffleChristophe Gisquet2013-05-10
| | | | | | | From 253 to 51 cycles on Arrandale and Win64. 44 cycles on SandyBridge. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* af_asyncts: fix offset calculationAnton Khirnov2013-05-10
| | | | | | | delta is in samples, not bytes. Also the sample format is not guaranteed to be planar. CC:libav-stable@libav.org
* avconv: use current syntax for the scale filterLuca Barbato2013-05-10
|
* mmf: K&R formatting cosmeticsLuca Barbato2013-05-09
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* x86: dsputil: Remove unused argument from QPEL_OP macroDiego Biurrun2013-05-08
|
* x86: vf_yadif: Remove stray dsputil_mmx #includeDiego Biurrun2013-05-08
|
* x86: dsputil: Move TRANSPOSE4 macro to the only place it is usedDiego Biurrun2013-05-08
|
* x86: dsputil: Move constant declarations into separate headerDiego Biurrun2013-05-08
|
* x86: dsputil: Group all assembly constants together in constants.cDiego Biurrun2013-05-08
|
* x86: dsputil: Move ff_pd assembly constants to the only place they are usedDiego Biurrun2013-05-08
|
* msvc: Move linker pragma from config.h to libavutil/internal.hMartin Storsjö2013-05-08
| | | | | | | This makes linking succeed for tools that include config.h but don't link to libavutil. Signed-off-by: Martin Storsjö <martin@martin.st>