amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture / ScreenCaptureResolutionCalculator

ScreenCaptureResolutionCalculator

class ScreenCaptureResolutionCalculator

ScreenCaptureResolutionCalculator calculates scaled resolution based on input resolution and target resolution constraint

Constructors

<init>

ScreenCaptureResolutionCalculator calculates scaled resolution based on input resolution and target resolution constraint

ScreenCaptureResolutionCalculator()

Functions

alignToEven

fun alignToEven(positiveNumber: Int): Int

computeTargetSize

fun computeTargetSize(displayWidth: Int, displayHeight: Int, targetResolutionLong: Int, targetResolutionShort: Int): IntArray