summaryrefslogtreecommitdiff
path: root/utils/tuning/requirements.txt
AgeCommit message (Expand)Author
2024-07-05libtuning: Migrate prints to python logging frameworkStefan Klug
2024-07-05libtuning: Fix importsStefan Klug
2024-07-05utils: tuning: Add requirements file and update readmeStefan Klug
f='#n16'>16 17 18 19 20 21 22 23 24 25 26
/* SPDX-License-Identifier: BSD-2-Clause */
/*
 * Copyright (C) 2020, Raspberry Pi (Trading) Limited
 *
 * focus_status.h - focus measurement status
 */
#pragma once

#include <linux/bcm2835-isp.h>

// The focus algorithm should post the following structure into the image's
// "focus.status" metadata. Recall that it's only reporting focus (contrast)
// measurements, it's not driving any kind of auto-focus algorithm!

#ifdef __cplusplus
extern "C" {
#endif

struct FocusStatus {
	unsigned int num;
	uint32_t focus_measures[FOCUS_REGIONS];
};

#ifdef __cplusplus
}
#endif