//! generic properties (based on DC1394 properties)
enum{CAP_PROP_POS_MSEC=0,//!< Current position of the video file in milliseconds.
enumVideoCaptureProperties{
CAP_PROP_POS_MSEC=0,//!< Current position of the video file in milliseconds.
CAP_PROP_POS_FRAMES=1,//!< 0-based index of the frame to be decoded/captured next.
CAP_PROP_POS_AVI_RATIO=2,//!< Relative position of the video file: 0=start of the film, 1=end of the film.
CAP_PROP_FRAME_WIDTH=3,//!< Width of the frames in the video stream.
@ -149,15 +155,27 @@ enum { CAP_PROP_POS_MSEC =0, //!< Current position of the video file in mi
CAP_PROP_AUTOFOCUS=39
};
//! @brief Generic camera output modes.
//! @note Currently, these are supported through the libv4l interface only.
enum{CAP_MODE_BGR=0,//!< BGR24 (default)
enumVideoCaptureModes{
CAP_MODE_BGR=0,//!< BGR24 (default)
CAP_MODE_RGB=1,//!< RGB24
CAP_MODE_GRAY=2,//!< Y8
CAP_MODE_YUYV=3//!< YUYV
};
/** @brief Generic properties identifier for VideoWriter
*/
enumVideoWriterProperties{
VIDEOWRITER_PROP_QUALITY=1,//!< Current quality (0..100%) of the encoded videostream. Can be adjusted dynamically in some codecs.
VIDEOWRITER_PROP_FRAMEBYTES=2,//!< (Read-only): Size of just encoded video frame. Note that the encoding order may be different from representation order.
VIDEOWRITER_PROP_NSTRIPES=3//!< Number of stripes for parallel encoding. -1 for auto detection.
};
//! @} videoio_flags_base
//! @addtogroup videoio_flags_others
//! @{
/** @brief DC1394 only
@ -465,11 +483,6 @@ enum { CAP_INTELPERC_DEPTH_MAP = 0, //!< Each pixel is a 16-bit int
CAP_INTELPERC_IMAGE=3
};
enum{VIDEOWRITER_PROP_QUALITY=1,//!< Current quality (0..100%) of the encoded videostream. Can be adjusted dynamically in some codecs.
VIDEOWRITER_PROP_FRAMEBYTES=2,//!< (Read-only): Size of just encoded video frame. Note that the encoding order may be different from representation order.
VIDEOWRITER_PROP_NSTRIPES=3//!< Number of stripes for parallel encoding. -1 for auto detection.