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:
-
/* $Id: dct.c,v 1.
5
1997/04/
03
07
:
00
:
13
mirar Exp $ */
+
/* $Id: dct.c,v 1.
6
1997/04/
30
01
:
45
:
57
mirar Exp $ */
/* **! module Image **! class image */ #include "global.h" #include <math.h> #include <ctype.h>
pike.git/src/modules/Image/dct.c:44:
**! **! This gives a quality-conserving upscale, **! but the algorithm used is n*n+n*m, where n **! and m is pixels in the original and new image. **! **! Recommended wrapping algorithm is to scale **! overlapping parts of the image-to-be-scaled. **! **! This functionality is actually added as an **! true experiment, but works...
+
**!
+
**! note
+
**! Do NOT use this function if you don't know what
+
**! you're dealing with! Read some signal theory first...
**! returns the new image object **! arg int newx **! arg int newy **! new image size in pixels **! */ void image_dct(INT32 args) { rgbd_group *area,*val;