pike.git
/
src
/
modules
/
Image
/
dct.c
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/modules/Image/dct.c:1:
/* || This file is part of Pike. For copyright information see COPYRIGHT. || Pike is distributed under GPL, LGPL and MPL. See the file COPYING || for more information.
-
||
$Id: dct.c,v 1.29 2005/08/15 17:00:39 grubba Exp $
+
||
$Id$
*/ /* **! module Image **! class Image */ #include "global.h" #include <math.h>
pike.git/src/modules/Image/dct.c:109:
} else { free(area); free(costbl); free_object(o); bad_arg_error("image->dct",sp-args,args,0,"",sp-args, "Bad arguments to image->dct()\n"); } if (!(img->img=(rgb_group*)malloc(sizeof(rgb_group)*
-
img->xsize*img->
ysize+1
)))
+
img->xsize*img->
ysize+RGB_VEC_PAD
)))
{ free(area); free(costbl); free_object(o); resource_error(NULL,0,0,"memory",0,"Out of memory.\n"); } xsz2=THIS->xsize*2.0; ysz2=THIS->ysize*2.0;