OSDLVideoTypes.h

Go to the documentation of this file.
00001 #ifndef OSDL_VIDEO_TYPES_H_
00002 #define OSDL_VIDEO_TYPES_H_
00003 
00004 
00005 #include "OSDLException.h"   // for OSDL::Exception 
00006 
00007 #include "Ceylan.h"          // for the various basic types
00008 
00009 
00020 namespace OSDL
00021 {
00022 
00023 
00024     namespace Video
00025     {
00026     
00027     
00028     
00030         typedef Ceylan::Uint16 Length ;
00031     
00033         typedef Ceylan::Sint16 SignedLength ;
00034     
00035     
00037         typedef Ceylan::Uint16 Pitch ;
00038 
00039 
00048         typedef Ceylan::Sint16 Coordinate ;
00049         
00050         
00052         typedef Coordinate Offset ;
00053 
00055         typedef Ceylan::Float32 FloatingPointCoordinate ;
00056 
00057 
00059         typedef Ceylan::Uint8 BitsPerPixel ;
00060     
00062         typedef Ceylan::Uint8 BytesPerPixel ;
00063         
00064         
00065         // Angle units and ratio already available thanks to Ceylan.
00066         
00067 
00068 
00070         class OSDL_DLL VideoException: public OSDL::Exception 
00071         { 
00072             public:
00073                 
00074                 explicit VideoException( const std::string & reason ) throw() : 
00075                     OSDL::Exception( reason )
00076                 {
00077 
00078                 }
00079 
00080 
00081                 virtual ~VideoException() throw()
00082                 {
00083                 
00084                 }
00085                 
00086         } ; 
00087             
00088     
00089     }
00090     
00091 }
00092 
00093 #endif // OSDL_VIDEO_TYPES_H_
00094 

Generated on Fri Mar 30 14:47:00 2007 for OSDL by  doxygen 1.5.1