HdrCapabilitiesUtil
@UnstableApi
class HdrCapabilitiesUtil
Utility class for checking HDR capabilities.
Summary
Public functions |
|
|---|---|
java-static Unit |
assumeDeviceDoesNotSupportHdrColorTransfer(Assumes that the device does not support HDR editing for the given |
java-static Unit |
assumeDeviceDoesNotSupportHdrEditing(testId: String!, format: Format!)Assumes that the device does not support HDR editing for the given |
java-static Unit |
assumeDeviceSupportsHdrColorTransfer(testId: String!, format: Format!)Assumes that the device supports HDR editing for the given |
java-static Unit |
assumeDeviceSupportsHdrEditing(testId: String!, format: Format!)Assumes that the device supports HDR editing for the given |
java-static Unit |
assumeDeviceSupportsOpenGlToneMapping(Assumes that the device supports OpenGL tone-mapping for the |
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.
| Throws | |
|---|---|
org.junit.AssumptionViolatedException |
if the device does support HDR editing. |
org.json.JSONException |
|
java.io.IOException |
|
androidx.media3.common.util.GlUtil.GlException |
assumeDeviceDoesNotSupportHdrEditing
java-static fun assumeDeviceDoesNotSupportHdrEditing(testId: String!, format: Format!): Unit
Assumes that the device does not support HDR editing for the given colorInfo.
| Throws | |
|---|---|
org.junit.AssumptionViolatedException |
if the device does support HDR editing. |
org.json.JSONException |
|
java.io.IOException |
assumeDeviceSupportsHdrColorTransfer
java-static fun assumeDeviceSupportsHdrColorTransfer(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 |
|
androidx.media3.common.util.GlUtil.GlException |
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.
| Throws | |
|---|---|
org.junit.AssumptionViolatedException |
if the device does not support OpenGL tone-mapping. |
org.json.JSONException |
|
java.io.IOException |
|
androidx.media3.exoplayer.mediacodec.MediaCodecUtil.DecoderQueryException |