humble-video-noarch/src/main/java/io/humble/video/MediaPictureResampler.java
public int resample(MediaSampled out, MediaSampled in) {
    return VideoJNI.MediaPictureResampler_resample(swigCPtr, this, MediaSampled.getCPtr(out), out, MediaSampled.getCPtr(in), in);
  }
public int resample(MediaSampled out, MediaSampled in) {
    return VideoJNI.MediaPictureResampler_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 picture based on the parameters set when<br>
this resampler was constructed.<br>
<br>
@param out The picture we'll resample to.  Check<br>
MediaPicture#isComplete() after the call.<br>
@param in The picture we'll resample from.<br>
<br>
@throws InvalidArgument if in our out does not match the parameters this<br>
resampler was set with.