[ Web Proxy ]
URL:
Viewing: https://developer.android.com/reference/androidx/camera/common/DynamicRangeProfilesWrapper [Back]  [Original]

DynamicRangeProfilesWrapper  |  API reference  |  Android Developers Skip to main content
Essentials Design & Plan Develop Google Play Blog
Search:
Android Studio
Android Developers [Android Developers]
Stay organized with collections Save and categorize content based on your preferences.

DynamicRangeProfilesWrapper


public interface DynamicRangeProfilesWrapper extends UnsafeWrapper

Known direct subclasses
FakeDynamicRangeProfiles

A fake implementation of DynamicRangeProfilesWrapper for testing.


Provides compatibility-focused access to android.hardware.camera2.params.DynamicRangeProfiles.

See also
DynamicRangeProfiles

Summary

Constants

default static final long

The 10-bit Dolby Vision HDR OEM profile.

default static final long

The 10-bit Dolby Vision HDR OEM profile, power-optimized.

default static final long

The 10-bit Dolby Vision HDR reference profile.

default static final long

The 10-bit Dolby Vision HDR reference profile, power-optimized.

default static final long

The 8-bit Dolby Vision HDR OEM profile.

default static final long

The 8-bit Dolby Vision HDR OEM profile, power-optimized.

default static final long

The 8-bit Dolby Vision HDR reference profile.

default static final long

The 8-bit Dolby Vision HDR reference profile, power-optimized.

default static final long
HDR10 = 4

The 10-bit HDR10 dynamic range profile.

default static final long

The 10-bit HDR10+ dynamic range profile.

default static final long
HLG10 = 2

The 10-bit HLG (Hybrid Log-Gamma) dynamic range profile.

default static final long

The standard 8-bit dynamic range profile.

Public methods

abstract @NonNull Set<@NonNull Long>
getCompatibleProfiles(long profile)

Returns a set of supported dynamic range profiles that can be referenced in a single capture request along with the given profile.

abstract @NonNull Set<@NonNull Long>

Returns a set of supported dynamic range profiles.

abstract boolean
hasExtraLatency(long profile)

Checks whether a given dynamic range profile incurs extra latency.

Inherited methods

From androidx.camera.common.UnsafeWrapper
abstract T
<T extends Object> unwrapAs(@NonNull Class<@NonNull T> type)

Attempts to unwrap this object into the specified underlying type.

Constants

DOLBY_VISION_10B_HDR_OEM

Added in 1.7.0-alpha03
default static final long DOLBY_VISION_10B_HDR_OEM = 64

The 10-bit Dolby Vision HDR OEM profile.

DOLBY_VISION_10B_HDR_OEM_PO

Added in 1.7.0-alpha03
default static final long DOLBY_VISION_10B_HDR_OEM_PO = 128

The 10-bit Dolby Vision HDR OEM profile, power-optimized.

DOLBY_VISION_10B_HDR_REF

Added in 1.7.0-alpha03
default static final long DOLBY_VISION_10B_HDR_REF = 16

The 10-bit Dolby Vision HDR reference profile.

DOLBY_VISION_10B_HDR_REF_PO

Added in 1.7.0-alpha03
default static final long DOLBY_VISION_10B_HDR_REF_PO = 32

The 10-bit Dolby Vision HDR reference profile, power-optimized.

DOLBY_VISION_8B_HDR_OEM

Added in 1.7.0-alpha03
default static final long DOLBY_VISION_8B_HDR_OEM = 1024

The 8-bit Dolby Vision HDR OEM profile.

DOLBY_VISION_8B_HDR_OEM_PO

Added in 1.7.0-alpha03
default static final long DOLBY_VISION_8B_HDR_OEM_PO = 2048

The 8-bit Dolby Vision HDR OEM profile, power-optimized.

DOLBY_VISION_8B_HDR_REF

Added in 1.7.0-alpha03
default static final long DOLBY_VISION_8B_HDR_REF = 256

The 8-bit Dolby Vision HDR reference profile.

DOLBY_VISION_8B_HDR_REF_PO

Added in 1.7.0-alpha03
default static final long DOLBY_VISION_8B_HDR_REF_PO = 512

The 8-bit Dolby Vision HDR reference profile, power-optimized.

HDR10

Added in 1.7.0-alpha03
default static final long HDR10 = 4

The 10-bit HDR10 dynamic range profile.

See also
HDR10

HDR10_PLUS

Added in 1.7.0-alpha03
default static final long HDR10_PLUS = 8

The 10-bit HDR10+ dynamic range profile.

See also
HDR10_PLUS

HLG10

Added in 1.7.0-alpha03
default static final long HLG10 = 2

The 10-bit HLG (Hybrid Log-Gamma) dynamic range profile.

See also
HLG10

STANDARD

Added in 1.7.0-alpha03
default static final long STANDARD = 1

The standard 8-bit dynamic range profile.

See also
STANDARD

Public methods

getCompatibleProfiles

Added in 1.7.0-alpha03
abstract @NonNull Set<@NonNull LonggetCompatibleProfiles(long profile)

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
long profile

The dynamic range profile to query compatibility for.

Returns
@NonNull Set<@NonNull Long>

An unmodifiable set of supported dynamic range profiles.

getSupportedProfiles

Added in 1.7.0-alpha03
abstract @NonNull Set<@NonNull LonggetSupportedProfiles()

Returns a set of supported dynamic range profiles.

Returns
@NonNull Set<@NonNull Long>

An unmodifiable set of supported dynamic range profiles.

hasExtraLatency

Added in 1.7.0-alpha03
abstract boolean hasExtraLatency(long profile)

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
long profile

The dynamic range profile to check.

Returns
boolean

true if the profile incurs extra latency, false otherwise.

Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.

Last updated 2026-08-12 UTC.

[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-08-12 UTC."],[],[]]

Web Proxy Viewer  |  New URL  |  Original Page