SMPTE / ris-osvp-metadata-camdkit

Implements the SMPTE RIS OSVP camera metadata model
BSD 3-Clause "New" or "Revised" License
40 stars 6 forks source link

Change range of denominator of rationals #89

Closed JGoldstone closed 1 year ago

JGoldstone commented 1 year ago

At the moment, StrictlyPositiveRationalParameter instances have a validate method that checks to see if the denominator is in the range (0, (1<<31)-1]. If the denominator were changed to support integers in the range (0, (1<<31)-1], then strictly positive rational parameter instances could be mapped directly into OpenEXR Rational types.