Interface IVideoParams2
interface IVideoParams2
Extends IVideoParams
The VideoParams2 stores video related information
required to create mediasamplesourcetrack for video,
which enables clients to set HDR related information
Methods
setVideoColorMatrix()
Sets Video Color Matrix.voidsetVideoColorMatrix(com.amazon.kepler.media_descriptor.VideoColorMatrix*colorMatrix)
Parameters
colorMatrix
com.amazon.kepler.media_descriptor.VideoColorMatrix* — Required
The color matrix value, refer to
[VideoColorMatrix] for supported values.
setVideoColorPrimaries()
Sets Video Color Primaries.voidsetVideoColorPrimaries(com.amazon.kepler.media_descriptor.VideoColorPrimaries*colorPrimaries)
Parameters
colorPrimaries
com.amazon.kepler.media_descriptor.VideoColorPrimaries* — Required
The color primaries value, refer to
[VideoColorPrimaries] for supported values.
setVideoColorTransfer()
Sets Video Color Transfer.voidsetVideoColorTransfer(com.amazon.kepler.media_descriptor.VideoColorTransfer*colorTransfer)
Parameters
colorTransfer
com.amazon.kepler.media_descriptor.VideoColorTransfer* — Required
The color transfer value, refer to
[VideoColorTransfer] for supported values.
setVideoColorRange()
Sets Video Color Range.voidsetVideoColorRange(com.amazon.kepler.media_descriptor.VideoColorRange*colorRange)
Parameters
colorRange
com.amazon.kepler.media_descriptor.VideoColorRange* — Required
The color range value, refer to
[VideoColorRange] for supported values
setVideoContentLightLevel()
Sets Video Content Light Level.voidsetVideoContentLightLevel(com.amazon.kepler.media_descriptor.VideoContentLightLevel*maxLevel)
Parameters
maxLevel
com.amazon.kepler.media_descriptor.VideoContentLightLevel* — Required
The max content and avg frame light
levels in cd/m^2.
setVideoMasteringDisplayCoordinates()
Sets Video Mastering Display Coordinates.voidsetVideoMasteringDisplayCoordinates(com.amazon.kepler.media_descriptor.VideoMasteringDisplayCoordinates*coordinates)
Parameters
coordinates
com.amazon.kepler.media_descriptor.VideoMasteringDisplayCoordinates* — Required
The coordinates of color volume
for Mastering display
setVideoMasteringDisplayLuminance()
Sets Video Mastering Display Luminance.voidsetVideoMasteringDisplayLuminance(com.amazon.kepler.media_descriptor.VideoMasteringDisplayLuminance*luminance)
Parameters
luminance
com.amazon.kepler.media_descriptor.VideoMasteringDisplayLuminance* — Required
The min/max value of luminance in
unit of 0.0001 cd/m^2.

