CVRes.h File Reference
Go to the source code of this file. Defines
Typedefs
- typedef unsigned long CVRES
Enumerations
- enum CVRES_CORE_ENUM {
CVRES_SUCCESS = 0,
CVRES_STATUS = 1 + CVRES_VIDCAP_OFFSET,
CVRES_VIDCAP_STATUS = CVRES_VIDCAP_GROUP,
CVRES_IMAGE_STATUS = CVRES_IMAGE_GROUP,
CVRES_FILE_STATUS = CVRES_FILE_GROUP,
CVRES_DLL_STATUS = CVRES_DLL_GROUP,
CVRES_ERROR = CVHIGHBIT + CVRES_VIDCAP_OFFSET,
CVRES_NOT_IMPLEMENTED,
CVRES_OUT_OF_MEMORY,
CVRES_OUT_OF_HANDLES,
CVRES_OUT_OF_THREADS,
CVRES_INVALID_PARAMETER,
CVRES_VIDCAP_ERROR,
CVRES_IMAGE_ERROR,
CVRES_FILE_ERROR,
CVRES_DLL_ERROR
}
Define Documentation
| #define CVFAILED |
( |
x |
|
) |
( ((x) & CVHIGHBIT) != 0 )
|
|
|
|
CVFAILED returns true if a CVRES result failed.
Definition at line 67 of file CVRes.h.
Referenced by capCallback(), CVVidCaptureDSWin32::Connect(), CVImage::CopyImage(), CVImage::CreateSub(), CVDevGetModeInfo(), CVDevGrabImage(), CVDevStartCap(), CVGetDeviceName(), CVLoadImage(), CVSaveImage(), CVVidCaptureDSWin32::Disconnect(), CVVidCaptureDSWin32::Grab(), ImageCallback(), CVidCapGuiTestDlg::InitSlider(), CVFile::Length(), CVImage::Load(), main(), CVidCapGuiTestDlg::OnInitDialog(), CVidCapGuiTestDlg::OnSelchangeDevicelist(), CVidCapGuiTestDlg::OnSelchangeModelist(), CVFile::ReadLine(), CVImage::ReadNonCommentLine(), CVidCapGuiTestDlg::RefreshDevices(), CVidCapGuiTestDlg::RefreshModeList(), CVVidCaptureDSWin32::SampleCB(), CVImage::Save(), SlowNegateImage(), CVVidCaptureDSWin32::StartImageCap(), CVVidCaptureDSWin32::StartRawCap(), TestIt(), and CVVidCaptureDSWin32::Uninit(). |
| #define CVHIGHBIT 0x80000000
|
|
| #define CVRES_DLL_GROUP 0x4000 + CVRES_VIDCAP_OFFSET
|
|
| #define CVRES_FILE_GROUP 0x3000 + CVRES_VIDCAP_OFFSET
|
|
| #define CVRES_IMAGE_GROUP 0x2000 + CVRES_VIDCAP_OFFSET
|
|
| #define CVRES_VIDCAP_GROUP 0x1000 + CVRES_VIDCAP_OFFSET
|
|
| #define CVRES_VIDCAP_OFFSET 0
|
|
| #define CVSUCCESS |
( |
x |
|
) |
( ((x) & CVHIGHBIT) == 0 )
|
|
Typedef Documentation
| typedef unsigned long CVRES
|
|
|
|
Result type for most CodeVis functions.
Definition at line 56 of file CVRes.h.
Referenced by CVVidCapture::AddMode(), CVVidCaptureDSWin32::CaptureAbortThreadFunc(), CVImage::Clear(), CVFile::Close(), CVVidCaptureDSWin32::Connect(), CVVidCaptureDSWin32::ConnectGraph(), CVImage::CopyImage(), CVImage::Create(), CVFile::Create(), CVImage::CreateCompatible(), CVImage::CreateFromWin32Bmp(), CVImage::CreateImage(), CVImage::CreateSub(), CVAcquireVidCap(), CVDevConnect(), CVDevDisconnect(), CVDevGetFormatName(), CVDevGetModeInfo(), CVDevGetProperty(), CVDevGrabImage(), CVDevSetProperty(), CVDevStartCap(), CVDevStopCap(), CVGetDeviceName(), CVImgStructFromImage(), CVLoadImage(), CVReleaseVidCap(), CVSaveImage(), CVVidCaptureDSWin32::Disconnect(), CVVidCapture::Disconnect(), CVVidCaptureDSWin32::DisconnectGraph(), CVVidCaptureDSWin32::GetCallbackStatus(), CVVidCapture::GetCurrentMode(), CVVidCapture::GetDeviceInfo(), CVVidCapture::GetDeviceName(), CVImage::GetMaxPixel(), CVImageRGBFloat::GetMaxPixelValue(), CVImageRGB24::GetMaxPixelValue(), CVImageGrey::GetMaxPixelValue(), CVVidCapture::GetModeInfo(), CVVidCapture::GetNumDevices(), CVVidCapture::GetNumSupportedModes(), CVImageRGBFloat::GetPixel(), CVImageRGB24::GetPixel(), CVImageGrey::GetPixel(), CVFile::GetPos(), CVVidCaptureDSWin32::GetPropertyInfo(), CVVidCapture::GetPropertyInfo(), CVVidCapture::GetPropertyName(), CVVidCaptureDSWin32::Grab(), CVVidCaptureDSWin32::HaltAbortThread(), CVVidCaptureDSWin32::Init(), CVidCapGuiTestDlg::InitSlider(), CVFile::Length(), CVImage::Load(), main(), CVFile::OpenForRead(), CVFile::OpenForReadWrite(), CVFile::Read(), CVFile::ReadLine(), CVImage::ReadNonCommentLine(), CVVidCaptureDSWin32::RefreshDeviceList(), CVImage::ReleaseImage(), CVVidCaptureDSWin32::SampleCB(), CVImage::Save(), CVFile::SeekAbs(), CVFile::SeekEnd(), CVImageRGBFloat::SetFromWin32Bmp(), CVImageRGB24::SetFromWin32Bmp(), CVImageGrey::SetFromWin32Bmp(), CVImage::SetFromWin32Bmp(), CVVidCaptureDSWin32::SetMode(), CVVidCapture::SetMode(), CVImageRGBFloat::SetPixel(), CVImageRGB24::SetPixel(), CVImageGrey::SetPixel(), CVVidCaptureDSWin32::SetProperty(), CVVidCapture::SetProperty(), CVImage::SetSubPosition(), CVVidCaptureDSWin32::StartAbortThread(), CVVidCaptureDSWin32::StartImageCap(), CVVidCaptureDSWin32::StartRawCap(), CVVidCaptureDSWin32::Stop(), CVVidCapture::Stop(), CVVidCaptureDSWin32::StopCaptureGraph(), CVVidCaptureDSWin32::Uninit(), CVVidCapture::Uninit(), CVFile::Write(), and CVFile::WriteString(). |
Enumeration Type Documentation
|
|
- Enumeration values:
-
| CVRES_SUCCESS |
Operation was successful (0) |
| CVRES_STATUS |
Core status code group. |
| CVRES_VIDCAP_STATUS |
Video capture status group. |
| CVRES_IMAGE_STATUS |
Imaging status group. |
| CVRES_FILE_STATUS |
File status group. |
| CVRES_DLL_STATUS |
DLL status group |
| CVRES_ERROR |
Generic error - try not to use this one. |
| CVRES_NOT_IMPLEMENTED |
Function or feature is not yet implemented. |
| CVRES_OUT_OF_MEMORY |
Out of memory! |
| CVRES_OUT_OF_HANDLES |
Out of handles! |
| CVRES_OUT_OF_THREADS |
Out of threads! |
| CVRES_INVALID_PARAMETER |
Invalid parameter passed to function. |
| CVRES_VIDCAP_ERROR |
Video capture error group. |
| CVRES_IMAGE_ERROR |
Imaging error group. |
| CVRES_FILE_ERROR |
File error group. |
| CVRES_DLL_ERROR |
DLL error group |
Definition at line 113 of file CVRes.h. |
|