summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* mpegts: Move scan test to handle_packetsZohar Kelrich2011-08-02
| | | | | | | | This fixes an issue where packets which start being read while reading the header stick around after a seek. Signed-off-by: Zohar Kelrich <lumimies@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mpegts: Mark corrupted packetsZohar Kelrich2011-08-02
| | | | | Signed-off-by: Zohar Kelrich <lumimies@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mpegts: Reset continuity counter on seekZohar Kelrich2011-08-02
| | | | | Signed-off-by: Zohar Kelrich <lumimies@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mpegts: Fix for continuity counterZohar Kelrich2011-08-02
| | | | | | | | Make continuity counter respect discontinuity flag and null packets. Unpack the adaptation_field_control field. Signed-off-by: Zohar Kelrich <lumimies@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mpegts: Silence "can't seek" warning on unseekableZohar Kelrich2011-08-02
| | | | | | | | Do not try to seek when we already know we are not allowed to. Silences warning that always happens when streaming. Signed-off-by: Zohar Kelrich <lumimies@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* apichange: add an entry for AV_PKT_FLAG_CORRUPTLuca Barbato2011-08-02
|
* 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>
* aac: Remove some suspicious illegal memcpy()s from LTP.Alex Converse2011-08-01
|
* bink: Eliminate unnecessary shadow declaration.Alex Converse2011-08-01
|
* Remove the ffserver test.Anton Khirnov2011-08-01
| | | | It doesn't work and is therefore useless.
* Remove ffserver.hAnton Khirnov2011-08-01
| | | | It's unused an serves no purpose.
* lavc: Deprecate unused FF_ER_VERY_AGGRESSIVEDustin Brody2011-07-31
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* x11grab: add show_region AVOption.Yu-Jie Lin2011-07-31
| | | | | | | Draw the current grabbing region for indication. Signed-off-by: Yu-Jie Lin <livibetter@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* x11grab: add follow_mouse AVOption.Yu-Jie Lin2011-07-31
| | | | | | | | | -follow_mouse centered|PIXELS move grabbing region to where mouse pointer at the center; or only move when pointer reaches within PIXELS to the edge. Signed-off-by: Yu-Jie Lin <livibetter@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* Do not convert RGB buffer at once when stride does not fit exact samples.Kostya Shishkov2011-07-30
| | | | | | | | | | | When converting RGB format to RGB format with the same bits per sample, unscaled path performs conversion on the whole buffer at once. For non-multiple-of-16 BGR24 to RGB24 conversion it means that padding at the end of line will be converted too. Since it may be of arbitrary length (e.g. 8 bytes), operating on the whole buffer produces obviously wrong results. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* build: make examples build normallyLuca Barbato2011-07-30
| | | | The link target was missing $(EXAMPLES)
* mxfdec: Include FF_INPUT_BUFFER_PADDING_SIZE when allocating extradata.Alex Converse2011-07-29
| | | | This prevents out of bounds reads when extradata is being decoded.
* H.264: tweak some other x86 asm for AtomJason Garrett-Glaser2011-07-29
|
* probe: Fix insane flow control.Alex Converse2011-07-29
| | | | A loop control variable was shadowed inside the loop and never updated.
* mpegts: remove invalid error checkMike Williams2011-07-29
| | | | | | | | mpegts_read_header is used by both mpegts and mpegtsraw, so this erro check is no longer valid. Signed-off-by: Mike Williams <mike@mikebwilliams.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* s302m: use nondeprecated audio sample format APIDustin Brody2011-07-29
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavc: use designated initialisers for all codecs.Anton Khirnov2011-07-29
| | | | It's more readable and less prone to breakage.
* x86: cabac: add operand size suffixes missing from 6c32576Mans Rullgard2011-07-28
| | | | | | This fixes build with clang. Signed-off-by: Mans Rullgard <mans@mansr.com>
* h263dec: Propagate AV_LOG_ERRORs from slice decoding through frame decoding ↵Dustin Brody2011-07-28
| | | | | | with sufficient error recognition Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* x86: cabac: don't load/store context values in asmMans Rullgard2011-07-28
| | | | | | | | | | | Inspection of compiled code shows gcc handles these fine on its own. Benchmarking also shows no measurable speed difference. Removing the remaining cases in get_cabac_bypass_sign_x86() does cause more substantial changes to the compiled code with uncertain impact. Signed-off-by: Mans Rullgard <mans@mansr.com>
* H.264: optimize CABAC x86 asm for AtomJason Garrett-Glaser2011-07-28
|
* vp3/theora: flush after seek.Ronald S. Bultje2011-07-28
|
* doc/fftools-common-opts: wording fixes missing from the previous commit.Anton Khirnov2011-07-28
|
* doc: document using AVOptions in fftools.Anton Khirnov2011-07-28
|
* cmdutils: add codec_opts parameter to setup_find_stream_info_opts()Stefano Sabatini2011-07-28
| | | | | | Avoid brittle and obfuscating reference to a global. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* cmdutils: clarify documentation for filter_codec_opts()Stefano Sabatini2011-07-28
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* cmdutils: clarify documentation for setup_find_stream_info_opts()Stefano Sabatini2011-07-28
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavf: add forgotten attribute_deprecated to av_find_stream_info()Anton Khirnov2011-07-28
|
* ppc: remove redundant setting of Altivec IDCTMans Rullgard2011-07-27
| | | | | | | This is already set by dsputil_init_ppc() and is best done in only one place. Signed-off-by: Mans Rullgard <mans@mansr.com>
* mpegvideo: initialise DSPContext in ff_dct_common_init()Mans Rullgard2011-07-27
| | | | | | | The functions and tables initialised in this function rely on an initialised DSPContext. Make sure they always have one. Signed-off-by: Mans Rullgard <mans@mansr.com>
* cosmetics: reindentJustin Ruggles2011-07-27
|
* eac3enc: support writing of basic mixing and info metadataJustin Ruggles2011-07-27
|
* dnxhdenc: fix declarations in for loopsMans Rullgard2011-07-27
| | | | | | Apparently the gcc warning doesn't trigger on these. Signed-off-by: Mans Rullgard <mans@mansr.com>
* dsputil: remove stale bink prototypes and commentsMans Rullgard2011-07-27
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* dsputil: move a bink-only function to binkdspMans Rullgard2011-07-27
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* dsputil: remove some unused functionsMans Rullgard2011-07-27
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* bink: make IDCT take 32-bit inputKostya Shishkov2011-07-27
| | | | | | | | | | | Since IDCT transforming 32-bit input to 8-bit output is unusual and unpractical for most codecs, move Bink IDCT into separate context. Get rid of an additional permutation table while at it since SIMD support for Bink IDCT is unlikely to be implemented in foreseeable future. Quantisation tables also have to change type to signed for proper dequantisation of DCT coefficients. Signed-off-by: Mans Rullgard <mans@mansr.com>
* configure: spelling cosmeticsDiego Biurrun2011-07-27
|
* dctref: make sure function declarations match between .c and .h fileDiego Biurrun2011-07-27
|
* x86: fix build with gcc 4.7Mans Rullgard2011-07-26
| | | | | | | | | | | | | | The upcoming gcc 4.7 has more advanced constant propagation resulting some inline asm operands becoming constants and thus emitted as literals, sometimes in contexts where this results in invalid instructions. This patch changes the constraints of the relevant operands to "rm" thus forcing a valid type. While obviously suboptimal, this is what older gcc versions already did, and there is no change to the code generated with these. Signed-off-by: Mans Rullgard <mans@mansr.com>
* ape: adjust some printf format strings to correctly match argument typesDiego Biurrun2011-07-26
|
* jpegdec: actually search for and parse RSTnMichael Niedermayer2011-07-23
| | | | | | | | | | | | | Fixes decoding of MJPEG files produced by some UVC Logitec web cameras, such as "Notebook Pro" and "HD C910". References: http://trac.videolan.org/vlc/ticket/4215 http://ffmpeg.org/trac/ffmpeg/ticket/267 Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Reviewed-by: Kostya <kostya.shishkov@gmail.com> (cherry picked from commit 7b8ed831eb8432d202dad16dedc1758b018bb1fa)
* dnxhddec: avoid a branch in 10-bit decode_dct_block()Mans Rullgard2011-07-22
| | | | | | | The minimum weight value is 32 so this test can be skipped for the 10-bit case. Overall speedup 3-4%. Signed-off-by: Mans Rullgard <mans@mansr.com>
* H.264: Add optimizations to predict x86 assembly.Daniel Kang2011-07-22
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>