2025년 3월 27일부터 AOSP를 빌드하고 기여하려면 aosp-main
대신 android-latest-release
를 사용하는 것이 좋습니다. 자세한 내용은 AOSP 변경사항을 참고하세요.
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
camera2_stream_in_ops 구조체 참조
#include <
camera2.h
>
입력 재처리 스트림 대기열 관리 이러한 메서드의 집합은 allocate_reprocess_stream()에서 HAL 기기에 제공됩니다. 이러한 메서드는 재처리 스트림의 입력 gralloc 버퍼 큐와 상호작용하는 데 사용됩니다.
camera2.h
파일의
160
번 줄에 정의되어 있습니다.
재처리할 이미지 데이터의 다음 버퍼를 가져옵니다. 버퍼의 너비, 높이, 형식은 allocate_reprocess_stream()에서 고정되며, 필요한 경우 플랫폼 gralloc 모듈에서 스트라이드 및 기타 세부정보를 쿼리해야 합니다. 버퍼는 이미 사용하도록 잠겨 있습니다.
camera2.h
FILE의
167
행에 정의되어 있습니다.
재사용을 위해 사용된 버퍼를 버퍼 대기열에 반환합니다.
camera2.h
FILE의
172
라인에 정의가 있습니다.
이 구조체에 관한 문서는 다음 파일에서 생성되었습니다.
-
hardware/libhardware/include/hardware/
camera2.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: camera2_stream_in_ops Struct Reference\n\ncamera2_stream_in_ops Struct Reference\n======================================\n\n[Data Fields](#pub-attribs) \ncamera2_stream_in_ops Struct Reference \n\n`\n#include \u003c\n`[camera2.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/camera2.h)`\n\u003e\n`\n\n|--------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Data Fields ----------- ||\n| int(\\* | [acquire_buffer](/reference/hal/structcamera2__stream__in__ops#ad1cbdf6fe238b117ad8a4d9db141b1cb) )(const struct [camera2_stream_in_ops](/reference/hal/structcamera2__stream__in__ops) \\*w, buffer_handle_t \\*\\*buffer) |\n| ||\n| int(\\* | [release_buffer](/reference/hal/structcamera2__stream__in__ops#aa6a176542d2ed5e9c65240dbec41b38b) )(const struct [camera2_stream_in_ops](/reference/hal/structcamera2__stream__in__ops) \\*w, buffer_handle_t \\*buffer) |\n| ||\n\n\nDetailed Description\n--------------------\n\n\nInput reprocess stream queue management. A set of these methods is provided to the HAL device in allocate_reprocess_stream(); they are used to interact with the reprocess stream's input gralloc buffer queue.\n\n\nDefinition at line\n[160](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/camera2.h)\nof file\n[camera2.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/camera2.h)\n.\n\nField Documentation\n-------------------\n\n\n|---------------------------------------------------------------------------------------------------------------------------------------------|\n| int(\\* acquire_buffer)(const struct [camera2_stream_in_ops](/reference/hal/structcamera2__stream__in__ops) \\*w, buffer_handle_t \\*\\*buffer) |\n\n\nGet the next buffer of image data to reprocess. The width, height, and format of the buffer is fixed in allocate_reprocess_stream(), and the stride and other details should be queried from the platform gralloc module as needed. The buffer will already be locked for use.\n\n\nDefinition at line\n[167](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/camera2.h)\nof file\n[camera2.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/camera2.h)\n.\n\n|-------------------------------------------------------------------------------------------------------------------------------------------|\n| int(\\* release_buffer)(const struct [camera2_stream_in_ops](/reference/hal/structcamera2__stream__in__ops) \\*w, buffer_handle_t \\*buffer) |\n\n\nReturn a used buffer to the buffer queue for reuse.\n\n\nDefinition at line\n[172](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/camera2.h)\nof file\n[camera2.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/camera2.h)\n.\n\n*** ** * ** ***\n\nThe documentation for this struct was generated from the following file:\n\n- hardware/libhardware/include/hardware/ [camera2.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/camera2.h)"]]