2025년 3월 27일부터 AOSP를 빌드하고 기여하려면 aosp-main
대신 android-latest-release
를 사용하는 것이 좋습니다. 자세한 내용은 AOSP 변경사항을 참고하세요.
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
camera3_stream_buffer_set 구조체 참조
#include <
camera3.h
>
camera3_stream_buffer_set_t:
스트림의 전체 gralloc 버퍼 세트입니다. 이 구조는 카메라 HAL 기기가 새로 할당된 스트림 버퍼를 등록/매핑하는 등의 작업을 할 수 있도록 register_stream_buffers()에 제공됩니다.
>= CAMERA_DEVICE_API_VERSION_3_2:
지원 중단됨 (사용되지 않음). 특히 register_stream_buffers도 지원 중단되었으며 호출되지 않습니다.
camera3.h
파일의
1844
행에 정의되어 있습니다.
buffer_handle_t** buffers
|
이 스트림의 gralloc 버퍼 핸들 배열입니다. 스트림 형식이 HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED로 설정된 경우 카메라 HAL 기기는 전달된 버퍼를 검사하여 플랫폼 비공개 픽셀 형식 정보를 확인해야 합니다.
camera3.h
파일의
1862
줄에 정의되어 있습니다.
이 스트림의 버퍼 수입니다. stream->max_buffers보다 크거나 같은 값입니다.
camera3.h
FILE의
1854
라인에 정의되어 있습니다.
이 구조체에 관한 문서는 다음 파일에서 생성되었습니다.
-
hardware/libhardware/include/hardware/
camera3.h
이 페이지에 나와 있는 콘텐츠와 코드 샘플에는 콘텐츠 라이선스에서 설명하는 라이선스가 적용됩니다. 자바 및 OpenJDK는 Oracle 및 Oracle 계열사의 상표 또는 등록 상표입니다.
최종 업데이트: 2025-07-27(UTC)
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 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)"]]