Tag Parser
6.2.1
C++ library for reading and writing MP4 (iTunes), ID3, Vorbis, Opus, FLAC and Matroska tags
|
The AspectRatio struct defines an aspect ratio. More...
#include <aspectratio.h>
Public Member Functions | |
AspectRatio () | |
Constructs an invalid aspect ratio. More... | |
AspectRatio (byte aspectRatioType) | |
Constructs a PAR form the specified AVC aspectRatioType. More... | |
AspectRatio (uint16 numerator, uint16 denominator) | |
Constructs a aspect ratio with the specified numerator and denominator. More... | |
bool | isValid () const |
Returns an indication whether the aspect ratio is present and valid. More... | |
bool | isExtended () const |
Returns whether numerator and denominator must be read from extended SAR header. More... | |
Public Attributes | |
byte | type |
uint16 | numerator |
uint16 | denominator |
The AspectRatio struct defines an aspect ratio.
Definition at line 10 of file aspectratio.h.
|
inline |
Constructs an invalid aspect ratio.
Definition at line 25 of file aspectratio.h.
Media::AspectRatio::AspectRatio | ( | byte | aspectRatioType | ) |
Constructs a PAR form the specified AVC aspectRatioType.
Definition at line 15 of file aspectratio.cpp.
|
inline |
Constructs a aspect ratio with the specified numerator and denominator.
Definition at line 34 of file aspectratio.h.
|
inline |
Returns whether numerator and denominator must be read from extended SAR header.
Definition at line 51 of file aspectratio.h.
|
inline |
Returns an indication whether the aspect ratio is present and valid.
Definition at line 43 of file aspectratio.h.
uint16 Media::AspectRatio::denominator |
Definition at line 19 of file aspectratio.h.
uint16 Media::AspectRatio::numerator |
Definition at line 18 of file aspectratio.h.
byte Media::AspectRatio::type |
Definition at line 17 of file aspectratio.h.