VideoWrapperScale.cpp File Reference
Implements functions that may be used for image scaling. More...
#include "VideoWrapperScale.h"
|
Functions |
void | scaleDownPower2Fast (unsigned char *src, unsigned char *dst, unsigned int width, unsigned int height, int factor) |
| Scales down an image.
|
void | scaleDownPower2Slow (unsigned char *src, unsigned char *dst, unsigned int width, unsigned int height, int factor) |
| Scales down an image.
|
Detailed Description
Implements functions that may be used for image scaling.
Copyright 2004-5, Georgia Tech Research Corporation, Atlanta, Georgia 30332-0415 All Rights Reserved
Function Documentation
void scaleDownPower2Fast |
( |
unsigned char * |
src, |
|
|
unsigned char * |
dst, |
|
|
unsigned int |
width, |
|
|
unsigned int |
height, |
|
|
int |
factor |
|
) |
|
|
|
Scales down an image.
Faster than scaleDownPower2Slow(), but with less acurate down sampling.
- Parameters:
-
| src | Source image buffer. |
| dst | Destination image buffer. |
| width | Width of source image. |
| height | Height of source image. |
| factor | Factor by which to down sample the image. |
|
void scaleDownPower2Slow |
( |
unsigned char * |
src, |
|
|
unsigned char * |
dst, |
|
|
unsigned int |
width, |
|
|
unsigned int |
height, |
|
|
int |
factor |
|
) |
|
|
|
Scales down an image.
Slower than scaleDownPower2Slow(), but with more acurate down sampling.
- Parameters:
-
| src | Source image buffer. |
| dst | Destination image buffer. |
| width | Width of source image. |
| height | Height of source image. |
| factor | Factor by which to down sample the image. |
|
Generated on Tue Oct 18 12:18:51 2005 for VideoWrapper API by
1.4.1