summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* avfilter: add lv2 wrapper filterPaul B Mahol2017-11-267-1/+669
| | | | Signed-off-by: Paul B Mahol <[email protected]>
* error_resilience: remove avpriv_atomic usageRostislav Pehlivanov2017-11-262-11/+12
| | | | Signed-off-by: Rostislav Pehlivanov <[email protected]>
* libavcodec/utils.c: simplify avcodec locking with atomicsRostislav Pehlivanov2017-11-262-7/+6
| | | | | | Also makes it more robust than using volatiles. Signed-off-by: Rostislav Pehlivanov <[email protected]>
* lavc/utils.c: use C11 atomics for entangled thread handlingRostislav Pehlivanov2017-11-261-4/+5
| | | | Signed-off-by: Rostislav Pehlivanov <[email protected]>
* avformat/mov_esds: check return value of ff_mp4_read_dec_config_descrJames Almer2017-11-251-3/+4
| | | | | Reviewed-by: Michael Niedermayer <[email protected]> Signed-off-by: James Almer <[email protected]>
* avformat/isom: return proper error values in ff_mp4_read_dec_config_descrJames Almer2017-11-251-1/+1
| | | | | Reviewed-by: Michael Niedermayer <[email protected]> Signed-off-by: James Almer <[email protected]>
* fate/hapAlphaOnly : add test for hap alpha only decodingMartin Vignali2017-11-253-0/+18
|
* avcodec/hapdec : use gray8 for HapAlphaOnly decoding instead of RGB0Martin Vignali2017-11-252-4/+7
|
* avcodec/texturedsp : add rgtc1u gray decodingMartin Vignali2017-11-252-12/+30
| | | | decode rgtc1 block in gray8 picture
* hwcontext_d3d11va: properly reset values after release/closeJan Ekström2017-11-251-5/+16
| | | | | | | | Makes the uninit function re-entrable, which can be a common case when an API user first tries to initialize its context, fails, and then finally unrefs the AVHWDevice. Fixes a crash reported by sm2345 on IRC.
* avcodec/fft: fix INTERL macro on 3dnowMikulas Patocka2017-11-251-1/+1
| | | | | | | | | | | | | The commit b7c16a3f2c4921f613319938b8ee0e3d6fa83e8d ("x86: fft: Port to cpuflags") breaks the opus decoder in ffmpeg when compiling for 3dnow. The output is audible, but there's a lot of noise. The reason for the breakage is that the commit unintentionally changed the INTERL macro so that it is empty when compiling for 3dnow. This patch fixes it. Signed-off-by: Mikulas Patocka <[email protected]> Signed-off-by: James Almer <[email protected]>
* hwcontext_opencl: Reset internal command queue on device_uninitMark Thompson2017-11-251-0/+1
| | | | device_uninit can be called twice if device_init fails.
* hwcontext_d3d11: Log adapter details on device creationMark Thompson2017-11-251-1/+8
| | | | This is helpful to know what device has actually been used.
* configure: remove superfluous cuvid and nvdec checksJames Almer2017-11-251-4/+0
| | | | | | | | | | Both are autodetected, and their dependency on cuda is checked elsewhere. Fixes ticket #6849. Reviewed-by: Philip Langdale <[email protected]> Signed-off-by: James Almer <[email protected]>
* doc/APIchanges: Fix lavu versions for OpenCL changesMark Thompson2017-11-251-5/+5
| | | | Also fix a typo and fill hashes and dates.
* lavu/pixfmt: Remove gap in the middle of enum AVPixelFormatMark Thompson2017-11-252-2/+2
| | | | | | | | This was added for compatibility with libav, by leaving a space for formats added in libav to be merged. Since that feature has been removed, we don't need a gap here. Reviewed-by: Michael Niedermayer <[email protected]>
* Merge commit '136e7cf64ce9e78de7158d6720539d51cb96b743'Mark Thompson2017-11-251-1/+7
|\ | | | | | | | | | | | | * commit '136e7cf64ce9e78de7158d6720539d51cb96b743': qsv/hevcdec: Load hw plugin by default on non-windows os Merged-by: Mark Thompson <[email protected]>
| * qsv/hevcdec: Load hw plugin by default on non-windows osLi, Zhong2017-11-231-1/+7
| | | | | | | | | | | | | | | | | | Software plugin is not available on Linux, Only works on Windows. Similar changes have been applied to qsv hevc encoder by b05128f3c953bd66483e697d60a2e7e45ee9cfa0. Signed-off-by: Zhong Li <[email protected]> Signed-off-by: Maxym Dmytrychenko <[email protected]>
* | avfilter: add normalize filterRichard Ling2017-11-256-1/+470
| |
* | ffmpeg libopusdec: fix missing include file in libopusdec.cMikulas Patocka2017-11-251-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | This patch fixes the following error when compiling mplayer with libopus. libavcodec/libopusdec.c: In function 'libopus_decode_init': libavcodec/libopusdec.c:130:27: error: implicit declaration of function 'ff_exp10'; did you mean 'ff_exp2fi'? [-Werror=implicit-function-declaration] double gain_lin = ff_exp10(gain_db / (20.0 * 256)); ^~~~~~~~ ff_exp2fi Signed-off-by: Mikulas Patocka <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* | lavf/mov: fix crash in mov_read_sidxJohn Stebbins2017-11-251-1/+1
| | | | | | | | | | | | Use correct index into streams Signed-off-by: Michael Niedermayer <[email protected]>
* | avformat/dashenc: Associate mpd extension with dash muxerKarthick J2017-11-251-0/+1
| | | | | | | | | | Reviewed-by: 刘歧 <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* | avcodec/sbrdsp_fixed: Fix integer overflowMichael Niedermayer2017-11-251-1/+1
| | | | | | | | | | | | | | | | Fixes: signed integer overflow: 2147483598 + 64 cannot be represented in type 'int' Fixes: 4337/clusterfuzz-testcase-minimized-6192658616680448 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <[email protected]>
* | avformat/utils: fix mixed declarations and codeJames Almer2017-11-241-1/+1
| | | | | | | | Signed-off-by: James Almer <[email protected]>
* | avcodec/nvdec: Round up odd width/height valuesPhilip Langdale2017-11-241-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | nvdec will not produce odd width/height output, and while this is basically never an issue with most codecs, due to internal alignment requirements, you can get odd sized jpegs. If an odd-sized jpeg is encountered, nvdec will actually round down internally and produce output that is slightly smaller. This isn't the end of the world, as long as you know the output size doesn't match the original image resolution. However, with an hwaccel, we don't know. The decoder controls the reported output size and the hwaccel cannot change it. I was able to trigger an error in mpv where it tries to copy the output surface as part of rendering and triggers a cuda error because cuda knows the output frame is smaller than expected. To fix this, we can round up the configured width/height passed to nvdec so that the frames are always at least as large as the decoder's reported size, and data can be copied out safely. In this particular jpeg case, you end up with a blank (green) line at the bottom due to nvdec refusing to decode the last line, but the behaviour matches cuviddec, so it's as good as you're going to get.
* | avformat/ttaenc: add tta_init()James Almer2017-11-241-10/+22
| | | | | | | | Signed-off-by: James Almer <[email protected]>
* | avformat/ttaenc: buffer packets directlyJames Almer2017-11-241-9/+33
| | | | | | | | | | | | This is a bit more robust in case of OOM. Signed-off-by: James Almer <[email protected]>
* | avcodec/vorbis: 1 << 31 > int32_t::max(), so use 1u << 31 instead.Dale Curtis2017-11-241-1/+1
| | | | | | | | | | Signed-off-by: Dale Curtis <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* | avformat/utils: Prevent undefined shift with wrap_bits > 64.Dale Curtis2017-11-241-2/+3
| | | | | | | | | | | | | | | | | | 2LL << (wrap_bits=64 - 1) does not fit in int64_t; change the code to use a uint64_t (2ULL) and add an av_assert2() to ensure wrap_bits <= 64. Signed-off-by: Dale Curtis <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* | avfilter/af_amix: make use of av_asprintf()Paul B Mahol2017-11-241-3/+1
| | | | | | | | Signed-off-by: Paul B Mahol <[email protected]>
* | avfilter: add mix filterPaul B Mahol2017-11-246-2/+316
| | | | | | | | Signed-off-by: Paul B Mahol <[email protected]>
* | avfilter/af_ladspa: remove duplicate code linesPaul B Mahol2017-11-241-2/+0
| | | | | | | | Signed-off-by: Paul B Mahol <[email protected]>
* | avcodec/j2kenc: Only allocate cblk.data onceMichael Niedermayer2017-11-241-1/+2
| | | | | | | | | | | | | | Fixes: memleak Found-by: <jamrial> Signed-off-by: Michael Niedermayer <[email protected]>
* | avformat/hlsenc: Added option to add EXT-X-INDEPENDENT-SEGMENTS tagKarthick J2017-11-242-0/+21
| |
* | avformat/hlsenc: Refactor an inconsistent variable nameKarthick J2017-11-241-9/+9
| |
* | avformat/hlsenc: Minor fix in setting http options for master playlistKarthick J2017-11-241-2/+1
| |
* | avfilter/Makefile: skip building opencl.h when opencl is disabledJames Almer2017-11-231-0/+1
| | | | | | | | | | | | Fixes make checkheaders. Signed-off-by: James Almer <[email protected]>
* | doc/filters: mention (a)loop defaultsLou Logan2017-11-231-4/+6
| | | | | | | | Signed-off-by: Lou Logan <[email protected]>
* | doc/filters.texi: explain infinite loopingWerner Robitza2017-11-231-2/+2
| | | | | | | | | | | | Explain how to achieve infinite looping with the loop / aloop filters. Signed-off-by: Werner Robitza <[email protected]>
* | avcodec/x86/exrdsp : use ymm constant for pb_80Martin Vignali2017-11-231-5/+1
| | | | | | | | speed seems to be similar, but simplify code
* | Revert "udp: fix compilation when HAVE_PTHREAD_CANCEL isnt defined"Derek Buitenhuis2017-11-231-4/+0
| | | | | | | | | | | | | | | | This was an mplayer-specific hack. This reverts commit a4f94f24b4f153c30bbcaa700bedfb2b3a581e5e. Signed-off-by: Derek Buitenhuis <[email protected]>
* | lavf/mov: Read aspect ratio from AVID jpeg2000 mov files.Carl Eugen Hoyos2017-11-231-0/+1
| |
* | opus_pvq: fix crashing on analysis of monoRostislav Pehlivanov2017-11-231-1/+2
| | | | | | | | Signed-off-by: Rostislav Pehlivanov <[email protected]>
* | tools/cl2c: Add a copyright headerMark Thompson2017-11-221-0/+16
| |
* | lavu,lavfi,ffmpeg: Remove experimental OpenCL APIMark Thompson2017-11-2226-3054/+6
| | | | | | | | | | | | | | | | | | | | | | This was added in early 2013 and abandoned several months later; as far as I can tell, there are no external users. Future OpenCL use will be via hwcontext, which requires neither special OpenCL-only API nor global state in libavutil. All internal users are also deleted - this is just the unsharp filter (replaced by unsharp_opencl, which is more flexible) and the deshake filter (no replacement).
* | hwcontext: Perform usual uninitialisation on derived frames contextsMark Thompson2017-11-221-10/+7
| |
* | vf_hwmap: Pass mapping mode when deriving frames context on an existing deviceMark Thompson2017-11-221-1/+2
| | | | | | | | | | To match creation on a newly-derived device. (This was missed earlier because the mode is only used in some cases.)
* | lavfi: Add OpenCL unsharp mask filterMark Thompson2017-11-227-1/+587
| | | | | | | | | | | | | | Intended to replace existing opencl mode of the unsharp filter. Supports many more pixel formats and works without immediate upload and download of frame data. The options are compatible with the existing filter.
* | lavfi: Add OpenCL overlay filterMark Thompson2017-11-228-1/+472
| | | | | | | | | | Input and output formats must be the same, the overlay format must be the same as the input except possibly with an additional alpha component.
* | lavfi: Add infrastructure for building OpenCL source into libavfilterMark Thompson2017-11-223-0/+48
| |