aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* vmd: refactor the inner decode loopLuca Barbato2013-05-291-78/+82
| | | | | | | | | Simplify a little, assume empty frames are acceptable and do not pointlessly reinit the bytestream2 contexts using possibly wrong size values. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* vmd: return meaningful errorsLuca Barbato2013-05-291-12/+26
| | | | CC: libav-stable@libav.org
* vmd: use the PALETTE_COUNT constant uniformlyLuca Barbato2013-05-291-1/+1
| | | | While at it drop useless parentheses.
* doc: Mention the target_samples and ld variables for fate configsMartin Storsjö2013-05-291-0/+2
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* fate.sh: Allow specifying --as via a specific variableMartin Storsjö2013-05-292-0/+2
| | | | | | | This simplifies specifying a value containing spaces for this parameter. Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Don't pass -mthumb or -march= to MSVCMartin Storsjö2013-05-291-0/+2
| | | | | | | | | | | The modern MSVC for ARM always builds for thumb, and it can't be disabled. Also just use the default arch instead of trying to map the -march parameter to MSVC's -arch parameter (which only takes the values ARMv7VE and VFPv4). Signed-off-by: Martin Storsjö <martin@martin.st>
* mpeg12: skip frames consistentlyJanne Grunau2013-05-281-5/+13
| | | | | | | The decoder did not start predicted frames with missing references but called the end of frame handling on them anyway. This caused an assertion in the VA API HW accelorator since it tried to render a picture with uninitialized buffers.
* lavf: add a raw WavPack muxer.Anton Khirnov2013-05-285-3/+93
|
* apetag: add support for writing APE tagsAnton Khirnov2013-05-282-0/+61
| | | | This will be useful in the WavPack muxer.
* matroskaenc: support muxing WavPackAnton Khirnov2013-05-284-2/+85
|
* wvdec: split block header parsing into a separate fileAnton Khirnov2013-05-284-53/+145
| | | | It will be reused by other muxers and demuxers.
* lavf: rename wv.c to wvdec.cAnton Khirnov2013-05-282-1/+1
| | | | wv.c will be used for shared wavpack functions.
* wavpack: check that all the channels were coded.Anton Khirnov2013-05-281-0/+5
|
* wavpack: check that there aren't too many blocks per packetAnton Khirnov2013-05-281-0/+5
|
* wavpack: extract channel information from the bitstreamAnton Khirnov2013-05-281-17/+18
| | | | | This way we don't require the caller to parse the block header. It also allows the channel configuration to change mid-stream.
* wavpack: extract sample rate from the bitstreamAnton Khirnov2013-05-281-23/+43
| | | | | This way we don't require the caller to parse the block header. It also allows the sample rate to change mid-stream.
* configure: support gcc-4.8 instrumentationLuca Barbato2013-05-281-0/+10
| | | | | | | Since version 4.8 gcc sports asan and tsan integration that can be leveraged when hunting bugs. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* fate: Add a --target-samples path parameterMartin Storsjö2013-05-2845-648/+652
| | | | | | | This allows having the samples accessible via different paths on the target and on the host. Signed-off-by: Martin Storsjö <martin@martin.st>
* fate: Don't use files from SRC_PATH in the actual testsMartin Storsjö2013-05-283-4/+11
| | | | | | | | | If building out of tree, make sure the filter scripts are copied into the build tree before running tests. This makes sure that SRC_PATH doesn't need to exist on the remote system (or doesn't need to exist at the same path). Signed-off-by: Martin Storsjö <martin@martin.st>
* indeo4: reuse context block VLC for band instead of defaultingKostya Shishkov2013-05-281-3/+6
| | | | | | | | Currently if no custom block VLC is specified for band, a default block VLC will be used, while the global block VLC stored in the context should be used instead. This fixes decoding of one sample I have.
* indeo4: add missing Haar and slanted transformsKostya Shishkov2013-05-283-13/+294
| | | | | That involves fixing INV_HAAR4() macro and changing it to work with different input and output like INV_HAAR8() instead of in-place transform.
* dxtory v2 supportKostya Shishkov2013-05-282-23/+157
|
* vc1dec: Remove interlaced warningMichael Niedermayer2013-05-284-6/+2
| | | | | | Also add a note about the feature in the changelog. Signed-off-by: Martin Storsjö <martin@martin.st>
* vc1dec: Fix mixed field/frame intensity compensationMichael Niedermayer2013-05-281-26/+32
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* vc1dec: Match addressing between compensation and MC in vc1_mc_4mv_chroma4Michael Niedermayer2013-05-281-2/+2
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* vc1dec: Handle top and bottom blocks in vc1_mc_4mv_chroma4() differently if ↵Michael Niedermayer2013-05-281-21/+42
| | | | | | | | | | | needed Now it can use different references for those blocks and even use averaging. This fixes several chroma artifacts in several videos. Signed-off-by: Martin Storsjö <martin@martin.st>
* vc1dec: Fix doxy for vc1_mc_4mv_chroma4()Michael Niedermayer2013-05-281-1/+1
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* vc1dec: Drop old use_ic code from vc1_b_mcMichael Niedermayer2013-05-281-13/+0
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* vc1: Use shuffled use_ic instead of equally shuffled mv_modeMichael Niedermayer2013-05-281-11/+24
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* vc1dec: Implement intensity compensation for vc1_interp_mc()Michael Niedermayer2013-05-281-0/+25
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* vc1dec: Redesign the intensity compensationMichael Niedermayer2013-05-283-37/+107
| | | | | | | | | | | Use the intensity-compensated reference frame for subsequent fields/B-frames. Since we currently don't change the reference frame we have to maintain lookup tables for intensity compensation in the following dependent frames. Signed-off-by: Martin Storsjö <martin@martin.st>
* vc1dec: Shuffle field MVs after decoding, not beforeMichael Niedermayer2013-05-282-18/+4
| | | | | | | | | | | | This simplifies the code since copying MVs to the reference is not needed anymore (and maybe something about fixing artifacts). Also remove the unused mv_f_last. Fixes a small number of artifacts in black_screen_VC-1.mkv and several more artifacts in other videos. Signed-off-by: Martin Storsjö <martin@martin.st>
* smacker: assign video frame PTSKostya Shishkov2013-05-281-0/+1
|
* matroskadec: export full wavpack blocks.Anton Khirnov2013-05-282-40/+110
| | | | | This allows us to get rid of demuxer-specific hacks in the decoder and will allow streamcopy from matroska once we have a wavpack muxer.
* wavpack demuxer: export full wavpack blocks.Anton Khirnov2013-05-282-91/+56
| | | | | | | | Currently the demuxer shaves the blocks and exports only the information that is useful to the decoder. Exporting the blocks just as they are stored is simpler to understand and will make remuxing wavpack easier.
* wavpack: don't set sample format in init.Anton Khirnov2013-05-281-4/+1
| | | | We don't know whether it will be float until we look at the data.
* wavpack: remove a useless parameter from wavpack_decode_block().Anton Khirnov2013-05-281-5/+4
| | | | The decoder always returns output if an error does not occur.
* wavpack: return an error on 0-sized blocksAnton Khirnov2013-05-281-6/+1
| | | | Such blocks are not valid.
* wavpack: remove a useless check.Anton Khirnov2013-05-281-5/+0
| | | | | | Number of samples in the first block is checked to be strictly positive earlier in wavpack_decode_frame() and number of samples in all the other blocks is checked to be equal to the first one.
* wavpack: add an error message to a failure.Anton Khirnov2013-05-281-1/+4
|
* wavpack: return 0 instead of samples count from decoding functionsAnton Khirnov2013-05-281-15/+14
| | | | | The caller never cares about the number of decoded samples, so this only confuses the reader.
* wavpack: switch to planar outputAnton Khirnov2013-05-281-76/+44
| | | | This simplifies the code and makes it faster.
* wavpack: drop redundant if/else blocksAnton Khirnov2013-05-281-14/+2
|
* wavpack: remove the subframes codec capAnton Khirnov2013-05-281-1/+1
| | | | The decoder always consumes full packets.
* lavf: preserve side data when parsing packets.Anton Khirnov2013-05-281-0/+7
|
* smacker: add a clarification notice about audio decodingKostya Shishkov2013-05-281-0/+1
|
* configure: make jack depend on pthreadsAnton Khirnov2013-05-271-1/+1
|
* avconv: make -aspect work with streamcopyAnton Khirnov2013-05-272-12/+14
|
* matroskadec: silently skip CodecState element.Anton Khirnov2013-05-272-0/+2
| | | | | mkvmerge apparrently uses it for mpeg1/2 video, but it contains the same information as CodecPrivate, so it can be ignored.
* smacker: fix off-by-one error in palette expanding codeKostya Shishkov2013-05-271-1/+1
|