diff options
author | Paul B Mahol <onemda@gmail.com> | 2019-10-14 19:15:14 +0300 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2019-10-17 20:44:11 +0300 |
commit | 295d99b4393de8ff844048237eddac8496af567c (patch) | |
tree | ddc366a88fa1d3f3d7df96504360f7140b128fce /libavfilter/atadenoise.h | |
parent | eb17bf6fd3da5136d3b15c7e608a317826fd15f9 (diff) |
avfilter/vf_adadenoise: add x86 SIMD
Diffstat (limited to 'libavfilter/atadenoise.h')
-rw-r--r-- | libavfilter/atadenoise.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/libavfilter/atadenoise.h b/libavfilter/atadenoise.h new file mode 100644 index 0000000000..c1fdc2f64e --- /dev/null +++ b/libavfilter/atadenoise.h @@ -0,0 +1,36 @@ + /* + * Copyright (c) 2019 Paul B Mahol + * + * This file is part of FFmpeg. + * + * FFmpeg is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * FFmpeg is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with FFmpeg; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ + +#ifndef AVFILTER_ATADENOISE_H +#define AVFILTER_ATADENOISE_H + +#include <stddef.h> +#include <stdint.h> + +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); +} ATADenoiseDSPContext; + +void ff_atadenoise_init_x86(ATADenoiseDSPContext *dsp, int depth); + +#endif /* AVFILTER_ATADENOISE_H */ |