]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/vf_hqdn3d.h
configure: Simplify nvenc check (and move it to the correct spot)
[ffmpeg] / libavfilter / vf_hqdn3d.h
index 7350f745c0a7ba8e36d328de327989b022b82dda..a3445188b157dca104bdb028dc98d9fdced32a32 100644 (file)
 #include <stddef.h>
 #include <stdint.h>
 
-typedef struct {
+#include "libavutil/opt.h"
+
+typedef struct HQDN3DContext {
+    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 */