aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/vf_hqdn3d.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-02-25 21:21:29 +0100
committerAnton Khirnov <anton@khirnov.net>2013-04-09 19:05:12 +0200
commit8c747d46f721cffa8ea51990805ad1d3a3a4fd0a (patch)
treebb784c157beeb22b3baf1f8dc82356598af63a77 /libavfilter/vf_hqdn3d.h
parent7ed833d78ea661d619124fd898547a900f6480bc (diff)
downloadffmpeg-8c747d46f721cffa8ea51990805ad1d3a3a4fd0a.tar.gz
vf_hqdn3d: switch to an AVOptions-based system.
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 7350f745c0..5cdbb12417 100644
--- a/libavfilter/vf_hqdn3d.h
+++ b/libavfilter/vf_hqdn3d.h
@@ -22,7 +22,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];
@@ -32,6 +35,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 */