2025년 3월 27일부터 AOSP를 빌드하고 기여하려면 aosp-main
대신 android-latest-release
를 사용하는 것이 좋습니다. 자세한 내용은 AOSP 변경사항을 참고하세요.
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
camera3_stream_configuration 구조체 참조
#include <
camera3.h
>
camera3_stream_configuration_t:
configure_streams()에서 사용하는 스트림 정의의 구조입니다. 이 구조는 현재 카메라 사용 사례의 모든 출력 스트림과 재처리 입력 스트림을 정의합니다.
camera3.h
파일의
1688
행에 정의되어 있습니다.
프레임워크에서 요청한 총 스트림 수입니다. 여기에는 입력 스트림과 출력 스트림이 모두 포함됩니다. 스트림 수는 1개 이상이며 출력 가능한 스트림은 1개 이상 있습니다.
camera3.h
FILE의
1694
라인에 정의가 있습니다.
>= CAMERA_DEVICE_API_VERSION_3_3:
이 구성의 스트림 동작 모드로, camera3_stream_configuration_mode_t에 정의된 값 중 하나입니다. HAL은 이 모드를 표시기로 사용하여 스트림 속성 (예: camera3_stream->max_buffers)을 적절하게 설정할 수 있습니다. 예를 들어 구성이 CAMERA3_STREAM_CONFIGURATION_CONSTRAINED_HIGH_SPEED_MODE인 경우 HAL은 일괄 모드 작업을 위해 더 많은 버퍼를 할당할 수 있습니다 (일괄 모드 정의는 android.control.availableHighSpeedVideoConfigurations 참고).
camera3.h
FILE의
1722
라인에 정의되어 있습니다.
카메라 HAL 기기의 입력/출력 구성을 정의하는 카메라 스트림 포인터 배열입니다.
단일 구성에서 입력 가능한 스트림은 최대 1개 (INPUT 또는 BIDIRECTIONAL) 정의할 수 있습니다.
출력 가능한 스트림을 하나 이상 정의해야 합니다 (OUTPUT 또는 BIDIRECTIONAL).
camera3.h
파일의
1706
줄에 정의되어 있습니다.
이 구조체에 관한 문서는 다음 파일에서 생성되었습니다.
-
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_configuration Struct Reference\n\ncamera3_stream_configuration Struct Reference\n=============================================\n\n[Data Fields](#pub-attribs) \ncamera3_stream_configuration 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| uint32_t | [num_streams](/reference/hal/structcamera3__stream__configuration#aec9fa4026952cffde2a6a584c6ee7211) |\n| ||\n| [camera3_stream_t](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/camera3.h) \\*\\* | [streams](/reference/hal/structcamera3__stream__configuration#a6e271886774457a087d6281ba73372a8) |\n| ||\n| uint32_t | [operation_mode](/reference/hal/structcamera3__stream__configuration#abd277ba18dafdaa2c11151e19a78d029) |\n| ||\n\n\nDetailed Description\n--------------------\n\n\ncamera3_stream_configuration_t:\n\n\nA structure of stream definitions, used by configure_streams(). This structure defines all the output streams and the reprocessing input stream for the current camera use case.\n\n\nDefinition at line\n[1688](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| uint32_t num_streams |\n\n\nThe total number of streams requested by the framework. This includes both input and output streams. The number of streams will be at least 1, and there will be at least one output-capable stream.\n\n\nDefinition at line\n[1694](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 operation_mode |\n\n\n\\\u003e= CAMERA_DEVICE_API_VERSION_3_3:\n\n\nThe operation mode of streams in this configuration, one of the value defined in camera3_stream_configuration_mode_t. The HAL can use this mode as an indicator to set the stream property (e.g., camera3_stream-\\\u003emax_buffers) appropriately. For example, if the configuration is CAMERA3_STREAM_CONFIGURATION_CONSTRAINED_HIGH_SPEED_MODE, the HAL may want to set aside more buffers for batch mode operation (see android.control.availableHighSpeedVideoConfigurations for batch mode definition).\n\n\nDefinition at line\n[1722](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) \\*\\* streams |\n\n\nAn array of camera stream pointers, defining the input/output configuration for the camera HAL device.\n\n\nAt most one input-capable stream may be defined (INPUT or BIDIRECTIONAL) in a single configuration.\n\n\nAt least one output-capable stream must be defined (OUTPUT or BIDIRECTIONAL).\n\n\nDefinition at line\n[1706](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)"]]