mirror of
https://github.com/samsonjs/media.git
synced 2026-04-11 12:15:47 +00:00
HDR: Remove comment explaining force sdr behavior with assetloaders.
Before, if the upstream AssetLoader provides HDR to the VideoSamplePipeline when HDR_MODE_EXPERIMENTAL_FORCE_INTERPRET_HDR_AS_SDR is requested, the VideoSamplePipeline would attempt to tell the AssetLoader to output SDR, which could be accomplished via MediaCodec tone-mapping in the AssetLoader. However, this makes an assumption of the AssetLoader implementation, and AssetLoaders may not all implement support for decoder tone-mapping. Remove javadoc attempting to explain how AssetLoaders (ex. custom ones) could behave. PiperOrigin-RevId: 510956820
This commit is contained in:
parent
363b85226e
commit
6a91b2df51
1 changed files with 0 additions and 8 deletions
|
|
@ -136,14 +136,6 @@ public final class Transformer {
|
|||
* Listener#onFallbackApplied(Composition, TransformationRequest, TransformationRequest)} will
|
||||
* be invoked with the actual applied values.
|
||||
*
|
||||
* <p>If {@link TransformationRequest#hdrMode} is set to {@link
|
||||
* TransformationRequest#HDR_MODE_EXPERIMENTAL_FORCE_INTERPRET_HDR_AS_SDR} and an {@link
|
||||
* #setAssetLoaderFactory AssetLoader.Factory} is set, {@link TransformationRequest#hdrMode}
|
||||
* will be ignored. In this case, if the {@link AssetLoader.Factory} passed produces HDR data,
|
||||
* it will be automatically {@linkplain
|
||||
* TransformationRequest#HDR_MODE_TONE_MAP_HDR_TO_SDR_USING_MEDIACODEC tone mapped to SDR using
|
||||
* MediaCodec}.
|
||||
*
|
||||
* @param transformationRequest The {@link TransformationRequest}.
|
||||
* @return This builder.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue