AVRational
public typealias AVRational = CFFmpeg.AVRational
-
Convert an
AVRational
to aDouble
.Declaration
Swift
public var toDouble: Double { get }
-
Invert a rational.
1 / q
Declaration
Swift
public var inverted: AVRational { get }
-
Declaration
Swift
public static func == (lhs: AVRational, rhs: AVRational) -> Bool
-
Add two rationals.
Declaration
Swift
public static func + (lhs: AVRational, rhs: AVRational) -> AVRational
-
Subtract one rational from another.
Declaration
Swift
public static func - (lhs: AVRational, rhs: AVRational) -> AVRational
-
Multiply two rationals.
Declaration
Swift
public static func * (lhs: AVRational, rhs: AVRational) -> AVRational
-
Divide one rational by another.
Declaration
Swift
public static func / (lhs: AVRational, rhs: AVRational) -> AVRational