#include <mmf/common/mmfvideo.h>
class TVideoAspectRatio |
Public Attributes | |
---|---|
TInt | iDenominator |
TInt | iNumerator |
Public Member Functions | |
---|---|
TVideoAspectRatio() | |
TVideoAspectRatio(TInt, TInt) | |
TBool | operator!=(const TVideoAspectRatio &) |
TBool | operator==(const TVideoAspectRatio &) |
Represents the video aspect ratio as a fraction: iNumerator/iDenominator.
TVideoAspectRatio | ( | ) | [inline] |
Constructs a default aspect ratio object. The default aspect ratio is
1:1 (square).
Constructs an aspect ratio object from a numerator and a denominator.
Aspect ratio numerator.
Aspect ratio denominator.
TBool | operator!= | ( | const TVideoAspectRatio & | aAspectRatio | ) | const [inline] |
Compares two aspect ratio object for equality. The objects are
considered inequal if either the numerators or the denominators differ.
Note that the implementation will not attempt to reduce the fractions
before comparison.
TBool | operator== | ( | const TVideoAspectRatio & | aAspectRatio | ) | const [inline] |
Compares two aspect ratio object for equality. The objects are
considered equal if the numerator and denominator match.
Note that the implementation will not attempt to reduce the fractions
before comparison.