Merge pull request #23367 from LaurentBerger:msmf_doc

Note for MSMF in doc
pull/23405/head
Alexander Smorkalov 2 years ago committed by GitHub
commit f5fd3e7d65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      modules/videoio/include/opencv2/videoio.hpp

@ -84,8 +84,13 @@ namespace cv
Select preferred API for a capture object.
To be used in the VideoCapture::VideoCapture() constructor or VideoCapture::open()
@note Backends are available only if they have been built with your OpenCV binaries.
@note
- Backends are available only if they have been built with your OpenCV binaries.
See @ref videoio_overview for more information.
- Microsoft Media Foundation backend tries to use hardware accelerated transformations
if possible. Environment flag "OPENCV_VIDEOIO_MSMF_ENABLE_HW_TRANSFORMS" set to 0
disables it and may improve initialization time. More details:
https://learn.microsoft.com/en-us/windows/win32/medfound/mf-readwrite-enable-hardware-transforms
*/
enum VideoCaptureAPIs {
CAP_ANY = 0, //!< Auto detect == 0
@ -107,7 +112,7 @@ enum VideoCaptureAPIs {
CAP_XIAPI = 1100, //!< XIMEA Camera API
CAP_AVFOUNDATION = 1200, //!< AVFoundation framework for iOS (OS X Lion will have the same API)
CAP_GIGANETIX = 1300, //!< Smartek Giganetix GigEVisionSDK
CAP_MSMF = 1400, //!< Microsoft Media Foundation (via videoInput)
CAP_MSMF = 1400, //!< Microsoft Media Foundation (via videoInput). See platform specific notes above.
CAP_WINRT = 1410, //!< Microsoft Windows Runtime using Media Foundation
CAP_INTELPERC = 1500, //!< RealSense (former Intel Perceptual Computing SDK)
CAP_REALSENSE = 1500, //!< Synonym for CAP_INTELPERC
@ -126,6 +131,7 @@ enum VideoCaptureAPIs {
CAP_OBSENSOR = 2600, //!< For Orbbec 3D-Sensor device/module (Astra+, Femto)
};
/** @brief cv::VideoCapture generic properties identifier.
Reading / writing properties involves many layers. Some unexpected result might happens along this chain.

Loading…
Cancel
Save