summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* tiff: do not overread the source bufferLuca Barbato2013-06-07
| | | | | | | At least 2 bytes from the source are read every loop. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* tiff: cleanup the error pathsLuca Barbato2013-06-07
| | | | Return the proper error values and optionally report them.
* tiff: refactor fax support in a separate functionLuca Barbato2013-06-07
|
* tiff: refactor deflate support in a separate functionLuca Barbato2013-06-07
| | | | Report when zlib support is missing.
* h264_parser: K&R formatting cosmeticsLuca Barbato2013-06-07
|
* vorbis: return meaningful errorsLuca Barbato2013-06-07
|
* Go2Webinar decoderKostya Shishkov2013-06-03
|
* vmd: decode videos with no LZ buffer size provided - they might not need itKostya Shishkov2013-06-02
| | | | | | The buffer is used for an additional pass of frame compression, so videos can be coded without ever using it (and some are coded so indeed, e.g. in Woodruff and the Schnibble of Azimuth game).
* vmd: fix mode 3 decodingKostya Shishkov2013-06-02
|
* tiff: K&R formatting cosmeticsDiego Biurrun2013-06-02
|
* use my full first name instead of short one in copyrightsKostya Shishkov2013-06-01
|
* indeo4: expand allowed quantiser rangeKostya Shishkov2013-06-01
| | | | | | | | Indeo 4 has quantiser range 0-31 instead of 0-23 for Indeo 5, and clipping quantiser leads to incorrect quantisation and DC prediction on low-quality videos. This fixes bug 259.
* proresenc: alpha coding supportKostya Shishkov2013-05-30
|
* arm: Include hpeldsp_neon.o if h264qpel is enabledMartin Storsjö2013-05-30
| | | | | | | | | A few of the h264qpel neon functions are shared with other hpeldsp functions in this file. This fixes standalone compilation of the h264 decoder on arm. Signed-off-by: Martin Storsjö <martin@martin.st>
* arm: Don't unconditionally build dsputil filesMartin Storsjö2013-05-30
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* arm: Only build the FFT init files if FFT is enabledMartin Storsjö2013-05-30
| | | | | | This fixes build errors in cases where FFT is disabled. Signed-off-by: Martin Storsjö <martin@martin.st>
* build: cosmetics: Place unconditional before conditional OBJS linesDiego Biurrun2013-05-30
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* build: arm: cosmetics: Place all OBJS declarations in alphabetical orderDiego Biurrun2013-05-30
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* vmd: drop incomplete chunks and spurious samplesLuca Barbato2013-05-29
| | | | | | | | Odd chunk size makes no sense for stereo and incomplete chunks are not supported. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* vmd: refactor the inner decode loopLuca Barbato2013-05-29
| | | | | | | | | 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-29
| | | | CC: libav-stable@libav.org
* vmd: use the PALETTE_COUNT constant uniformlyLuca Barbato2013-05-29
| | | | While at it drop useless parentheses.
* mpeg12: skip frames consistentlyJanne Grunau2013-05-28
| | | | | | | 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.
* wavpack: check that all the channels were coded.Anton Khirnov2013-05-28
|
* wavpack: check that there aren't too many blocks per packetAnton Khirnov2013-05-28
|
* wavpack: extract channel information from the bitstreamAnton Khirnov2013-05-28
| | | | | 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-28
| | | | | This way we don't require the caller to parse the block header. It also allows the sample rate to change mid-stream.
* indeo4: reuse context block VLC for band instead of defaultingKostya Shishkov2013-05-28
| | | | | | | | 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-28
| | | | | 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-28
|
* vc1dec: Remove interlaced warningMichael Niedermayer2013-05-28
| | | | | | 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-28
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* vc1dec: Match addressing between compensation and MC in vc1_mc_4mv_chroma4Michael Niedermayer2013-05-28
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* vc1dec: Handle top and bottom blocks in vc1_mc_4mv_chroma4() differently if ↵Michael Niedermayer2013-05-28
| | | | | | | | | | | 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-28
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* vc1dec: Drop old use_ic code from vc1_b_mcMichael Niedermayer2013-05-28
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* vc1: Use shuffled use_ic instead of equally shuffled mv_modeMichael Niedermayer2013-05-28
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* vc1dec: Implement intensity compensation for vc1_interp_mc()Michael Niedermayer2013-05-28
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* vc1dec: Redesign the intensity compensationMichael Niedermayer2013-05-28
| | | | | | | | | | | 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-28
| | | | | | | | | | | | 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>
* matroskadec: export full wavpack blocks.Anton Khirnov2013-05-28
| | | | | 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-28
| | | | | | | | 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-28
| | | | 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-28
| | | | The decoder always returns output if an error does not occur.
* wavpack: return an error on 0-sized blocksAnton Khirnov2013-05-28
| | | | Such blocks are not valid.
* wavpack: remove a useless check.Anton Khirnov2013-05-28
| | | | | | 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-28
|
* wavpack: return 0 instead of samples count from decoding functionsAnton Khirnov2013-05-28
| | | | | The caller never cares about the number of decoded samples, so this only confuses the reader.
* wavpack: switch to planar outputAnton Khirnov2013-05-28
| | | | This simplifies the code and makes it faster.
* wavpack: drop redundant if/else blocksAnton Khirnov2013-05-28
|