diff options
author | Paul B Mahol <onemda@gmail.com> | 2021-01-21 18:48:27 +0100 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2021-01-22 16:21:22 +0100 |
commit | 95183d25e8900e7c7cb507a70616def0f5d1abf3 (patch) | |
tree | 2920001937e8f8897092276d31f0fa2f148337c4 /libavfilter/atadenoise.h | |
parent | ee1d1c4b377052635920a71f8fb2efd77ea3b38c (diff) | |
download | ffmpeg-95183d25e8900e7c7cb507a70616def0f5d1abf3.tar.gz |
avfilter/vf_atadenoise: add sigma options
Diffstat (limited to 'libavfilter/atadenoise.h')
-rw-r--r-- | libavfilter/atadenoise.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libavfilter/atadenoise.h b/libavfilter/atadenoise.h index 26cb20b9c8..7d92ece0d3 100644 --- a/libavfilter/atadenoise.h +++ b/libavfilter/atadenoise.h @@ -31,12 +31,12 @@ enum ATAAlgorithm { }; typedef struct ATADenoiseDSPContext { - void (*filter_row)(const uint8_t *src, uint8_t *dst, - const uint8_t **srcf, - int w, int mid, int size, - int thra, int thrb); + void (*filter_row[4])(const uint8_t *src, uint8_t *dst, + const uint8_t **srcf, + int w, int mid, int size, + int thra, int thrb, const float *weight); } ATADenoiseDSPContext; -void ff_atadenoise_init_x86(ATADenoiseDSPContext *dsp, int depth, int algorithm); +void ff_atadenoise_init_x86(ATADenoiseDSPContext *dsp, int depth, int algorithm, const float *sigma); #endif /* AVFILTER_ATADENOISE_H */ |