author | Gareth Stockwell <gareth.stockwell@accenture.com> |
Wed, 22 Sep 2010 15:40:40 +0100 | |
branch | graphics-phase-3 |
changeset 111 | 345f1c88c950 |
parent 52 | 0dfaca43d90e |
child 124 | 606eafc6d6a8 |
permissions | -rw-r--r-- |
52
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
1 |
/* |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
2 |
* Copyright (c) 2010 ISB. |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
3 |
* All rights reserved. |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
4 |
* This component and the accompanying materials are made available |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
5 |
* under the terms of the License "Eclipse Public License v1.0" |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
6 |
* which accompanies this distribution, and is available |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html". |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
8 |
* |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
9 |
* Initial Contributors: |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
10 |
* ISB - initial contribution. |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
11 |
* |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
12 |
* Contributors: |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
13 |
* |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
14 |
* Description: |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
15 |
* |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
16 |
*/ |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
17 |
|
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
18 |
#ifndef __devicePDD_H__ |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
19 |
#define __devicePDD_H__ |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
20 |
|
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
21 |
#include <comm.h> |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
22 |
#include <e32hal.h> |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
23 |
#include "system.h" |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
24 |
#include "webcamera_device.h" |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
25 |
|
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
26 |
const TInt KMinimumLddMajorVersion=1; |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
27 |
const TInt KMinimumLddMinorVersion=1; |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
28 |
const TInt KMinimumLddBuild=0; |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
29 |
const TInt EIrqWebamera=0xb; |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
30 |
|
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
31 |
class DWebcameraPddFactory : public DPhysicalDevice |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
32 |
{ |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
33 |
public: |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
34 |
/** |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
35 |
Constructor |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
36 |
*/ |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
37 |
DWebcameraPddFactory(); |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
38 |
|
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
39 |
virtual TInt Install(); |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
40 |
virtual void GetCaps(TDes8 &aDes) const; |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
41 |
virtual TInt Create(DBase*& aChannel, TInt aUnit, const TDesC8* anInfo, const TVersion &aVer); |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
42 |
virtual TInt Validate(TInt aUnit, const TDesC8* anInfo, const TVersion &aVer); |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
43 |
}; |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
44 |
|
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
45 |
|
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
46 |
class DWebcameraDriver : public DWebcameraDriverBase |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
47 |
{ |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
48 |
public: |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
49 |
/** |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
50 |
Constructor |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
51 |
*/ |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
52 |
DWebcameraDriver(); |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
53 |
/** |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
54 |
Destructor |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
55 |
*/ |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
56 |
~DWebcameraDriver(); |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
57 |
/** |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
58 |
Second stage constructor called by the kernel's device driver framework. |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
59 |
This is called in the context of the user thread (client) which requested the creation of a Logical Channel |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
60 |
The thread is in a critical section. |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
61 |
|
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
62 |
@param aUnit The unit argument supplied by the client |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
63 |
@param aInfo The info argument supplied by the client |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
64 |
|
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
65 |
@return KErrNone if successful, otherwise one of the other system wide error codes. |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
66 |
*/ |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
67 |
TInt DoCreate(TInt aUnit, const TDesC8* anInfo); |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
68 |
/** |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
69 |
Request data from device. |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
70 |
Only one send request may be pending at any time. |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
71 |
|
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
72 |
@param aBuffer physical adress |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
73 |
@param aData size of buffer. |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
74 |
*/ |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
75 |
virtual TInt StartViewerFinder(TUint aBuffer,TInt aSize); |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
76 |
/** |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
77 |
Request data from device. |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
78 |
Only one send request may be pending at any time. |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
79 |
|
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
80 |
@param aBuffer physical adress |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
81 |
@param aData size of buffer. |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
82 |
*/ |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
83 |
virtual TInt StartCapture(TUint aBuffer,TInt aSize); |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
84 |
/** |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
85 |
Request device not to send data. |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
86 |
Only one send request may be pending at any time. |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
87 |
|
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
88 |
@param aMode stop mode |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
89 |
*/ |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
90 |
virtual void Stop(TUSBStopMode aMode); |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
91 |
// virtual void Caps(TDes8 &aCaps) const; |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
92 |
/** |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
93 |
Called by ISR to indicate that interrupt occurs. |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
94 |
*/ |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
95 |
static void Isr(TAny* aPtr); |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
96 |
/** |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
97 |
Called from a Isr after the Peripheral has signalled that getting oneflame completed. |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
98 |
*/ |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
99 |
void receivedatacallback(); |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
100 |
|
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
101 |
public: |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
102 |
/** |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
103 |
Enumeration of register types. |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
104 |
*/ |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
105 |
enum { |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
106 |
WEBCAMERA_REG_ID = 0, |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
107 |
WEBCAMERA_REG_INT_ENABLE = 1, |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
108 |
WEBCAMERA_REG_DATA_TYPE = 2, |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
109 |
WEBCAMERA_REG_DMA_ADDR = 3, |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
110 |
WEBCAMERA_REG_DMA_SIZE = 4 |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
111 |
}; |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
112 |
|
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
113 |
private: |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
114 |
/** |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
115 |
operation types. |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
116 |
*/ |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
117 |
TInt iType; |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
118 |
}; |
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
119 |
|
0dfaca43d90e
Added web camera drivers and QEMU plug-in for obtaining and transferring dummy data.
Masaki Hosaka <hosaka@isb.co.jp>
parents:
diff
changeset
|
120 |
#endif |