summaryrefslogtreecommitdiff
path: root/libavfilter
Commit message (Collapse)AuthorAge
* w32pthreads: always use Vista+ API, drop XP supportwm42017-12-26
| | | | | | | | | | | This removes the XP compatibility code, and switches entirely to SWR locks, which are available starting at Windows Vista. This removes CRITICAL_SECTION use, which allows us to add PTHREAD_MUTEX_INITIALIZER, which will be useful later. Windows XP is hereby not a supported build target anymore. It was decided in a project vote that this is OK.
* avfilter/vf_convolve: add threading for complex multiplicationPaul B Mahol2017-12-25
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_convolve: implement slice threadingPaul B Mahol2017-12-25
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_convolve: split input/output operations from fftPaul B Mahol2017-12-25
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_convolve: use shorter variants for pointersPaul B Mahol2017-12-25
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_convolve: clear coefficients only when neededPaul B Mahol2017-12-25
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_convolve: fix various issuesPaul B Mahol2017-12-24
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_convolve: fix convolution of bordersPaul B Mahol2017-12-24
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_convolve: unbreak non-power of 2 width&height filteringPaul B Mahol2017-12-23
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_fftfilt: support >8 bit depth formatsPaul B Mahol2017-12-23
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_aspect: change outlink sample aspect ratio instead of inlinkPaul B Mahol2017-12-23
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/video: pick sar from linkPaul B Mahol2017-12-23
| | | | | | | | It should not be needed for each filter that sets sample aspect ratio to set it explicitly also for each and every frame, instead that is automatically done in get_buffer call. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_lut: add support for gray formatsPaul B Mahol2017-12-22
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_framerate: fix scene score with negative linesizeMarton Balint2017-12-21
| | | | | | | Also, do not overread input if linesize > width, or linesize is not divisible by 8, and use the proper rounded width/height for MAFD calculation. Signed-off-by: Marton Balint <cus@passwd.hu>
* avfilter/vf_framerate: do not calculate scene change score multiple times ↵Marton Balint2017-12-21
| | | | | | | | | | for the same frame This speeds up the filter, and also fixes scene change detection score which is reduced based on the difference of the current MAFD to the preivous MAFD. Obviously if we compare two frames twice, the difference will be 0... Signed-off-by: Marton Balint <cus@passwd.hu>
* avfilter/vf_framerate: fix scene change detection scoreMarton Balint2017-12-21
| | | | | | | | | - normalize score to [0..100] instead of [0..85] - change the default score to 8.2 to roughly keep existing behaviour - take into account bit depth - do not truncate to integer Signed-off-by: Marton Balint <cus@passwd.hu>
* avfilter/vf_framerate: factorize get_scene_scoreMarton Balint2017-12-21
| | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* avfilter/vf_framerate: factorize blend_framesMarton Balint2017-12-21
| | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* avfilter/vf_framerate: add threaded blending operationsMarton Balint2017-12-21
| | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* avfilter/af_biquads: change defaults for biquad filterPaul B Mahol2017-12-21
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/af_biquads: increase width rangePaul B Mahol2017-12-21
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/af_biquads: add kHz width_typePaul B Mahol2017-12-21
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_psnr: add more gbrap formatsPaul B Mahol2017-12-20
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* Revert "avfilter/vf_interlace : add AVX2 for lowpass_line 8 and 16"James Almer2017-12-19
| | | | | | | | | This reverts commits 1a5865b6dcc97754a1d7eedc130fb58237d2a715 and 8fb1d63d919286971b8e6afad372730d6d6f25c8. They made fate interlace tests fail when AVX2 was used. Signed-off-by: James Almer <jamrial@gmail.com>
* avfilter/x86/vf_hflip : indentMartin Vignali2017-12-19
| | | | based on patch by Paul B Mahol
* avfilter/x86/vf_hflip : add avx2 version for hflip_byte and hflip_shortMartin Vignali2017-12-19
|
* avfilter/x86/vf_hflip : merge hflip byte and hflip short to one macroMartin Vignali2017-12-19
|
* avfilter/vf_tinterlace : add AVX2 func for lowpass_line 8 and 16Martin Vignali2017-12-19
|
* avfilter/vf_interlace : add AVX2 for lowpass_line 8 and 16Martin Vignali2017-12-19
|
* avfilter/vf_interlace : move func init in ff_interlace_init and add depth ↵Martin Vignali2017-12-19
| | | | arg for ff_interlace_init_x86
* avfilter/vf_overlay: fix packed_rgb caseMateusz2017-12-18
| | | | Signed-off-by: Mateusz Brzostek <mateuszb@poczta.onet.pl>
* libvmaf: exit gracefully if the library fails.Ronald S. Bultje2017-12-18
| | | | Fixes trac issue #6884 and Netflix/vmaf issue #124.
* avfilter/af_biquads: add missing break statementsPaul B Mahol2017-12-17
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* lavu/lavc/lavf/lavfi: Do not use type modifier %zu on Windows MSVCRT.Carl Eugen Hoyos2017-12-17
|
* avfilter/af_biquads: remove unused enum itemPaul B Mahol2017-12-17
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/av_biquads: add support for commandsPaul B Mahol2017-12-17
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_overlay: add premultiplied alpha modePaul B Mahol2017-12-16
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/x86/vf_interlace : avfilter/x86/vf_interlace : fix crash when using ↵Martin Vignali2017-12-15
| | | | | | unaligned data in low_pass complex related to ticket 6491
* avfilter/x86/vf_interlace : avoid crash when data are unalignedMartin Vignali2017-12-15
| | | | ticket 6491
* avfilter/drawbox+drawgrid - add option to prevent overwriting of source pixelsGyan Doshi2017-12-14
| | | | | | | | | | If the user-supplied color in drawbox and drawgrid filters is non-opaque, the box & grid painting overwrites the input's pixels (including alpha). Users typically expect the alpha of the specified color to only act as a key for compositing on top of the main input. Added option allows users to select between replacement and composition. Tested and documented.
* libavfilter/af_dcshift.c: Fixed repeated spelling errorKelly Ledford2017-12-13
| | | | | | | 'threshhold' should be 'threshold' Signed-off-by: Kelly Ledford <kelly.ledford@intel.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/vf_hflip : move context func init in ff_hflip_initMartin Vignali2017-12-13
|
* avfilter/formats: fix wrong function name in error messageJun Zhao2017-12-13
| | | | | | | | Use perdefined micro __FUNCTION__ rather than hard coding function name to fix wrong function name in error message. Signed-off-by: Jun Zhao <jun.zhao@intel.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/vf_pseudocolor: add support for more formatsPaul B Mahol2017-12-12
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/avfiltergraph: remove ugly dead codePaul B Mahol2017-12-11
| | | | | | Remnant of old merge. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/x86/vf_threshold : add threshold16 SIMD (SSE4 and AVX2)Martin Vignali2017-12-09
|
* avfilter/vf_scale: add more aliases for "range" optionsPaul B Mahol2017-12-08
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* vf_zscale: Fix alpha destination graph for floating point pixel formatsVittorio Giovara2017-12-08
| | | | | | | This was setting the input pixel type instead of the output one, leading to incorrect data being fed to the library. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* avfilter/vf_waveform: add default case when picking input formatsPaul B Mahol2017-12-08
| | | | | | Should silence compiler warnings. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* x86/vf_hflip: use xor to zero initialize registersJames Almer2017-12-07
| | | | Signed-off-by: James Almer <jamrial@gmail.com>