author | Shimizu Satoshi <s_shimizu@isb.co.jp> |
Tue, 19 Oct 2010 11:48:59 +0900 | |
branch | RCL_3 |
changeset 64 | 92a82bc706f7 |
parent 9 | 9ae0fe04e757 |
permissions | -rw-r--r-- |
64
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
1 |
/* |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
2 |
* Copyright (c) 2010 ISB. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
3 |
* All rights reserved. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
4 |
* This component and the accompanying materials are made available |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
5 |
* under the terms of the "Symbian Foundation License v1.0" |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
6 |
* which accompanies this distribution, and is available |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
7 |
* at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html". |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
8 |
* |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
9 |
* Initial Contributors: |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
10 |
* ISB - Initial contribution |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
11 |
* |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
12 |
* Contributors: |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
13 |
* |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
14 |
* Description: |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
15 |
* |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
16 |
*/ |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
17 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
18 |
#ifndef ECAMWEBCAMERAPLUGIN_H |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
19 |
#define ECAMWEBCAMERAPLUGIN_H |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
20 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
21 |
#include <w32std.h> |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
22 |
#include <bitdev.h> |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
23 |
#include <ecam/ecamplugin.h> |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
24 |
#include <ecam/ecaminfoplugin.h> |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
25 |
#include <webcamera_driver.h> |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
26 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
27 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
28 |
class CWebCameraBuffer; |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
29 |
class CWebCameraActive; |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
30 |
class CWebCameraVfActive; |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
31 |
class CWebCameraAdvSet; |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
32 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
33 |
/** Min of Camera Zoom */ |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
34 |
const TInt KMinTestCameraZoom = -3; |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
35 |
/** Max of Camera Zoom */ |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
36 |
const TInt KMaxTestCameraZoom = 3; |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
37 |
/** Max of Camera Digital Zoom Factor */ |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
38 |
const TReal32 KMaxTestCameraDigitalZoomFactor = 1.0; |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
39 |
/** Max of Camera Digital Zoom */ |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
40 |
const TInt KMaxTestCameraDigitalZoom = 0; |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
41 |
/** Size of Viewfinder buffer, Capture buffer */ |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
42 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
43 |
const TInt KMaxBufSize = 900 * 1024; |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
44 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
45 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
46 |
// Callback Class of WebCameraActive |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
47 |
class MWebCameraActiveCallBack |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
48 |
{ |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
49 |
public: |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
50 |
virtual void ReserveCallBack(TInt aError) = 0; |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
51 |
virtual void PowerOnCallBack(TInt aError) = 0; |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
52 |
virtual void ImageCaptureCallBackL(TInt aError) = 0; |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
53 |
}; |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
54 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
55 |
// Callback Class of WebCameraVfActive |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
56 |
class MWebCameraVfActiveCallBack |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
57 |
{ |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
58 |
public: |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
59 |
virtual void ViewFinderCallBack(TInt aError) = 0; |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
60 |
}; |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
61 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
62 |
/** |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
63 |
* Perform WebCamera function. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
64 |
*/ |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
65 |
class CWebCamera : public CCameraPlugin |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
66 |
, public MWebCameraActiveCallBack |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
67 |
, public MWebCameraVfActiveCallBack |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
68 |
{ |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
69 |
public: |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
70 |
static CWebCamera* NewL(); |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
71 |
~CWebCamera(); |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
72 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
73 |
protected: |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
74 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
75 |
//from CCameraPlugin |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
76 |
/** |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
77 |
from CCameraPlugin |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
78 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
79 |
A call to one of the factory functions firstly loads the plugin, followed by a |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
80 |
call to this function to complete construction. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
81 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
82 |
Creates an object representing a camera. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
83 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
84 |
@param aObserver |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
85 |
Reference to class derived from MCameraObserver2 designed to receive |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
86 |
notification of asynchronous event completion. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
87 |
@param aCameraIndex |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
88 |
Index from 0 to CamerasAvailable()-1 inclusive specifying the |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
89 |
camera device to use. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
90 |
@return Pointer to a fully constructed CCamera object. Ownership is passed |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
91 |
to the caller. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
92 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
93 |
@leave May leave with KErrNoMemory or KErrNotSupported if aCameraIndex is |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
94 |
out of range. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
95 |
*/ |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
96 |
void Construct2L(MCameraObserver& aObserver,TInt aCameraIndex); |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
97 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
98 |
/** |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
99 |
from CCameraPlugin |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
100 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
101 |
A call to one of the factory functions firstly loads the plugin, followed by a |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
102 |
call to this function to complete construction. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
103 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
104 |
Duplicates the original camera object for use by, for example, multimedia systems. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
105 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
106 |
May leave with KErrNoMemory or KErrNotFound if aCameraHandle is not valid. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
107 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
108 |
@param aObserver |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
109 |
Reference to an observer. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
110 |
@param aCameraHandle Handle of an existing camera object. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
111 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
112 |
@return Duplicate of the original camera object. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
113 |
*/ |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
114 |
void Construct2DupL(MCameraObserver& aObserver,TInt aCameraHandle); |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
115 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
116 |
/** |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
117 |
from CCameraPlugin |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
118 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
119 |
A call to one of the factory functions firstly loads the plugin, followed by a |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
120 |
call to this function to complete construction. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
121 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
122 |
Creates an object representing a camera. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
123 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
124 |
@param aObserver |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
125 |
Reference to class derived from MCameraObserver2 designed to receive |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
126 |
notification of asynchronous event completion. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
127 |
@param aCameraIndex |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
128 |
Index from 0 to CamerasAvailable()-1 inclusive specifying the |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
129 |
camera device to use. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
130 |
@param aPriority |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
131 |
Value from -100 to 100 indicating relative priority of client to |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
132 |
use camera. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
133 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
134 |
@return Pointer to a fully constructed CCamera object. Ownership is passed |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
135 |
to the caller. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
136 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
137 |
@leave May leave with KErrNoMemory or KErrNotSupported if aCameraIndex is |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
138 |
out of range. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
139 |
*/ |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
140 |
void Construct2L(MCameraObserver2& aObserver,TInt aCameraIndex,TInt aPriority); |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
141 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
142 |
/** |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
143 |
from CCameraPlugin |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
144 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
145 |
Duplicates the original camera object for use by, for example, multimedia systems. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
146 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
147 |
@leave KErrNoMemory if out of memory. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
148 |
@leave KErrNotFound if aCameraHandle is not valid. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
149 |
@leave KErrPermissionDenied if the application does not have |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
150 |
the UserEnvironment capability. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
151 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
152 |
@param aObserver |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
153 |
Reference to an observer. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
154 |
@param aCameraHandle Handle of an existing camera object. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
155 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
156 |
@return Duplicate of the original camera object. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
157 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
158 |
@capability UserEnvironment |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
159 |
An application that creates a CCamera object must have |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
160 |
the UserEnvironment capability. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
161 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
162 |
@note Applications using this method to create camera object may not receive enums/uids added in future(after being baselined). |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
163 |
To receive them, they should rather use New2L() or NewDuplicate2L(), in which case, they should prepare |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
164 |
themselves to receive unrecognised values. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
165 |
*/ |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
166 |
void Construct2DupL(MCameraObserver2& aObserver,TInt aCameraHandle); |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
167 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
168 |
// from CCamera |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
169 |
/** |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
170 |
from CCamera |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
171 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
172 |
Gets information about the camera device. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
173 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
174 |
@param aInfo |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
175 |
On return, information about the camera device. See TCameraInfo. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
176 |
*/ |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
177 |
void CameraInfo(TCameraInfo& aInfo) const; |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
178 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
179 |
/** |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
180 |
from CCamera |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
181 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
182 |
Asynchronous function that performs any required initialisation and reserves |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
183 |
the camera for exclusive use. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
184 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
185 |
Calls MCameraObserver:: ReserveComplete() when complete. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
186 |
*/ |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
187 |
void Reserve(); |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
188 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
189 |
/** |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
190 |
from CCamera |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
191 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
192 |
De-initialises the camera, allowing it to be used by other clients. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
193 |
*/ |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
194 |
void Release(); |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
195 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
196 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
197 |
/** |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
198 |
from CCamera |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
199 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
200 |
Asynchronous method to switch on camera power. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
201 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
202 |
User must have successfully called Reserve() prior to calling this function. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
203 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
204 |
Calls MCameraObserver::PowerOnComplete() when power on is complete. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
205 |
*/ |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
206 |
void PowerOn(); |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
207 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
208 |
/** |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
209 |
from CCamera |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
210 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
211 |
Synchronous function for switching off camera power. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
212 |
*/ |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
213 |
void PowerOff(); |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
214 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
215 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
216 |
/** |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
217 |
from CCamera |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
218 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
219 |
Gets the device-unique handle of this camera object. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
220 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
221 |
@return The device-unique handle of this camera object. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
222 |
*/ |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
223 |
TInt Handle(); |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
224 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
225 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
226 |
/** |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
227 |
from CCamera |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
228 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
229 |
Sets the zoom factor. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
230 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
231 |
This must be in the range of TCameraInfo::iMinZoom to TCameraInfo::iMaxZoom |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
232 |
inclusive. May leave with KErrNotSupported if the specified zoom factor is |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
233 |
out of range. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
234 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
235 |
@param aZoomFactor |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
236 |
Required zoom factor. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
237 |
*/ |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
238 |
void SetZoomFactorL(TInt aZoomFactor = 0); |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
239 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
240 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
241 |
/** |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
242 |
from CCamera |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
243 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
244 |
Gets the currently set zoom factor. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
245 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
246 |
@return The currently set zoom factor. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
247 |
*/ |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
248 |
TInt ZoomFactor() const; |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
249 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
250 |
/** |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
251 |
from CCamera |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
252 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
253 |
Sets the digital zoom factor. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
254 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
255 |
This must be in the range of 0 to TCameraInfo::iMaxDigitalZoom inclusive. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
256 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
257 |
May leave with KErrNotSupported if the zoom factor is out of range. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
258 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
259 |
@param aDigitalZoomFactor |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
260 |
The required digital zoom factor. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
261 |
*/ |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
262 |
void SetDigitalZoomFactorL(TInt aDigitalZoomFactor = 0); |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
263 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
264 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
265 |
/** |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
266 |
from CCamera |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
267 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
268 |
Gets the currently set digital zoom factor. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
269 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
270 |
@return The currently set digital zoom factor. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
271 |
*/ |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
272 |
TInt DigitalZoomFactor() const; |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
273 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
274 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
275 |
/** |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
276 |
from CCamera |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
277 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
278 |
Sets the contrast adjustment of the device. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
279 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
280 |
This must be in the range of -100 to +100 or EContrastAuto. May leave with |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
281 |
KErrNotSupported if the specified contrast value is out of range. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
282 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
283 |
@param aContrast |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
284 |
Required contrast value. See TCameraInfo::iContrastSupported |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
285 |
*/ |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
286 |
void SetContrastL(TInt aContrast); |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
287 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
288 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
289 |
/** |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
290 |
from CCamera |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
291 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
292 |
Gets the currently set contrast value. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
293 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
294 |
@return The currently set contrast value. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
295 |
*/ |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
296 |
TInt Contrast() const; |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
297 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
298 |
/** |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
299 |
from CCamera |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
300 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
301 |
Sets the brightness adjustment of the device. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
302 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
303 |
No effect if this is not supported, see TCameraInfo::iBrightnessSupported. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
304 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
305 |
This must be in the range of -100 to +100 or EBrightnessAuto. May leave |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
306 |
with KErrNotSupported if the brightness adjustment is out of range. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
307 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
308 |
@param aBrightness |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
309 |
The required brightness adjustment. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
310 |
*/ |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
311 |
void SetBrightnessL(TInt aBrightness); |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
312 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
313 |
/** |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
314 |
from CCamera |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
315 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
316 |
Gets the currently set brightness adjustment value. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
317 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
318 |
@return The currently set brightness adjustment value. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
319 |
*/ |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
320 |
TInt Brightness() const; |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
321 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
322 |
/** |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
323 |
from CCamera |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
324 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
325 |
Sets the flash mode. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
326 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
327 |
No effect if this is not supported, see TCameraInfo::iFlashModesSupported. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
328 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
329 |
May leave with KErrNotSupported if the specified flash mode is invalid. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
330 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
331 |
@param aFlash |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
332 |
The required flash mode. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
333 |
*/ |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
334 |
void SetFlashL(TFlash aFlash = EFlashNone); |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
335 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
336 |
/** |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
337 |
from CCamera |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
338 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
339 |
Gets the currently set flash mode. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
340 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
341 |
@return The currently set flash mode. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
342 |
@note if CCamera::New2L() or CCamera::NewDuplicate2L() is not used to create CCamera object, it is assumed that |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
343 |
application is not prepared to receive extra added enum values (unrecognised). So, any extra enum value(unrecognised) |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
344 |
(set in the ECAM implementation because of sharing clients) should not be returned from the ECAM implementation. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
345 |
To receive extra added enum values, application should rather use CCamera::New2L() or CCamera::NewDuplicate2L() |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
346 |
to create camera object. ECAM implementation, after verifying this,(by checking version no.) may send new values, if set. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
347 |
In this case, application is assumed to be prepared to receive unrecognised enum values. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
348 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
349 |
@see CCamera::CCameraAdvancedSettings::FlashMode() |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
350 |
*/ |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
351 |
TFlash Flash() const; |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
352 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
353 |
/** |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
354 |
from CCamera |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
355 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
356 |
Sets the exposure adjustment of the device. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
357 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
358 |
No effect if this is not supported, see CameraInfo::iExposureModesSupported. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
359 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
360 |
May leave with KErrNotSupported if the specified exposure adjustment is invalid. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
361 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
362 |
@param aExposure |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
363 |
The required exposure adjustment. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
364 |
*/ |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
365 |
void SetExposureL(TExposure aExposure = EExposureAuto); |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
366 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
367 |
/** |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
368 |
from CCamera |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
369 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
370 |
Gets the currently set exposure setting value. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
371 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
372 |
@return The currently set exposure setting value. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
373 |
*/ |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
374 |
TExposure Exposure() const; |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
375 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
376 |
/** |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
377 |
from CCamera |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
378 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
379 |
Sets the white balance adjustment of the device. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
380 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
381 |
No effect if this is not supported, see TCameraInfo::iWhiteBalanceModesSupported. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
382 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
383 |
@param aWhiteBalance |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
384 |
The required white balance adjustment. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
385 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
386 |
@leave KErrNotSupported if the specified white balance adjustment |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
387 |
is invalid. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
388 |
*/ |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
389 |
void SetWhiteBalanceL(TWhiteBalance aWhiteBalance = EWBAuto); |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
390 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
391 |
/** |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
392 |
from CCamera |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
393 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
394 |
Gets the currently set white balance adjustment value. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
395 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
396 |
@return The currently set white balance adjustment value. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
397 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
398 |
@note if CCamera::New2L() or CCamera::NewDuplicate2L() is not used to create CCamera object, it is assumed that |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
399 |
application is not prepared to receive extra added enum values (unrecognised). So, any extra enum value(unrecognised) |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
400 |
(set in the ECAM implementation because of sharing clients) should not be returned from the ECAM implementation. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
401 |
To receive extra added enum values, application should rather use CCamera::New2L() or CCamera::NewDuplicate2L() |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
402 |
to create camera object. ECAM implementation, after verifying this,(by checking version no.) may send new values, if set. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
403 |
In this case, application is assumed to be prepared to receive unrecognised enum values. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
404 |
Refer CCamera::CCameraAdvancedSettings::WhiteBalanceMode() implementation |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
405 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
406 |
@see CCamera::CCameraAdvancedSettings::WhiteBalanceMode() |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
407 |
*/ |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
408 |
TWhiteBalance WhiteBalance() const; |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
409 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
410 |
/** |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
411 |
from CCamera |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
412 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
413 |
Starts transfer of view finder data to the given portion of the screen using |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
414 |
direct screen access. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
415 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
416 |
The aScreenRect parameter is in screen co-ordinates and may be modified if, |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
417 |
eg, the camera requires the destination to have a certain byte alignment, etc. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
418 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
419 |
@param aWs |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
420 |
Window server session. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
421 |
@param aScreenDevice |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
422 |
Screen device. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
423 |
@param aWindow |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
424 |
Displayable window. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
425 |
@param aScreenRect |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
426 |
Portion of the screen to which view finder data is to be |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
427 |
transferred. This is in screen co-ordinates and may be modified if, for example, |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
428 |
the camera requires the destination to have a certain byte alignment. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
429 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
430 |
@leave KErrNotReady if PowerOn() has either not |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
431 |
been called, or has not yet completed. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
432 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
433 |
@note This method is assumed to be meant for default display only. KECamDefaultViewFinderHandle should be used to |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
434 |
refer viewfinders started using CCamera methods. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
435 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
436 |
@see CCamera::CCameraV2DirectViewFinder |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
437 |
*/ |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
438 |
void StartViewFinderDirectL(RWsSession& aWs,CWsScreenDevice& aScreenDevice,RWindowBase& aWindow,TRect& aScreenRect); |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
439 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
440 |
/** |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
441 |
from CCamera |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
442 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
443 |
Starts transfer of view finder data to the given portion of the screen using |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
444 |
direct screen access and also clips to the specified portion of the screen. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
445 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
446 |
The view finder has the same size and position as aScreenRect but is only |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
447 |
visible in the intersection of aScreenRect and aClipRect. May leave with KErrNotSupported |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
448 |
or KErrNotReady if Reserve() has not been called, or has not yet completed. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
449 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
450 |
@param aWs |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
451 |
Window server session. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
452 |
@param aScreenDevice |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
453 |
Screen device. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
454 |
@param aWindow |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
455 |
Displayable window. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
456 |
@param aScreenRect |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
457 |
Portion of the screen to which view finder data is to be |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
458 |
transferred. This is in screen co-ordinates and may be modified if, for example, |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
459 |
the camera requires the destination to have a certain byte alignment. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
460 |
@param aClipRect |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
461 |
The rectangle to which the screen will be clipped. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
462 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
463 |
@leave KErrNotReady if PowerOn() hasn't been called successfully. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
464 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
465 |
@note This method is assumed to be meant for default display only. KECamDefaultViewFinderHandle should be used to |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
466 |
refer viewfinders started using CCamera methods. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
467 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
468 |
@see CCamera::CCameraClientViewFinder |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
469 |
*/ |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
470 |
void StartViewFinderDirectL(RWsSession& aWs,CWsScreenDevice& aScreenDevice,RWindowBase& aWindow,TRect& aScreenRect,TRect& aClipRect); |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
471 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
472 |
/** |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
473 |
from CCamera |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
474 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
475 |
Starts transfer of view finder data. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
476 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
477 |
Bitmaps are returned by MCameraObserver::ViewFinderFrameReady(). |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
478 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
479 |
@param aSize |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
480 |
On return, the size used. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
481 |
@leave KErrNotReady if PowerOn() has not been called, or has not yet completed. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
482 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
483 |
@note This method is assumed to be meant for default display only. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
484 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
485 |
@see CCamera::CCameraClientViewFinder |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
486 |
*/ |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
487 |
void StartViewFinderBitmapsL(TSize& aSize); |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
488 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
489 |
/** |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
490 |
from CCamera |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
491 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
492 |
Starts transfer of view finder data and clips the bitmap to the specified clip |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
493 |
rectangle. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
494 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
495 |
The bitmap is the size of the intersection of aSize and aClipRect, not simply |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
496 |
aSize padded with white space. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
497 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
498 |
@param aSize |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
499 |
On return, the size used. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
500 |
@param aClipRect |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
501 |
Required clip rectangle. May be modified if, for example, |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
502 |
the camera only supports certain byte alignments. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
503 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
504 |
@leave KErrInUse if Reserve() hasn't been called successfully. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
505 |
@leave KErrNotReady if PowerOn() hasn't been called successfully. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
506 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
507 |
@note This method is assumed to be meant for default display only. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
508 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
509 |
@see CCamera::CCameraClientViewFinder |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
510 |
*/ |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
511 |
void StartViewFinderBitmapsL(TSize& aSize,TRect& aClipRect); |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
512 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
513 |
/** |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
514 |
from CCamera |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
515 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
516 |
Starts transfer of view finder data. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
517 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
518 |
Picture data is returned by MCameraObserver2::ViewFinderReady(). |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
519 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
520 |
@param aImageFormat |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
521 |
The image format requested by the client. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
522 |
@param aSize |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
523 |
On return, the size used. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
524 |
@leave KErrNotSupported |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
525 |
@leave KErrNotReady if Reserve() has not been |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
526 |
called, or has not yet completed. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
527 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
528 |
@note This method is assumed to be meant for default display only. KECamDefaultViewFinderHandle should be used to |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
529 |
refer viewfinders started using CCamera methods. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
530 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
531 |
@see CCamera::CCameraClientViewFinder |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
532 |
*/ |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
533 |
void StartViewFinderL(TFormat aImageFormat,TSize& aSize); |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
534 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
535 |
/** |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
536 |
from CCamera |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
537 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
538 |
Starts transfer of view finder data and clips the picture to the specified clip |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
539 |
rectangle. Picture data is returned by MCameraObserver2::ViewFinderReady(). |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
540 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
541 |
The picture is the size of the intersection of aSize and aClipRect, not simply |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
542 |
aSize padded with white space. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
543 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
544 |
@param aImageFormat |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
545 |
The image format. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
546 |
@param aSize |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
547 |
On return, the size used. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
548 |
@param aClipRect |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
549 |
Required clip rectangle. May be modified if, for example, |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
550 |
the camera only supports certain byte alignments. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
551 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
552 |
@leave KErrInUse if Reserve() hasn't been called successfully, |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
553 |
@leave KErrNotReady if PowerOn() hasn't been called successfully. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
554 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
555 |
@note This method is assumed to be meant for default display only. KECamDefaultViewFinderHandle should be used to |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
556 |
refer viewfinders started using CCamera methods. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
557 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
558 |
@see CCamera::CCameraClientViewFinder |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
559 |
*/ |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
560 |
void StartViewFinderL(TFormat aImageFormat,TSize& aSize,TRect& aClipRect); |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
561 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
562 |
/** |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
563 |
Stops transfer of view finder data to the screen. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
564 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
565 |
@note This method is assumed to be meant for default display only. KECamDefaultViewFinderHandle should be used to |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
566 |
refer viewfinders started using CCamera methods. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
567 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
568 |
@see CCamera::CCameraV2DirectViewFinder |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
569 |
@see CCamera::CCameraClientViewFinder |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
570 |
*/ |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
571 |
void StopViewFinder(); |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
572 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
573 |
/** |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
574 |
from CCamera |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
575 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
576 |
Queries whether the view finder is active. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
577 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
578 |
@return ETrue if the view finder is active. EFalse if the view finder is not |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
579 |
active. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
580 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
581 |
@note This method is assumed to be meant for default display only. KECamDefaultViewFinderHandle should be used to |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
582 |
refer viewfinders started using CCamera methods. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
583 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
584 |
@see CCamera::CCameraV2DirectViewFinder |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
585 |
@see CCamera::CCameraClientViewFinder |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
586 |
*/ |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
587 |
TBool ViewFinderActive() const; |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
588 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
589 |
/** |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
590 |
from CCamera |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
591 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
592 |
Sets whether view finder mirroring is on. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
593 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
594 |
Used to switch between what the camera sees and what you would see if the |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
595 |
device were a mirror. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
596 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
597 |
@param aMirror |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
598 |
ETrue to set mirroring on, EFalse to set mirroring off. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
599 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
600 |
@leave KErrNotSupported. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
601 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
602 |
@note This method is assumed to be meant for default display only. KECamDefaultViewFinderHandle should be used to |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
603 |
refer viewfinders started using CCamera methods. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
604 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
605 |
@see CCamera::CCameraV2DirectViewFinder |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
606 |
@see CCamera::CCameraClientViewFinder |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
607 |
*/ |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
608 |
void SetViewFinderMirrorL(TBool aMirror); |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
609 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
610 |
/** |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
611 |
from CCamera |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
612 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
613 |
Gets whether view finder mirroring is active. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
614 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
615 |
@return ETrue if mirroring is set, EFalse if mirroring is not set. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
616 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
617 |
@note This method is assumed to be meant for default display only. KECamDefaultViewFinderHandle should be used to |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
618 |
refer viewfinders started using CCamera methods. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
619 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
620 |
@see CCamera::CCameraV2DirectViewFinder |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
621 |
@see CCamera::CCameraClientViewFinder |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
622 |
*/ |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
623 |
TBool ViewFinderMirror() const; |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
624 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
625 |
/** |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
626 |
from CCamera |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
627 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
628 |
Performs setup and allocation of memory. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
629 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
630 |
Called prior to calling CaptureImage() to keep the latency of that function |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
631 |
to a minimum. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
632 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
633 |
Needs to be called only once for multiple CaptureImage() calls. May leave |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
634 |
with KErrNotSupported or KErrNoMemory or KErrInUse or KErrNotReady. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
635 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
636 |
The specified image format must be one of the formats supported |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
637 |
(see TCameraInfo::iImageFormatsSupported). |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
638 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
639 |
The specified size index must be in the range of 0 to TCameraInfo::iNumImageSizesSupported-1 |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
640 |
inclusive. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
641 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
642 |
@param aImageFormat |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
643 |
The image format. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
644 |
@param aSizeIndex |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
645 |
Size index. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
646 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
647 |
@leave KErrNotSupported |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
648 |
@leave KErrNoMemory |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
649 |
@leave KErrNotReady if PowerOn() hasn't been called successfully. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
650 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
651 |
@see CCamera::CCameraPreImageCaptureControl::PrepareImageCapture(TPrepareImageParameters aPrepareImageParameters) |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
652 |
*/ |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
653 |
void PrepareImageCaptureL(TFormat aImageFormat,TInt aSizeIndex); |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
654 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
655 |
/** |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
656 |
from CCamera |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
657 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
658 |
Performs setup and allocation of memory and clips the image to the specified |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
659 |
rectangle. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
660 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
661 |
No effect unless TCameraInfo::iImageClippingSupported is set to ETrue. The |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
662 |
image captured is the intersection of aClipRect and the rectangle from (0,0) |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
663 |
to aSize. Needs to be called only once for multiple CaptureImage() calls. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
664 |
May leave with KErrNotSupported or KErrNoMemory. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
665 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
666 |
The specified image format must be one of the formats supported (see TCameraInfo::iImageFormatsSupported). |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
667 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
668 |
The specified size index must be in the range of 0 to TCameraInfo::iNumImageSizesSupported-1 |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
669 |
inclusive. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
670 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
671 |
@param aImageFormat |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
672 |
The image format. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
673 |
@param aSizeIndex |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
674 |
Size index. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
675 |
@param aClipRect |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
676 |
The rectangle to which the image is to be clipped. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
677 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
678 |
@leave KErrNotSupported |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
679 |
@leave KErrNoMemory |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
680 |
@leave KErrInUse if Reserve() hasn't been called successfully |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
681 |
@leave KErrNotReady if PowerOn() |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
682 |
hasn't been called successfully. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
683 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
684 |
@see CCamera::CCameraPreImageCaptureControl::PrepareImageCapture(TPrepareImageParameters aPrepareImageParameters) |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
685 |
*/ |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
686 |
void PrepareImageCaptureL(TFormat aImageFormat,TInt aSizeIndex,const TRect& aClipRect); |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
687 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
688 |
/** |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
689 |
from CCamera |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
690 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
691 |
Asynchronously performs still image capture. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
692 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
693 |
Calls MCameraObserver::ImageReady() when complete. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
694 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
695 |
@see CCamera::CCameraImageCapture |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
696 |
@see CCamera::CCameraPreImageCaptureControl |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
697 |
*/ |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
698 |
void CaptureImage(); |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
699 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
700 |
/** |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
701 |
from CCamera |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
702 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
703 |
Cancels the asynchronous still image capture. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
704 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
705 |
@see CCamera::CCameraImageCapture |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
706 |
*/ |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
707 |
void CancelCaptureImage(); |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
708 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
709 |
/** |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
710 |
from CCamera |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
711 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
712 |
Enumerates through the available image capture sizes, based on the specified |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
713 |
size index and format |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
714 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
715 |
The size index must be in the range 0 to TCameraInfo::iNumImageSizesSupported-1 |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
716 |
inclusive. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
717 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
718 |
@param aSize |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
719 |
Image size. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
720 |
@param aSizeIndex |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
721 |
Size index. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
722 |
@param aFormat |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
723 |
The image format. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
724 |
*/ |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
725 |
void EnumerateCaptureSizes(TSize& aSize,TInt aSizeIndex,TFormat aFormat) const; |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
726 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
727 |
/** |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
728 |
from CCamera |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
729 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
730 |
Prepares for video capture. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
731 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
732 |
Performs setup and allocation of memory prior to calling StartVideoCapture() |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
733 |
to keep the latency of that function to a minimum. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
734 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
735 |
May leave with KErrNotSupported or KErrNoMemory. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
736 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
737 |
@param aFormat |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
738 |
Format must be one of the video frame formats supported (see |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
739 |
TCameraInfo::iVideoFrameFormatsSupported). |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
740 |
@param aSizeIndex |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
741 |
Size index must be in the range 0 to TCameraInfo::iNumVideoFrameSizesSupported-1 |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
742 |
inclusive. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
743 |
@param aRateIndex |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
744 |
The rate must be in the range 0 to TCameraInfo::iNumVideoFrameRatesSupported-1 |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
745 |
inclusive. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
746 |
@param aBuffersToUse |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
747 |
The number of discrete buffers to use. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
748 |
@param aFramesPerBuffer |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
749 |
How large the buffers are to be. Must be less than |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
750 |
or equal to TCameraInfo::iMaxFramesPerBufferSupported. One buffer is returned |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
751 |
to MCameraObserver::FrameBufferReady() at a time. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
752 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
753 |
@leave May leave with KErrNotSupported, KErrNoMemory, or KErrNotReady if PowerOn() |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
754 |
hasn't been called successfully. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
755 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
756 |
@see CCamera::CCameraVideoCaptureControl::PrepareVideoCapture(const TPrepareVideoParameters& aPrepareVideoParameters) |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
757 |
*/ |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
758 |
void PrepareVideoCaptureL(TFormat aFormat,TInt aSizeIndex,TInt aRateIndex,TInt aBuffersToUse,TInt aFramesPerBuffer); |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
759 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
760 |
/** |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
761 |
from CCamera |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
762 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
763 |
Prepares for video capture and clips the frames to the given rectangle. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
764 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
765 |
Performs setup and allocation of memory prior to calling StartVideoCapture() |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
766 |
to keep the latency of that function to a minimum. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
767 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
768 |
May leave with KErrNotSupported or KErrNoMemory. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
769 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
770 |
@param aFormat |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
771 |
Format must be one of the video frame formats supported (see |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
772 |
TCameraInfo::iVideoFrameFormatsSupported). |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
773 |
@param aSizeIndex |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
774 |
Size index must be in the range 0 to TCameraInfo::iNumVideoFrameSizesSupported-1 |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
775 |
inclusive. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
776 |
@param aRateIndex |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
777 |
The rate must be in the range 0 to TCameraInfo::iNumVideoFrameRatesSupported-1 |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
778 |
inclusive. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
779 |
@param aBuffersToUse |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
780 |
The number of discrete buffers to use. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
781 |
@param aFramesPerBuffer |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
782 |
How large the buffers are to be. Must be less than |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
783 |
or equal to TCameraInfo::iMaxFramesPerBufferSupported. One buffer is returned |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
784 |
to MCameraObserver::FrameBufferReady() at a time. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
785 |
@param aClipRect |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
786 |
The rectangle to which the image is to be clipped. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
787 |
@leave KErrNotSupported |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
788 |
@leave KErrNoMemory, |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
789 |
@leave KErrInUse if Reserve() hasn't been called successfully |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
790 |
@leave KErrNotReady if PowerOn() hasn't been called successfully. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
791 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
792 |
@see CCamera::CCameraVideoCaptureControl::PrepareVideoCapture(const TPrepareVideoParameters& aPrepareVideoParameters) |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
793 |
*/ |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
794 |
void PrepareVideoCaptureL(TFormat aFormat,TInt aSizeIndex,TInt aRateIndex,TInt aBuffersToUse,TInt aFramesPerBuffer,const TRect& aClipRect); |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
795 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
796 |
/** |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
797 |
from CCamera |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
798 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
799 |
Starts capturing video. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
800 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
801 |
Calls MCameraObserver::FrameBufferReady() when each buffer has been filled |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
802 |
with the required number of frames, as set by PrepareVideoCaptureL(). |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
803 |
*/ |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
804 |
void StartVideoCapture(); |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
805 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
806 |
/** |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
807 |
from CCamera |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
808 |
Stops video capture. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
809 |
*/ |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
810 |
void StopVideoCapture(); |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
811 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
812 |
/** |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
813 |
from CCamera |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
814 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
815 |
Tests whether video capture is active. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
816 |
@return ETrue if video capture is active. EFalse if video capture is not active |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
817 |
*/ |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
818 |
TBool VideoCaptureActive() const; |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
819 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
820 |
/** |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
821 |
from CCamera |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
822 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
823 |
Enumerates through the available video frame sizes, based on the specified |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
824 |
size index and format. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
825 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
826 |
@param aSize |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
827 |
On return the available video frame sizes. Sizes should be returned |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
828 |
in order, largest first, so clients do not have to iterate through every one. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
829 |
@param aSizeIndex |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
830 |
Size index. Must be in the range 0 to TCameraInfo::iNumVideoFrameSizesSupported-1 |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
831 |
inclusive |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
832 |
@param aFormat |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
833 |
Image format. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
834 |
*/ |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
835 |
void EnumerateVideoFrameSizes(TSize& aSize,TInt aSizeIndex,TFormat aFormat) const; |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
836 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
837 |
/** |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
838 |
from CCamera |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
839 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
840 |
Enumerates through the available video frame rates, based on the specified |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
841 |
rate index, video frame format, size index and exposure mode. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
842 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
843 |
@param aRate |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
844 |
On return, the available video frame rates. Some rates may not |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
845 |
be available due to, for example, current flash mode setting. In those cases |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
846 |
a rate of 0 will be returned. Rates should be returned in order, highest first, |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
847 |
so clients do not have to iterate through every one. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
848 |
@param aRateIndex |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
849 |
The rate index. Must be in the range 0 to TCameraInfo::iNumVideoFrameRatesSupported-1 |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
850 |
inclusive. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
851 |
@param aFormat |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
852 |
The format. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
853 |
@param aSizeIndex |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
854 |
The size index. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
855 |
@param aExposure |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
856 |
The exposure mode. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
857 |
*/ |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
858 |
void EnumerateVideoFrameRates(TReal32& aRate,TInt aRateIndex,TFormat aFormat,TInt aSizeIndex,TExposure aExposure = EExposureAuto) const; |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
859 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
860 |
/** |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
861 |
from CCamera |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
862 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
863 |
Gets the frame size currently in use. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
864 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
865 |
@param aSize |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
866 |
The frame size currently in use. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
867 |
*/ |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
868 |
void GetFrameSize(TSize& aSize) const; |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
869 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
870 |
/** |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
871 |
from CCamera |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
872 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
873 |
Gets the frame rate currently in use. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
874 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
875 |
@return The frame rate currently in use. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
876 |
*/ |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
877 |
TReal32 FrameRate() const; |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
878 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
879 |
/** |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
880 |
from CCamera |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
881 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
882 |
Gets the number of buffers currently in use. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
883 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
884 |
@return The number of buffers currently in use. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
885 |
*/ |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
886 |
TInt BuffersInUse() const; |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
887 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
888 |
/** |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
889 |
from CCamera |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
890 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
891 |
Gets the number of frames per buffer currently in use. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
892 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
893 |
@return The number of frames per buffer currently in use. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
894 |
*/ |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
895 |
TInt FramesPerBuffer() const; |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
896 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
897 |
/** |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
898 |
from CCamera |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
899 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
900 |
Sets the quality value to use if jpeg is a supported image for video format. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
901 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
902 |
Ignored if jpeg is not a supported image for video format. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
903 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
904 |
@param aQuality |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
905 |
The quality value to use, clamped to the range 1 to 100. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
906 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
907 |
@see CCamera::CCameraPreImageCaptureControl::TPrepareImageParameters::iImageMaxMemorySize |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
908 |
*/ |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
909 |
void SetJpegQuality(TInt aQuality); |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
910 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
911 |
/** |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
912 |
from CCamera |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
913 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
914 |
Gets the currently set jpeg quality value. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
915 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
916 |
Returns 0 if not supported. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
917 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
918 |
@return The currently set jpeg quality value. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
919 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
920 |
@see CCamera::CCameraPreImageCaptureControl::GetImageMaxMemorySizeL(TUint& aMemorySize) |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
921 |
*/ |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
922 |
TInt JpegQuality() const; |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
923 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
924 |
/** |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
925 |
from CCamera |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
926 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
927 |
Gets a custom interface. The client has to cast the returned pointer |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
928 |
to the appropriate type. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
929 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
930 |
@param aInterface |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
931 |
The Uid of the particular interface function required. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
932 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
933 |
@return Custom interface pointer. NULL if the requested interface is not supported. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
934 |
*/ |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
935 |
TAny* CustomInterface(TUid aInterface); |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
936 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
937 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
938 |
private: |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
939 |
CWebCamera(); |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
940 |
void ConstructL(); |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
941 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
942 |
private: // from MWebCameraActiveCallBack |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
943 |
/** |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
944 |
from MWebCameraActiveCallBack |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
945 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
946 |
CallBack function of the Reserve |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
947 |
*/ |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
948 |
virtual void ReserveCallBack(TInt aError); |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
949 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
950 |
/** |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
951 |
from MWebCameraActiveCallBack |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
952 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
953 |
CallBack function of the PowerOn |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
954 |
*/ |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
955 |
virtual void PowerOnCallBack(TInt aError); |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
956 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
957 |
/** |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
958 |
from MWebCameraActiveCallBack |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
959 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
960 |
CallBack function of the ImageCapture |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
961 |
*/ |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
962 |
virtual void ImageCaptureCallBackL(TInt aError); |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
963 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
964 |
private: // from MWebCameraActiveCallBack |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
965 |
/** |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
966 |
from MWebCameraActiveCallBack |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
967 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
968 |
CallBack function of the ViewFinder |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
969 |
*/ |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
970 |
virtual void ViewFinderCallBack(TInt aError); |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
971 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
972 |
private: |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
973 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
974 |
RWebcameraDevice iDriver; ///< Camera driver. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
975 |
MCameraObserver* iObserver; ///< The callback 'notify' party |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
976 |
MCameraObserver2* iObserver2; ///< The callback 'notify' party(V2). |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
977 |
CWebCameraActive* iActive; ///< For async demand. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
978 |
CWebCameraVfActive* iVfActive; ///< For viewfinder. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
979 |
CWebCameraAdvSet* iAdvSettingsImpl; ///< Expansion setting class. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
980 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
981 |
TCameraInfo iInfo; ///< Camera Information. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
982 |
TInt iCameraIndex; ///< Camera Index. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
983 |
TInt iCameraHandle; ///< Camera handle. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
984 |
TInt iPriority; ///< priority. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
985 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
986 |
TBool iReserved; ///< Reserved Flag. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
987 |
TBool iPowerOn; ///< PowerOn Flag. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
988 |
TBool iImageCaptureActive;///< Flag during the still image . |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
989 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
990 |
CWebCameraBuffer* iCaptureCameraBuf; ///< Camera buffer for capture. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
991 |
CFbsBitmap* iCaptureBitmap; ///< Bitmap Data for capture. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
992 |
HBufC8* iCaptureBuf; ///< Data buffer for capture. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
993 |
TPtr8 iCaptureBufPtr; ///< pointer to Data buffer for capture. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
994 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
995 |
RArray<TSize> iImageSizes; ///< Image size. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
996 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
997 |
RChunk iChunk; ///< For Chunk process . |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
998 |
RWebcameraDevice::TChunkInfo iChunkInfo; ///< Chunk Information. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
999 |
TUint8* iChuckBase; |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
1000 |
TInt iChunkRemSize; ///< Chunk size. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
1001 |
}; |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
1002 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
1003 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
1004 |
class CWebCameraInfo : public CCameraInfoPlugin |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
1005 |
{ |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
1006 |
public: |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
1007 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
1008 |
/** |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
1009 |
* Two-phased constructor. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
1010 |
*/ |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
1011 |
static CWebCameraInfo* NewL(); |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
1012 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
1013 |
/**> Destructor */ |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
1014 |
~CWebCameraInfo(); |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
1015 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
1016 |
// from CCameraInfoPlugin |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
1017 |
public: |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
1018 |
/** |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
1019 |
from CCameraInfoPlugin |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
1020 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
1021 |
Determines the number of cameras on the device. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
1022 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
1023 |
@return Count of cameras present on the device. |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
1024 |
*/ |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
1025 |
TInt CamerasAvailable(); |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
1026 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
1027 |
private: |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
1028 |
CWebCameraInfo(); |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
1029 |
}; |
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
1030 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
1031 |
|
92a82bc706f7
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.
Shimizu Satoshi <s_shimizu@isb.co.jp>
parents:
9
diff
changeset
|
1032 |
#endif // ECAMWEBCAMERAPLUGIN_H |