summaryrefslogtreecommitdiff
path: root/libavfilter/vf_convolution.c
Commit message (Collapse)AuthorAge
* avfilter: Constify all AVFiltersAndreas Rheinhardt2021-04-27
| | | | | | | This is possible now that the next-API is gone. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> Signed-off-by: James Almer <jamrial@gmail.com>
* avfilter/vf_convolution: add 16-column operation for filter_column()Paul B Mahol2021-02-13
| | | | Based on patch by Xu Jun <xujunzz@sjtu.edu.cn>
* avfilter: add kirsch video filterPaul B Mahol2021-01-27
|
* avfilter/vf_convolution: use correct stride variablePaul B Mahol2021-01-10
|
* avfilter/vf_convolution: Deduplicate filter optionsAndreas Rheinhardt2021-01-08
| | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
* avfilter/vf_convolution: add support for commandsPaul B Mahol2020-12-11
|
* avfilter/vf_convolution: add 12bit yuva formatsPaul B Mahol2019-11-18
|
* avfilter/vf_convolution: fix undefined behaviourPaul B Mahol2019-10-13
| | | | Fixes #8263
* avfilter/vf_convolution: Fix build failuresAndreas Rheinhardt2019-08-14
| | | | | | | | | | | | | | | 98e419cb added SIMD for the convolution filter for x64 systems. As usual, it used a check of the form if (ARCH_X86_64) ff_convolution_init_x86(s); and thereby relied on the compiler eliminating this pseudo-runtime check at compiletime for non x64 systems (for which ff_convolution_init_x86 isn't defined) to compile. But vf_convolution.c contains more than one filter and if the convolution filter is disabled, but one of the other filters (prewitt, sobel, roberts) is enabled, the build will fail on x64, because ff_convolution_init_x86 isn't defined in this case. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
* avfilter/vf_convolution: add x86 SIMD for filter_3x3()Ruiling Song2019-08-07
| | | | | | | | | | | Tested using a simple command (apply edge enhance): ./ffmpeg_g -i ~/Downloads/bbb_sunflower_1080p_30fps_normal.mp4 \ -vf convolution="0 0 0 -1 1 0 0 0 0:0 0 0 -1 1 0 0 0 0:0 0 0 -1 1 0 0 0 0:0 0 0 -1 1 0 0 0 0:5:1:1:1:0:128:128:128" \ -an -vframes 1000 -f null /dev/null The fps increase from 151 to 270 on my local machine. Signed-off-by: Ruiling Song <ruiling.song@intel.com>
* avfilter/vf_convolution: use sqrtf as its fasterPaul B Mahol2018-11-15
|
* avfilter: add support for gray14 formatPaul B Mahol2018-09-09
|
* avfilter/vf_convolution: use already available dstridePaul B Mahol2018-05-05
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_convolution: add column/vertical modePaul B Mahol2018-05-04
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_convolution: unbreak roberts filterPaul B Mahol2018-05-03
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_convolution: add horizontal/row modePaul B Mahol2018-05-03
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_convolution: rewrite so it doesn't use temp buffersPaul B Mahol2018-05-03
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_convolution: make rdiv set to 0 more usefulPaul B Mahol2018-04-28
| | | | | | | Use 0 for signaling that rdiv will be calculated from sum of all matrix elements. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_convolution: disable fast path if rdiv/bias are different from ↵Paul B Mahol2018-03-23
| | | | | | defaults Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_convolution: add 7x7 filterPaul B Mahol2017-12-04
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter: add support for GRAY9 and GBRAP10Paul B Mahol2017-08-07
|
* avfilter: add roberts cross operatorPaul B Mahol2017-06-19
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_convolution: add slice threading supportPaul B Mahol2016-09-12
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter: add sobel and prewitt filterPaul B Mahol2016-09-12
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_convolution: add >8 bit depth supportPaul B Mahol2016-08-27
|
* avutil: Rename FF_CEIL_COMPAT to AV_CEIL_COMPATDerek Buitenhuis2016-01-27
| | | | | | | | | | Libav, for some reason, merged this as a public API function. This will aid in future merges. A define is left for backwards compat, just in case some person used it, since it is in a public header. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* avfilter/vf_convolution: Use av_clip_uint8()Michael Niedermayer2016-01-23
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/vf_convolution: add timeline supportPaul B Mahol2016-01-22
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter: add convolution filterPaul B Mahol2016-01-22
Signed-off-by: Paul B Mahol <onemda@gmail.com>