summaryrefslogtreecommitdiffstats
path: root/libavfilter/vf_hqdn3d.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-04-10 21:13:27 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-04-10 21:14:30 +0200
commitf780a90355aa19256f37df9359a58140a9b4a6b3 (patch)
tree099d032ec50e0bfa8a86785da92d7315a35a81c3 /libavfilter/vf_hqdn3d.h
parent1ee9eacaa492a0f38ae426439516574f4bfae4d9 (diff)
parent8c747d46f721cffa8ea51990805ad1d3a3a4fd0a (diff)
downloadffmpeg-streaming-f780a90355aa19256f37df9359a58140a9b4a6b3.zip
ffmpeg-streaming-f780a90355aa19256f37df9359a58140a9b4a6b3.tar.gz
Merge commit '8c747d46f721cffa8ea51990805ad1d3a3a4fd0a'
* commit '8c747d46f721cffa8ea51990805ad1d3a3a4fd0a': vf_hqdn3d: switch to an AVOptions-based system. Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/vf_hqdn3d.h')
-rw-r--r--libavfilter/vf_hqdn3d.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libavfilter/vf_hqdn3d.h b/libavfilter/vf_hqdn3d.h
index dfc69e1..268ac9a 100644
--- a/libavfilter/vf_hqdn3d.h
+++ b/libavfilter/vf_hqdn3d.h
@@ -26,7 +26,10 @@
#include <stddef.h>
#include <stdint.h>
+#include "libavutil/opt.h"
+
typedef struct {
+ const AVClass *class;
int16_t *coefs[4];
uint16_t *line;
uint16_t *frame_prev[3];
@@ -36,6 +39,11 @@ typedef struct {
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);
} HQDN3DContext;
+#define LUMA_SPATIAL 0
+#define LUMA_TMP 1
+#define CHROMA_SPATIAL 2
+#define CHROMA_TMP 3
+
void ff_hqdn3d_init_x86(HQDN3DContext *hqdn3d);
#endif /* AVFILTER_VF_HQDN3D_H */
OpenPOWER on IntegriCloud