Starting March 27, 2025, we recommend using android-latest-release
instead of aosp-main
to build and contribute to AOSP. For more information, see Changes to AOSP.
Stay organized with collections
Save and categorize content based on your preferences.
camera_device Struct Reference
#include <
camera.h
>
Definition at line
285
of file
camera.h
.
The documentation for this struct was generated from the following file:
-
hardware/libhardware/include/hardware/
camera.h
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2019-10-02 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2019-10-02 UTC."],[],[],null,["# Android Hardware Abstraction Layer: camera_device Struct Reference\n\ncamera_device Struct Reference\n==============================\n\n[Data Fields](#pub-attribs) \ncamera_device Struct Reference \n\n`\n#include \u003c\n`[camera.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/camera.h)`\n\u003e\n`\n\n|-----------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------|\n| Data Fields ----------- ||\n| [hw_device_t](/reference/hal/structhw__device__t) | [common](/reference/hal/structcamera__device#a75bb16f553e7a3642d7d16e229a1d90d) |\n| ||\n| [camera_device_ops_t](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/camera.h) \\* | [ops](/reference/hal/structcamera__device#a4ecfc412a4d397881ee2aa06bc16b3da) |\n| ||\n| void \\* | [priv](/reference/hal/structcamera__device#a8b6505c37d4ff95854b8b00527e4d9fa) |\n| ||\n\n\nDetailed Description\n--------------------\n\n\nDefinition at line\n[285](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/camera.h)\nof file\n[camera.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/camera.h)\n.\n\nField Documentation\n-------------------\n\n\n|----------------------------------------------------------|\n| [hw_device_t](/reference/hal/structhw__device__t) common |\n\n\ncamera_device.common.version must be in the range\n[HARDWARE_DEVICE_API_VERSION(0,0)](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/hardware.h)\n-(1,FF). CAMERA_DEVICE_API_VERSION_1_0 is recommended.\n\n\nDefinition at line\n[291](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/camera.h)\nof file\n[camera.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/camera.h)\n.\n\n|---------------------------------------------------------------------------------------------------------------------------------|\n| [camera_device_ops_t](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/camera.h) \\* ops |\n\n\nDefinition at line\n[292](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/camera.h)\nof file\n[camera.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/camera.h)\n.\n\n|-------------|\n| void\\* priv |\n\n\nDefinition at line\n[293](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/camera.h)\nof file\n[camera.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/camera.h)\n.\n\n*** ** * ** ***\n\nThe documentation for this struct was generated from the following file:\n\n- hardware/libhardware/include/hardware/ [camera.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/camera.h)"]]