annotate ffmpeg/libavfilter/vf_hqdn3d.h @ 13:844d341cf643 tip

Back up before ISMIR
author Yading Song <yading.song@eecs.qmul.ac.uk>
date Thu, 31 Oct 2013 13:17:06 +0000
parents 6840f77b83aa
children
rev   line source
yading@10 1 /*
yading@10 2 * Copyright (c) 2003 Daniel Moreno <comac AT comac DOT darktech DOT org>
yading@10 3 * Copyright (c) 2010 Baptiste Coudurier
yading@10 4 * Copyright (c) 2012 Loren Merritt
yading@10 5 *
yading@10 6 * This file is part of FFmpeg, ported from MPlayer.
yading@10 7 *
yading@10 8 * FFmpeg is free software; you can redistribute it and/or modify
yading@10 9 * it under the terms of the GNU General Public License as published by
yading@10 10 * the Free Software Foundation; either version 2 of the License, or
yading@10 11 * (at your option) any later version.
yading@10 12 *
yading@10 13 * FFmpeg is distributed in the hope that it will be useful,
yading@10 14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
yading@10 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
yading@10 16 * GNU General Public License for more details.
yading@10 17 *
yading@10 18 * You should have received a copy of the GNU General Public License along
yading@10 19 * with FFmpeg; if not, write to the Free Software Foundation, Inc.,
yading@10 20 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
yading@10 21 */
yading@10 22
yading@10 23 #ifndef AVFILTER_VF_HQDN3D_H
yading@10 24 #define AVFILTER_VF_HQDN3D_H
yading@10 25
yading@10 26 #include <stddef.h>
yading@10 27 #include <stdint.h>
yading@10 28
yading@10 29 #include "libavutil/opt.h"
yading@10 30
yading@10 31 typedef struct {
yading@10 32 const AVClass *class;
yading@10 33 int16_t *coefs[4];
yading@10 34 uint16_t *line;
yading@10 35 uint16_t *frame_prev[3];
yading@10 36 double strength[4];
yading@10 37 int hsub, vsub;
yading@10 38 int depth;
yading@10 39 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);
yading@10 40 } HQDN3DContext;
yading@10 41
yading@10 42 #define LUMA_SPATIAL 0
yading@10 43 #define LUMA_TMP 1
yading@10 44 #define CHROMA_SPATIAL 2
yading@10 45 #define CHROMA_TMP 3
yading@10 46
yading@10 47 void ff_hqdn3d_init_x86(HQDN3DContext *hqdn3d);
yading@10 48
yading@10 49 #endif /* AVFILTER_VF_HQDN3D_H */