summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* RV3/4 parser: remove unused variable 'off'Kostya Shishkov2011-08-17
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* Use parsers for RealVideo 3/4 to determine correct PTSKostya Shishkov2011-08-17
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* rv10/20: tell decoder to use edge emulationKostya Shishkov2011-08-17
| | | | | | | | This removes out-of-edge motion compensation artifacts (easily spotted green blocks in avplay, gray blocks in transcoding), for example here: http://samples.libav.org/samples/real/tv_watching_t1.rm Signed-off-by: Diego Biurrun <diego@biurrun.de>
* lavc: add avcodec_get_type() for mapping codec_id -> type.Anton Khirnov2011-08-16
|
* lavc: add audio flag to the 'b' option, deprecate 'ab'.Anton Khirnov2011-08-16
| | | | | | Its only reason for its existence was ffmpeg's inability to properly assign AVOptions to streams. Now this is not a problem anymore, so 'ab' should go.
* svq3: propagate codec memory allocation failure in context initDustin Brody2011-08-15
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* Fix NASM include directiveDave Yeo2011-08-15
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* dsputil_mmx: Honor HAVE_AMD3DNOWAlex Converse2011-08-15
|
* VC-1: fix reading of custom PAR.Reimar Döffinger2011-08-15
| | | | | | | Custom PAR num/denum are in 1-256 range. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> Signed-off-by: Diego Biurrun <diego@biurrun.de>
* mpeg12: remove repeat-field code disabled since May 2002Dustin Brody2011-08-15
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* aacenc: Fix number of coefficients used in a LFE channel.Nathan Caldwell2011-08-13
| | | | | | | | The spec states: * Only the lowest 12 spectral coefficients of any LFE may be non-zero We were using the 12 lowest *bands*.
* aacenc: Fix a segfault with grouped psymodel.Nathan Caldwell2011-08-13
| | | | | 10l: Forgot about TYPE_LFE being after TYPE_CPE. Which causes a segfault when encoding 5.1
* rv34: free+allocate buffer instead of reallocating it to preserve alignmentKostya Shishkov2011-08-12
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* h264: add missing brackets.Ronald S. Bultje2011-08-12
| | | | This caused failure of a few fate tests.
* Move x86util.asm from libavcodec/ to libavutil/.Ronald S. Bultje2011-08-12
| | | | This allows using it in swscale also.
* Move x86inc.asm to libavutil/.Ronald S. Bultje2011-08-12
| | | | This allows using it in libswscale/ also.
* libx264: Include hint for possible values for configuring libx264Reinhard Tartler2011-08-12
| | | | | | The output of the x264 commandline tool contains the most uptodate description of the possible values for the -preset, -tune and -profile options.
* Add weighted motion compensation for RV40 B-framesKostya Shishkov2011-08-11
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* RV3/4: calculate B-frame motion weights once per frameKostya Shishkov2011-08-11
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Move RV3/4-specific DSP functions into their own contextKostya Shishkov2011-08-11
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* mjpeg: propagate decode errors from ff_mjpeg_decode_sos and ff_mjpeg_decode_dqtDustin Brody2011-08-11
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* h264: notice memory allocation failureDustin Brody2011-08-11
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* ac3enc: add macros for option names to make them more understandable.Justin Ruggles2011-08-11
|
* ac3enc: fix 'channel_coupling' option to actually allow 'auto'.Justin Ruggles2011-08-11
| | | | Use 'auto' as the default value.
* cavs: fix some crashes with invalid bitstreamsMans Rullgard2011-08-10
| | | | | | | | | This removes all valgrind-reported invalid writes with one specific test file. Fixes http://www.ocert.org/advisories/ocert-2011-002.html Signed-off-by: Mans Rullgard <mans@mansr.com>
* ac3enc: clip coupling coordinates during calculationJustin Ruggles2011-08-10
| | | | | | This is faster than using the clip_coefficients() function. Also, clipping the coordinates before determining reuse is better since it will compare coordinates that are closer to their final encoded values.
* Remove incorrect info in documentation of AVCodecContext.bits_per_raw_sample.Justin Ruggles2011-08-10
| | | | bits_per_raw_sample is used in video as well, where sample_fmt is not used.
* lavc: fix parentheses placement in avcodec_open2().Baptiste Coudurier2011-08-10
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavc: make avcodec_init() static on next bump.Anton Khirnov2011-08-10
| | | | | It's called from avcodec_register() anyway, so there's no reason for it to be public.
* ac3enc: remove unneeded #includeJustin Ruggles2011-08-09
|
* ac3enc: restructure coupling coordinate reuse calculationJustin Ruggles2011-08-09
|
* ac3enc: allow new coupling coordinates to be sent independently for eachJustin Ruggles2011-08-09
| | | | channel.
* ac3enc: separate exponent bit counting from exponent grouping.Justin Ruggles2011-08-09
| | | | | | Move bit counting to the bit allocation function. Move exponent grouping to after bit allocation. This will allow for adjustment of bandwidth parameters during bit allocation without having to do exponent grouping multiple times.
* h264: propagate error return values for AV_LOG_ERROR-triggering eventsDustin Brody2011-08-09
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* aac: Don't attempt to output configure an invalid channel configuration.Alex Converse2011-08-09
|
* Pretty-print RV3/4 decoder sourceKostya Shishkov2011-08-09
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* Saner RV1/2 initialisation and RV2 header parsing.Kostya Shishkov2011-08-08
| | | | | | | | | Old version was based on lots of guesswork which had different hacks based on 32-bit version field instead of splitting it into major/minor/micro version. RV2 picture header parser also had a few places where it deviated from binary decoder. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* libx264: do not set pic quality if no frame is outputBaptiste Coudurier2011-08-08
| | | | | | Avoids uninitialized reads. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* libx264: add preset, tune, profile and fastfirstpass private optionsBaptiste Coudurier2011-08-08
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavc: fix misspelling in commentDustin Brody2011-08-05
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* aac: propagate error return values for AV_LOG_ERROR-triggering eventsDustin Brody2011-08-05
|
* h263dec: Fix asserts broken by the elimination of FF_COMMON_FRAME.Alex Converse2011-08-03
|
* cosmetics: remove some stray comments from AVCodec declarationsDiego Biurrun2011-08-03
|
* cosmetics: fix indentation/alignment in AVCodec declarationsDiego Biurrun2011-08-03
|
* arm: Avoid using the movw instruction needlesslyMåns Rullgård2011-08-03
| | | | | | This fixes building for ARM11 without Thumb2. Signed-off-by: Martin Storsjö <martin@martin.st>
* Move an int64_t down in MpegEncContextMartin Storsjö2011-08-03
| | | | | | | This allows using the same arm assembler offsets for both EABI and the mach-o ABI. Signed-off-by: Martin Storsjö <martin@martin.st>
* dct32: Add SSE2 ASM optimizationsVitor Sessak2011-08-02
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Correct chroma vector calculation for RealVideo 3.Kostya Shishkov2011-08-02
| | | | | | | Old version divided it wrong, which resulted in chroma drift (visible on FATE sample too as dirty trails left by clouds). Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avpacket: signal possibly corrupted packetsLuca Barbato2011-08-02
| | | | | | | Use AV_PKT_FLAG_CORRUPT flag to mark packets that might be incomplete or have errors. Formats that have a mean to validate their packets should use this flag to deliver such information instead of silently dropping the packets.
* mpeg4videodec: remove dead code that would have detected erroneous encodingDustin Brody2011-08-01
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>