00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027 #ifndef OSDL_VIDEO_TYPES_H_
00028 #define OSDL_VIDEO_TYPES_H_
00029
00030
00031 #include "OSDLException.h"
00032
00033 #include "Ceylan.h"
00034
00035
00036
00037
00048 namespace OSDL
00049 {
00050
00051
00052
00053 namespace Video
00054 {
00055
00056
00057
00059 typedef Ceylan::Uint16 Length ;
00060
00061
00063 typedef Ceylan::Sint16 SignedLength ;
00064
00065
00067 typedef Ceylan::Uint16 Pitch ;
00068
00069
00070
00079 typedef Ceylan::Sint16 Coordinate ;
00080
00081
00082
00084 typedef Coordinate Offset ;
00085
00086
00087
00094 typedef Ceylan::Float32 FloatingPointCoordinate ;
00095
00096
00097
00099 typedef Ceylan::Uint8 BitsPerPixel ;
00100
00101
00103 typedef Ceylan::Uint8 BytesPerPixel ;
00104
00105
00106
00107
00108
00109
00110
00112 class OSDL_DLL VideoException: public OSDL::Exception
00113 {
00114
00115 public:
00116
00117 explicit VideoException( const std::string & reason ) :
00118 OSDL::Exception( reason )
00119 {
00120
00121 }
00122
00123
00124 virtual ~VideoException() throw()
00125 {
00126
00127 }
00128
00129 } ;
00130
00131
00132
00133 }
00134
00135 }
00136
00137
00138
00139 #endif // OSDL_VIDEO_TYPES_H_
00140