हमारा सुझाव है कि 27 मार्च, 2025 से AOSP को बनाने और उसमें योगदान देने के लिए, aosp-main
के बजाय android-latest-release
का इस्तेमाल करें. ज़्यादा जानकारी के लिए, AOSP में हुए बदलाव लेख पढ़ें.
हाई डाइनैमिक रेंज मोड
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
Camera2
API में, हाई डाइनैमिक रेंज (एचडीआर) कैप्चर के अलग-अलग फ़ॉर्म उपलब्ध हैं. इस पेज पर, एचडीआर के लिए उपलब्ध अलग-अलग सुविधाओं, क्षमताओं, और मोड के बारे में बताया गया है. साथ ही, यह भी बताया गया है कि किसी खास एपीआई के हिसाब से ये सुविधाएं कैसे अलग-अलग होती हैं.
एचडीआर स्टिल कैप्चर
एचडीआर में फ़ोटो लेने की सुविधा, मोबाइल कैमरों की डाइनैमिक रेंज को बेहतर बनाने के लिए कई तरह के एल्गोरिदम का इस्तेमाल करती है.
Android 13 और इसके बाद के वर्शन के लिए, 10-बिट कैमरा आउटपुट capability
के साथ 10-बिट कैमरा आउटपुट काम करता है. एचडीआर डाइनैमिक रेंज DynamicRangeProfiles
क्लास की मदद से, कैमरा क्लाइंट, कैमरे के आउटपुट को कॉन्फ़िगर कर सकते हैं. इससे, असल 10-बिट पिक्सल फ़ॉर्मैट और उससे जुड़े 10-बिट ट्रांसफ़र फ़ंक्शन वाले फ़्रेम जनरेट किए जा सकते हैं. एचडीआर डाइनैमिक रेंज प्रोफ़ाइलों का इस्तेमाल करने वाले 10-बिट कैमरे के आउटपुट कॉन्फ़िगरेशन में, सिर्फ़ एक्सटेंडेड फ़िज़िकल बिट डेप्थ चालू होती है.
10-बिट कैमरा आउटपुट कॉन्फ़िगरेशन, एचडीआर सीन मोड के साथ इन मोड का इस्तेमाल कर सकते हैं:
- P010 पिक्सल फ़ॉर्मैट का इस्तेमाल करके, 10-बिट अनकंप्रेस्ड स्टिल कैप्चर.
- अल्ट्रा एचडीआर के स्पेसिफ़िकेशन के आधार पर,
JPEG_R
पिक्सल फ़ॉर्मैट का इस्तेमाल करके, एचडीआर में कॉम्प्रेस की गई स्टिल कैप्चर.
Android 12 या इससे पहले के वर्शन वाले डिवाइसों पर, एचडीआर स्टिल कैप्चर करने के तरीकों में फ़्रेम को प्रोसेस करना शामिल होता है. ये फ़्रेम, किसी समय स्टैंडर्ड 8-बिट डाइनैमिक रेंज में कंप्रेस हो जाते हैं. यहां एचडीआर स्टिल कैप्चर करने के तरीके दिए गए हैं. इनमें अलग-अलग एक्सपोज़र वाले कई फ़्रेम कैप्चर किए जाते हैं. इसके बाद, अलग-अलग इमेज को फ़्यूज़ करके एचडीआर फ़ोटो बनाई जाती है:
- एचडीआर सीन मोड:
यह मोड, कैमरा एचएएल लेयर पर लागू किया जाता है. अगर यह मोड काम करता है, तो कैमरा क्लाइंट, कैमरे से फ़ोटो लेने के सामान्य अनुरोधों में इसे सेट कर सकते हैं.
- एचडीआर एक्सटेंशन टाइप:
इस एक्सटेंशन टाइप का सुझाव, ज़्यादा कंट्रास्ट वाले सीन के लिए दिया जाता है. सामान्य कैप्चर सेशन की तुलना में, सीमित सुविधाओं वाले कैप्चर सेशन का इस्तेमाल करता है. एक ही डिवाइस पर, कैमरा एक्सटेंशन, सामान्य इमेज कैप्चर करने के अनुरोधों के मुकाबले बेहतर क्वालिटी वाली इमेज दे सकते हैं.
एचडीआर वीडियो रिकॉर्डिंग
एचडीआर स्टिल कैप्चर के मुकाबले, वीडियो एचडीआर का मतलब सिर्फ़ एचडीआर वीडियो कैप्चर (10-बिट वीडियो रिकॉर्डिंग) से है.
इस पेज पर मौजूद कॉन्टेंट और कोड सैंपल कॉन्टेंट के लाइसेंस में बताए गए लाइसेंस के हिसाब से हैं. Java और OpenJDK, Oracle और/या इससे जुड़ी हुई कंपनियों के ट्रेडमार्क या रजिस्टर किए हुए ट्रेडमार्क हैं.
आखिरी बार 2025-07-26 (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-26 (UTC) को अपडेट किया गया."],[],[],null,["# High dynamic range modes\n\nVarious forms of high dynamic range (HDR) capture are available in the\n[`Camera2`](https://developer.android.com/reference/android/hardware/camera2/package-summary)\nAPI. This page describes the various features, capabilities, and modes for HDR\nand how they differ depending on the specific API.\n\nHDR still capture\n-----------------\n\nStill capture in HDR encapsulates a variety of algorithms for improving the\ndynamic range of mobile cameras.\n\nFor Android 13 and higher, the 10-bit camera output\n[`capability`](/docs/core/camera/10-bit-camera-output)\nsupports 10-bit camera output. The HDR dynamic range\n[`DynamicRangeProfiles`](https://developer.android.com/reference/android/hardware/camera2/params/DynamicRangeProfiles)\nclass lets camera clients configure camera outputs capable of producing\nframes with actual 10-bit pixel format and corresponding 10-bit transfer\nfunctions. 10-bit camera\n[output configurations](https://developer.android.com/reference/kotlin/android/hardware/camera2/params/OutputConfiguration#setdynamicrangeprofile)\nusing HDR dynamic range profiles enable only the extended physical bit depth.\n10-bit camera output configurations can use the following modes in conjunction\nwith the\n[HDR scene mode](https://developer.android.com/reference/android/hardware/camera2/CameraMetadata#CONTROL_SCENE_MODE_HDR):\n\n- 10-bit uncompressed still capture using the [P010](https://developer.android.com/reference/kotlin/android/graphics/ImageFormat#ycbcr_p010) pixel format.\n- HDR compressed still capture using the [`JPEG_R`](https://developer.android.com/reference/kotlin/android/graphics/ImageFormat#jpeg_r) pixel format based on the [Ultra HDR](https://developer.android.com/guide/topics/media/hdr-image-format) specification.\n\nFor devices running Android 12 or lower, HDR still capture methods involve\nprocessing frames that at some point get compressed to the standard 8-bit\ndynamic range. The following are HDR still capture methods where several frames\nwith different exposures are captured and the final HDR result is produced by\nfusing the individual images:\n\n- [HDR scene mode](https://developer.android.com/reference/android/hardware/camera2/CameraMetadata#CONTROL_SCENE_MODE_HDR): This mode is implemented at the camera HAL layer and if supported can be set by camera clients within regular camera capture requests.\n- [HDR extension type](https://developer.android.com/reference/android/hardware/camera2/CameraExtensionCharacteristics#EXTENSION_HDR): This extension type is recommended for high contrast scenes. Uses a capture session with limited capabilities when compared to regular capture sessions. On the same device, camera extensions can produce results with higher image quality than regular capture requests.\n\nHDR video recording\n-------------------\n\nIn contrast to HDR still capture, video HDR refers only to\n[HDR video capture (10-bit video recording)](https://developer.android.com/training/camera2/hdr-video-capture)."]]