Od 27 marca 2025 r. zalecamy używanie android-latest-release
zamiast aosp-main
do kompilowania i wspołtworzenia AOSP. Więcej informacji znajdziesz w artykule o zmianach w AOSP.
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Informacje o strukturze camera3_device
#include <
camera3.h
>
Definicja w wierszu
3088
pliku
camera3.h
.
Wartość common.version musi być równa CAMERA_DEVICE_API_VERSION_3_0, aby urządzenie zostało zidentyfikowane jako urządzenie z implementacją interfejsu HAL aparatu w wersji 3.0.
Wymagania dotyczące wydajności:
Camera open (common.module->common.methods->open) powinna zwrócić wynik w ciągu 200 ms i musi zwrócić wynik w ciągu 500 ms. Camera close (common.close) powinien wrócić w ciągu 200 ms, a w najpóźniej 500 ms.
Definicja w wierszu
3100
w pliku
camera3.h
.
Dokumentacja tego typu danych została wygenerowana z tego pliku:
-
hardware/libhardware/include/hardware/
camera3.h
Treść strony i umieszczone na niej fragmenty kodu podlegają licencjom opisanym w Licencji na treści. Java i OpenJDK są znakami towarowymi lub zastrzeżonymi znakami towarowymi należącymi do firmy Oracle lub jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-27 UTC.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 2025-07-27 UTC."],[],[],null,["# Android Hardware Abstraction Layer: camera3_device Struct Reference\n\ncamera3_device Struct Reference\n===============================\n\n[Data Fields](#pub-attribs) \ncamera3_device Struct Reference \n\n`\n#include \u003c\n`[camera3.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/camera3.h)`\n\u003e\n`\n\n|-------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------|\n| Data Fields ----------- ||\n| [hw_device_t](/reference/hal/structhw__device__t) | [common](/reference/hal/structcamera3__device#a75bb16f553e7a3642d7d16e229a1d90d) |\n| ||\n| [camera3_device_ops_t](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/camera3.h) \\* | [ops](/reference/hal/structcamera3__device#a208e64b07023aef813a0905a9061e706) |\n| ||\n| void \\* | [priv](/reference/hal/structcamera3__device#a8b6505c37d4ff95854b8b00527e4d9fa) |\n| ||\n\n\nDetailed Description\n--------------------\n\n\nDefinition at line\n[3088](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/camera3.h)\nof file\n[camera3.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/camera3.h)\n.\n\nField Documentation\n-------------------\n\n\n|----------------------------------------------------------|\n| [hw_device_t](/reference/hal/structhw__device__t) common |\n\n\ncommon.version must equal CAMERA_DEVICE_API_VERSION_3_0 to identify this device as implementing version 3.0 of the camera device HAL.\n\n\nPerformance requirements:\n\n\nCamera open (common.module-\\\u003ecommon.methods-\\\u003eopen) should return in 200ms, and must return in 500ms. Camera close (common.close) should return in 200ms, and must return in 500ms.\n\n\nDefinition at line\n[3100](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/camera3.h)\nof file\n[camera3.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/camera3.h)\n.\n\n|-----------------------------------------------------------------------------------------------------------------------------------|\n| [camera3_device_ops_t](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/camera3.h) \\* ops |\n\n\nDefinition at line\n[3101](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/camera3.h)\nof file\n[camera3.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/camera3.h)\n.\n\n|-------------|\n| void\\* priv |\n\n\nDefinition at line\n[3102](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/camera3.h)\nof file\n[camera3.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/camera3.h)\n.\n\n*** ** * ** ***\n\nThe documentation for this struct was generated from the following file:\n\n- hardware/libhardware/include/hardware/ [camera3.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/camera3.h)"]]