~ubuntu-branches/ubuntu/saucy/vips/saucy

« back to all changes in this revision

Viewing changes to libvips/resample/bicubic.cpp

  • Committer: Package Import Robot
  • Author(s): Jay Berkenbilt
  • Date: 2012-03-18 16:54:58 UTC
  • mfrom: (1.1.17) (30.1.7 sid)
  • Revision ID: package-import@ubuntu.com-20120318165458-6okio21v96g3bd7t
Tags: 7.28.2-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
105
105
 */
106
106
template <typename T, int min_value, int max_value>
107
107
static void inline
108
 
bicubic_int_tab( PEL *pout, const PEL *pin,
 
108
bicubic_int_tab( void *pout, const PEL *pin,
109
109
        const int bands, const int lskip,
110
110
        const int *cx, const int *cy )
111
111
{
173
173
 */
174
174
template <typename T>
175
175
static void inline
176
 
bicubic_float_tab( PEL *pout, const PEL *pin,
 
176
bicubic_float_tab( void *pout, const PEL *pin,
177
177
        const int bands, const int lskip,
178
178
        const double *cx, const double *cy )
179
179
{
236
236
 */
237
237
template <typename T>
238
238
static void inline
239
 
bicubic_notab( PEL *pout, const PEL *pin,
 
239
bicubic_notab( void *pout, const PEL *pin,
240
240
        const int bands, const int lskip,
241
241
        double x, double y )
242
242
{
303
303
 
304
304
static void
305
305
vips_interpolate_bicubic_interpolate( VipsInterpolate *interpolate,
306
 
        PEL *out, REGION *in, double x, double y )
 
306
        void *out, REGION *in, double x, double y )
307
307
{
308
308
        /* Find the mask index. We round-to-nearest, so we need to generate 
309
309
         * indexes in 0 to VIPS_TRANSFORM_SCALE, 2^n + 1 values. We multiply