|
1 /* |
|
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: Stub implementation for CMediaClientVideoDisplay |
|
15 * |
|
16 */ |
|
17 |
|
18 // Version : %version: 1 % |
|
19 |
|
20 // Include Files |
|
21 |
|
22 #include "mediaclientvideodisplay.h" |
|
23 |
|
24 |
|
25 // ------------------------------------------------------------------------------------------------- |
|
26 // CAlfCompositionSource::NewL() |
|
27 // ------------------------------------------------------------------------------------------------- |
|
28 // |
|
29 CMediaClientVideoDisplay* CMediaClientVideoDisplay::NewL( TInt /*aDisplayId*/ ) |
|
30 { |
|
31 CMediaClientVideoDisplay* self = new (ELeave) CMediaClientVideoDisplay(); |
|
32 |
|
33 return self; |
|
34 } |
|
35 |
|
36 // ------------------------------------------------------------------------------------------------- |
|
37 // CMediaClientVideoDisplay::~CMediaClientVideoDisplay() |
|
38 // ------------------------------------------------------------------------------------------------- |
|
39 // |
|
40 CMediaClientVideoDisplay::~CMediaClientVideoDisplay() |
|
41 { |
|
42 } |
|
43 |
|
44 // ------------------------------------------------------------------------------------------------- |
|
45 // CMediaClientVideoDisplay::CMediaClientVideoDisplay() |
|
46 // ------------------------------------------------------------------------------------------------- |
|
47 // |
|
48 CMediaClientVideoDisplay::CMediaClientVideoDisplay() |
|
49 { |
|
50 } |
|
51 |
|
52 // ------------------------------------------------------------------------------------------------- |
|
53 // CMediaClientVideoDisplay::RemoveSurface() |
|
54 // ------------------------------------------------------------------------------------------------- |
|
55 // |
|
56 void CMediaClientVideoDisplay::RemoveSurface() |
|
57 { |
|
58 } |
|
59 |
|
60 // ------------------------------------------------------------------------------------------------- |
|
61 // CMediaClientVideoDisplay::RemoveSurface() |
|
62 // ------------------------------------------------------------------------------------------------- |
|
63 // |
|
64 void CMediaClientVideoDisplay::AddDisplayWindowL(const RWindowBase* /*aWindow*/, |
|
65 const TRect& /*aClipRect*/, |
|
66 const TRect& /*aCropRegion*/, |
|
67 const TRect& /*aVideoExtent*/, |
|
68 TReal32 /*aScaleWidth*/, |
|
69 TReal32 /*aScaleHeight*/, |
|
70 TVideoRotation /*aRotation*/, |
|
71 TAutoScaleType /*aAutoScaleType*/, |
|
72 TInt /*aHorizPos*/, |
|
73 TInt /*aVertPos*/, |
|
74 RWindow* /*aWindow2*/) |
|
75 { |
|
76 } |
|
77 |
|
78 // ------------------------------------------------------------------------------------------------- |
|
79 // CMediaClientVideoDisplay::RemoveSurface() |
|
80 // ------------------------------------------------------------------------------------------------- |
|
81 // |
|
82 TInt CMediaClientVideoDisplay::SurfaceCreated(const TSurfaceId& /*aSurfaceId*/, |
|
83 const TRect& /*aCropRect*/, |
|
84 TVideoAspectRatio /*aAspectRatio*/, |
|
85 const TRect& /*aCropRegion*/) |
|
86 { |
|
87 return KErrNone; |
|
88 } |
|
89 |
|
90 |
|
91 // ------------------------------------------------------------------------------------------------- |
|
92 // CMediaClientVideoDisplay::RemoveSurface() |
|
93 // ------------------------------------------------------------------------------------------------- |
|
94 // |
|
95 TInt CMediaClientVideoDisplay::SurfaceParametersChanged(const TSurfaceId& /*aSurfaceId*/, |
|
96 const TRect& /*aCropRect*/, |
|
97 TVideoAspectRatio /*aAspectRatio*/) |
|
98 { |
|
99 return KErrNone; |
|
100 } |
|
101 |
|
102 |
|
103 // ------------------------------------------------------------------------------------------------- |
|
104 // CMediaClientVideoDisplay::RemoveSurface() |
|
105 // ------------------------------------------------------------------------------------------------- |
|
106 // |
|
107 TInt CMediaClientVideoDisplay::RedrawWindows(const TRect& /*aCropRegion*/) |
|
108 { |
|
109 return KErrNone; |
|
110 } |
|
111 |
|
112 |
|
113 // ------------------------------------------------------------------------------------------------- |
|
114 // CMediaClientVideoDisplay::RemoveSurface() |
|
115 // ------------------------------------------------------------------------------------------------- |
|
116 // |
|
117 void CMediaClientVideoDisplay::SetVideoExtentL(const RWindowBase& /*aWindow*/, |
|
118 const TRect& /*aVideoExtent*/, |
|
119 const TRect& /*aCropRegion*/) |
|
120 { |
|
121 } |
|
122 |
|
123 |
|
124 // ------------------------------------------------------------------------------------------------- |
|
125 // CMediaClientVideoDisplay::RemoveSurface() |
|
126 // ------------------------------------------------------------------------------------------------- |
|
127 // |
|
128 void CMediaClientVideoDisplay::SetAutoScaleL(TAutoScaleType /*aScaleType*/, |
|
129 TInt /*aHorizPos*/, |
|
130 TInt /*aVertPos*/, |
|
131 const TRect& /*aCropRegion*/) |
|
132 { |
|
133 } |
|
134 |
|
135 |
|
136 // EOF |