public @interface

Composition.HdrMode

implements java.lang.annotation.Annotation

 androidx.media3.transformer.Composition.HdrMode

Overview

The strategy to use to transcode or edit High Dynamic Range (HDR) input video.

One of Composition.HDR_MODE_KEEP_HDR, Composition.HDR_MODE_TONE_MAP_HDR_TO_SDR_USING_MEDIACODEC, Composition.HDR_MODE_TONE_MAP_HDR_TO_SDR_USING_OPEN_GL, or Composition.HDR_MODE_EXPERIMENTAL_FORCE_INTERPRET_HDR_AS_SDR.

Standard Dynamic Range (SDR) input video is unaffected by these settings.

Summary