हमारा सुझाव है कि 27 मार्च, 2025 से AOSP को बनाने और उसमें योगदान देने के लिए, aosp-main
के बजाय android-latest-release
का इस्तेमाल करें. ज़्यादा जानकारी के लिए, AOSP में हुए बदलाव लेख पढ़ें.
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
camera3_stream_configuration स्ट्रक्चर का रेफ़रंस
#include <
camera3.h
>
camera3_stream_configuration_t:
स्ट्रीम की परिभाषाओं का स्ट्रक्चर, जिसका इस्तेमाल configure_streams() करता है. यह स्ट्रक्चर, कैमरे के मौजूदा इस्तेमाल के उदाहरण के लिए, सभी आउटपुट स्ट्रीम और फिर से प्रोसेस की जाने वाली इनपुट स्ट्रीम को तय करता है.
परिभाषा,
camera3.h
फ़ाइल की लाइन
1688
पर दी गई है.
फ़्रेमवर्क के अनुरोध की गई स्ट्रीम की कुल संख्या. इसमें इनपुट और आउटपुट स्ट्रीम, दोनों शामिल हैं. स्ट्रीम की संख्या कम से कम एक होनी चाहिए. साथ ही, कम से कम एक ऐसी स्ट्रीम होनी चाहिए जिससे आउटपुट लिया जा सके.
परिभाषा, फ़ाइल
camera3.h
की लाइन
1694
पर दी गई है.
>= CAMERA_DEVICE_API_VERSION_3_3:
इस कॉन्फ़िगरेशन में स्ट्रीम का ऑपरेशन मोड, camera3_stream_configuration_mode_t में बताई गई वैल्यू में से एक. एचएएल, स्ट्रीम प्रॉपर्टी (उदाहरण के लिए, camera3_stream->max_buffers) को सही तरीके से सेट करने के लिए, इस मोड का इस्तेमाल इंडिकेटर के तौर पर कर सकता है. उदाहरण के लिए, अगर कॉन्फ़िगरेशन CAMERA3_STREAM_CONFIGURATION_CONSTRAINED_HIGH_SPEED_MODE है, तो हो सकता है कि एचएएल, बैच मोड के ऑपरेशन के लिए ज़्यादा बफ़र सेट करना चाहे. बैच मोड की परिभाषा के लिए, android.control.availableHighSpeedVideoConfigurations देखें.
परिभाषा, फ़ाइल
camera3.h
की लाइन
1722
पर दी गई है.
कैमरा स्ट्रीम पॉइंटर का कलेक्शन, जो कैमरा एचएएल डिवाइस के लिए इनपुट/आउटपुट कॉन्फ़िगरेशन तय करता है.
किसी एक कॉन्फ़िगरेशन में, ज़्यादा से ज़्यादा एक इनपुट-सक्षम स्ट्रीम (इनपुट या दोनों तरफ़ से डेटा भेजने और पाने की सुविधा वाली) तय की जा सकती है.
कम से कम एक आउटपुट स्ट्रीम (OUTPUT या BIDIRECTIONAL) तय की जानी चाहिए.
परिभाषा,
camera3.h
फ़ाइल की लाइन
1706
पर दी गई है.
इस स्ट्रक्चर का दस्तावेज़, इस फ़ाइल से जनरेट किया गया था:
-
hardware/libhardware/include/hardware/
camera3.h
इस पेज पर मौजूद कॉन्टेंट और कोड सैंपल कॉन्टेंट के लाइसेंस में बताए गए लाइसेंस के हिसाब से हैं. Java और OpenJDK, 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)"]]