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_stream_buffer_set
#include <
camera3.h
>
camera3_stream_buffer_set_t:
Pełny zestaw buforów gralloc dla strumienia. Ta struktura jest przekazywana do funkcji register_stream_buffers(), aby umożliwić urządzeniu HAL aparatu rejestrowanie/mapowanie itp. nowo przydzielonych buforów strumienia.
>= CAMERA_DEVICE_API_VERSION_3_2:
Wycofane (nieużywane). W szczególności funkcja register_stream_buffers została wycofana i nigdy nie zostanie wywołana.
Definicja w wierszu
1844
pliku
camera3.h
.
buffer_handle_t** buffers
|
Tablica uchwytów bufora gralloc dla tego strumienia. Jeśli format strumienia jest ustawiony na HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED, urządzenie HAL aparatu powinno sprawdzić przekazane bufory, aby określić informacje o formatach pikseli prywatnych dla danej platformy.
Definicja w wierszu
1862
pliku
camera3.h
.
Liczba buforów w tym strumieniu. Jest ona co najmniej równa wartości stream->max_buffers.
Definicja w wierszu
1854
w pliku
camera3.h
.
Identyfikator strumienia, do którego należą te bufory
Definicja w wierszu
1848
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_stream_buffer_set Struct Reference\n\ncamera3_stream_buffer_set Struct Reference\n==========================================\n\n[Data Fields](#pub-attribs) \ncamera3_stream_buffer_set 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| [camera3_stream_t](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/camera3.h) \\* | [stream](/reference/hal/structcamera3__stream__buffer__set#afaf6c85f165b4180fe63affae0232dad) |\n| ||\n| uint32_t | [num_buffers](/reference/hal/structcamera3__stream__buffer__set#a234ac58df17f88aa6be3bbe395fb7599) |\n| ||\n| buffer_handle_t \\*\\* | [buffers](/reference/hal/structcamera3__stream__buffer__set#a12fbd3e59056095fcd6c61068fae8dfa) |\n| ||\n\n\nDetailed Description\n--------------------\n\n\ncamera3_stream_buffer_set_t:\n\n\nThe complete set of gralloc buffers for a stream. This structure is given to register_stream_buffers() to allow the camera HAL device to register/map/etc newly allocated stream buffers.\n\n\n\\\u003e= CAMERA_DEVICE_API_VERSION_3_2:\n\n\nDeprecated (and not used). In particular, register_stream_buffers is also deprecated and will never be invoked.\n\n\nDefinition at line\n[1844](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| buffer_handle_t\\*\\* buffers |\n\n\nThe array of gralloc buffer handles for this stream. If the stream format is set to HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED, the camera HAL device should inspect the passed-in buffers to determine any platform-private pixel format information.\n\n\nDefinition at line\n[1862](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| uint32_t num_buffers |\n\n\nThe number of buffers in this stream. It is guaranteed to be at least stream-\\\u003emax_buffers.\n\n\nDefinition at line\n[1854](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_stream_t](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/camera3.h) \\* stream |\n\n\nThe stream handle for the stream these buffers belong to\n\n\nDefinition at line\n[1848](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)"]]