Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   Related Pages  

ImageResampleC.h

00001 //-------------------------------------------------------------------------
00002 //
00003 // File:        ImageResampleC.h
00004 // Desc:        Image resample class.
00005 // Author:      memon <memon@inside.org>
00006 //
00007 //-------------------------------------------------------------------------
00008 //  Copyright (c) 2000-2002 Moppi Productions. All Rights Reserved.
00009 //  This file is part of Moppi Demopaja SDK. For conditions of 
00010 //  distribution and use, see the accompanying license.txt file.
00011 //  http://moppi.inside.org/demopaja/
00012 //-------------------------------------------------------------------------
00013 
00014 
00015 #ifndef __DEMOPAJA_IMAGERESAMPLEC_H__
00016 #define __DEMOPAJA_IMAGERESAMPLEC_H__
00017 
00018 #include "PajaTypes.h"
00019 
00020 namespace PajaSystem {
00021 
00023 
00030     class ImageResampleC
00031     {
00032     public:
00033         ImageResampleC();
00034         ~ImageResampleC();
00035 
00037         static  bool    resample_nearest( PajaTypes::uint32 ui32Bpp,
00038                                 PajaTypes::uint8* pSrcData, PajaTypes::uint32 ui32SrcWidth, PajaTypes::uint32 ui32SrcHeight,
00039                                 PajaTypes::uint8* pDstData, PajaTypes::uint32 ui32DstWidth, PajaTypes::uint32 ui32DstHeight );
00040 
00042         static  bool    resample_bilinear( PajaTypes::uint32 ui32Bpp,
00043                                 PajaTypes::uint8* pSrcData, PajaTypes::uint32 ui32SrcWidth, PajaTypes::uint32 ui32SrcHeight,
00044                                 PajaTypes::uint8* pDstData, PajaTypes::uint32 ui32DstWidth, PajaTypes::uint32 ui32DstHeight );
00045 
00046     };
00047 
00048 };  // namespace
00049 
00050 #endif

Moppi Demopaja SDK Documentation -- Copyright © 2000-2002 Moppi Productions