summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* fate: add mp3 CBR seek testwm42015-04-233-3/+65
| | | | | | | This tests the "old", now non-default seek mode, and this requires a special extra argument. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* vp9: add fate size for resolution changes.Ronald S. Bultje2015-04-232-0/+18
| | | | | | | See sample: http://downloads.webmproject.org/test_data/libvpx/vp90-2-05-resize.ivf Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* vp9: add support for resolution changes in inter frames.Ronald S. Bultje2015-04-235-171/+535
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* fate: add cinepak encoder vsynth testsJames Almer2015-04-234-1/+17
| | | | | Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* postproc: Made QP, nonBQP, and pQPb arraysTucker DiNapoli2015-04-222-45/+46
| | | | | | | | | | | | Also pulled QP initialization out of inner loop, which removed some redundent code. Added some dummy fields to PPContext to allow current code to work while changing the rest of the postprocessing code to support the arrays. I also increased alignment requirements for some fields in the PPContext struct to support future avx2 code. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* postproc: Replaced inline asm for prefetching with prefetch functionsTucker DiNapoli2015-04-222-86/+71
| | | | | | | | | | Prefetching functions are defined in postprocess_template using the RENAME macro so that prefetching is used when available. For x86 targets inline asm is used and the functions are non-empty only for cpus where prefetching is available. For non x86 targets the gcc bultin prefetch is used if it is available, otherwise no prefetching is done. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avformat: add AVFMT_FLAG_FASTSEEK, use it for mp3wm42015-04-226-2/+10
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* vp9: remove one optimization branch in iadst16 which causes overflows.Ronald S. Bultje2015-04-221-1/+3
| | | | | | | | See sample vp90-2-14-resize-fp-tiles-16-8-4-2-1.webm from the vp9 test vector set which reproduces the issue. This probably costs a few cycles, but I don't think there's an easy way to workaround that. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* bink: check vst->index_entries before using itAndreas Cadhalpun2015-04-221-1/+4
| | | | | | | | | This fixes a NULL pointer dereference if vst->duration is 0. The problem was introduced in commit 0588acaf. Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* dshow: add capture device save and loadMate Sebok2015-04-224-4/+123
| | | | | | Signed-off-by: Mate Sebok <smfinc.org@gmail.com> Reviewed-by: Roger Pack <rogerdpack2@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* fate: gapless: remove useless testswm42015-04-223-13/+1
| | | | | | | | These could be kept, but they are not overly useful. The only thing they had over the remaining mp3 gapless test was seeking, which was incorrect in the toc test, and only by chance correct in the notoc test. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* api-flac-test: Coding styleLudmila Glinskih2015-04-221-48/+24
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* mpeg4videodec: only allow a positive lengthAndreas Cadhalpun2015-04-221-2/+2
| | | | | Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* dss_sp: use lowercase codec name without whitespaceAndreas Cadhalpun2015-04-221-1/+1
| | | | | Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avformat/mp3dec: make generic index mode the defaultwm42015-04-222-2/+2
| | | | | | | It's the most useful mode, because it seeks accurately, and does not break features like gapless audio. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avformat/mp3dec: allow enabling generic seek modewm42015-04-224-6/+18
| | | | | | | | | | | | | | "-usetoc 2" now invokes the generic seek and indexing mode. This mode skips data until the seek target is reached, and this is exact. It also makes gapless audio actually work if a seek past the start of the file is involved. Change the fate-gapless-mp3 test to use the new mode, and move the old one to fate-gapless-mp3-toc (since the test forces use of the Xing TOC). The new mode has a different result for the seek - this result is actually correct. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avformat/mp3dec: use the common mechanism for skipping sampleswm42015-04-222-9/+6
| | | | | | | | | | The mp2 seek test results change. Whether to skip samples if the file had no LAME gapless tags was inconsistent. When seeking to the start of the file, 529 samples were skipped, but when playing from start, nothing was skipped. This commit changes the behavior on seek to skip nothing. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avformat: add common mechanism for skipping samples at the start of filewm42015-04-222-0/+13
| | | | | | | This makes using the generic indexing code with mp3 easier at a later point. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* alsdec: check sample pointer range in revert_channel_correlationAndreas Cadhalpun2015-04-221-7/+27
| | | | | | | | | Also change the type of begin, end and smp to ptrdiff_t to make the comparison well-defined. Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Reviewed-by: Thilo Borgmann <thilo.borgmann@mail.de> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* webmdashenc: parameter'ize minimumUpdatePeriodVignesh Venkatasubramanian2015-04-224-3/+9
| | | | | | | | | Some players do not support setting minimumUpdatePeriod to zero. This patch adds a new parameter that will let the users set any value to this field. Also updates the test and the documentation. Signed-off-by: Vignesh Venkatasubramanian <vigneshv@google.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec: use av_mod_uintp2() where usefulJames Almer2015-04-2121-45/+41
| | | | | Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: James Almer <jamrial@gmail.com>
* webmdashenc: Add minimumUpdatePeriodVignesh Venkatasubramanian2015-04-222-2/+4
| | | | | | | | | | | DASH spec requires the presence of either duration of the period or the minimumUpdatePeriod element. This patch adds the minimumUpdatePeriod element hardcoded with the value 0 as the manifest will never be updated for WebM DASH Live streams. Also updating the fate test reference file. Signed-off-by: Vignesh Venkatasubramanian <vigneshv@google.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* aacpsy: correct calculation of minath in psy_3gpp_initAndreas Cadhalpun2015-04-221-1/+1
| | | | | | | | | | | | The minimum of the ath(x, ATH_ADD) function depends on ATH_ADD. This patch uses the first order approximation to determine it. For ATH_ADD = 4 this results in the value at 3407.06812 (-5.24241638) not the one at 3410 (-5.24237967). Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Approved-by: Claudio Freire <klaussfreire@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avformat/mov.c: Use %d to print an enum, not PRIu8Chris Watkins2015-04-211-1/+1
| | | | | | | | | | Using the PRIu8 format specifier to print an enum value causes a compiler warning, so use %d instead. Fixes ticket #4467. Signed-off-by: Chris Watkins <watk@chromium.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avfilter/vf_qp: Fix use of uinitialized variableMichael Niedermayer2015-04-211-1/+0
| | | | | Found-by: <Timothy_Gu> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge commit '9b2c57bef5e2f3f61a5fd708ba7d5351f5b3f386'Michael Niedermayer2015-04-212-5/+56
|\ | | | | | | | | | | | | | | | | | | | | * commit '9b2c57bef5e2f3f61a5fd708ba7d5351f5b3f386': drawtext: Add an alpha option Conflicts: doc/filters.texi libavfilter/vf_drawtext.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * drawtext: Add an alpha optionLuca Barbato2015-04-212-10/+49
| | | | | | | | | | | | And document both `draw` and `alpha`. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | avcodec/hq_hqa: remove superfluous log messagePaul B Mahol2015-04-211-6/+2
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avfilter/vf_qp: fix cleanup on errorMichael Niedermayer2015-04-211-2/+4
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/nsvdec: remove trace log from probe(), this is better done ↵Michael Niedermayer2015-04-211-1/+0
| | | | | | | | | | | | | | generically not per format Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/mp3dec: Adjust returned timestamp in the CBR seeking caseMichael Niedermayer2015-04-212-1/+7
| | | | | | | | | | | | | | | | With this the returned timestamp should match the packet instead of the requested timestamp, which may lay between packets Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | webmdashenc: Fix potential memory leakVignesh Venkatasubramanian2015-04-211-1/+1
| | | | | | | | | | | | | | | | Fix potential memory leak in WebM DASH Muxer. This fixes coverity scan CID 1295088. Signed-off-by: Vignesh Venkatasubramanian <vigneshv@google.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/utils: Ensure that AVFMT_FLAG_CUSTOM_IO is set before useMichael Niedermayer2015-04-211-0/+3
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Support for VP9 high-color/high-bit-depth encodingDeb Mukherjee2015-04-202-3/+129
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patch to support VP9 encoding with new profiles 1-3. Profile 1 (8-bit 422/444) should work with default libvpx configuration. However you will need to configure libvpx with --enable-vp9-highbitdepth before building and linking with ffmpeg for profile 2 (10-/12-bit 420) and profile 3 (10-/12-bit 422/444) encoding. You may use the appropriate profile option on the command line: -profile:v 1 for 422/444 8-bit encoding -profile:v 2 for 420 10-/12- bit encoding -profile:v 3 for 422/444 10-/12-bit encoding If you do not use the -profile:v option, it will be deduced from the source format. Signed-off-by: James Zern <jzern@google.com>
* | avformat/img2dec: do not rewind custom io buffersMichael Niedermayer2015-04-201-1/+4
| | | | | | | | | | | | | | Fixes double free with some applications Fixes vlc ticket14121 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'eaa2d123f0a643664721593d248ece6bcd85f1e6'Michael Niedermayer2015-04-203-1/+19
|\ \ | |/ | | | | | | | | | | | | | | | | | | * commit 'eaa2d123f0a643664721593d248ece6bcd85f1e6': log: Print a full backtrace along with error messages under Valgrind Conflicts: libavutil/log.c libavutil/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * log: Print a full backtrace along with error messages under ValgrindVittorio Giovara2015-04-203-1/+19
| | | | | | | | | | | | | | | | Useful to understand where and in what execution state a certain message is generated. It is enabled only when optimizations are disabled, since function names are not printed otherwise. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | Merge commit 'bd5ad8b23d0f7d469ca30d03deca879993eb0431'Michael Niedermayer2015-04-201-1/+2
|\ \ | |/ | | | | | | | | | | * commit 'bd5ad8b23d0f7d469ca30d03deca879993eb0431': hq_hqa: Fix reading hqa quantization matrix index Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * hq_hqa: Fix reading hqa quantization matrix indexVittorio Giovara2015-04-201-1/+2
| | | | | | | | Value is stored as a byte.
* | Merge commit '1746dc382ddbf3f8a3f039815644f7eb9076110e'Michael Niedermayer2015-04-201-0/+1
|\ \ | |/ | | | | | | | | | | * commit '1746dc382ddbf3f8a3f039815644f7eb9076110e': hqxdsp.h: #include "stddef.h" Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * hqxdsp.h: #include "stddef.h"Vittorio Giovara2015-04-201-0/+1
| | | | | | | | It is required by ptrdiff_t, fixes make checkheaders.
* | Merge commit '98cab39798612dcaea4f9b6d1e7974bc60d84e13'Michael Niedermayer2015-04-201-1/+1
|\ \ | |/ | | | | | | | | | | * commit '98cab39798612dcaea4f9b6d1e7974bc60d84e13': lavf: Fix variables constness in ff_iso8601_to_unix_time() Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavf: Fix variables constness in ff_iso8601_to_unix_time()Vittorio Giovara2015-04-201-1/+1
| | | | | | | | | | | | warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
* | Merge commit '86e1a35802df42f51337d3fed8d5d99d0898c8bf'Michael Niedermayer2015-04-201-2/+7
|\ \ | |/ | | | | | | | | | | | | | | | | * commit '86e1a35802df42f51337d3fed8d5d99d0898c8bf': h264_ps: Return meaningful error codes and address a memory leak Conflicts: libavcodec/h264_ps.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * h264_ps: Return meaningful error codes and address a memory leakVittorio Giovara2015-04-201-3/+7
| | | | | | | | Bug-Id: CID 1026763
* | Merge commit '338ed3ed33c412c2828446c4e2a76949161fec6a'Michael Niedermayer2015-04-200-0/+0
|\ \ | |/ | | | | | | | | | | | | | | | | | | * commit '338ed3ed33c412c2828446c4e2a76949161fec6a': ffv1: Pass correct pointers to av_free() Conflicts: libavcodec/ffv1.c See: a3963cc8ec3b4e1780aadcbc0e5a7af625bae175 Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * ffv1: Pass correct pointers to av_free()Diego Biurrun2015-04-201-2/+2
| | | | | | | | Bug-Id: CID 1295124
* | Merge commit '3b1e35d46dc910cef1d66f6964e6800cae5fc89b'Michael Niedermayer2015-04-200-0/+0
|\ \ | |/ | | | | | | | | | | | | * commit '3b1e35d46dc910cef1d66f6964e6800cae5fc89b': fate: Omit the results if the test passed See: 1a562adb0101ac8372593b56ccd1bdb4ebb96b72 Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * fate: Omit the results if the test passedTimothy Gu2015-04-201-1/+7
| | | | | | | | | | | | | | The FATE server does not report this information anyway and omitting it makes the successful run send much less data. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | Merge commit 'd34039b171bebe37bf723a1b03e5651267099739'Michael Niedermayer2015-04-201-11/+3
|\ \ | |/ | | | | | | | | | | * commit 'd34039b171bebe37bf723a1b03e5651267099739': rmenc: Drop the temporary buffer for ac3 byteswap Merged-by: Michael Niedermayer <michaelni@gmx.at>
OpenPOWER on IntegriCloud