videoio: MSMF async reader for camera stream
authorAlexander Alekhin <alexander.alekhin@intel.com>
Wed, 13 Jun 2018 09:47:53 +0000 (12:47 +0300)
committerAlexander Alekhin <alexander.alekhin@intel.com>
Thu, 14 Jun 2018 15:37:05 +0000 (18:37 +0300)
commit9629af1aa9fc7f78911acfc1af18b665ff13f673
tree39ae4802f64758425d57c1e96e179a51537f7362
parent30d4e0261a0170e7a00a25cb5a62ec64d3e7e49e
videoio: MSMF async reader for camera stream

Synchronized reading from camera with heavy frame processing
provides bad effects (huge frame latency, processing frames from the past).
Generally, there is no way to process each frame and some frames will be dropped.
Allow preventive frame dropping to reduce lag of processed frames.

This mode is applied to cameras only (opened by 'index').
modules/videoio/src/cap_msmf.cpp