SubsamplingFormat

@Serializable(with = SubsamplingFormatSerializer::class)
sealed interface SubsamplingFormat

YUV subsampling type of the pixels of a given image.

Official doc

Inheritors

Types

Link copied to clipboard
@Serializable(with = SubsamplingFormatSerializer::class)
data class NotDefinedInProtocol(val value: String) : SubsamplingFormat

This extra enum entry represents values returned by Chrome that were not defined in the protocol (for instance new values that were added later).

Link copied to clipboard
@Serializable(with = SubsamplingFormatSerializer::class)
data object yuv420 : SubsamplingFormat
Link copied to clipboard
@Serializable(with = SubsamplingFormatSerializer::class)
data object yuv422 : SubsamplingFormat
Link copied to clipboard
@Serializable(with = SubsamplingFormatSerializer::class)
data object yuv444 : SubsamplingFormat