|
1 // Copyright (c) 2008-2009 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 |
|
17 /** |
|
18 @file |
|
19 @internalComponent |
|
20 */ |
|
21 |
|
22 #include "log.h" |
|
23 #include <openmax/il/common/omxilprocessingfunction.h> |
|
24 |
|
25 |
|
26 EXPORT_C |
|
27 COmxILProcessingFunction::COmxILProcessingFunction( |
|
28 MOmxILCallbackNotificationIf& aCallbacks) |
|
29 : |
|
30 iCallbacks(aCallbacks) |
|
31 { |
|
32 DEBUG_PRINTF(_L8("COmxILProcessingFunction::COmxILProcessingFunction")); |
|
33 |
|
34 } |
|
35 |
|
36 EXPORT_C |
|
37 COmxILProcessingFunction::~COmxILProcessingFunction() |
|
38 { |
|
39 DEBUG_PRINTF(_L8("COmxILProcessingFunction::~COmxILProcessingFunction")); |
|
40 |
|
41 } |
|
42 |
|
43 /** |
|
44 This is an indication from the framework that the IL Client wants to set the |
|
45 default role that a standard component is assuming. Therefore, the role |
|
46 defaults need to be reloaded into all ports and the Processing |
|
47 Function. This method is the indication to the processing function that the |
|
48 role defaults have been set into the component ports. A component not |
|
49 claiming support of any of the standard component roles does not need to |
|
50 override this method. |
|
51 |
|
52 @param aComponentRoleIndex An integer associated to the new component role. |
|
53 |
|
54 @return OMX_ERRORTYPE |
|
55 */ |
|
56 EXPORT_C OMX_ERRORTYPE |
|
57 COmxILProcessingFunction::ComponentRoleIndication(TUint /* aComponentRoleIndex */) |
|
58 { |
|
59 return OMX_ErrorNotImplemented; |
|
60 } |
|
61 |
|
62 EXPORT_C |
|
63 OMX_ERRORTYPE COmxILProcessingFunction::MediaTimeIndication(const OMX_TIME_MEDIATIMETYPE& ) |
|
64 { |
|
65 return OMX_ErrorNotImplemented; |
|
66 } |
|
67 |
|
68 EXPORT_C |
|
69 TInt COmxILProcessingFunction::Extension_(TUint aExtensionId, TAny *&a0, TAny *a1) |
|
70 { |
|
71 return CBase::Extension_(aExtensionId, a0, a1); |
|
72 } |