summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* avcodec/crystalhd: Handle errors from av_image_get_linesizePhilip Langdale2016-11-301-0/+5
| | | | | | This function can return an error in certain situations. Fixes Coverity CID 703707.
* ffserver: fix broken HTML on generated status pageReynaldo H. Verdejo Pinochet2016-11-302-15/+14
| | | | | | Dropped incompatible/obsoleted HTML tag attributes Signed-off-by: Reynaldo H. Verdejo Pinochet <[email protected]>
* tools/coverity: Add model for av_reallocPhilip Langdale2016-11-301-0/+15
| | | | | Really should have done this last time. It should provide consistency across our allocations and frees.
* avcodec/h264: sse2 and avx 4:2:2 idct add8 10-bit functionsJames Darnley2016-11-302-2/+64
| | | | | | | | | | | | | | | 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-302-1/+38
| | | | 2.87 times faster (1830 vs. 638 cycles)
* avcodec/h264: mmxext 4:2:2 chroma intra deblock/loop filterJames Darnley2016-11-302-0/+16
| | | | 2.1 times faster (401 vs. 194 cycles)
* ffserver: use codec time_base for streamAndreas Cadhalpun2016-11-302-5/+5
| | | | | | | This fixes producing swf and rm files as done by ffservertest. Reviewed-by: Reynaldo H. Verdejo Pinochet <[email protected]> Signed-off-by: Andreas Cadhalpun <[email protected]>
* tests: drop -d option from ffserver invocationAndreas Cadhalpun2016-11-301-1/+1
| | | | | | | | | | 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 <[email protected]> Signed-off-by: Andreas Cadhalpun <[email protected]>
* tests: print errors from ffserverAndreas Cadhalpun2016-11-301-1/+1
| | | | | | | | Not doing so makes debugging unnecessarily hard. Reviewed-by: Reynaldo H. Verdejo Pinochet <[email protected]> Reviewed-by: Michael Niedermayer <[email protected]> Signed-off-by: Andreas Cadhalpun <[email protected]>
* tools/coverity: Add models for av_mallocz and av_freePhilip Langdale2016-11-301-3/+25
| | | | | | 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-302-1/+17
|
* ffprobe: Fix displaying side data list onlyVittorio Giovara2016-11-301-3/+3
| | | | Signed-off-by: Vittorio Giovara <[email protected]>
* mov: Evaluate the movie display matrixVittorio Giovara2016-11-302-13/+36
| | | | | | | | | 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 <[email protected]>
* avcodec/nvenc: mark intentional fall throughTimo Rothenpieler2016-11-301-0/+1
|
* avfilter/vf_hwupload_cuda: fix potential leakTimo Rothenpieler2016-11-301-1/+3
|
* avutil/hwcontext_cuda: check for missing pixel formatTimo Rothenpieler2016-11-301-0/+3
|
* avfilter/vf_scale_npp: check ff_set_common_formats return valueTimo Rothenpieler2016-11-301-4/+2
|
* avfilter/vf_scale_npp: move aspect ratio correction after av_frame_copy_propsMiroslav Slugeň2016-11-301-5/+5
| | | | Signed-off-by: Timo Rothenpieler <[email protected]>
* avcodec/nvenc: always reduce DAR width and heightMiroslav Slugeň2016-11-301-12/+9
| | | | Signed-off-by: Timo Rothenpieler <[email protected]>
* avcodec/nvenc: Delay identification of underlying format of cuda framesPhilip Langdale2016-11-301-34/+37
| | | | | | | | | | | | | | | | | | 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 <[email protected]> Signed-off-by: Timo Rothenpieler <[email protected]>
* ffserver: Add client requested urls to the status pageMichael Niedermayer2016-11-303-5/+37
| | | | | | | Fixes Ticket3791 Reviewed-by: "Reynaldo H. Verdejo Pinochet" <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* avidec: fix leaking extradataAndreas Cadhalpun2016-11-301-0/+8
| | | | | Reviewed-by: Michael Niedermayer <[email protected]> Signed-off-by: Andreas Cadhalpun <[email protected]>
* matroskadec: prevent access of elements after freeingMichael Schenk2016-11-301-0/+1
| | | | | | | | | | 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 <[email protected]>
* avcodec/flac_parser: Update nb_headers_bufferedMichael Niedermayer2016-11-301-0/+2
| | | | | | | | | Fixes infinite loop Fixes: fuzz.flac Found-by: Frank Liberato <[email protected]> Reviewed-by: Frank Liberato <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* idroqdec: fix leaking pkt on failureAndreas Cadhalpun2016-11-301-1/+3
| | | | | | | | 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 <[email protected]> Signed-off-by: Andreas Cadhalpun <[email protected]>
* fate: update after addition of gray10 to lavc/rawPaul B Mahol2016-11-3012-21/+21
| | | | Signed-off-by: Paul B Mahol <[email protected]>
* tests/ffserver-regression: Check the status page tooMichael Niedermayer2016-11-292-0/+3
| | | | Signed-off-by: Michael Niedermayer <[email protected]>
* ffsrever: Make the status page bitexact if any stream is bitexactMichael Niedermayer2016-11-293-5/+11
| | | | Signed-off-by: Michael Niedermayer <[email protected]>
* ffserver_config: Setup codecpar in add_codec()Michael Niedermayer2016-11-291-0/+2
| | | | | | fixes segfault in the status page code Signed-off-by: Michael Niedermayer <[email protected]>
* tests/ffserver.regression.ref: update ffserver checksumsMichael Niedermayer2016-11-291-10/+10
| | | | | Reviewed-by: "Reynaldo H. Verdejo Pinochet" <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* tests/ffserver-regression.sh: give wget a timeout and prevent retriesMichael Niedermayer2016-11-291-1/+1
| | | | | Reviewed-by: "Reynaldo H. Verdejo Pinochet" <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* avformat/idroqdec: Check chunk_size for being too largeMichael Niedermayer2016-11-291-0/+3
| | | | Signed-off-by: Michael Niedermayer <[email protected]>
* avfilter/vf_masked*: add gray10 and gray12 supportPaul B Mahol2016-11-292-2/+2
| | | | Signed-off-by: Paul B Mahol <[email protected]>
* avfilter/vf_bitplanenoise: add gray10 and gray12 suppportPaul B Mahol2016-11-291-2/+1
| | | | Signed-off-by: Paul B Mahol <[email protected]>
* avfilter/vf_extractplanes: add extract support for 10bit and 12bit formatsPaul B Mahol2016-11-291-0/+38
| | | | Signed-off-by: Paul B Mahol <[email protected]>
* avfilter/vf_waveform: add gray10 and gray12 supportPaul B Mahol2016-11-291-1/+15
| | | | Signed-off-by: Paul B Mahol <[email protected]>
* avcodec/raw: add gray10 support in nutPaul B Mahol2016-11-291-0/+2
| | | | Signed-off-by: Paul B Mahol <[email protected]>
* avcodec/msrledec: implement vertical offset in 4-bit RLEDaniel Verkamp2016-11-291-1/+1
| | | | | | | | | | | | | 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 <[email protected]>
* tests: Fix running ffserver under qemuMichael Niedermayer2016-11-282-2/+6
| | | | Signed-off-by: Michael Niedermayer <[email protected]>
* tests/Makefile: Fix ffservertest dependenciesMichael Niedermayer2016-11-281-1/+1
| | | | Signed-off-by: Michael Niedermayer <[email protected]>
* ffserver: Remove last use of AVStream sizeMichael Niedermayer2016-11-281-14/+4
| | | | | Reviewed-by: "Reynaldo H. Verdejo Pinochet" <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* ffserver: Remove some deprecated API use related to codec/codecparMichael Niedermayer2016-11-281-7/+1
| | | | | Reviewed-by: "Reynaldo H. Verdejo Pinochet" <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* ffserver: Remove use of AVStream as a intermediate to store parametersMichael Niedermayer2016-11-283-41/+76
| | | | | Reviewed-by: "Reynaldo H. Verdejo Pinochet" <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* ffserver: drop FeedData, its unusedMichael Niedermayer2016-11-281-6/+0
| | | | | Reviewed-by: "Reynaldo H. Verdejo Pinochet" <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* tests/ffserver-regression.sh: Fix file truncation introduced in ↵Michael Niedermayer2016-11-281-1/+1
| | | | | | 508826f961caf662cadb7c253e3c0e7d75104bdd Signed-off-by: Michael Niedermayer <[email protected]>
* libvpxenc: Report encoded VP9 levelAlex Converse2016-11-281-0/+32
| | | | | 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-282-1/+9
| | | | | | This prevents writing past bounds. Signed-off-by: Vittorio Giovara <[email protected]>
* ffmpeg_opt: Fix starttime with ffm in bitexact modeMichael Niedermayer2016-11-281-1/+8
| | | | | | | | 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 <[email protected]>
* pngdec: check if previous frame exists instead of trusting sequence_numberAndreas Cadhalpun2016-11-271-1/+2
| | | | | | | | This fixes a segmentation fault caused by calling memcpy with NULL as second argument in handle_p_frame_apng. Reviewed-by: Michael Niedermayer <[email protected]> Signed-off-by: Andreas Cadhalpun <[email protected]>
* tests/ffserver.conf: Force bitexactness in the ffmpeg commandMichael Niedermayer2016-11-271-1/+1
| | | | Signed-off-by: Michael Niedermayer <[email protected]>