summaryrefslogtreecommitdiffstats
path: root/libhb/handbrake/nlmeans.h
blob: b15016f9dc5f13a10e22886b9f3be0dc9a89c539 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/* nlmeans.h

   Copyright (c) 2013 Dirk Farin
   Copyright (c) 2003-2020 HandBrake Team
   This file is part of the HandBrake source code
   Homepage: <http://handbrake.fr/>.
   It may be used under the terms of the GNU General Public License v2.
   For full terms see the file COPYING file or visit http://www.gnu.org/licenses/gpl-2.0.html
 */

#ifndef HANDBRAKE_NLMEANS_H
#define HANDBRAKE_NLMEANS_H

typedef struct
{
    void (*build_integral)(uint32_t *integral,
                           int       integral_stride,
                     const uint8_t  *src,
                     const uint8_t  *src_pre,
                     const uint8_t  *compare,
                     const uint8_t  *compare_pre,
                           int       w,
                           int       border,
                           int       dst_w,
                           int       dst_h,
                           int       dx,
                           int       dy);
} NLMeansFunctions;

void nlmeans_init_x86(NLMeansFunctions *functions);

#endif // HANDBRAKE_NLMEANS_H