blob: 86a1f01438f6e34737f6cd9cb10b65d2d7b36139 [file] [log] [blame]
// Copyright 2021 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
library fuchsia.lightsensor;
/// `Calibrator` is responsible for calibrating the raw data that comes from the
/// product-configured light sensor. It is only intended to be used internally.
protocol Calibrator {
/// Calibrates the supplied raw [Rgbc] and returns calibrated [Rgbc].
Calibrate(struct {
data Rgbc;
}) -> (struct {
data Rgbc;
}) error Error;