2 * Support for Intel Camera Imaging ISP subsystem.
3 * Copyright (c) 2015, Intel Corporation.
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms and conditions of the GNU General Public License,
7 * version 2, as published by the Free Software Foundation.
9 * This program is distributed in the hope it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
15 #include "ia_css_types.h"
16 #include "sh_css_defs.h"
17 #include "ia_css_debug.h"
19 #include "ia_css_anr2.host.h"
22 ia_css_anr2_vmem_encode(
23 struct ia_css_isp_anr2_params *to,
24 const struct ia_css_anr_thres *from,
30 for (i = 0; i < ANR_PARAM_SIZE; i++) {
32 for (j = 0; j < ISP_VEC_NELEMS; j++) {
33 to->data[i][j] = from->data[i*ISP_VEC_NELEMS+j];
39 ia_css_anr2_debug_dtrace(
40 const struct ia_css_anr_thres *config,