aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* doc/encoders: Move libxavs2 to correct place in alphabetical orderMark Thompson2018-11-181-46/+46
|
* mjpegdec: Fill raw huffman tables with default values tooMark Thompson2018-11-181-28/+39
| | | | | | These may be used by hwaccel decoders when the standard tables are not otherwise available. At the same time, clean up that code into an array so it's a little less repetitive.
* cbs_h265: Add a lot more SEI parsing supportMark Thompson2018-11-185-20/+649
| | | | | | Supports both prefix and suffix SEI, decoding all of the common SEI types and some more obscure ones. Most of this is tested by the existing tests in fate.
* lavu/avsscanf: Do not mix declaration and code.Carl Eugen Hoyos2018-11-181-1/+2
| | | | | | | | Fixes the following warning: libavutil/avsscanf.c: In function 'decfloat': libavutil/avsscanf.c:354:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] int bitlim = bits-3*(int)(rp-9); ^~~
* avfilter: use av_clip_uintp2 instead of av_clip for 10b and 12bMartin Vignali2018-11-171-10/+10
|
* avutil/cuda_check: Make sure this passes make fate-sourcePhilip Langdale2018-11-172-3/+5
| | | | | | | | The header guards were unnecessarily non-standard and the c file inclusion trick means the files dont't have standard licence headers. Based on a patch by: Martin Vignali <martin.vignali@gmail.com>
* avfilter/vf_neighbor: fix >8 bit deflate/inflatePaul B Mahol2018-11-171-16/+27
|
* lavf/hlsenc: Do not mix declarations and code.Carl Eugen Hoyos2018-11-161-5/+5
| | | | | | | | | | | | | | Fixes the following warnings: libavformat/hlsenc.c: In function 'hls_write_trailer': libavformat/hlsenc.c:2364:17: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] uint8_t *buffer = NULL; ^~~~~~~ libavformat/hlsenc.c:2372:17: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] int byterange_mode = (hls->flags & HLS_SINGLE_FILE) || (hls->max_seg_size > 0); ^~~ libavformat/hlsenc.c:2379:13: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] int range_length = 0; ^~~
* lavfi/minterpolate: Remove declaration of two unused variables.Carl Eugen Hoyos2018-11-161-1/+0
|
* avfilter/vf_dedot: initizalize ret variablePaul B Mahol2018-11-161-1/+1
|
* avfilter/vf_lut3d: use av_sscanfPaul B Mahol2018-11-161-8/+8
|
* lavu: add locale-independent sscanf implementationPaul B Mahol2018-11-163-0/+978
| | | | | | Copied and adopted from musl implementation. * converted all 'long double' to 'double' * removed %m support
* avfilter: add dedot video filterPaul B Mahol2018-11-166-1/+437
|
* doc/filters: improve afftfilt documentationPaul B Mahol2018-11-161-4/+4
|
* avcodec/pngdec: Check compression methodMichael Niedermayer2018-11-161-0/+4
| | | | | | | | | | method 0 (inflate/deflate) is the only specified in the specification and the only supported Fixes: Timeout Fixes: 10976/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_PNG_fuzzer-5729372588736512 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* fftools/ffmpeg: Repair reinit_filter featureMichael Niedermayer2018-11-161-3/+7
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/libvpxenc: Add a maximum constraint of 16 encoder threads.Chirag Lathia2018-11-151-1/+2
| | | | | Signed-off-by: Chirag Lathia <clathia@google.com> Signed-off-by: James Almer <jamrial@gmail.com>
* avfilter/af_afade: fix duration maximumMarton Balint2018-11-151-2/+2
| | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* avfilter/vf_convolution: use sqrtf as its fasterPaul B Mahol2018-11-151-6/+6
|
* avfilter/vf_blend: add 12bit supportPaul B Mahol2018-11-151-1/+85
|
* avfilter/vf_blend: add 10bit supportPaul B Mahol2018-11-153-89/+221
|
* avfilter/vf_lut2: implement support for different input depthsPaul B Mahol2018-11-152-78/+241
|
* avfilter/vf_bwdif: Use common yadif frame management logicPhilip Langdale2018-11-143-231/+41
| | | | | After adding field type management to the common yadif logic, we can remove the duplicate copy of that logic from bwdif.
* avfilter/yadif_common: Add field type tracking to help bwdifPhilip Langdale2018-11-142-3/+23
| | | | | | | | The bwdif filter can use common yadif frame management if we track when a field is the first or last field in a sequence. While this information is not used by yadif, the added benefit of removing the duplicated frame management logic makes it worth tracking this state in the common code.
* avutil/hwcontext_cuda: Define and use common CHECK_CU()Philip Langdale2018-11-1416-395/+367
| | | | | | | | | | | | | | | | | | We have a pattern of wrapping CUDA calls to print errors and normalise return values that is used in a couple of places. To avoid duplication and increase consistency, let's put the wrapper implementation in a shared place and use it everywhere. Affects: * avcodec/cuviddec * avcodec/nvdec * avcodec/nvenc * avfilter/vf_scale_cuda * avfilter/vf_scale_npp * avfilter/vf_thumbnail_cuda * avfilter/vf_transpose_npp * avfilter/vf_yadif_cuda
* avcodec/cbs_av1: fix parsing signed integer valuesJames Almer2018-11-141-21/+9
| | | | | Reviewed-by: Mark Thompson <sw@jkqxz.net> Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/cbs_av1: fix storage size for segmentation_params feature_value fieldsJames Almer2018-11-141-1/+1
| | | | | | | The valid range is -255 to 255. Reviewed-by: Mark Thompson <sw@jkqxz.net> Signed-off-by: James Almer <jamrial@gmail.com>
* configure: Add missing xlib dependency for VAAPI X11 codeMark Thompson2018-11-141-0/+1
| | | | Fixes #7538.
* lavf/dashenc: set FLAC manifest codec string to "flac"Jan Ekström2018-11-141-0/+1
| | | | | | | | | | | | | | Internally in ISOBMFF the FLAC-in-ISOBMFF draft uses "fLaC" as the identifier for FLACSampleEntry, and there seems to be no MPEG-DASH specification for the in-manifest identifier for FLAC. After testing the browsers' implementations, it seems like all of the major browser vendors have decided to utilize the MIME type for FLAC ("audio/flac") as the identifier. This change set leads to that string being utilized for FLAC streams instead of the sample entry identifier ("fLaC"), which is the default behavior. Verified by auri_ on IRC to play with the major browsers.
* avcodec/libdav1d: fix build after a recent API breakJames Almer2018-11-141-3/+9
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/huffyuvenc: add support for gbrp16Paul B Mahol2018-11-141-1/+1
|
* avcodec/shorten: Fix integer overflow with offsetMichael Niedermayer2018-11-131-2/+2
| | | | | | | | Fixes: signed integer overflow: -1625810908 - 582229060 cannot be represented in type 'int' Fixes: 10977/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SHORTEN_fuzzer-5732602018267136 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/golomb: Speed up long ur_golomb codesMichael Niedermayer2018-11-131-3/+7
| | | | | | | | Fixes: Timeout Fixes: 10972/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_FLAC_fuzzer-5707569640243200 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* h264_metadata: Don't use inferred value of buffering framesAndreas Rheinhardt2018-11-131-3/+6
| | | | | | | | Using the value of buffering frames inferred from the old level is not a sensible approach when one wants to guess the level. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@googlemail.com> Signed-off-by: Mark Thompson <sw@jkqxz.net>
* h264_levels, h264_metadata_bsf: Fix levels typoAndreas Rheinhardt2018-11-133-3/+3
| | | | | | | profile_idc for level 1b should be 11, not 10. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@googlemail.com> Signed-off-by: Mark Thompson <sw@jkqxz.net>
* avcodec/prores_metadata_bsf : fix colorspace checkMartin Vignali2018-11-131-1/+1
| | | | | Report by coverity CID 1441165
* avcodec/libopenh264enc: fix class_nameTobias Rapp2018-11-131-1/+1
| | | | | | | Reverts some accidental change in commit e621b1ca646a2f268797adc3194b694a852548d2. Reviewed-by: Jan Ekström <jeebjp@gmail.com> Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
* avfilter/vf_alphamerge: do not check for ret value if all wanted frames are ↵Paul B Mahol2018-11-121-7/+5
| | | | | | present It is not needed and may be uninitialized.
* avfilter/vf_fade: fix start/duration max valueMark Harris2018-11-121-4/+4
| | | | | A fade out (usually at the end of a video) can easily start beyond INT32_MAX (about 36 minutes). Regression since d40dc64173.
* avfilter/af_afftfilt: use first input frame timestampPaul B Mahol2018-11-121-0/+4
|
* lavc/videotoolbox: Fix cropping with HEVC and H264 videosAkemi2018-11-121-0/+11
| | | | | | | | | | | videotoolbox returns an already cropped stream which led to double cropping. this issue was introduced with the refactor of the cropping mechanism in commit 07596e4 for h264 and 000fb61 for HEVC. to fix this we set the cropping of the frame and the output frame to 0. Tested-by: ponpon Fixes ticket #7544.
* fate: Add test for vc1test demuxerJun Zhao2018-11-123-0/+65
| | | | Signed-off-by: Jun Zhao <mypopydev@gmail.com>
* avfilter/vf_alphamerge: switch to activatePaul B Mahol2018-11-121-44/+44
|
* avformat/hlsenc: check dirname and fix vtt problemSteven Liu2018-11-121-5/+14
| | | | | | | | | fix ticket: 7527 check dirname before use it refine webvtt code in the hls_delete_old_segments Reported-by: caspy Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* avcodec/tiff: add initial bayer and sub image supportPaul B Mahol2018-11-122-12/+156
|
* avfilter/af_headphone: do not leak input frames on errorPaul B Mahol2018-11-121-0/+3
|
* avfilter/af_afftfilt: calculate all channels FFT values upfrontPaul B Mahol2018-11-121-4/+7
|
* cbs_h2645: Improve performance of writing slicesAndreas Rheinhardt2018-11-121-50/+68
| | | | | | | | | | | | Instead of using a combination of bitreader and -writer for copying data, one can byte-align the (obsolete and removed) bitreader to improve performance. With the right alignment one can even use memcpy. The right alignment normally exists for CABAC and hence for H.265 in general. For aligned data this reduced the time to copy the slicedata from 776520 decicycles to 33889 with 262144 runs and a 6.5mb/s H.264 video. For unaligned data the number went down from 279196 to 97739 decicycles. Signed-off-by: Mark Thompson <sw@jkqxz.net>
* fate/prores_metadata : fix md5 valueMartin Vignali2018-11-111-1/+1
|
* avfilter/af_afftfilt: add more window typesPaul B Mahol2018-11-111-0/+15
|