humble-video-noarch/src/main/java/io/humble/video/Rational.java
public static long rescale(long srcValue, int dstNumerator, int dstDenominator, int srcNumerator, int srcDenominator, Rational.Rounding rounding) {
    return VideoJNI.Rational_rescale__SWIG_2(srcValue, dstNumerator, dstDenominator, srcNumerator, srcDenominator, rounding.swigValue());
  }
public static long rescale(long srcValue, int dstNumerator, int dstDenominator, int srcNumerator, int srcDenominator, Rational.Rounding rounding) {
    return VideoJNI.Rational_rescale__SWIG_2(srcValue, dstNumerator, dstDenominator, srcNumerator, srcDenominator, rounding.swigValue());
  }
public static long rescale ( long srcValue , int dstNumerator , int dstDenominator , int srcNumerator , int srcDenominator , Rational . Rounding rounding ) { return VideoJNI . Rational_rescale__SWIG_2 ( srcValue , dstNumerator , dstDenominator , srcNumerator , srcDenominator , rounding . swigValue ( ) ) ; }
Rescales a long value to another long value.<br>
<p><br>
This method doesn't use IRational values, but<br>
instead uses numerators and denominators<br>
passed in by the caller.  It will not result<br>
in any memory allocations.<br>
</p><br>
<br>
@param srcValue The value to rescale.<br>
@param dstNumerator The numerator of the units<br>
you want to scale to.  Must be non-zero.<br>
@param dstDenominator The denominator of the units<br>
you want to scale to.  Must be non-zero.<br>
@param srcNumerator The numerator of the units<br>
<code>srcValue</code> is expressed in.<br>
Must be non-zero.<br>
@param srcDenominator The denominator of the units<br>
<code>srcValue</code> is expressed in.<br>
Must be non-zero.<br>
@param rounding How you want rounding to occur<br>
<br>
@return The new integer value, scaled in units of<br>
dstNumerator/dstNumerator, or 0 if there<br>
is a parameter error.
Rescales a long value to another long value . <br > <p > <br > This method doesn t use IRational values but<br > instead uses numerators and denominators<br > passed in by the caller . It will not result<br > in any memory allocations . <br > < / p > <br > <br >