accepts

fun accepts(size: Size): Boolean(source)

Checks a frame size against this encoder's limits.

Return

True when the encoder accepts size as-is, without rounding or downscaling.

Parameters

size

The frame size to check.