Ignore:
Timestamp:
Oct 17, 2010, 2:57:27 AM (9 years ago)
Author:
Sam Hocevar
Message:

Implement bicubic resampling. Lacks some blurring in the pre-pass, maybe.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpipi/trunk/pipi/context.c

    r3547 r4696  
    296296        switch(cmd[0])
    297297        {
    298             case 'g': dst = pipi_resize(src, w, h); break;
     298            case 'g': dst = pipi_resize_bicubic(src, w, h); break;
    299299            case 't': dst = pipi_tile(src, w, h); break;
    300300        }
     
    323323        if(w <= 0 || h <= 0)
    324324            return -1;
    325         dst = pipi_resize(src, w, h);
     325        dst = pipi_resize_bicubic(src, w, h);
    326326        if(dst == NULL)
    327327            return -1;
Note: See TracChangeset for help on using the changeset viewer.