Lines Matching refs:SvError
28 static PyObject *SvError; /* exception sv.error */ variable
36 PyErr_SetString(SvError, svStrerror(svideo_errno)); in sv_error()
76 PyErr_SetString(SvError, "data has bad format"); in svc_YUVtoYUV422DC()
86 PyErr_SetString(SvError, "data has bad format"); in svc_YUVtoYUV422DC_quarter()
97 PyErr_SetString(SvError, "data has bad format"); in svc_YUVtoYUV422DC_sixteenth()
112 PyErr_SetString(SvError, "data had bad format"); in svc_YUVtoRGB()
122 PyErr_SetString(SvError, "data has bad format"); in svc_RGB8toRGB32()
132 PyErr_SetString(SvError, "data has bad format"); in svc_InterleaveFields()
148 PyErr_SetString(SvError, "data has bad format"); in svc_GetFields()
175 PyErr_SetString(SvError, "buffer should not be unlocked"); in svc_UnlockCaptureData()
217 PyErr_SetString(SvError, "not a file object"); in svc_writefile()
227 PyErr_SetString(SvError, "writing failed"); in svc_writefile()
250 PyErr_SetString(SvError, "data in wrong format"); in svc_FindVisibleRegion()
338 PyErr_SetString(SvError, "no data available"); in sv_GetCaptureData()
528 PyErr_SetString(SvError, "illegal format specified"); in sv_CaptureBurst()
847 PyErr_SetString(SvError, "input buffer not long enough"); in sv_conversion()
966 SvError = PyErr_NewException("sv.error", NULL, NULL); in initsv()
967 if (SvError == NULL || PyDict_SetItemString(d, "error", SvError) != 0) in initsv()