27 Mart 2025'ten itibaren AOSP'yi derlemek ve AOSP'ye katkıda bulunmak için aosp-main
yerine android-latest-release
kullanmanızı öneririz. Daha fazla bilgi için AOSP'de yapılan değişiklikler başlıklı makaleyi inceleyin.
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
camera3_stream_buffer_set Yapı Referansı
#include <
camera3.h
>
camera3_stream_buffer_set_t:
Bir akış için gralloc arabelleklerinin tamamı. Bu yapı, kamera HAL cihazının yeni ayrılan akış arabelleklerini kaydetmesine/eşlemesine vb. izin vermek için register_stream_buffers() işlevine verilir.
>= CAMERA_DEVICE_API_VERSION_3_2:
Desteği sonlandırıldı (ve kullanılmıyor). Özellikle register_stream_buffers işlevinin desteği de sonlandırıldı ve bu işlev hiçbir zaman çağrılmayacak.
Tanımı,
camera3.h
dosyasının
1844
satırındadır.
buffer_handle_t** arabellekleri
|
Bu akış için gralloc arabellek tutamaçlarının dizisi. Akış biçimi HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED olarak ayarlanmışsa kamera HAL cihazı, platforma özel piksel biçimi bilgilerini belirlemek için iletilen arabellekleri incelemelidir.
Tanımı,
camera3.h
dosyasının
1862
satırı
Bu akıştaki arabelleğe alma sayısını belirtir. En az stream->max_buffers değerinde olması garanti edilir.
Tanımı,
camera3.h
dosyasının
1854
satırı
Bu arabelleklerin ait olduğu yayının adı
Tanımı,
camera3.h
dosyasının
1848
satırındadır.
Bu yapının dokümanları aşağıdaki dosyadan oluşturulmuştur:
-
hardware/libhardware/include/hardware/
camera3.h
Bu sayfadaki içerik ve kod örnekleri, İçerik Lisansı sayfasında açıklanan lisanslara tabidir. Java ve OpenJDK, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-27 UTC.
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 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)"]]