From 8c747d46f721cffa8ea51990805ad1d3a3a4fd0a Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Mon, 25 Feb 2013 21:21:29 +0100 Subject: vf_hqdn3d: switch to an AVOptions-based system. --- libavfilter/vf_hqdn3d.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'libavfilter/vf_hqdn3d.h') diff --git a/libavfilter/vf_hqdn3d.h b/libavfilter/vf_hqdn3d.h index 7350f74..5cdbb12 100644 --- a/libavfilter/vf_hqdn3d.h +++ b/libavfilter/vf_hqdn3d.h @@ -22,7 +22,10 @@ #include #include +#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 */ -- cgit v1.1