summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* af_asyncts: avoid overflow in out_size with large delta valuesJustin Ruggles2012-07-291-1/+1
|
* af_asyncts: add first_pts optionJustin Ruggles2012-07-292-2/+8
| | | | | | This allows for padding/trimming at the start of stream. By default, no assumption is made about the first frame's expected pts, so no padding or trimming is done.
* flvdec: remove spurious use of stream idLuca Barbato2012-07-291-8/+7
| | | | We match streams by codec id now.
* lavf: deprecate r_frame_rate.Anton Khirnov2012-07-2921-125/+160
| | | | | | | | | | | | | | | | | | | | According to its description, it is supposed to be the LCM of all the frame durations. The usability of such a thing is vanishingly small, especially since we cannot determine it with any amount of reliability. Therefore get rid of it after the next bump. Replace it with the average framerate where it makes sense. FATE results for the wtv and xmv demux tests change. In the wtv case this is caused by the file being corrupted (or possibly badly cut) and containing invalid timestamps. This results in lavf estimating the framerate wrong and making up wrong frame durations. In the xmv case the file contains pts jumps, so again the estimated framerate is far from anything sane and lavf again makes up different frame durations. In some other tests lavf starts making up frame durations from different frame.
* lavf: round estimated average fps to a "standard" fps.Anton Khirnov2012-07-291-0/+18
|
* lavf: use dts difference instead of AVPacket.duration in find_stream_info()Anton Khirnov2012-07-293-8/+42
| | | | | | | | | | AVPacket.duration is mostly made up and thus completely useless, this is especially true for video streams. Therefore use dts difference for framerate estimation and the max_analyze_duration check. The asyncts test now needs -analyzeduration, because the default is 5 seconds and the audio stream in the sample appears at ~10 seconds.
* avf: introduce nobuffer optionLuca Barbato2012-07-295-5/+15
| | | | | | | | | | | | | Useful in cases where a significant analyzeduration is still needed, while minimizing buffering before output. An example is processing low-latency streams where all media types won't necessarily come in if the analyzeduration is small. Additional changes by Josh Allmann <joshua.allmann@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* fate: make yadif tests consistent across systemsMans Rullgard2012-07-283-95/+95
| | | | | | | | MMX-enabled systems by default use some dsputil functions differing from the C versions. Adding these flags ensures accurate ones are used everywhere. Signed-off-by: Mans Rullgard <mans@mansr.com>
* vf_hqdn3d: support 9 and 10bit colordepthLoren Merritt2012-07-281-19/+53
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* vf_hqdn3d: reduce intermediate precisionLoren Merritt2012-07-281-30/+32
| | | | | | | 11% faster on penryn, 7% on sandybridge, 5% on bulldozer Negligible change to output. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* vf_hqdn3d: simplify and optimizeLoren Merritt2012-07-281-106/+51
| | | | | | 14% faster on penryn, 2% on sandybridge, 9% on bulldozer Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* factor identical ff_inplace_start_frame out of two filtersLoren Merritt2012-07-284-73/+39
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* vf_hqdn3d: cosmeticsLoren Merritt2012-07-281-156/+152
| | | | | | Change code style to match the rest of libav. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avprobe/avconv: fix tentative declaration compile errors on MSVS.Ronald S. Bultje2012-07-282-4/+6
|
* h264_idct_10bit: port x86 assembly to cpuflags.Ronald S. Bultje2012-07-281-127/+127
|
* x86inc: clip num_args to 7 on x86-32.Loren Merritt2012-07-281-0/+3
| | | | | | | | This allows us to unconditionally set the cglobal num_args parameter to a bigger value, thus making writing yasm code even easier than before. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* x86inc: sync to latest version from x264.Ronald S. Bultje2012-07-281-92/+124
|
* fft: rename "z" to "zc" to prevent name collision.Ronald S. Bultje2012-07-281-9/+9
| | | | | | Without this, cglobal will expand "z" to "zh" to access the high byte in a register's word, which causes a name collision with the ZH(x) macro further up in this file.
* wv: return meaningful error codes.Anton Khirnov2012-07-281-22/+23
|
* wv: return AVERROR_EOF on EOF, not EIO.Anton Khirnov2012-07-281-1/+1
|
* mp3dec: forward errors for av_get_packet().Anton Khirnov2012-07-281-3/+2
| | | | | | | Don't invent a bogus EIO error. The code now doesn't check for ret == 0, but that check is redundant, av_get_packet() never returns 0.
* mp3dec: remove a pointless local variable.Anton Khirnov2012-07-281-4/+2
|
* mp3dec: remove commented out cruft.Anton Khirnov2012-07-281-1/+0
|
* lavfi: bump minor to mark stabilizing the ABI.Anton Khirnov2012-07-281-1/+1
|
* FATE: add tests for yadif.Anton Khirnov2012-07-283-0/+104
|
* FATE: add a test for delogo video filter.Anton Khirnov2012-07-282-0/+115
|
* FATE: add a test for amix audio filter.Anton Khirnov2012-07-281-0/+22
|
* audiogen: allow specifying random seed as a commandline parameter.Anton Khirnov2012-07-281-2/+5
|
* vc1dec: Override invalid macroblock quantizerMichael Niedermayer2012-07-281-0/+5
| | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
* vc1: avoid reading beyond the last line in vc1_draw_sprites()Michael Niedermayer2012-07-281-2/+6
| | | | | | | | Fixes overread Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
* vc1dec: check that coded slice positions and interlacing match.Michael Niedermayer2012-07-281-0/+6
| | | | | | | | This fixes out of array writes Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
* vc1dec: Do not ignore ff_vc1_parse_frame_header_adv return valueMichael Niedermayer2012-07-281-4/+10
| | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
* configure: Move parts that should not be user-selectable to CONFIG_EXTRADiego Biurrun2012-07-281-6/+6
|
* lavf: remove commented out cruft in avformat_find_stream_info()Anton Khirnov2012-07-281-7/+1
|
* Add missing libavutil/time.h includes.Anton Khirnov2012-07-2810-0/+10
|
* vp3: don't compile mmx IDCT functions on x86-64.Ronald S. Bultje2012-07-272-0/+5
| | | | | 64-bit CPUs always have SSE2, and a SSE2 version exists, thus the MMX version will never be used.
* h264_loopfilter: port x86 simd to cpuflags.Ronald S. Bultje2012-07-273-121/+120
|
* build: support non-standard replacements for -c flagMans Rullgard2012-07-282-4/+11
| | | | | | | | This allows non-standard replacements for the -c compiler flag. Some compilers use other flags or no flag at all in place of the usual one. Signed-off-by: Mans Rullgard <mans@mansr.com>
* build: support non-standard replacements for -E flagMans Rullgard2012-07-281-2/+10
| | | | | | | | | | This allows using non-standard flags for running the C preprocessor. The -o flag must be included in this setting due to strange syntax required by some compilers. Set the correct flags for tms470. Signed-off-by: Mans Rullgard <mans@mansr.com>
* h264_chromamc_10bit: port x86 simd to cpuflags.Ronald S. Bultje2012-07-272-28/+28
|
* vp3: port x86 SIMD to cpuflags.Ronald S. Bultje2012-07-271-47/+47
|
* build: Use portable compiler flag constructs in header compilation ruleDiego Biurrun2012-07-281-1/+1
|
* x11grab: cosmetics: consistent naming for x11grab-related thingsDiego Biurrun2012-07-285-17/+16
|
* build: Rename YASMDEP variable to DEPYASM for consistencyDiego Biurrun2012-07-283-3/+3
|
* hls: Proceed to the next segment at any error codeMartin Storsjö2012-07-281-2/+0
| | | | | | | | | | | | | Previously, we returned any error code except AVERROR_EOF to the caller - only if AVERROR_EOF or 0 was returned, we proceeded to the next segment. With some setups of web servers, using Connection: close in https and GnuTLS, we don't get a clean error code at the end of segments. In those cases, just proceed to the next segment. Tested-by: Antti Seppälä <a.seppala@gmail.com> Signed-off-by: Martin Storsjö <martin@martin.st>
* tls: Return AVERROR_EOF if the TLS_read/write functions return 0Martin Storsjö2012-07-281-2/+2
| | | | | | | | | | OpenSSL returns 0 when the peer has closed the connection. GnuTLS doesn't return that though, but returns GNUTLS_E_UNEXPECTED_PACKET_LENGTH if the connection simply is closed without a clean close notify packet. Tested-by: Antti Seppälä <a.seppala@gmail.com> Signed-off-by: Martin Storsjö <martin@martin.st>
* rv34: port x86 SIMD to cpuflags.Ronald S. Bultje2012-07-271-5/+6
|
* vp56: only compile MMX SIMD on x86-32.Ronald S. Bultje2012-07-272-0/+4
| | | | | All x86-64 CPUs have SSE2, so the MMX version will never be used. This leads to smaller binaries.
* vp56: port x86 simd to cpuflags.Ronald S. Bultje2012-07-271-19/+15
|
* proresdsp: port x86 assembly to cpuflags.Ronald S. Bultje2012-07-271-21/+18
|
OpenPOWER on IntegriCloud