summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* avutil/frame: Fix project nameMichael Niedermayer2017-10-11
| | | | | | Issue introduced in: caa12027baf1180453846c58da08fc87accc0ff6 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/mips: Improve avc uni copy mc msa functionsKaustubh Raste2017-10-10
| | | | | | | | Load the specific bytes instead of MSA load. Signed-off-by: Kaustubh Raste <kaustubh.raste@imgtec.com> Reviewed-by: Manojkumar Bhosale <Manojkumar.Bhosale@imgtec.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/mips: Improve hevc uni-w horiz mc msa functionsKaustubh Raste2017-10-10
| | | | | | | | | | Load the specific destination bytes instead of MSA load and pack. Pack the data to half word before clipping. Use immediate unsigned saturation for clip to max saving one vector register. Signed-off-by: Kaustubh Raste <kaustubh.raste@imgtec.com> Reviewed-by: Manojkumar Bhosale <Manojkumar.Bhosale@imgtec.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/mips: Improve avc put mc 21, 23 and 02 msa functionsKaustubh Raste2017-10-10
| | | | | | | | Remove loops and unroll as block sizes are known. Signed-off-by: Kaustubh Raste <kaustubh.raste@imgtec.com> Reviewed-by: Manojkumar Bhosale <Manojkumar.Bhosale@imgtec.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/mips: Improve avc chroma hv mc msa functionsKaustubh Raste2017-10-10
| | | | | | | | Replace generic with block size specific function. Signed-off-by: Kaustubh Raste <kaustubh.raste@imgtec.com> Reviewed-by: Manojkumar Bhosale <Manojkumar.Bhosale@imgtec.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/mips: Improve avc bi-weighted mc msa functionsKaustubh Raste2017-10-10
| | | | | | | | Replace generic with block size specific function. Signed-off-by: Kaustubh Raste <kaustubh.raste@imgtec.com> Reviewed-by: Manojkumar Bhosale <Manojkumar.Bhosale@imgtec.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/mips: preload data in hevc sao edge 135 degree filter msa functionsKaustubh Raste2017-10-10
| | | | | | Signed-off-by: Kaustubh Raste <kaustubh.raste@imgtec.com> Reviewed-by: Manojkumar Bhosale <Manojkumar.Bhosale@imgtec.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/ffv1dec: Fix out of array read in slice countingMichael Niedermayer2017-10-10
| | | | | | | Fixes: test-201710.mp4 Found-by: 连一汉 <lianyihan@360.cn> and Zhibin Hu Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/dirac_dwt: Fix integer overflow in COMPOSE_53iL0()Michael Niedermayer2017-10-10
| | | | | | | | Fixes: runtime error: signed integer overflow: 2147483646 + 2 cannot be represented in type 'int' Fixes: 3485/clusterfuzz-testcase-minimized-4940429332054016 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/mpeg_er: Clear mcsel in mpeg_er_decode_mb()Michael Niedermayer2017-10-10
| | | | | | | | Fixes out of array read Should fix: 3516/clusterfuzz-testcase-minimized-4608518562775040 (not reprodoceable) Found-by: Insu Yun, Georgia Tech. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/mpeg4videodec: Use 64 bit intermediates for sprite deltaMichael Niedermayer2017-10-10
| | | | | | | | | Fixes: runtime error: signed integer overflow: -104713 * 65536 cannot be represented in type 'int' Fixes: 3453/clusterfuzz-testcase-minimized-5555554657239040 Fixes: 3528/clusterfuzz-testcase-minimized-6283628420005888 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* configure: fix decklink dependenciesMarton Balint2017-10-10
| | | | | | | We don't need libdl for win32/mingw. Reviewed-by: James Almer <jamrial@gmail.com> Signed-off-by: Marton Balint <cus@passwd.hu>
* doc/filters: note minimum resolution for pixscopeGyan Doshi2017-10-10
| | | | | Signed-off-by: Gyan Doshi <gyandoshi@gmail.com> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* libavdevice/decklink: add support for 10-bit output for Decklink SDIDevin Heitmueller2017-10-10
| | | | | | | | | | | | | | | | Can be tested via the following command: ./ffmpeg -i foo.ts -f decklink -vcodec v210 'DeckLink Duo (1)' Note that the 8-bit support works as it did before, and setting the pix_fmt isn't required for 10-bit mode. The code defaults to operating in 8-bit mode when no vcodec is specified, for backward compatibility. Updated to reflect feedback from Marton Balint <cus@passwd.hu> Signed-off-by: Devin Heitmueller <dheitmueller@ltnglobal.com> Signed-off-by: Marton Balint <cus@passwd.hu>
* libavdevice/decklink: add support for -sources and -sinks argumentsDevin Heitmueller2017-10-10
| | | | | | | | | | | | | | | Add support for enumerating the sources/sinks via the ffmpeg command line options, as opposed to having to create a real pipeline and use the "-list_devices" option which does exit() after dumping out the options. Note that this patch preserves the existing "-list_devices" option, but now shares common code for the actual enumeration. Updated to reflect feedback from Marton Balint <cus@passwd.hu>. Signed-off-by: Devin Heitmueller <dheitmueller@ltnglobal.com> Signed-off-by: Marton Balint <cus@passwd.hu>
* Makefile: generate stripped CLI tools directly instead of copying unstripped ↵Marton Balint2017-10-10
| | | | | | | | ones first Now works with --disable-stripping. Signed-off-by: Marton Balint <cus@passwd.hu>
* fate: update fate-api reference files after 71e2ec017aJames Almer2017-10-09
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* build: prevent SDL2 from polluting global cflags and extralibsJames Almer2017-10-09
| | | | | | | | | Remove the SDL_main define from the global cflags but not from the ffplay cflags, and the -mwindows linker option from extralibs instead of overriding it with the addition of -mconsole. Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* lavc/vaapi_decode: fix profile search when profile mismatch is allowedJun Zhao2017-10-09
| | | | | | | | When profile mismatch is allowed, use the highest supported profile for VAAPI decoding. Signed-off-by: Jun Zhao <jun.zhao@intel.com> Signed-off-by: Mark Thompson <sw@jkqxz.net>
* lavc: enable hwaccel_flags optionJun Zhao2017-10-09
| | | | | | | Enable per-stream hwaccel_flags. Signed-off-by: Jun Zhao <jun.zhao@intel.com> Signed-off-by: Mark Thompson <sw@jkqxz.net>
* avcodec/wmaprodec: support multichannel XMA stream configurationsbnnm2017-10-09
| | | | | | Signed-off-by: bnnm <bananaman255@gmail.com> Now accepts any combination of 1/2ch streams, described in the RIFF chunks/extradata
* avcodec/dca_core: always limit frame size to data sizefoo862017-10-09
| | | | | Silences pointless error message when decoding DTS-in-WAV stream with excessive frame size stored in header.
* avcodec/dca_parser: revert to conservative sync distance estimationfoo862017-10-09
| | | | | | | Fixes regression introduced by commit a0349ae27c127df8c72de1c30dc4090360ec7ef4 when parsing 14-bit streams with excessive frame size stored in header. Fixes ticket #6723.
* lavf/adp: Fix the probe function on systems with signed char.Carl Eugen Hoyos2017-10-09
|
* configure: Disable -Wbool-operation using check_disable_warning().Carl Eugen Hoyos2017-10-09
| | | | Suggested-by: James Almer
* Revert "configure: Disable -Wbool-operation."Mark Thompson2017-10-09
| | | | | | | | | | This reverts commit c2d155e11ee5ec732d471982f2dee43703bcd5a7. GCC 6 incorrectly passes the configure test and then logs many warnings of the form: src/libavformat/dump.c: At top level: cc1: warning: unrecognized command line option ‘-Wno-bool-operation’
* hwcontext_vaapi: Add support for mapping to DRM objectsMark Thompson2017-10-09
| | | | Uses vaExportSurfaceHandle() from libva2.
* hwcontext: Perform usual initialisation on derived device contextsMark Thompson2017-10-09
| | | | | | | The initialisation should be common. For libmfx, it was previously happening in the derivation function and this moves it out. For VAAPI, it fixes some failures when deriving from a DRM device because this initialisation did not run.
* hwcontext_vaapi: Set message callbacks on internally-created devicesMark Thompson2017-10-09
| | | | | The message callbacks are library-safe in libva2, so we can now use them.
* hwcontext_vaapi: Factorise out common connection codeMark Thompson2017-10-09
| | | | | This was duplicated between normal device creation and creation by derivation from a DRM device.
* vaapi: Always free parameter buffers after vaEndPicture() with libva2Mark Thompson2017-10-09
| | | | | | This is an ABI change in libva2: previously the Intel driver had this behaviour and it was implemented as a driver quirk, but now it is part of the specification so all drivers must do it.
* vaapi: Remove H.264 baseline profileMark Thompson2017-10-09
| | | | | | This has been deprecated in libva2 because hardware does not and will not support it. Therefore never consider it for decode, and for encode assume the user meant constrained baseline profile instead.
* configure: Add config option for libva2 (VAAPI 1)Mark Thompson2017-10-09
|
* configure: disable libxcb dependent features if libxcb is not enabledJames Almer2017-10-08
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* lavu/opt: Use "&&" instead of "*" in boolean expression.Carl Eugen Hoyos2017-10-08
| | | | | Fixes the following warning: libavutil/opt.c:101:47: warning: '*' in boolean context, suggest '&&' instead
* configure: Disable -Wbool-operation.Carl Eugen Hoyos2017-10-08
| | | | Requested-by: Ronald and Derek
* lavd/decklink_dec: Do not claim to output transparency information.Carl Eugen Hoyos2017-10-08
|
* ffmpeg: always use single threaded decoding for attached picturesMarton Balint2017-10-08
| | | | | | | | | | | | | | | | | | Since af1761f7b5b1b72197dc40934953b775c2d951cc ffmpeg waits for a frame in each stream before writing the output header. If we are using threaded decoding for attached pictures, we have to read till EOF to be able to finally flush the decoder and output the decoded frame. This essentially makes ffmpeg buffer all non-attached picture packets, which will cause a "Too many packets buffered for output stream" eventually. By forcing single threaded decoding, we get a frame from a single packet as well and we can avoid the error. Fixes part of ticket #6375: ffmpeg -i 46564100.mp3 -acodec libmp3lame -ab 128k -ac 2 out.mp3 Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com> Signed-off-by: Marton Balint <cus@passwd.hu>
* lavc: add support for OpenJPEG 2.3.0Michael Bradshaw2017-10-08
| | | | Signed-off-by: Michael Bradshaw <mjbshaw@google.com>
* lavu/utils: Use "__asm__" like everywhere else in the codebase.Carl Eugen Hoyos2017-10-08
|
* lavfi: Rename local variables "main" as "master".Carl Eugen Hoyos2017-10-07
| | | | | Silences several warnings: main is usually a function
* lavf/rtpenc: Add support for little-endian G.726.Carl Eugen Hoyos2017-10-07
|
* lavf/sdp: Fix MIME-type for big-endian G.726.Carl Eugen Hoyos2017-10-07
| | | | | RFC 3551 defines "G726" for little-endian ("right-justified") G.726 and announces "AAL2-G726" for big-endian ("left-justified") G.726.
* lavfi/avfilter.c: Correct guess_status_pts to account for differing link ↵Sasi Inguva2017-10-07
| | | | | | timebases. Signed-off-by: Sasi Inguva <isasi@google.com>
* lavf/img2dec: Auto-detect svg images.Carl Eugen Hoyos2017-10-07
|
* avformat/mp3enc: flush buffered packets if referencing failsJames Almer2017-10-06
| | | | | Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/v4l2: fix single plane decodingJorge Ramirez-Ortiz2017-10-06
|
* avdevice/decklink_dec: fix extracting lumaMarton Balint2017-10-06
| | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* avfilter/vf_fps: add eof_action filter optionTobias Rapp2017-10-06
| | | | | | | | | | | | | | | Allows to specify the action to be performed when reading the last frame from the internal FIFO buffer. By default the last frame is written to filter output depending on the timestamp rounding method. When using "pass" action the last frame is passed through if input duration has not been reached yet. Examples using an input file with 25Hz, 1.4sec duration: - "fps=fps=1:round=near" generates an output file of 1sec - "fps=fps=1:round=near:eof_action=pass" generates an output file of 2sec Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
* rtsp: Move message parsing to a separate functionLuca Barbato2017-10-06
| | | | | | | | Make easier to handle the polling function before we implement full threading support. (cherry picked from libav commit ca960161f087ca38267b88ce90592010c59584f1) Signed-off-by: James Almer <jamrial@gmail.com>