DynamicRangeProfilesWrapper
interface DynamicRangeProfilesWrapper : UnsafeWrapper
FakeDynamicRangeProfiles |
A fake implementation of |
Provides compatibility-focused access to android.hardware.camera2.params.DynamicRangeProfiles.
| See also | |
|---|---|
DynamicRangeProfiles |
Summary
Constants |
|
|---|---|
const Long |
The 10-bit Dolby Vision HDR OEM profile. |
const Long |
The 10-bit Dolby Vision HDR OEM profile, power-optimized. |
const Long |
The 10-bit Dolby Vision HDR reference profile. |
const Long |
The 10-bit Dolby Vision HDR reference profile, power-optimized. |
const Long |
DOLBY_VISION_8B_HDR_OEM = 1024The 8-bit Dolby Vision HDR OEM profile. |
const Long |
DOLBY_VISION_8B_HDR_OEM_PO = 2048The 8-bit Dolby Vision HDR OEM profile, power-optimized. |
const Long |
DOLBY_VISION_8B_HDR_REF = 256The 8-bit Dolby Vision HDR reference profile. |
const Long |
The 8-bit Dolby Vision HDR reference profile, power-optimized. |
const Long |
HDR10 = 4The 10-bit HDR10 dynamic range profile. |
const Long |
HDR10_PLUS = 8The 10-bit HDR10+ dynamic range profile. |
const Long |
HLG10 = 2The 10-bit HLG (Hybrid Log-Gamma) dynamic range profile. |
const Long |
STANDARD = 1The standard 8-bit dynamic range profile. |
Public functions |
|
|---|---|
Set<Long> |
getCompatibleProfiles(profile: Long)Returns a set of supported dynamic range profiles that can be referenced in a single capture request along with the given profile. |
Boolean |
hasExtraLatency(profile: Long)Checks whether a given dynamic range profile incurs extra latency. |
Inherited functions |
|---|
Constants
DOLBY_VISION_10B_HDR_OEM
const val DOLBY_VISION_10B_HDR_OEM = 64: Long
The 10-bit Dolby Vision HDR OEM profile.
| See also | |
|---|---|
DOLBY_VISION_10B_HDR_OEM |
DOLBY_VISION_10B_HDR_OEM_PO
const val DOLBY_VISION_10B_HDR_OEM_PO = 128: Long
The 10-bit Dolby Vision HDR OEM profile, power-optimized.
| See also | |
|---|---|
DOLBY_VISION_10B_HDR_OEM_PO |
DOLBY_VISION_10B_HDR_REF
const val DOLBY_VISION_10B_HDR_REF = 16: Long
The 10-bit Dolby Vision HDR reference profile.
| See also | |
|---|---|
DOLBY_VISION_10B_HDR_REF |
DOLBY_VISION_10B_HDR_REF_PO
const val DOLBY_VISION_10B_HDR_REF_PO = 32: Long
The 10-bit Dolby Vision HDR reference profile, power-optimized.
| See also | |
|---|---|
DOLBY_VISION_10B_HDR_REF_PO |
DOLBY_VISION_8B_HDR_OEM
const val DOLBY_VISION_8B_HDR_OEM = 1024: Long
The 8-bit Dolby Vision HDR OEM profile.
| See also | |
|---|---|
DOLBY_VISION_8B_HDR_OEM |
DOLBY_VISION_8B_HDR_OEM_PO
const val DOLBY_VISION_8B_HDR_OEM_PO = 2048: Long
The 8-bit Dolby Vision HDR OEM profile, power-optimized.
| See also | |
|---|---|
DOLBY_VISION_8B_HDR_OEM_PO |
DOLBY_VISION_8B_HDR_REF
const val DOLBY_VISION_8B_HDR_REF = 256: Long
The 8-bit Dolby Vision HDR reference profile.
| See also | |
|---|---|
DOLBY_VISION_8B_HDR_REF |
DOLBY_VISION_8B_HDR_REF_PO
const val DOLBY_VISION_8B_HDR_REF_PO = 512: Long
The 8-bit Dolby Vision HDR reference profile, power-optimized.
| See also | |
|---|---|
DOLBY_VISION_8B_HDR_REF_PO |
HDR10
const val HDR10 = 4: Long
The 10-bit HDR10 dynamic range profile.
| See also | |
|---|---|
HDR10 |
HDR10_PLUS
const val HDR10_PLUS = 8: Long
The 10-bit HDR10+ dynamic range profile.
| See also | |
|---|---|
HDR10_PLUS |
HLG10
const val HLG10 = 2: Long
The 10-bit HLG (Hybrid Log-Gamma) dynamic range profile.
| See also | |
|---|---|
HLG10 |
STANDARD
const val STANDARD = 1: Long
The standard 8-bit dynamic range profile.
| See also | |
|---|---|
STANDARD |
Public functions
getCompatibleProfiles
fun getCompatibleProfiles(profile: Long): Set<Long>
Returns a set of supported dynamic range profiles that can be referenced in a single capture request along with the given profile.
A profile is always compatible with itself, and is included in the returned set.
| Parameters | |
|---|---|
profile: Long |
The dynamic range profile to query compatibility for. |
| See also | |
|---|---|
getProfileCaptureRequestConstraints |
hasExtraLatency
fun hasExtraLatency(profile: Long): Boolean
Checks whether a given dynamic range profile incurs extra latency.
Profiles that incur extra latency may not be suitable for latency-sensitive use cases, such as real-time previews.
| Parameters | |
|---|---|
profile: Long |
The dynamic range profile to check. |
| Returns | |
|---|---|
Boolean |
|
| See also | |
|---|---|
isExtraLatencyPresent |
Public properties
supportedProfiles
val supportedProfiles: Set<Long>
Returns a set of supported dynamic range profiles.
| See also | |
|---|---|
getSupportedProfiles |