Enum PeerConnection.FrameHeightRoundMode
Frame height round mode.
Namespace: Microsoft.MixedReality.WebRTC
Assembly: Microsoft.MixedReality.WebRTC.dll
Syntax
public enum FrameHeightRoundMode : int
Fields
Name | Description |
---|---|
Crop | Crop frame height to the nearest multiple of 16. ((height - nearestLowerMultipleOf16) / 2) rows are cropped from the top and (height - nearestLowerMultipleOf16 - croppedRowsTop) rows are cropped from the bottom. |
None | Leave frames unchanged. |
Pad | Pad frame height to the nearest multiple of 16. ((nearestHigherMultipleOf16 - height) / 2) rows are added symmetrically at the top and (nearestHigherMultipleOf16 - height - addedRowsTop) rows are added symmetrically at the bottom. |