X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=otherlibs%2Fhighgui%2Fgrfmt_imageio.h;fp=otherlibs%2Fhighgui%2Fgrfmt_imageio.h;h=0000000000000000000000000000000000000000;hb=e4c14cdbdf2fe805e79cd96ded236f57e7b89060;hp=4035af91a41f66adfa8f688444875b4eddd5f83a;hpb=454138ff8a20f6edb9b65a910101403d8b520643;p=opencv diff --git a/otherlibs/highgui/grfmt_imageio.h b/otherlibs/highgui/grfmt_imageio.h deleted file mode 100644 index 4035af9..0000000 --- a/otherlibs/highgui/grfmt_imageio.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * grfmt_imageio.h - * - * - * Created by Morgan Conbere on 5/17/07. - * - */ - -#ifndef _GRFMT_IMAGEIO_H_ -#define _GRFMT_IMAGEIO_H_ - -#ifdef HAVE_IMAGEIO - -#include "grfmt_base.h" -#include - -class GrFmtImageIOReader : public GrFmtReader -{ -public: - - GrFmtImageIOReader( const char* filename ); - ~GrFmtImageIOReader(); - - bool ReadData( uchar* data, int step, int color ); - bool ReadHeader(); - void Close(); - -protected: - - CGImageRef imageRef; -}; - -class GrFmtImageIOWriter : public GrFmtWriter -{ -public: - - GrFmtImageIOWriter( const char* filename ); - ~GrFmtImageIOWriter(); - - bool WriteImage( const uchar* data, int step, - int width, int height, int depth, int channels ); -}; - -// ImageIO filter factory -class GrFmtImageIO :public GrFmtFilterFactory -{ -public: - - GrFmtImageIO(); - ~GrFmtImageIO(); - - bool CheckFile( const char* filename ); - - GrFmtReader* NewReader( const char* filename ); - GrFmtWriter* NewWriter( const char* filename ); -}; - -#endif/*HAVE_IMAGEIO*/ - -#endif/*_GRFMT_IMAGEIO_H_*/