summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* avcodec/h264: sse2 and avx 4:2:2 idct add8 10-bit functionsJames Darnley2016-11-30
| | | | | | | | | | | | | | | Yorkfield: - sse2: - complex: 4.13x faster (1514 vs. 367 cycles) - simple: 4.38x faster (1836 vs. 419 cycles) Skylake: - sse2: - complex: 3.61x faster ( 936 vs. 260 cycles) - simple: 3.97x faster (1126 vs. 284 cycles) - avx (versus sse2): - complex: 1.07x faster (260 vs. 244 cycles) - simple: 1.03x faster (284 vs. 274 cycles)
* avcodec/h264: mmx 4:2:2 idct add8 functionJames Darnley2016-11-30
| | | | 2.87 times faster (1830 vs. 638 cycles)
* avcodec/h264: mmxext 4:2:2 chroma intra deblock/loop filterJames Darnley2016-11-30
| | | | 2.1 times faster (401 vs. 194 cycles)
* ffserver: use codec time_base for streamAndreas Cadhalpun2016-11-30
| | | | | | | This fixes producing swf and rm files as done by ffservertest. Reviewed-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* tests: drop -d option from ffserver invocationAndreas Cadhalpun2016-11-30
| | | | | | | | | | It randomly causes failures with an error like: "Failed to set value '-f' for option 'd': Error number -920332800 occurred" (The error number is different every time.) Reviewed-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* tests: print errors from ffserverAndreas Cadhalpun2016-11-30
| | | | | | | | Not doing so makes debugging unnecessarily hard. Reviewed-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com> Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* tools/coverity: Add models for av_mallocz and av_freePhilip Langdale2016-11-30
| | | | | | This should deal with some false positives, but might lead to more of them depending on whether it realises that av_freep() wraps av_free() or not.
* fate: Add test for mov displaymatrixVittorio Giovara2016-11-30
|
* ffprobe: Fix displaying side data list onlyVittorio Giovara2016-11-30
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* mov: Evaluate the movie display matrixVittorio Giovara2016-11-30
| | | | | | | | | This matrix needs to be applied after all others have (currently only display matrix from trak), but cannot be handled in movie box, since streams are not allocated yet. So store it in main context, and apply it when appropriate, that is after parsing the tkhd one. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* avcodec/nvenc: mark intentional fall throughTimo Rothenpieler2016-11-30
|
* avfilter/vf_hwupload_cuda: fix potential leakTimo Rothenpieler2016-11-30
|
* avutil/hwcontext_cuda: check for missing pixel formatTimo Rothenpieler2016-11-30
|
* avfilter/vf_scale_npp: check ff_set_common_formats return valueTimo Rothenpieler2016-11-30
|
* avfilter/vf_scale_npp: move aspect ratio correction after av_frame_copy_propsMiroslav Slugeň2016-11-30
| | | | Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
* avcodec/nvenc: always reduce DAR width and heightMiroslav Slugeň2016-11-30
| | | | Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
* avcodec/nvenc: Delay identification of underlying format of cuda framesPhilip Langdale2016-11-30
| | | | | | | | | | | | | | | | | | When input surfaces are cuda frames, we will not know what the actual underlying format (nv12, p010, etc) is at surface allocation time. On the other hand, we will know when the input frames are actually registered and associated with a surface. So, let's delay format discovery until registration time, which is actually how we handle other frame properties, such as dimensions. By itself, this change doesn't allow for transcoding of 10bit content from cuvid, but it reduces the problem to the hardcoding of the sw format in ffmpeg_cuvid.c Signed-off-by: Philip Langdale <philipl@overt.org> Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
* ffserver: Add client requested urls to the status pageMichael Niedermayer2016-11-30
| | | | | | | Fixes Ticket3791 Reviewed-by: "Reynaldo H. Verdejo Pinochet" <reynaldo@osg.samsung.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avidec: fix leaking extradataAndreas Cadhalpun2016-11-30
| | | | | Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* matroskadec: prevent access of elements after freeingMichael Schenk2016-11-30
| | | | | | | | | | Using the decode interrupt feature of ffmpeg may cause crashes by accessing previously freed pointers in matroska_read_close. To prevent this reset nb_elem to zero after freeing the elements, because ffmpeg normally tests for nb_elem. Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* avcodec/flac_parser: Update nb_headers_bufferedMichael Niedermayer2016-11-30
| | | | | | | | | Fixes infinite loop Fixes: fuzz.flac Found-by: Frank Liberato <liberato@google.com> Reviewed-by: Frank Liberato <liberato@google.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* idroqdec: fix leaking pkt on failureAndreas Cadhalpun2016-11-30
| | | | | | | | The code calls av_new_packet a few lines above and the allocated memory has to be freed in case of an error. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* fate: update after addition of gray10 to lavc/rawPaul B Mahol2016-11-30
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* tests/ffserver-regression: Check the status page tooMichael Niedermayer2016-11-29
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* ffsrever: Make the status page bitexact if any stream is bitexactMichael Niedermayer2016-11-29
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* ffserver_config: Setup codecpar in add_codec()Michael Niedermayer2016-11-29
| | | | | | fixes segfault in the status page code Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tests/ffserver.regression.ref: update ffserver checksumsMichael Niedermayer2016-11-29
| | | | | Reviewed-by: "Reynaldo H. Verdejo Pinochet" <reynaldo@osg.samsung.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tests/ffserver-regression.sh: give wget a timeout and prevent retriesMichael Niedermayer2016-11-29
| | | | | Reviewed-by: "Reynaldo H. Verdejo Pinochet" <reynaldo@osg.samsung.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/idroqdec: Check chunk_size for being too largeMichael Niedermayer2016-11-29
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/vf_masked*: add gray10 and gray12 supportPaul B Mahol2016-11-29
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_bitplanenoise: add gray10 and gray12 suppportPaul B Mahol2016-11-29
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_extractplanes: add extract support for 10bit and 12bit formatsPaul B Mahol2016-11-29
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_waveform: add gray10 and gray12 supportPaul B Mahol2016-11-29
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avcodec/raw: add gray10 support in nutPaul B Mahol2016-11-29
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avcodec/msrledec: implement vertical offset in 4-bit RLEDaniel Verkamp2016-11-29
| | | | | | | | | | | | | The delta escape (2) is supposed to work the same in 4-bit RLE as in 8-bit RLE. This is documented in the MSDN Bitmap Compression page: https://msdn.microsoft.com/en-us/library/windows/desktop/dd183383(v=vs.85).aspx The unchecked modification of line is safe, since the loop condition (line >= 0) will check it before any pixel data is written. Fixes ticket #5153 (output now matches ImageMagick for the provided sample). Signed-off-by: Daniel Verkamp <daniel@drv.nu>
* tests: Fix running ffserver under qemuMichael Niedermayer2016-11-28
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tests/Makefile: Fix ffservertest dependenciesMichael Niedermayer2016-11-28
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* ffserver: Remove last use of AVStream sizeMichael Niedermayer2016-11-28
| | | | | Reviewed-by: "Reynaldo H. Verdejo Pinochet" <reynaldo@osg.samsung.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* ffserver: Remove some deprecated API use related to codec/codecparMichael Niedermayer2016-11-28
| | | | | Reviewed-by: "Reynaldo H. Verdejo Pinochet" <reynaldo@osg.samsung.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* ffserver: Remove use of AVStream as a intermediate to store parametersMichael Niedermayer2016-11-28
| | | | | Reviewed-by: "Reynaldo H. Verdejo Pinochet" <reynaldo@osg.samsung.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* ffserver: drop FeedData, its unusedMichael Niedermayer2016-11-28
| | | | | Reviewed-by: "Reynaldo H. Verdejo Pinochet" <reynaldo@osg.samsung.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tests/ffserver-regression.sh: Fix file truncation introduced in ↵Michael Niedermayer2016-11-28
| | | | | | 508826f961caf662cadb7c253e3c0e7d75104bdd Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* libvpxenc: Report encoded VP9 levelAlex Converse2016-11-28
| | | | | Report the actual level of the encoded output if a level is targeted or the level is passively tracked with a target of 0.
* vf_colorspace: Forbid odd dimensionsVittorio Giovara2016-11-28
| | | | | | This prevents writing past bounds. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* ffmpeg_opt: Fix starttime with ffm in bitexact modeMichael Niedermayer2016-11-28
| | | | | | | | This fixes some differences between runs of the ffserver tests (in my local tree 2 runs gave the same result with this but i had other changes too) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* pngdec: check if previous frame exists instead of trusting sequence_numberAndreas Cadhalpun2016-11-27
| | | | | | | | This fixes a segmentation fault caused by calling memcpy with NULL as second argument in handle_p_frame_apng. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* tests/ffserver.conf: Force bitexactness in the ffmpeg commandMichael Niedermayer2016-11-27
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/rmenc: Check framerate before storingMichael Niedermayer2016-11-27
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavfi/f_ebur128: relicense to LGPLClément Bœsch2016-11-27
| | | | | | | | | | | | | | All copyright holders have agreed to the relicensing. Approved-by: Andreas Cadhalpun <andreas.cadhalpun@googlemail.com> Approved-by: David Sedacca <sedacca@comcast.net> Approved-by: Ganesh Ajjanagadde <gajjanag@mit.edu> Approved-by: Jean First <jeanfirst@gmail.com> Approved-by: Kyle Swanson <k@ylo.ph> Approved-by: Michael Niedermayer <michael@niedermayer.cc> Approved-by: Nicolas George <george@nsup.org> Approved-by: Paul B Mahol <onemda@gmail.com> Approved-by: Thilo Borgmann <thilo.borgmann@mail.de>
* avcodec/me_cmp: Fix median_sad sizeMichael Niedermayer2016-11-27
| | | | | | | Fixes out of array read Fixes: COV1396255 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>