OpenCV  3.0.0
Open Source Computer Vision
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Namespaces | Typedefs | Enumerations
videoio.hpp File Reference
#include "opencv2/core.hpp"

Classes

class  cv::VideoCapture
 Class for video capturing from video files, image sequences or cameras. The class provides C++ API for capturing video from cameras or for reading video files and image sequences. Here is how the class can be used: : More...
 
class  cv::VideoWriter
 Video writer class. More...
 

Namespaces

 cv
 

Typedefs

typedef struct CvCapture CvCapture
 
typedef struct CvVideoWriter CvVideoWriter
 

Enumerations

enum  {
  cv::CAP_ANY = 0,
  cv::CAP_VFW = 200,
  cv::CAP_V4L = 200,
  cv::CAP_V4L2 = CAP_V4L,
  cv::CAP_FIREWARE = 300,
  cv::CAP_FIREWIRE = CAP_FIREWARE,
  cv::CAP_IEEE1394 = CAP_FIREWARE,
  cv::CAP_DC1394 = CAP_FIREWARE,
  cv::CAP_CMU1394 = CAP_FIREWARE,
  cv::CAP_QT = 500,
  cv::CAP_UNICAP = 600,
  cv::CAP_DSHOW = 700,
  cv::CAP_PVAPI = 800,
  cv::CAP_OPENNI = 900,
  cv::CAP_OPENNI_ASUS = 910,
  cv::CAP_ANDROID = 1000,
  cv::CAP_XIAPI = 1100,
  cv::CAP_AVFOUNDATION = 1200,
  cv::CAP_GIGANETIX = 1300,
  cv::CAP_MSMF = 1400,
  cv::CAP_WINRT = 1410,
  cv::CAP_INTELPERC = 1500,
  cv::CAP_OPENNI2 = 1600,
  cv::CAP_OPENNI2_ASUS = 1610,
  cv::CAP_GPHOTO2 = 1700
}
 
enum  {
  cv::CAP_PROP_POS_MSEC =0,
  cv::CAP_PROP_POS_FRAMES =1,
  cv::CAP_PROP_POS_AVI_RATIO =2,
  cv::CAP_PROP_FRAME_WIDTH =3,
  cv::CAP_PROP_FRAME_HEIGHT =4,
  cv::CAP_PROP_FPS =5,
  cv::CAP_PROP_FOURCC =6,
  cv::CAP_PROP_FRAME_COUNT =7,
  cv::CAP_PROP_FORMAT =8,
  cv::CAP_PROP_MODE =9,
  cv::CAP_PROP_BRIGHTNESS =10,
  cv::CAP_PROP_CONTRAST =11,
  cv::CAP_PROP_SATURATION =12,
  cv::CAP_PROP_HUE =13,
  cv::CAP_PROP_GAIN =14,
  cv::CAP_PROP_EXPOSURE =15,
  cv::CAP_PROP_CONVERT_RGB =16,
  cv::CAP_PROP_WHITE_BALANCE_BLUE_U =17,
  cv::CAP_PROP_RECTIFICATION =18,
  cv::CAP_PROP_MONOCHROME =19,
  cv::CAP_PROP_SHARPNESS =20,
  cv::CAP_PROP_AUTO_EXPOSURE =21,
  cv::CAP_PROP_GAMMA =22,
  cv::CAP_PROP_TEMPERATURE =23,
  cv::CAP_PROP_TRIGGER =24,
  cv::CAP_PROP_TRIGGER_DELAY =25,
  cv::CAP_PROP_WHITE_BALANCE_RED_V =26,
  cv::CAP_PROP_ZOOM =27,
  cv::CAP_PROP_FOCUS =28,
  cv::CAP_PROP_GUID =29,
  cv::CAP_PROP_ISO_SPEED =30,
  cv::CAP_PROP_BACKLIGHT =32,
  cv::CAP_PROP_PAN =33,
  cv::CAP_PROP_TILT =34,
  cv::CAP_PROP_ROLL =35,
  cv::CAP_PROP_IRIS =36,
  cv::CAP_PROP_SETTINGS =37
}
 
enum  {
  cv::CAP_MODE_BGR = 0,
  cv::CAP_MODE_RGB = 1,
  cv::CAP_MODE_GRAY = 2,
  cv::CAP_MODE_YUYV = 3
}
 
enum  {
  cv::CAP_PROP_DC1394_OFF = -4,
  cv::CAP_PROP_DC1394_MODE_MANUAL = -3,
  cv::CAP_PROP_DC1394_MODE_AUTO = -2,
  cv::CAP_PROP_DC1394_MODE_ONE_PUSH_AUTO = -1,
  cv::CAP_PROP_DC1394_MAX = 31
}
 
enum  {
  cv::CAP_OPENNI_DEPTH_GENERATOR = 1 << 31,
  cv::CAP_OPENNI_IMAGE_GENERATOR = 1 << 30,
  cv::CAP_OPENNI_GENERATORS_MASK = CAP_OPENNI_DEPTH_GENERATOR + CAP_OPENNI_IMAGE_GENERATOR
}
 
enum  {
  cv::CAP_PROP_OPENNI_OUTPUT_MODE = 100,
  cv::CAP_PROP_OPENNI_FRAME_MAX_DEPTH = 101,
  cv::CAP_PROP_OPENNI_BASELINE = 102,
  cv::CAP_PROP_OPENNI_FOCAL_LENGTH = 103,
  cv::CAP_PROP_OPENNI_REGISTRATION = 104,
  cv::CAP_PROP_OPENNI_REGISTRATION_ON = CAP_PROP_OPENNI_REGISTRATION,
  cv::CAP_PROP_OPENNI_APPROX_FRAME_SYNC = 105,
  cv::CAP_PROP_OPENNI_MAX_BUFFER_SIZE = 106,
  cv::CAP_PROP_OPENNI_CIRCLE_BUFFER = 107,
  cv::CAP_PROP_OPENNI_MAX_TIME_DURATION = 108,
  cv::CAP_PROP_OPENNI_GENERATOR_PRESENT = 109,
  cv::CAP_PROP_OPENNI2_SYNC = 110,
  cv::CAP_PROP_OPENNI2_MIRROR = 111
}
 
enum  {
  cv::CAP_OPENNI_IMAGE_GENERATOR_PRESENT = CAP_OPENNI_IMAGE_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
  cv::CAP_OPENNI_IMAGE_GENERATOR_OUTPUT_MODE = CAP_OPENNI_IMAGE_GENERATOR + CAP_PROP_OPENNI_OUTPUT_MODE,
  cv::CAP_OPENNI_DEPTH_GENERATOR_BASELINE = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_BASELINE,
  cv::CAP_OPENNI_DEPTH_GENERATOR_FOCAL_LENGTH = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_FOCAL_LENGTH,
  cv::CAP_OPENNI_DEPTH_GENERATOR_REGISTRATION = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_REGISTRATION,
  cv::CAP_OPENNI_DEPTH_GENERATOR_REGISTRATION_ON = CAP_OPENNI_DEPTH_GENERATOR_REGISTRATION
}
 
enum  {
  cv::CAP_OPENNI_DEPTH_MAP = 0,
  cv::CAP_OPENNI_POINT_CLOUD_MAP = 1,
  cv::CAP_OPENNI_DISPARITY_MAP = 2,
  cv::CAP_OPENNI_DISPARITY_MAP_32F = 3,
  cv::CAP_OPENNI_VALID_DEPTH_MASK = 4,
  cv::CAP_OPENNI_BGR_IMAGE = 5,
  cv::CAP_OPENNI_GRAY_IMAGE = 6
}
 
enum  {
  cv::CAP_OPENNI_VGA_30HZ = 0,
  cv::CAP_OPENNI_SXGA_15HZ = 1,
  cv::CAP_OPENNI_SXGA_30HZ = 2,
  cv::CAP_OPENNI_QVGA_30HZ = 3,
  cv::CAP_OPENNI_QVGA_60HZ = 4
}
 
enum  { cv::CAP_PROP_GSTREAMER_QUEUE_LENGTH = 200 }
 
enum  {
  cv::CAP_PROP_PVAPI_MULTICASTIP = 300,
  cv::CAP_PROP_PVAPI_FRAMESTARTTRIGGERMODE = 301,
  cv::CAP_PROP_PVAPI_DECIMATIONHORIZONTAL = 302,
  cv::CAP_PROP_PVAPI_DECIMATIONVERTICAL = 303,
  cv::CAP_PROP_PVAPI_BINNINGX = 304,
  cv::CAP_PROP_PVAPI_BINNINGY = 305,
  cv::CAP_PROP_PVAPI_PIXELFORMAT = 306
}
 
enum  {
  cv::CAP_PVAPI_FSTRIGMODE_FREERUN = 0,
  cv::CAP_PVAPI_FSTRIGMODE_SYNCIN1 = 1,
  cv::CAP_PVAPI_FSTRIGMODE_SYNCIN2 = 2,
  cv::CAP_PVAPI_FSTRIGMODE_FIXEDRATE = 3,
  cv::CAP_PVAPI_FSTRIGMODE_SOFTWARE = 4
}
 
enum  {
  cv::CAP_PVAPI_DECIMATION_OFF = 1,
  cv::CAP_PVAPI_DECIMATION_2OUTOF4 = 2,
  cv::CAP_PVAPI_DECIMATION_2OUTOF8 = 4,
  cv::CAP_PVAPI_DECIMATION_2OUTOF16 = 8
}
 
enum  {
  cv::CAP_PVAPI_PIXELFORMAT_MONO8 = 1,
  cv::CAP_PVAPI_PIXELFORMAT_MONO16 = 2,
  cv::CAP_PVAPI_PIXELFORMAT_BAYER8 = 3,
  cv::CAP_PVAPI_PIXELFORMAT_BAYER16 = 4,
  cv::CAP_PVAPI_PIXELFORMAT_RGB24 = 5,
  cv::CAP_PVAPI_PIXELFORMAT_BGR24 = 6,
  cv::CAP_PVAPI_PIXELFORMAT_RGBA32 = 7,
  cv::CAP_PVAPI_PIXELFORMAT_BGRA32 = 8
}
 
enum  {
  cv::CAP_PROP_XI_DOWNSAMPLING = 400,
  cv::CAP_PROP_XI_DATA_FORMAT = 401,
  cv::CAP_PROP_XI_OFFSET_X = 402,
  cv::CAP_PROP_XI_OFFSET_Y = 403,
  cv::CAP_PROP_XI_TRG_SOURCE = 404,
  cv::CAP_PROP_XI_TRG_SOFTWARE = 405,
  cv::CAP_PROP_XI_GPI_SELECTOR = 406,
  cv::CAP_PROP_XI_GPI_MODE = 407,
  cv::CAP_PROP_XI_GPI_LEVEL = 408,
  cv::CAP_PROP_XI_GPO_SELECTOR = 409,
  cv::CAP_PROP_XI_GPO_MODE = 410,
  cv::CAP_PROP_XI_LED_SELECTOR = 411,
  cv::CAP_PROP_XI_LED_MODE = 412,
  cv::CAP_PROP_XI_MANUAL_WB = 413,
  cv::CAP_PROP_XI_AUTO_WB = 414,
  cv::CAP_PROP_XI_AEAG = 415,
  cv::CAP_PROP_XI_EXP_PRIORITY = 416,
  cv::CAP_PROP_XI_AE_MAX_LIMIT = 417,
  cv::CAP_PROP_XI_AG_MAX_LIMIT = 418,
  cv::CAP_PROP_XI_AEAG_LEVEL = 419,
  cv::CAP_PROP_XI_TIMEOUT = 420
}
 
enum  {
  cv::CAP_PROP_IOS_DEVICE_FOCUS = 9001,
  cv::CAP_PROP_IOS_DEVICE_EXPOSURE = 9002,
  cv::CAP_PROP_IOS_DEVICE_FLASH = 9003,
  cv::CAP_PROP_IOS_DEVICE_WHITEBALANCE = 9004,
  cv::CAP_PROP_IOS_DEVICE_TORCH = 9005
}
 
enum  {
  cv::CAP_PROP_GIGA_FRAME_OFFSET_X = 10001,
  cv::CAP_PROP_GIGA_FRAME_OFFSET_Y = 10002,
  cv::CAP_PROP_GIGA_FRAME_WIDTH_MAX = 10003,
  cv::CAP_PROP_GIGA_FRAME_HEIGH_MAX = 10004,
  cv::CAP_PROP_GIGA_FRAME_SENS_WIDTH = 10005,
  cv::CAP_PROP_GIGA_FRAME_SENS_HEIGH = 10006
}
 
enum  {
  cv::CAP_PROP_INTELPERC_PROFILE_COUNT = 11001,
  cv::CAP_PROP_INTELPERC_PROFILE_IDX = 11002,
  cv::CAP_PROP_INTELPERC_DEPTH_LOW_CONFIDENCE_VALUE = 11003,
  cv::CAP_PROP_INTELPERC_DEPTH_SATURATION_VALUE = 11004,
  cv::CAP_PROP_INTELPERC_DEPTH_CONFIDENCE_THRESHOLD = 11005,
  cv::CAP_PROP_INTELPERC_DEPTH_FOCAL_LENGTH_HORZ = 11006,
  cv::CAP_PROP_INTELPERC_DEPTH_FOCAL_LENGTH_VERT = 11007
}
 
enum  {
  cv::CAP_INTELPERC_DEPTH_GENERATOR = 1 << 29,
  cv::CAP_INTELPERC_IMAGE_GENERATOR = 1 << 28,
  cv::CAP_INTELPERC_GENERATORS_MASK = CAP_INTELPERC_DEPTH_GENERATOR + CAP_INTELPERC_IMAGE_GENERATOR
}
 
enum  {
  cv::CAP_INTELPERC_DEPTH_MAP = 0,
  cv::CAP_INTELPERC_UVDEPTH_MAP = 1,
  cv::CAP_INTELPERC_IR_MAP = 2,
  cv::CAP_INTELPERC_IMAGE = 3
}
 
enum  {
  cv::VIDEOWRITER_PROP_QUALITY = 1,
  cv::VIDEOWRITER_PROP_FRAMEBYTES = 2
}
 
enum  {
  cv::CAP_PROP_GPHOTO2_PREVIEW = 17001,
  cv::CAP_PROP_GPHOTO2_WIDGET_ENUMERATE = 17002,
  cv::CAP_PROP_GPHOTO2_RELOAD_CONFIG = 17003,
  cv::CAP_PROP_GPHOTO2_RELOAD_ON_CHANGE = 17004,
  cv::CAP_PROP_GPHOTO2_COLLECT_MSGS = 17005,
  cv::CAP_PROP_GPHOTO2_FLUSH_MSGS = 17006,
  cv::CAP_PROP_SPEED = 17007,
  cv::CAP_PROP_APERTURE = 17008,
  cv::CAP_PROP_EXPOSUREPROGRAM = 17009,
  cv::CAP_PROP_VIEWFINDER = 17010
}
 

Typedef Documentation

typedef struct CvCapture CvCapture
typedef struct CvVideoWriter CvVideoWriter