diff options
| author | saredd <[email protected]> | 2018-01-19 17:19:00 -0800 |
|---|---|---|
| committer | Wei Mao <[email protected]> | 2018-01-19 17:19:00 -0800 |
| commit | 6e7c8cb437135e55917c34cfebe1be944bbf6d3f (patch) | |
| tree | f7570fe170194facd45e4f9f887ff56dc683a31c /avstream/avscamera/sys/Sensor.cpp | |
| parent | dd7e6f697ed67e94dc45cd33078b1dbcb643f439 (diff) | |
Updating Camera WDK Samples to RS3 version (#193)
Diffstat (limited to 'avstream/avscamera/sys/Sensor.cpp')
| -rw-r--r-- | avstream/avscamera/sys/Sensor.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/avstream/avscamera/sys/Sensor.cpp b/avstream/avscamera/sys/Sensor.cpp index 19988073..97615250 100644 --- a/avstream/avscamera/sys/Sensor.cpp +++ b/avstream/avscamera/sys/Sensor.cpp @@ -301,6 +301,8 @@ CreateSynthesizer( // Create the necessary type of image synthesizer. // { + PAGED_CODE(); + NTSTATUS Status = STATUS_SUCCESS; LONG Width = VideoInfoHeader->bmiHeader.biWidth; LONG Height = VideoInfoHeader->bmiHeader.biHeight; @@ -1053,6 +1055,7 @@ Return Value: --*/ { PAGED_CODE(); + KScopedMutex Lock(m_SensorMutex); // Set the current ISP settings and free any prior. @@ -1090,6 +1093,8 @@ SetSynthesizerAttribute( LONGLONG Info ) { + PAGED_CODE(); + for( ULONG Pin=0; IsValidIndex(Pin); Pin++ ) { if( m_Synthesizer[Pin] ) @@ -1344,6 +1349,7 @@ DEFINE_NULL_PROPERTY(CSensor, CExtendedProperty, OpticalImageStabilization) DEFINE_NULL_PROPERTY(CSensor, CExtendedProperty, OptimizationHint) DEFINE_NULL_PROPERTY(CSensor, CExtendedProperty, AdvancedPhoto) DEFINE_NULL_PROPERTY(CSensor, CExtendedVidProcSetting, FaceDetection) +DEFINE_NULL_PROPERTY(CSensor, CExtendedProperty, VideoTemporalDenoising) DEFINE_NULL_PROPERTY(CSensor, KSPROPERTY_CAMERACONTROL_VIDEOSTABILIZATION_MODE_S, VideoStabMode) |
