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/resample/bresenham.c

    r4691 r4696  
    3232 * alpha should be the mean alpha value of the neightbouring pixels, but
    3333 * the colour components should be weighted with the alpha value. */
    34 pipi_image_t *pipi_resize(pipi_image_t *src, int w, int h)
     34pipi_image_t *pipi_resize_bresenham(pipi_image_t *src, int w, int h)
    3535{
    3636    float *srcdata, *dstdata, *aline, *line;
Note: See TracChangeset for help on using the changeset viewer.