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 |
#include <fbs.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 |
#include "ecamwebcamerabuffer.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 |
|
92a82bc706f7
Obtain 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 |
// --------------------------------------------------------------------------- |
92a82bc706f7
Obtain 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 |
// 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
|
24 |
// Takes ownership of aData, but not aBitmap |
92a82bc706f7
Obtain 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 |
// --------------------------------------------------------------------------- |
92a82bc706f7
Obtain 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 |
CWebCameraBuffer* CWebCameraBuffer::NewL(const CFbsBitmap& aBitmap, HBufC8* aData) |
92a82bc706f7
Obtain 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 |
{ |
92a82bc706f7
Obtain 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 |
CWebCameraBuffer* self = CWebCameraBuffer::NewLC( aBitmap, aData ); |
92a82bc706f7
Obtain 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 |
CleanupStack::Pop( self ); |
92a82bc706f7
Obtain 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 |
return self; |
92a82bc706f7
Obtain 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 |
|
92a82bc706f7
Obtain 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 |
// --------------------------------------------------------------------------- |
92a82bc706f7
Obtain 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 |
// NewLC |
92a82bc706f7
Obtain 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 |
// Takes ownership of aData, but not aBitmap |
92a82bc706f7
Obtain 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 |
// --------------------------------------------------------------------------- |
92a82bc706f7
Obtain 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 |
// |
92a82bc706f7
Obtain 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 |
CWebCameraBuffer* CWebCameraBuffer::NewLC(const CFbsBitmap& aBitmap, HBufC8* aData) |
92a82bc706f7
Obtain 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 |
{ |
92a82bc706f7
Obtain 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 |
CWebCameraBuffer* self = new (ELeave) 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
|
42 |
CleanupStack::PushL( self ); |
92a82bc706f7
Obtain 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 |
self->ConstructL( aBitmap, aData ); |
92a82bc706f7
Obtain 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 |
return self; |
92a82bc706f7
Obtain 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 |
|
92a82bc706f7
Obtain 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 |
|
92a82bc706f7
Obtain 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 |
// 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
|
50 |
// Takes ownership of both objects. |
92a82bc706f7
Obtain 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 |
// --------------------------------------------------------------------------- |
92a82bc706f7
Obtain 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 |
// |
92a82bc706f7
Obtain 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 |
CWebCameraBuffer* CWebCameraBuffer::NewL(CFbsBitmap* aBitmap, HBufC8* aData) |
92a82bc706f7
Obtain 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 |
CWebCameraBuffer* self = CWebCameraBuffer::NewLC( aBitmap, aData ); |
92a82bc706f7
Obtain 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 |
CleanupStack::Pop( self ); |
92a82bc706f7
Obtain 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 |
return self; |
92a82bc706f7
Obtain 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 |
} |
92a82bc706f7
Obtain 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 |
|
92a82bc706f7
Obtain 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 |
// NewLC |
92a82bc706f7
Obtain 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 |
// Takes ownership of both objects. |
92a82bc706f7
Obtain 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 |
// --------------------------------------------------------------------------- |
92a82bc706f7
Obtain 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 |
CWebCameraBuffer* CWebCameraBuffer::NewLC(CFbsBitmap* aBitmap, HBufC8* aData) |
92a82bc706f7
Obtain 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 |
{ |
92a82bc706f7
Obtain 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 |
CWebCameraBuffer* self = new (ELeave) 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
|
68 |
CleanupStack::PushL( self ); |
92a82bc706f7
Obtain 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 |
self->ConstructL( aBitmap, aData ); |
92a82bc706f7
Obtain 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 |
return self; |
92a82bc706f7
Obtain 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 |
} |
92a82bc706f7
Obtain 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 |
// --------------------------------------------------------------------------- |
92a82bc706f7
Obtain 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 |
// 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
|
75 |
// |
92a82bc706f7
Obtain 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 |
// |
92a82bc706f7
Obtain 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 |
CWebCameraBuffer::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
|
79 |
: iBitmap(NULL), |
92a82bc706f7
Obtain 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 |
iImageData(NULL), |
92a82bc706f7
Obtain 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 |
iOwnBitmap(ETrue), |
92a82bc706f7
Obtain 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 |
iOwnData(ETrue) |
92a82bc706f7
Obtain 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 |
} |
92a82bc706f7
Obtain 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 |
|
92a82bc706f7
Obtain 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 |
// --------------------------------------------------------------------------- |
92a82bc706f7
Obtain 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 |
// 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
|
88 |
// *private, because Release() is supposed to be 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
|
89 |
// --------------------------------------------------------------------------- |
92a82bc706f7
Obtain 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 |
// |
92a82bc706f7
Obtain 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 |
CWebCameraBuffer::~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
|
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 |
iChunk.Close(); |
92a82bc706f7
Obtain 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 |
delete iBitmap; |
92a82bc706f7
Obtain 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 |
delete iImageData; |
92a82bc706f7
Obtain 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 |
} |
92a82bc706f7
Obtain 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 |
// 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
|
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 |
// --------------------------------------------------------------------------- |
92a82bc706f7
Obtain 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 |
// |
92a82bc706f7
Obtain 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 |
void CWebCameraBuffer::ConstructL(const CFbsBitmap& aBitmap, HBufC8* aData) |
92a82bc706f7
Obtain 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 |
{ |
92a82bc706f7
Obtain 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 |
iBitmap = new (ELeave) CFbsBitmap; |
92a82bc706f7
Obtain 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 |
TInt error = iBitmap->Duplicate( aBitmap.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
|
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 |
iImageData = aData; |
92a82bc706f7
Obtain 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 |
|
92a82bc706f7
Obtain 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 |
User::LeaveIfError( error ); |
92a82bc706f7
Obtain 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 |
|
92a82bc706f7
Obtain 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 |
// 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
|
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 |
// |
92a82bc706f7
Obtain 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 |
void CWebCameraBuffer::ConstructL(CFbsBitmap* aBitmap, HBufC8* aData) |
92a82bc706f7
Obtain 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 |
{ |
92a82bc706f7
Obtain 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 |
iImageData = aData; |
92a82bc706f7
Obtain 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 |
iBitmap = aBitmap; |
92a82bc706f7
Obtain 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 |
} |
92a82bc706f7
Obtain 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 |
// --------------------------------------------------------------------------- |
92a82bc706f7
Obtain 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 |
// NumFrames |
92a82bc706f7
Obtain 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 |
// |
92a82bc706f7
Obtain 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 |
// Number of frames available in the 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
|
128 |
// --------------------------------------------------------------------------- |
92a82bc706f7
Obtain 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 |
// |
92a82bc706f7
Obtain 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 |
TInt |
92a82bc706f7
Obtain 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 |
CWebCameraBuffer::NumFrames() |
92a82bc706f7
Obtain 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 |
{ |
92a82bc706f7
Obtain 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 |
return 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
|
134 |
} |
92a82bc706f7
Obtain 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 |
|
92a82bc706f7
Obtain 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 |
// --------------------------------------------------------------------------- |
92a82bc706f7
Obtain 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 |
// DataL |
92a82bc706f7
Obtain 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 |
// Frame data as descriptor. |
92a82bc706f7
Obtain 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 |
// *not supported here* |
92a82bc706f7
Obtain 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 |
// |
92a82bc706f7
Obtain 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 |
TDesC8* CWebCameraBuffer::DataL(TInt aFrameIndex) |
92a82bc706f7
Obtain 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 |
{ |
92a82bc706f7
Obtain 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 |
if( aFrameIndex != 0 || !iImageData ) |
92a82bc706f7
Obtain 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 |
{ |
92a82bc706f7
Obtain 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 |
User::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
|
149 |
} |
92a82bc706f7
Obtain 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 |
|
92a82bc706f7
Obtain 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 |
return iImageData; |
92a82bc706f7
Obtain 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 |
} |
92a82bc706f7
Obtain 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 |
|
92a82bc706f7
Obtain 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 |
// --------------------------------------------------------------------------- |
92a82bc706f7
Obtain 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 |
// BitmapL |
92a82bc706f7
Obtain 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 |
// |
92a82bc706f7
Obtain 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 |
// Frame data as bitmap. |
92a82bc706f7
Obtain 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 |
// --------------------------------------------------------------------------- |
92a82bc706f7
Obtain 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 |
// |
92a82bc706f7
Obtain 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 |
CFbsBitmap& CWebCameraBuffer::BitmapL(TInt aFrameIndex) |
92a82bc706f7
Obtain 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 |
if( aFrameIndex != 0 || !iBitmap ) |
92a82bc706f7
Obtain 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 |
{ |
92a82bc706f7
Obtain 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 |
User::Leave( KErrNotFound ); |
92a82bc706f7
Obtain 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 |
|
92a82bc706f7
Obtain 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 |
return *iBitmap; |
92a82bc706f7
Obtain 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 |
} |
92a82bc706f7
Obtain 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 |
// --------------------------------------------------------------------------- |
92a82bc706f7
Obtain 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 |
// DataL |
92a82bc706f7
Obtain 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 |
// |
92a82bc706f7
Obtain 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 |
// Frame data as chunk. |
92a82bc706f7
Obtain 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 |
// *not supported here* |
92a82bc706f7
Obtain 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 |
// --------------------------------------------------------------------------- |
92a82bc706f7
Obtain 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 |
RChunk& CWebCameraBuffer::ChunkL() |
92a82bc706f7
Obtain 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 |
User::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
|
180 |
|
92a82bc706f7
Obtain 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 |
return iChunk; |
92a82bc706f7
Obtain 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 |
} |
92a82bc706f7
Obtain 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 |
|
92a82bc706f7
Obtain 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 |
// ChunkOffsetL |
92a82bc706f7
Obtain 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 |
// Frame data offset in chunk. |
92a82bc706f7
Obtain 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 |
// *not supported here* |
92a82bc706f7
Obtain 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 |
// |
92a82bc706f7
Obtain 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 |
TInt |
92a82bc706f7
Obtain 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 |
CWebCameraBuffer::ChunkOffsetL(TInt /*aFrameIndex*/) |
92a82bc706f7
Obtain 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 |
User::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
|
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 |
return 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
|
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 |
|
92a82bc706f7
Obtain 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 |
// FrameSize |
92a82bc706f7
Obtain 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 |
// Frame data 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
|
203 |
// *not supported here, as only bitmap 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
|
204 |
// --------------------------------------------------------------------------- |
92a82bc706f7
Obtain 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 |
TInt CWebCameraBuffer::FrameSize(TInt /*aFrameIndex*/) |
92a82bc706f7
Obtain 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 |
return -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
|
209 |
} |
92a82bc706f7
Obtain 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 |
// --------------------------------------------------------------------------- |
92a82bc706f7
Obtain 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 |
// 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
|
213 |
// |
92a82bc706f7
Obtain 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 |
// Release this 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
|
215 |
// Simply deletes this 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
|
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 |
// |
92a82bc706f7
Obtain 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 |
void CWebCameraBuffer::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
|
219 |
{ |
92a82bc706f7
Obtain 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 |
delete this; |
92a82bc706f7
Obtain 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 |
} |
92a82bc706f7
Obtain 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 |
|
92a82bc706f7
Obtain 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 |
// end of file |