summaryrefslogtreecommitdiff
path: root/src/ipa/raspberrypi/controller/dpc_status.h
blob: c99ad8c500a6b1a98d8be438912cc6f06ca83bea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* SPDX-License-Identifier: BSD-2-Clause */
/*
 * Copyright (C) 2019, Raspberry Pi (Trading) Limited
 *
 * dpc_status.h - DPC (defective pixel correction) control algorithm status
 */
#pragma once

/* The "DPC" algorithm sets defective pixel correction strength. */

#ifdef __cplusplus
extern "C" {
#endif

struct DpcStatus {
	int strength; /* 0 = "off", 1 = "normal", 2 = "strong" */
};

#ifdef __cplusplus
}
#endif