blob: 50c1f3b13a6be3f0727399a1d8765b76bb18b49a [file] [log] [blame]
// Copyright 2020 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.
#pragma once
#include <fuchsia/camera2/cpp/fidl.h>
#include <fuchsia/camera2/hal/cpp/fidl.h>
#include <zircon/types.h>
namespace camera {
enum SherlockConfigs {
MONITORING = 0u,
VIDEO,
VIDEO_EXTENDED_FOV,
MAX,
};
constexpr auto kStreamTypeFR = fuchsia::camera2::CameraStreamType::FULL_RESOLUTION;
constexpr auto kStreamTypeDS = fuchsia::camera2::CameraStreamType::DOWNSCALED_RESOLUTION;
constexpr auto kStreamTypeML = fuchsia::camera2::CameraStreamType::MACHINE_LEARNING;
constexpr auto kStreamTypeVideo = fuchsia::camera2::CameraStreamType::VIDEO_CONFERENCE;
constexpr auto kStreamTypeVideoExtendedFOV = fuchsia::camera2::CameraStreamType::VIDEO_CONFERENCE |
fuchsia::camera2::CameraStreamType::EXTENDED_FOV;
constexpr auto kStreamTypeMonitoring = fuchsia::camera2::CameraStreamType::MONITORING;
constexpr auto kNumBuffers = 5;
} // namespace camera