summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| * apetag: do not leak memory if avio_read() failsPaul B Mahol2012-02-23
| | | | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
| * apetag: propagate errors.Ronald S. Bultje2012-02-23
| | | | | | | | | | | | | | Fixes crashes if reading the tag value fails. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
| * SBR DSP x86: implement SSE sbr_hf_g_filtChristophe GISQUET2012-02-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Unrolling the main loop to process, instead of 4 elements: - 8: minor gain of 2 cycles (not worth the extra object size) - 2: loss of 8 cycles. Assigning STEP to a register is a loss. Output address (Y) is almost always unaligned. Timings: - C (32/64 bits): 117/109 cycles - SSE: 57 cycles Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
| * SBR DSP x86: implement SSE sbr_sum_square_sseChristophe GISQUET2012-02-23
| | | | | | | | | | | | | | | | | | | | | | | | | | The 32bits targets have been compiled with -mfpmath=sse for proper reference. sbr_sum_square C /32bits: 82c (unrolled)/102c C /64bits: 69c (unrolled)/82c SSE/32bits: 42c SSE/64bits: 31c Use of SSE4.1 dpps to perform the final sum is slower. Not unrolling to perform 8 operations in a loop yields 10 more cycles. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
| * SBR DSP: use intptr_t for the ixh parameter.Christophe GISQUET2012-02-23
| | | | | | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* | adpcmdec: fix "warning: array subscript is above array bounds"Michael Niedermayer2012-02-25
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | a64multienc: fix "warning: buf may be used uninitialized in this function"Michael Niedermayer2012-02-25
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | rmdec: fix "warning: format %d expects argument of type int, but argument 7 ↵Michael Niedermayer2012-02-25
| | | | | | | | | | | | has type int64_t" Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | mp3enc: fix "warning: best_bitrate_idx may be used uninitialized in this ↵Michael Niedermayer2012-02-25
| | | | | | | | | | | | function" Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | flvdec: fix "libavformat/flvdec.c:195:29: warning: variable size1 set but ↵Michael Niedermayer2012-02-25
| | | | | | | | | | | | not used" Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | fate: Overhaul WavPack coverageDerek Buitenhuis2012-02-25
| | | | | | | | | | | | | | | | WavPack has a comprehensive test suite, and a bunch of corner cases. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Revert "Set channel layout in flac decoder."Michael Niedermayer2012-02-24
| | | | | | | | | | | | | | | | | | | | This reverts commit 2ef2496cd19eb833f4ad22a5051c11be80d09598. Conflicts: libavcodec/Makefile Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Revert "Fix channel layout for some stereo flac files."Michael Niedermayer2012-02-24
| | | | | | | | This reverts commit d2ee3c913d6fec3cb8c0c1b67347007c7cd604e1.
* | proresenc_anatoliy: switch to encode2Michael Niedermayer2012-02-24
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | msvideo1enc: switch to encode2()Michael Niedermayer2012-02-24
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | j2kenc: switch to encode2Michael Niedermayer2012-02-24
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | flashsv2enc: switch to encode2()Michael Niedermayer2012-02-24
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-02-24
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (40 commits) swf: check return values for av_get/new_packet(). wavpack: Don't shift minclip/maxclip rtpenc: Expose the max packet size via an avoption rtpenc: Move max_packet_size to a context variable rtpenc: Add an option for not sending RTCP packets lavc: drop encode() support for video. snowenc: switch to encode2(). snowenc: don't abuse input picture for storing information. a64multienc: switch to encode2(). a64multienc: don't write into output buffer when there's no output. libxvid: switch to encode2(). tiffenc: switch to encode2(). tiffenc: properly forward error codes in encode_frame(). lavc: drop libdirac encoder. gifenc: switch to encode2(). libvpxenc: switch to encode2(). flashsvenc: switch to encode2(). Remove libpostproc. lcl: don't overwrite input memory. swscale: take first/lastline over/underflows into account for MMX. ... Conflicts: .gitignore Makefile cmdutils.c configure doc/APIchanges libavcodec/Makefile libavcodec/allcodecs.c libavcodec/libdiracenc.c libavcodec/libxvidff.c libavcodec/qtrleenc.c libavcodec/tiffenc.c libavcodec/utils.c libavformat/mov.c libavformat/movenc.c libpostproc/Makefile libpostproc/postprocess.c libpostproc/postprocess.h libpostproc/postprocess_altivec_template.c libpostproc/postprocess_internal.h libpostproc/postprocess_template.c libswscale/swscale.c libswscale/utils.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * swf: check return values for av_get/new_packet().Ronald S. Bultje2012-02-23
| | | | | | | | | | | | | | Prevents crashers when using the packet if allocation failed. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
| * wavpack: Don't shift minclip/maxclipDerek Buitenhuis2012-02-23
| | | | | | | | | | | | | | | | | | | | | | Since we are clipping before we shift the values to 16 or 32 bits, we should not shift the min/max clip values to compensate. Fixes 8 and 24 bit lossy decoding. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
| * rtpenc: Expose the max packet size via an avoptionMartin Storsjö2012-02-23
| | | | | | | | | | | | | | | | | | | | This allows opting for a lower MTU than what the AVIOContext indicated, and allows writing into outputs that don't indicate an MTU at all (such as plain files, which is useful for testing). This also allows querying for the MTU via the avoption. Signed-off-by: Martin Storsjö <martin@martin.st>
| * rtpenc: Move max_packet_size to a context variableMartin Storsjö2012-02-23
| | | | | | | | | | | | This is in preparation for exposing this via an avoption. Signed-off-by: Martin Storsjö <martin@martin.st>
| * rtpenc: Add an option for not sending RTCP packetsMartin Storsjö2012-02-23
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
| * lavc: drop encode() support for video.Anton Khirnov2012-02-23
| | | | | | | | | | All video encoders have been converted to encode2(), all new encoders should also use only encode2().
| * snowenc: switch to encode2().Anton Khirnov2012-02-23
| |
| * snowenc: don't abuse input picture for storing information.Anton Khirnov2012-02-23
| |
| * a64multienc: switch to encode2().Anton Khirnov2012-02-23
| | | | | | | | We have no decoder, so cannot test if the output is decodable.
| * a64multienc: don't write into output buffer when there's no output.Anton Khirnov2012-02-23
| |
| * libxvid: switch to encode2().Anton Khirnov2012-02-23
| |
| * tiffenc: switch to encode2().Anton Khirnov2012-02-23
| |
| * tiffenc: properly forward error codes in encode_frame().Anton Khirnov2012-02-23
| |
| * lavc: drop libdirac encoder.Anton Khirnov2012-02-23
| | | | | | | | | | Libschroedinger is the preferred way to encode dirac video now, it produces better output and has a nicer API.
| * gifenc: switch to encode2().Anton Khirnov2012-02-23
| |
| * libvpxenc: switch to encode2().Anton Khirnov2012-02-23
| |
| * flashsvenc: switch to encode2().Anton Khirnov2012-02-23
| |
| * Remove libpostproc.Diego Biurrun2012-02-23
| | | | | | | | | | | | | | | | This library does not fit into Libav as a whole and its code is just a maintenance burden. Furthermore it is now available as an external project, which completely obviates any reason to keep it around. URL: http://git.videolan.org/?p=libpostproc.git
| * lcl: don't overwrite input memory.Ronald S. Bultje2012-02-23
| | | | | | | | | | | | | | If the PNG filter is enabled, a PNG-style filter will run over the input buffer, writing into the buffer. Therefore, if no zlib compression was used, ensure that we copy into a temporary buffer, otherwise we overwrite user-provided input data.
| * swscale: take first/lastline over/underflows into account for MMX.Ronald S. Bultje2012-02-23
| | | | | | | | | | | | | | Fixes crashes for extremely large resizes (several 100-fold). Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
| * swscale: fix underflows in firstline calculations for extreme resizes.Ronald S. Bultje2012-02-23
| | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
| * swscale: fix overflows in filterPos[] calculation for large sizes.Ronald S. Bultje2012-02-23
| | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
| * libxavs: switch to encode2().Anton Khirnov2012-02-23
| |
| * libxavs: add an AVClass at the beginning of XavsContext.Anton Khirnov2012-02-23
| |
| * libxavs: split extradata writing out of encode_nals().Anton Khirnov2012-02-23
| | | | | | | | | | | | | | | | This is done in preparation for the following patch implementing encode2(). This commit is analogous to 05d699222dd5af4f5775f9890aa825ede05a144f for libx264.
| * ljpegenc: switch to encode2().Anton Khirnov2012-02-23
| |
| * truemotion2: error out if the huffman tree has no nodes.Ronald S. Bultje2012-02-23
| | | | | | | | | | | | | | | | This prevents crashers and errors further down when reading nodes in the empty tree. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
| * rtpenc: Add an error messageMartin Storsjö2012-02-23
| | | | | | | | | | | | Also return a proper error code. Signed-off-by: Martin Storsjö <martin@martin.st>
| * rtpenc: Allow packetizing H263 according to the old RFC 2190Martin Storsjö2012-02-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | According to newer RFCs, this packetization scheme should only be used for interfacing with legacy systems. Implementing this packetization mode properly requires parsing the full H263 bitstream to find macroblock boundaries (and knowing their macroblock and gob numbers and motion vector predictors). This implementation tries to look for GOB headers (which can be inserted by using -ps <small number>), but if the GOBs aren't small enough to fit into the MTU, the packetizer blindly splits packets at any offset and claims it to be a GOB boundary (by using Mode A from the RFC). While not correct, this seems to work with some receivers. Signed-off-by: Martin Storsjö <martin@martin.st>
| * rtpenc: Move the trailing comma into FF_RTP_FLAG_OPTSMartin Storsjö2012-02-23
| | | | | | | | | | | | This simplifies adding more flags to the macro. Signed-off-by: Martin Storsjö <martin@martin.st>
| * asv1enc: switch to encode2().Anton Khirnov2012-02-23
| |
| * libschroedingerenc: switch to encode2().Anton Khirnov2012-02-23
| |