#define CV_LOAD_IMAGE_GRAYSCALE 0
/* ?, color */
#define CV_LOAD_IMAGE_COLOR 1
-/* any depth, ? */
+/* any depth, ? */
#define CV_LOAD_IMAGE_ANYDEPTH 2
/* ?, any color */
#define CV_LOAD_IMAGE_ANYCOLOR 4
-/* load image from file
+/* load image from file
iscolor can be a combination of above flags where CV_LOAD_IMAGE_UNCHANGED
overrides the other flags
using CV_LOAD_IMAGE_ANYCOLOR alone is equivalent to CV_LOAD_IMAGE_UNCHANGED
CVAPI(int) cvSaveImage( const char* filename, const CvArr* image );
#define CV_CVTIMG_FLIP 1
-#define CV_CVTIMG_SWAP_RB 2
+#define CV_CVTIMG_SWAP_RB 2
/* utility function: convert one image to another with optional vertical flip */
CVAPI(void) cvConvertImage( const CvArr* src, CvArr* dst, int flags CV_DEFAULT(0));
#define CV_CAP_V4L2 200
#define CV_CAP_FIREWARE 300 // IEEE 1394 drivers
+#define CV_CAP_FIREWIRE 300
#define CV_CAP_IEEE1394 300
#define CV_CAP_DC1394 300
#define CV_CAP_CMU1394 300
#define CV_CAP_QT 500 // QuickTime
+#define CV_CAP_UNICAP 600 // Unicap drivers
+
/* start capturing frames from camera: index = camera_index + domain_offset (CV_CAP_*) */
CVAPI(CvCapture*) cvCreateCameraCapture( int index );
-/* grab a frame, return 1 on success, 0 on fail.
- this function is thought to be fast */
+/* grab a frame, return 1 on success, 0 on fail.
+ this function is thought to be fast */
CVAPI(int) cvGrabFrame( CvCapture* capture );
-/* get the frame grabbed with cvGrabFrame(..)
- This function may apply some frame processing like
+/* get the frame grabbed with cvGrabFrame(..)
+ This function may apply some frame processing like
frame decompression, flipping etc.
!!!DO NOT RELEASE or MODIFY the retrieved frame!!! */
CVAPI(IplImage*) cvRetrieveFrame( CvCapture* capture );
#define CV_CAP_PROP_FRAME_HEIGHT 4
#define CV_CAP_PROP_FPS 5
#define CV_CAP_PROP_FOURCC 6
-#define CV_CAP_PROP_FRAME_COUNT 7
+#define CV_CAP_PROP_FRAME_COUNT 7
#define CV_CAP_PROP_FORMAT 8
#define CV_CAP_PROP_MODE 9
#define CV_CAP_PROP_BRIGHTNESS 10
double fps, CvSize frame_size,
int is_color CV_DEFAULT(1));
+//CVAPI(CvVideoWriter*) cvCreateImageSequenceWriter( const char* filename,
+// int is_color CV_DEFAULT(1));
+
/* write frame to video file */
CVAPI(int) cvWriteFrame( CvVideoWriter* writer, const IplImage* image );