summaryrefslogtreecommitdiff
path: root/aic/parameter_encoder.h
blob: 08d3573e1dd87c02ea57633c8311ffc330b48695 (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
/* SPDX-License-Identifier: Apache-2.0 */
/*
 * Copyright (C) 2017 Intel Corporation.
 *
 * ParameterEncoder.h: Encode AIC parameters to IPU3 kernel interface
 *
 * This implementation is highly derived from ChromeOS:
 *   platform2/camera/hal/intel/ipu3/psl/ipu3/workers/IPU3AicToFwEncoder.h
 */

#include <ia_imaging/ia_aiq.h>
#include <linux/intel-ipu3.h>

/* We wrap the AIC headers to disable compiler warnings */
#include "kbl_aic.h"

#ifndef IPA_IPU3_PARAMETER_ENCODER
#define IPA_IPU3_PARAMETER_ENCODER

namespace libcamera::ipa::ipu3::aic {

namespace ParameterEncoder {
void encode(aic_config *config, ipu3_uapi_params *params);
}

} /* namespace libcamera::ipa::ipu3::aic */

#endif /* IPA_IPU3_PARAMETER_ENCODER */