calculateViewPortEncoder

open fun calculateViewPortEncoder(streamWidth: Int, streamHeight: Int, isPortrait: Boolean): ViewPort