humble-video-noarch/src/main/java/io/humble/video/MediaResampler.java
public int resample(MediaSampled out, MediaSampled in) {
    return VideoJNI.MediaResampler_resample(swigCPtr, this, MediaSampled.getCPtr(out), out, MediaSampled.getCPtr(in), in);
  }
public int resample(MediaSampled out, MediaSampled in) {
    return VideoJNI.MediaResampler_resample(swigCPtr, this, MediaSampled.getCPtr(out), out, MediaSampled.getCPtr(in), in);
  }
public int resample ( MediaSampled out , MediaSampled in ) { return VideoJNI . MediaResampler_resample ( swigCPtr , this , MediaSampled . getCPtr ( out ) , out , MediaSampled . getCPtr ( in ) , in ) ; }
Resample in to out based on the resampler parameters.<br>
<br>
Resamples the in media based on the parameters set when<br>
this resampler was constructed.<br>
<br>
@param out The media we'll resample to.  Check<br>
MediaSampled#isComplete() after the call.<br>
@param in The media we'll resample from.<br>
<br>
@throws InvalidArgument if in our out does not match the parameters this<br>
resampler was set with.<br>
@throws InvalidArgument if the sub-class of in our out is of an invalid<br>
type (e.g. passsing audio to a picture resampler).
Resample in to out based on the resampler parameters . <br > <br > Resamples the in media based on the parameters set when<br > this resampler was constructed . <br > <br >