Merge commit '8c747d46f721cffa8ea51990805ad1d3a3a4fd0a'
[ffmpeg.git] / libavfilter / vf_hqdn3d.h
index dfc69e1..268ac9a 100644 (file)
 #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 */