summaryrefslogtreecommitdiff
path: root/src/ipa/raspberrypi/controller/dpc_status.h
blob: a3ec2762573bffeafe2eb810bc3eb7177a23ea44 (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