Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6d3feccd authored by Eino-Ville Talvala's avatar Eino-Ville Talvala
Browse files

Add camera.metadata@3.3

To be used by camera.device@3.4; unfortunately the versioning is
now skewing since no metadata additions were needed for device@3.3

Includes the earlier-added control.afSceneChange entry.

Test: hidl-gen, hidl-doc, builds
Bug: 64847201
Change-Id: I341a018a7eccf63758e356e9b426a41b575ade9f
parent b7c67a68
Loading
Loading
Loading
Loading

camera/metadata/3.2/docs.html

deleted100644 → 0
+0 −27340

File deleted.

File size exceeds preview limit.

+21 −0
Original line number Diff line number Diff line
// This file is autogenerated by hidl-gen -Landroidbp.

hidl_interface {
    name: "android.hardware.camera.metadata@3.3",
    root: "android.hardware",
    vndk: {
        enabled: true,
    },
    srcs: [
        "types.hal",
    ],
    interfaces: [
        "android.hardware.camera.metadata@3.2",
    ],
    types: [
        "CameraMetadataEnumAndroidControlAfSceneChange",
        "CameraMetadataTag",
    ],
    gen_java: true,
}
+58 −0
Original line number Diff line number Diff line
/*
 * Copyright (C) 2017 The Android Open Source Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

/*
 * Autogenerated from camera metadata definitions in
 * /system/media/camera/docs/metadata_definitions.xml
 * *** DO NOT EDIT BY HAND ***
 */

package android.hardware.camera.metadata@3.3;

/* Include definitions from all prior minor HAL metadata revisions */
import android.hardware.camera.metadata@3.2;

// No new metadata sections added in this revision

/**
 * Main enumeration for defining camera metadata tags added in this revision
 *
 * <p>Partial documentation is included for each tag; for complete documentation, reference
 * '/system/media/camera/docs/docs.html' in the corresponding Android source tree.</p>
 */
enum CameraMetadataTag : @3.2::CameraMetadataTag {
    /** android.control.afSceneChange [dynamic, enum, public]
     *
     * <p>Whether a significant scene change is detected within the currently-set AF
     * region(s).</p>
     */
    ANDROID_CONTROL_AF_SCENE_CHANGE = android.hardware.camera.metadata@3.2::CameraMetadataTag:ANDROID_CONTROL_END,

    ANDROID_CONTROL_END_3_3,

};

/*
 * Enumeration definitions for the various entries that need them
 */

/** android.control.afSceneChange enumeration values
 * @see ANDROID_CONTROL_AF_SCENE_CHANGE
 */
enum CameraMetadataEnumAndroidControlAfSceneChange : uint32_t {
    ANDROID_CONTROL_AF_SCENE_CHANGE_NOT_DETECTED,
    ANDROID_CONTROL_AF_SCENE_CHANGE_DETECTED,
};