Lines Matching refs:OPENCV_ASSERT

158OPENCV_ASSERT ((inPath != nil), "icvOpenFile_QT_Movie", "couldnt create CFString from a string");  in icvOpenFile_QT_Movie()
219OPENCV_ASSERT (myErr == noErr, "icvOpenFile_QT_Movie", "couldnt create QTNewGWorld() for output im… in icvOpenFile_QT_Movie()
240 OPENCV_ASSERT (capture, "icvClose_QT_Movie", "'capture' is a NULL-pointer"); in icvClose_QT_Movie()
263OPENCV_ASSERT (capture, "icvGetProperty_QT_Movie", "'capture' is a NULL-poi… in icvGetProperty_QT_Movie()
264OPENCV_ASSERT (capture->myMovie, "icvGetProperty_QT_Movie", "invalid Movie handle"); in icvGetProperty_QT_Movie()
265OPENCV_ASSERT (capture->number_of_frames > 0, "icvGetProperty_QT_Movie", "movie has invalid numbe… in icvGetProperty_QT_Movie()
266OPENCV_ASSERT (capture->movie_start_time >= 0, "icvGetProperty_QT_Movie", "movie has invalid start… in icvGetProperty_QT_Movie()
330OPENCV_ASSERT (capture, "icvSetProperty_QT_Movie", "'capture' is a NULL-poi… in icvSetProperty_QT_Movie()
331OPENCV_ASSERT (capture->myMovie, "icvSetProperty_QT_Movie", "invalid Movie handle"); in icvSetProperty_QT_Movie()
332OPENCV_ASSERT (capture->number_of_frames > 0, "icvSetProperty_QT_Movie", "movie has invalid numbe… in icvSetProperty_QT_Movie()
333OPENCV_ASSERT (capture->movie_start_time >= 0, "icvSetProperty_QT_Movie", "movie has invalid start… in icvSetProperty_QT_Movie()
440 OPENCV_ASSERT (capture, "icvGrabFrame_QT_Movie", "'capture' is a NULL-pointer"); in icvGrabFrame_QT_Movie()
441 OPENCV_ASSERT (capture->myMovie, "icvGrabFrame_QT_Movie", "invalid Movie handle"); in icvGrabFrame_QT_Movie()
483 OPENCV_ASSERT (capture, "icvRetrieveFrame_QT_Movie", "'capture' is a NULL-pointer"); in icvRetrieveFrame_QT_Movie()
484 OPENCV_ASSERT (capture->myMovie, "icvRetrieveFrame_QT_Movie", "invalid Movie handle"); in icvRetrieveFrame_QT_Movie()
485 OPENCV_ASSERT (capture->image_rgb, "icvRetrieveFrame_QT_Movie", "invalid source image"); in icvRetrieveFrame_QT_Movie()
486 OPENCV_ASSERT (capture->image_bgr, "icvRetrieveFrame_QT_Movie", "invalid destination image"); in icvRetrieveFrame_QT_Movie()
634 OPENCV_ASSERT (capture, "icvOpenCamera_QT", "'capture' is a NULL-pointer"); in icvOpenCamera_QT()
635 OPENCV_ASSERT (index >=0, "icvOpenCamera_QT", "camera index is negative"); in icvOpenCamera_QT()
665 OPENCV_ASSERT (result == noErr, "icvOpenCamera_QT", "couldnt GetComponentInfo()"); in icvOpenCamera_QT()
666OPENCV_ASSERT (*nameHandle, "icvOpenCamera_QT", "No name returned by GetComponentInfo()"); in icvOpenCamera_QT()
694OPENCV_ASSERT (capture->channel >= 0, "icvOpenCamera_QT", "negative channel number"); in icvOpenCamera_QT()
702OPENCV_ASSERT (result == noErr, "ictOpenCamera_QT", "couldnt GetInputName()"); in icvOpenCamera_QT()
732 OPENCV_ASSERT (result == noErr, "icvOpenCamera_QT", "couldnt select video digitizer input"); in icvOpenCamera_QT()
736OPENCV_ASSERT (result == noErr, "icvOpenCamera_QT", "couldnt create VDGetActiveSrcRect from digiti… in icvOpenCamera_QT()
743OPENCV_ASSERT (result == noErr, "icvOpenCamera_QT", "couldnt create QTNewGWorld() for output image… in icvOpenCamera_QT()
748 OPENCV_ASSERT (result == noErr, "icvOpenCamera_QT", "couldnt get pixmap"); in icvOpenCamera_QT()
752OPENCV_ASSERT (result == noErr, "icvOpenCamera_QT", "couldnt create VDGetActiveSrcRect from digiti… in icvOpenCamera_QT()
757 OPENCV_ASSERT (result == noErr, "icvOpenCamera_QT", "couldnt set video destination"); in icvOpenCamera_QT()
762 OPENCV_ASSERT (result == noErr, "icvOpenCamera_QT", "couldnt get video destination"); in icvOpenCamera_QT()
763 OPENCV_ASSERT (capture->pixmap != nil, "icvOpenCamera_QT", "empty set video destination"); in icvOpenCamera_QT()
771 OPENCV_ASSERT (capture->image_rgb, "icvOpenCamera_QT", "couldnt create image header"); in icvOpenCamera_QT()
775 OPENCV_ASSERT (capture->image_bgr, "icvOpenCamera_QT", "couldnt create image"); in icvOpenCamera_QT()
779 OPENCV_ASSERT (result == noErr, "icvOpenCamera_QT", "couldnt set capture state"); in icvOpenCamera_QT()
788 OPENCV_ASSERT (capture, "icvClose_QT_Cam", "'capture' is a NULL-pointer"); in icvClose_QT_Cam()
794 OPENCV_ASSERT (result == noErr, "icvOpenCamera_QT", "couldnt set capture state"); in icvClose_QT_Cam()
808 OPENCV_ASSERT (capture, "icvGrabFrame_QT_Cam", "'capture' is a NULL-pointer"); in icvGrabFrame_QT_Cam()
809 OPENCV_ASSERT (capture->grabber, "icvGrabFrame_QT_Cam", "'grabber' is a NULL-pointer"); in icvGrabFrame_QT_Cam()
827 OPENCV_ASSERT (capture, "icvRetrieveFrame_QT_Cam", "'capture' is a NULL-pointer"); in icvRetrieveFrame_QT_Cam()
861 OPENCV_ASSERT (capture, "icvDataProc_QT_Cam", "'capture' is a NULL-pointer"); in icvDataProc_QT_Cam()
862 OPENCV_ASSERT (capture->gworld, "icvDataProc_QT_Cam", "'gworld' is a NULL-pointer"); in icvDataProc_QT_Cam()
863 OPENCV_ASSERT (raw_data, "icvDataProc_QT_Cam", "'raw_data' is a NULL-pointer"); in icvDataProc_QT_Cam()
872OPENCV_ASSERT (err == noErr, "icvDataProc_QT_Cam", "couldnt get channel sample description"); in icvDataProc_QT_Cam()
888 OPENCV_ASSERT (err == noErr, "icvDataProc_QT_Cam", "couldnt begin decompression sequence"); in icvDataProc_QT_Cam()
914 OPENCV_ASSERT (capture, "icvOpenCamera_QT", "'capture' is a NULL-pointer"); in icvOpenCamera_QT()
915 OPENCV_ASSERT (index >= 0, "icvOpenCamera_QT", "camera index is negative"); in icvOpenCamera_QT()
922 OPENCV_ASSERT (capture->grabber, "icvOpenCamera_QT", "couldnt create image"); in icvOpenCamera_QT()
926 OPENCV_ASSERT (result == noErr, "icvOpenCamera_QT", "couldnt initialize sequence grabber"); in icvOpenCamera_QT()
928OPENCV_ASSERT (result == noErr, "icvOpenCamera_QT", "couldnt set data reference of sequence grabbe… in icvOpenCamera_QT()
932 OPENCV_ASSERT (result == noErr, "icvOpenCamera_QT", "couldnt create new video channel"); in icvOpenCamera_QT()
937 OPENCV_ASSERT (result == noErr, "icvOpenCamera_QT", "couldnt get channel device list"); in icvOpenCamera_QT()
946OPENCV_ASSERT (result == noErr, "icvOpenCamera_QT", "couldnt set the channel video device"); in icvOpenCamera_QT()
953 OPENCV_ASSERT (result == noErr, "icvOpenCamera_QT", "couldnt dispose the channel device list"); in icvOpenCamera_QT()
959 OPENCV_ASSERT (result == noErr, "icvOpenCamera_QT", "couldnt set video channel bounds"); in icvOpenCamera_QT()
964 OPENCV_ASSERT (result == noErr, "icvOpenCamera_QT", "couldnt set GWorld for sequence grabber"); in icvOpenCamera_QT()
966 OPENCV_ASSERT (result == noErr, "icvOpenCamera_QT", "couldnt set video channel bounds"); in icvOpenCamera_QT()
968 OPENCV_ASSERT (result == noErr, "icvOpenCamera_QT", "couldnt set channel usage"); in icvOpenCamera_QT()
972 OPENCV_ASSERT (result == noErr, "icvOpenCamera_QT", "couldnt start recording"); in icvOpenCamera_QT()
977 OPENCV_ASSERT( result == noErr, "icvOpenCamera_QT", "couldn't get image size"); in icvOpenCamera_QT()
984 OPENCV_ASSERT (result == noErr, "icveClose_QT_Cam", "couldnt stop recording"); in icvOpenCamera_QT()
989 OPENCV_ASSERT (result == noErr, "icvOpenCamera_QT", "couldnt create offscreen GWorld"); in icvOpenCamera_QT()
991 OPENCV_ASSERT (result == noErr, "icvOpenCamera_QT", "couldnt set GWorld for sequence grabber"); in icvOpenCamera_QT()
996 OPENCV_ASSERT (result == noErr, "icvOpenCamera_QT", "couldnt set video channel bounds"); in icvOpenCamera_QT()
1006 OPENCV_ASSERT (capture->image_rgb, "icvOpenCamera_QT", "couldnt create image header"); in icvOpenCamera_QT()
1008 OPENCV_ASSERT (pixmap, "icvOpenCamera_QT", "didn't get GWorld PixMap handle"); in icvOpenCamera_QT()
1014 OPENCV_ASSERT (capture->image_bgr, "icvOpenCamera_QT", "couldnt create image"); in icvOpenCamera_QT()
1019 OPENCV_ASSERT (result == noErr, "icvOpenCamera_QT", "couldnt set data proc"); in icvOpenCamera_QT()
1023 OPENCV_ASSERT (result == noErr, "icvOpenCamera_QT", "couldnt start recording"); in icvOpenCamera_QT()
1031 OPENCV_ASSERT (capture, "icvClose_QT_Cam", "'capture' is a NULL-pointer"); in icvClose_QT_Cam()
1038 OPENCV_ASSERT (result == noErr, "icveClose_QT_Cam", "couldnt stop recording"); in icvClose_QT_Cam()
1042 OPENCV_ASSERT (result == noErr, "icveClose_QT_Cam", "couldnt close sequence grabber component"); in icvClose_QT_Cam()
1058 OPENCV_ASSERT (capture, "icvGrabFrame_QT_Cam", "'capture' is a NULL-pointer"); in icvGrabFrame_QT_Cam()
1059 OPENCV_ASSERT (capture->grabber, "icvGrabFrame_QT_Cam", "'grabber' is a NULL-pointer"); in icvGrabFrame_QT_Cam()
1078 OPENCV_ASSERT (capture, "icvRetrieveFrame_QT_Cam", "'capture' is a NULL-pointer"); in icvRetrieveFrame_QT_Cam()
1079 OPENCV_ASSERT (capture->image_rgb, "icvRetrieveFrame_QT_Cam", "invalid source image"); in icvRetrieveFrame_QT_Cam()
1080 OPENCV_ASSERT (capture->image_bgr, "icvRetrieveFrame_QT_Cam", "invalid destination image"); in icvRetrieveFrame_QT_Cam()