blob: 97c529292fcde9b51357326c6f5fc43d96ef6c74 [file] [log] [blame] [edit]
// Copyright 2023 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Next min version: 1
module cros.mojom;
// Camera3StreamEffect indicates which effect is applied to the stream.
[Extensible]
union Camera3StreamEffect {
// A default field is required by extensible unions.
// Any unrecognized field that is received will deserialize to this field.
[Default] uint8 unknown_config;
// Portrait Mode effect attributes.
PortraitModeConfig portrait_mode_config;
};
// Structure used for Portrait Mode effect attributes. Used by Camera3StreamEffect.
struct PortraitModeConfig {
// Turns on/off face distortion correction.
bool enable_rectiface;
};