Lines Matching refs:then
152 create_task(mediaCapture->InitializeAsync(settings)).then([this](task<void> initTask)
192 create_task(mediaCapture->StartPreviewAsync()).then([this](task<void> previewTask)
219 create_task(m_mediaCaptureMgr->StopPreviewAsync()).then([this](task<void> previewTask)
253 task<DeviceInformationCollection^>(DeviceInformation::FindAllAsync(DeviceClass::VideoCapture)).then([this](task<DeviceInformationCollection^> findTask)
309 task<void>(mediaCapture->VideoDeviceController->SetMediaStreamPropertiesAsync(Windows::Media::Capture::MediaStreamType::Photo,props)).then([this](task<void> changeTypeTask)
316 task<void>(m_mediaCaptureMgr->AddEffectAsync(Windows::Media::Capture::MediaStreamType::Photo,"OcvTransform.OcvImageManipulations", nullptr)).then([this](task<void> effectTask3)
351 task<void>(mediaCapture->AddEffectAsync(Windows::Media::Capture::MediaStreamType::Photo,"OcvTransform.OcvImageManipulations", nullptr)).then([this](task<void> effectTask3)
399 return create_task(tempStorageFile->OpenAsync(Windows::Storage::FileAccessMode::Read)).then([state](Windows::Storage::Streams::IRandomAccessStream ^stream)
403 }).then([state](Windows::Graphics::Imaging::BitmapDecoder ^decoder)
407 }).then([state](Windows::Storage::StorageFile ^storageFile)
411 }).then([state](Windows::Storage::Streams::IRandomAccessStream ^stream)
416 }).then([state, photoRotation](Windows::Graphics::Imaging::BitmapEncoder ^encoder)
423 }).then([state]()
426 }).then([tempStorageFile, state](task<void> previousTask)
547 create_task(m_mediaCaptureMgr->ClearEffectsAsync(Windows::Media::Capture::MediaStreamType::VideoPreview)).then([this](task<void> cleanTask)
553 create_task(m_mediaCaptureMgr->AddEffectAsync(Windows::Media::Capture::MediaStreamType::VideoPreview,"OcvTransform.OcvImageManipulations", props)).then([this](task<void> effectTask)
570 task<void>(mediaCapture->AddEffectAsync(Windows::Media::Capture::MediaStreamType::VideoRecord,"OcvTransform.OcvImageManipulations", nullptr)).then([this](task<void> effectTask2)