summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
...
* indeo4: Do not access missing reference MVLuca Barbato2013-07-13
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* ac3dec: Consistently use AC3_BLOCK_SIZE and sizeofMartin Storsjö2013-07-13
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* ac3dec: Increment channel pointers only once per channelMartin Storsjö2013-07-13
| | | | | | | | If the channel mapping map multiple output channels to one input channel, we should only increment the actual pointer once. Cc: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* jpeg2000: Remove unused passes array in Jpeg200Cblk structureNicolas Bertrand2013-07-13
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* jpeg2000: Initialize only once mqc arraysNicolas Bertrand2013-07-13
| | | | | | Improves decoding speed. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* dca: Respect the current limits in the downmixing capabilitiesLuca Barbato2013-07-12
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* dca: Error out on missing DSYNCLuca Barbato2013-07-12
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* pcm: always use codec->id instead of codec_idLuca Barbato2013-07-12
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* vdpau: use the correct namespace for the unionLuca Barbato2013-07-12
| | | | | | Vdp is used by libvdpau, use AVVDPAU as used for the rest. Reported-by: Alexis Ballier <aballier@gentoo.org>
* mlpdec: Do not set invalid context in read_restart_headerLuca Barbato2013-07-12
| | | | | | | | The faulty values rippled further down the codepath causing a hard-to-track segfault in the assembly code. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* mlpdsp: x86: Respect cpuflagsLuca Barbato2013-07-12
|
* pcx: Do not overread source buffer in pcx_rle_decodeLuca Barbato2013-07-12
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* pcx: K&R formatting cosmeticsLuca Barbato2013-07-12
|
* wmavoice: conceal clearly corrupted blocksLuca Barbato2013-07-10
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* wmavoice: use init_static_dataLuca Barbato2013-07-10
|
* wmavoice: return meaningful error codesLuca Barbato2013-07-10
|
* iff: Do not read over the source bufferLuca Barbato2013-07-10
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* iff: K&R formatting cosmeticsLuca Barbato2013-07-10
|
* qdm2: Conceal broken samplesLuca Barbato2013-07-09
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* qdm2: refactor joined stereo supportLuca Barbato2013-07-09
| | | | | | | qdm2 does support only two channels. Loop over the run once. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* adpcm: Write the correct number of samples for ima-dk4Luca Barbato2013-07-09
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* imc: Catch a division by zeroLuca Barbato2013-07-09
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* atrac3: Error on impossible encoding/channel combinationsLuca Barbato2013-07-09
| | | | | | | Joint stereo encoded mono is impossible. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* atrac3: set the getbits context the right buffer_endLuca Barbato2013-07-09
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* atrac3: fix error handlingLuca Barbato2013-07-09
| | | | | | | decode_tonal_components returns a proper AVERROR. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* qdm2: check and reset dithering index per channelLuca Barbato2013-07-07
| | | | | | | | Checking per subband would have the index exceed the dithering noise table size. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* qdm2: formatting cosmeticsLuca Barbato2013-07-07
| | | | | Apply the usual style plus drop few unnecessary return at the end of void functions.
* qdm2: use init_static_dataLuca Barbato2013-07-07
|
* vqavideo: check the versionLuca Barbato2013-07-07
| | | | | | | Prevent out of buffer write. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* vp8: Wait for prev_frame to parse segment_map before reading itRonald S. Bultje2013-07-07
| | | | | | | This fixes occasional failures of vp8-test-vector-010 with frame-level multithreading enabled. Signed-off-by: Martin Storsjö <martin@martin.st>
* kmvc: Clip pixel position to valid rangeLuca Barbato2013-07-06
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* kmvc: use fixed sized arrays in the contextLuca Barbato2013-07-06
| | | | | Avoid some boilerplate code to dynamically allocate and then free the buffers.
* bitstream_filter: K&R formatting cosmeticsLuca Barbato2013-07-05
|
* indeo: reject negative array indexesLuca Barbato2013-07-04
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* indeo: Cosmetic formattingLuca Barbato2013-07-04
| | | | Trim some overly long lines.
* indeo: Refactor ff_ivi_init_tiles and ivi_decode_blocksLuca Barbato2013-07-04
| | | | | Spin large and mostly self contained blocks into stand alone functions.
* indeo: Refactor ff_ivi_dec_huff_descLuca Barbato2013-07-04
| | | | Spare an indentation level.
* indeo: use a typedef for the mc function pointerLuca Barbato2013-07-04
|
* cabac: x86 version of get_cabac_bypassJason Garrett-Glaser2013-07-04
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* aic: use chroma scan tables while decoding luma component in progressive modeKostya Shishkov2013-07-04
| | | | | | For some unclear reason Apple decided to use the same scan tables for luma and chroma in the progressive mode while using different ones for luma in the interlaced mode.
* jpeg2000: Use the matching coding style struct for transform selectionMichael Niedermayer2013-07-02
| | | | | | | | Fixes a null pointer dereference. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* jpeg2000: Merge rescaling with interleaving in 9/7 IDWTMichael Niedermayer2013-07-02
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* jpeg2000: Optimize output sample conversionMichael Niedermayer2013-07-02
| | | | | | | | 67935 -> 29984 kcycles Reviewed-by: Nicolas BERTRAND <nicoinattendu@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* jpeg2000: Reset s->numX/Ytiles on tile deallocationMichael Niedermayer2013-07-02
| | | | | | Keep the structure fields more consistent after cleanup. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* jpeg2000: Optimize dequantizationMichael Niedermayer2013-07-02
| | | | | | | | | Float: 4700 -> 2700 cycles Integer: 4400 -> 2800 cycles (sandybridge i7) Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* jpeg2000: Do not assume a single tileMichael Niedermayer2013-07-02
| | | | | | In preparation of supporting multiple tiles. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* jpeg2000: Speed up jpeg2000_decode_tile()Michael Niedermayer2013-07-02
| | | | | | Skip processing bands with dimension set to 0. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* jpeg2000: Use EBCOT's CAUSAL and BYPASS mode in decode_cblk()Michael Niedermayer2013-07-02
| | | | | | Speed it up a bit. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* jpeg2000: Simplify jpeg2000_decode_packets()Michael Niedermayer2013-07-02
| | | | | | | | Raise PATCHWELCOME error in case of non-implemented progression order. Signed-off-by: Luca Barbato <lu_zero@gentoo.org> Signed-off-by: Nicolas Bertrand <nicoinattendu@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* jpeg2000: Do not crash on NULL node in tag_tree_decodeMichael Niedermayer2013-07-02
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>