Skip to content
  • David Gobbi's avatar
    Optimize the reslice nearest neighbor interpolation · 4cc6d511
    David Gobbi authored
    Use the efficient "setpixels" method for setting out-of-bounds regions
    to the background color.  Also, use a switch() to unroll the inner loop
    for common pixels sizes, this provides a performance boost of a few %.
    4cc6d511