summaryrefslogtreecommitdiffstats
path: root/libhb/nlmeans.h
blob: e0ede4a92fa0fdc36c2d0dc8abb1971d7ec04eeb (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
/* nlmeans.h

   Copyright (c) 2013 Dirk Farin
   Copyright (c) 2003-2017 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
 */

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);