recognised, and false otherwise.
videoIsCommonAspectRatio
fn
bool videoIsCommonAspectRatio(int width, int height, int parN, int parD)Given a frame's dimensions and pixel aspect ratio, this function will calculate the frame's aspect ratio and compare it against a set of common well-known "standard" aspect ratios.
Parameters
width | Width of the video frame |
height | Height of the video frame |
parN | Pixel aspect ratio numerator |
parD | Pixel aspect ratio denominator |
Returns
true if a known "standard" aspect ratio was