blob: 779b987d7002f3ba3b9285766e55cf3d361049fe (
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
|
/* SPDX-License-Identifier: BSD-2-Clause */
/*
* Copyright (C) 2022, Raspberry Pi Ltd
*
* PDAF Metadata
*/
#pragma once
#include <stdint.h>
#include "region_stats.h"
namespace RPiController {
struct PdafData {
/* Confidence, in arbitrary units */
uint16_t conf;
/* Phase error, in s16 Q4 format (S.11.4) */
int16_t phase;
};
using PdafRegions = RegionStats<PdafData>;
} /* namespace RPiController */
|