PicCropperRGB24Impl Class Reference

#include <PicCropperRGB24Impl.h>

Inheritance diagram for PicCropperRGB24Impl:

PicCropperBase PicCropperBase

Detailed Description

An RGB24 implementation derived from the general PicCropperBase() class.

Crop a packed RGB24 image into another packed RGB24 image.

Definition at line 38 of file Copy of Image/PicCropperRGB24Impl.h.


Public Member Functions

 PicCropperRGB24Impl (void)
 PicCropperRGB24Impl (int widthOut, int heightOut, int widthIn, int heightIn, int left, int right, int top, int bottom)
virtual ~PicCropperRGB24Impl (void)
int Crop (void *pInImg, void *pImg)
 Crop the input image into the output image.
 PicCropperRGB24Impl (void)
 PicCropperRGB24Impl (int widthOut, int heightOut, int widthIn, int heightIn, int left, int right, int top, int bottom)
virtual ~PicCropperRGB24Impl (void)
int Crop (void *pInImg, void *pImg)

Member Function Documentation

int PicCropperRGB24Impl::Crop ( void *  pInImg,
void *  pImg 
) [virtual]

Crop the input image into the output image.

Crop the input image by {_byX1, _byX2, _byY1, _byY2} from the {left, right, bottom, top} and write it into the output image. Memory management is the responsibility of the calling process. Very little checking is done to prevent memory overwriting.

Parameters:
pImg : Packed RGB 888 format output image.
pInImg : Packed RGB 888 format input image.
Returns:
: 0 = failed, 1 = success.

Check the cropping to ensure it will fit and not overlap.

Align src and dst pointers. Src pointer is offset into the input image.

Whole row at a time.

Next row.

Implements PicCropperBase.

Definition at line 51 of file Copy of Image/PicCropperRGB24Impl.cpp.


The documentation for this class was generated from the following files:
Generated on Fri Mar 13 14:12:39 2009 for RTVC by  doxygen 1.5.3