Merge remote-tracking branch 'libav/master'
[FFMpeg-mirror/mplayer-patches.git] / libavfilter / vf_hqdn3d.h
blob7350f745c0a7ba8e36d328de327989b022b82dda
1 /*
2 * This file is part of Libav.
4 * Libav is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
9 * Libav is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License along
15 * with Libav; if not, write to the Free Software Foundation, Inc.,
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19 #ifndef AVFILTER_VF_HQDN3D_H
20 #define AVFILTER_VF_HQDN3D_H
22 #include <stddef.h>
23 #include <stdint.h>
25 typedef struct {
26 int16_t *coefs[4];
27 uint16_t *line;
28 uint16_t *frame_prev[3];
29 double strength[4];
30 int hsub, vsub;
31 int depth;
32 void (*denoise_row[17])(uint8_t *src, uint8_t *dst, uint16_t *line_ant, uint16_t *frame_ant, ptrdiff_t w, int16_t *spatial, int16_t *temporal);
33 } HQDN3DContext;
35 void ff_hqdn3d_init_x86(HQDN3DContext *hqdn3d);
37 #endif /* AVFILTER_VF_HQDN3D_H */