HdrCapabilitiesUtil


@UnstableApi
class HdrCapabilitiesUtil


Utility class for checking HDR capabilities.

Summary

Public functions

java-static Unit
assumeDeviceDoesNotSupportHdrColorTransfer(
    testId: String!,
    format: Format!
)

Assumes that the device does not support HDR editing for the given colorInfo.

java-static Unit

Assumes that the device does not support HDR editing for the given colorInfo.

java-static Unit

Assumes that the device supports HDR editing for the given colorInfo.

java-static Unit

Assumes that the device supports HDR editing for the given colorInfo.

java-static Unit
assumeDeviceSupportsOpenGlToneMapping(
    testId: String!,
    inputFormat: Format!
)

Assumes that the device supports OpenGL tone-mapping for the inputFormat.

Public functions

assumeDeviceDoesNotSupportHdrColorTransfer

java-static fun assumeDeviceDoesNotSupportHdrColorTransfer(
    testId: String!,
    format: Format!
): Unit

Assumes that the device does not support HDR editing for the given colorInfo.

assumeDeviceDoesNotSupportHdrEditing

java-static fun assumeDeviceDoesNotSupportHdrEditing(testId: String!, format: Format!): Unit

Assumes that the device does not support HDR editing for the given colorInfo.

assumeDeviceSupportsHdrColorTransfer

java-static fun assumeDeviceSupportsHdrColorTransfer(testId: String!, format: Format!): Unit

Assumes that the device supports HDR editing for the given colorInfo.

assumeDeviceSupportsHdrEditing

java-static fun assumeDeviceSupportsHdrEditing(testId: String!, format: Format!): Unit

Assumes that the device supports HDR editing for the given colorInfo.

Throws
org.junit.AssumptionViolatedException

if the device does not support HDR editing.

org.json.JSONException
java.io.IOException

assumeDeviceSupportsOpenGlToneMapping

java-static fun assumeDeviceSupportsOpenGlToneMapping(
    testId: String!,
    inputFormat: Format!
): Unit

Assumes that the device supports OpenGL tone-mapping for the inputFormat.