blob: 1d26f6929671f35d0785811123ee6aa8ba1e199c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
/**************************************************************************
A/V Stream Camera Sample
Copyright (c) 2014, Microsoft Corporation.
File:
PreviewHwSim.h
Abstract:
This file contains the definition of the CPreviewHardwareSimulation class.
This is a specialization of CHardwareSimulation that provides preview-
specific metadata.
History:
created 5/28/2014
**************************************************************************/
#pragma once
// forward references
struct ISP_FRAME_SETTINGS;
class CPreviewHardwareSimulation :
public CHardwareSimulation
{
public:
CPreviewHardwareSimulation(
_Inout_ CSensor *Sensor,
_In_ LONG PinID
);
virtual ~CPreviewHardwareSimulation();
virtual
void
FakeHardware();
protected:
METADATA_PREVIEWAGGREGATION
GetMetadata();
VOID GetCaptureStats(
_In_ PKSCAMERA_METADATA_CAPTURESTATS pCaptureStats
);
// Inject preview pin-specific metadata.
virtual
void
EmitMetadata(
_Inout_ PKSSTREAM_HEADER pStreamHeader
);
private:
BOOLEAN m_Illuminated;
};
|