equal
deleted
inserted
replaced
|
1 // Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 #ifndef FETCHFRAMECUSTOMINTERFACE_H |
|
17 #define FETCHFRAMECUSTOMINTERFACE_H |
|
18 |
|
19 /** |
|
20 FetchFrame Custom Interface UID. |
|
21 |
|
22 @publishedPartner |
|
23 @prototype |
|
24 */ |
|
25 const TUid KUidMMFVideoFetchFrame = { 0x20024343 }; |
|
26 |
|
27 /** |
|
28 This interface can be used to fetch the frame data using the buffer id. |
|
29 This interface can be used by a H/W device which needs to send the frame |
|
30 data back to application. |
|
31 |
|
32 @publishedPartner |
|
33 @prototype |
|
34 */ |
|
35 class MMmfVideoFetchFrame |
|
36 { |
|
37 public: |
|
38 |
|
39 /** |
|
40 Set the handle for the surface |
|
41 |
|
42 @param aBufId Buffer id whose frame data needs to be returned. |
|
43 |
|
44 returns pointer to a frame data. memory is allocated by the Custom interface |
|
45 implementor to hold the frame data on the host side. ownership of the memory |
|
46 would be transfered to the caller of this method. |
|
47 */ |
|
48 virtual TUint8* MmvffGetFrame(TInt aBufId) = 0; |
|
49 }; |
|
50 |
|
51 #endif // FETCHFRAMECUSTOMINTERFACE_H |