HeifCodecInfo
class HeifCodecInfo(val width: Int, val height: Int, val bitDepthLuma: Int, val bitDepthChroma: Int, val chromaFormat: Int, val colorPrimaries: Int? = null, val transferCharacteristics: Int? = null, val matrixCoefficients: Int? = null, val fullRange: Boolean? = null, val unsupportedReason: String? = null)(source)
What a codec reads from the configuration and the coded data of an item.
width and height are the size of the decoded picture, after any cropping the bitstream itself signals, or 0 when unknown. chromaFormat is 0 for monochrome, 1 for 4:2:0, 2 for 4:2:2 and 3 for 4:4:4. The colour fields are the code points of ITU-T H.273 that the bitstream signals, or null when it signals none. unsupportedReason says what the codec cannot decode, or is null.