blob: 06b77e96fd095262928e5220437ac55a1a7e9be4 [file] [log] [blame]
/* Copyright 2018 The Chromium OS Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
namespace cros {
namespace constants {
const char kArcCameraGroup[] = "arc-camera";
const char kCrosCameraAlgoSocketPathString[] = "/run/camera/camera-algo.sock";
const char kCrosCameraGPUAlgoSocketPathString[] =
const char kCrosCameraSocketPathString[] = "/run/camera/camera3.sock";
const char kCrosCameraTestConfigPathString[] =
const char kCrosCameraConfigPathString[] = "/run/camera/camera_config.json";
// ------Configuration for |kCrosCameraTestConfigPathString|-------
// boolean value used in test mode for forcing hardware jpeg encode/decode in
// USB HAL (won't fallback to SW encode/decode).
const char kCrosForceJpegHardwareEncodeOption[] = "force_jpeg_hw_enc";
const char kCrosForceJpegHardwareDecodeOption[] = "force_jpeg_hw_dec";
// boolean value for specify enable/disable camera of target facing in camera
// service.
const char kCrosEnableFrontCameraOption[] = "enable_front_camera";
const char kCrosEnableBackCameraOption[] = "enable_back_camera";
const char kCrosEnableExternalCameraOption[] = "enable_external_camera";
// ------End configuration for |kCrosCameraTestConfigPathString|-------
// ------Configuration for |kCrosCameraConfigPathString|-------
// Restrict max resolutions for android hal formats.
const char kCrosMaxBlobWidth[] = "max_blob_width";
const char kCrosMaxBlobHeight[] = "max_blob_height";
const char kCrosMaxYuvWidth[] = "max_yuv_width";
const char kCrosMaxYuvHeight[] = "max_yuv_height";
const char kCrosMaxPrivateWidth[] = "max_private_width";
const char kCrosMaxPrivateHeight[] = "max_private_height";
// Restrict max resolutions for native ratio.
const char kCrosMaxNativeWidth[] = "max_native_width";
const char kCrosMaxNativeHeight[] = "max_native_height";
// Filtered out resolutions. The format is a list string of resolutions. e.g.
// ["w1xh1", "w2xh2"]
const char kCrosFilteredOutResolutions[] = "filtered_out_resolutions";
// ------End configuration for |kCrosCameraConfigPathString|-------
} // namespace constants
} // namespace cros