summaryrefslogtreecommitdiff
path: root/avstream/avscamera/sys/Device.h
diff options
context:
space:
mode:
authorAdonais Romero González <[email protected]>2020-04-07 16:17:44 -0700
committerGitHub <[email protected]>2020-04-07 16:17:44 -0700
commit13c61ceeb3f7da66a2b57730d12d14eb7463c46a (patch)
treeff52f9ac442a60625936a266db1bef12ac694a8e /avstream/avscamera/sys/Device.h
parentdd4fad494b996f5729be98e0271ea74ef1a5d2ad (diff)
parent27c8560ba860165db5a173b37591271397d20bb7 (diff)
Update all the AvStream samples for Vibranium136198136197136196136195136194
Update all the AvStream samples for Vibranium.
Diffstat (limited to 'avstream/avscamera/sys/Device.h')
-rw-r--r--avstream/avscamera/sys/Device.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/avstream/avscamera/sys/Device.h b/avstream/avscamera/sys/Device.h
index 95debada..c203f70e 100644
--- a/avstream/avscamera/sys/Device.h
+++ b/avstream/avscamera/sys/Device.h
@@ -34,6 +34,17 @@ struct CSensorContext
AcpiPldRotation AcpiRotation; // How the device is oriented with respect to the panel.
};
+static constexpr ULONG PnpAcpiPanelSideMap[]
+{
+ 1, // AcpiPldPanelTop
+ 2, // AcpiPldPanelBottom
+ 3, // AcpiPldPanelLeft
+ 4, // AcpiPldPanelRight
+ 5, // AcpiPldPanelFront
+ 6, // AcpiPldPanelBack
+ 0, // AcpiPldPanelUnknown
+};
+
class CCaptureDevice
{
protected:
@@ -393,7 +404,7 @@ public:
PDEVICE_OBJECT
GetDeviceObject();
- static IO_COMPLETION_ROUTINE CCaptureDevice::IrpSynchronousCompletion;
+ static IO_COMPLETION_ROUTINE IrpSynchronousCompletion;
virtual
NTSTATUS