videoplayback/videoplaybackview/tsrc/testvideodisplayhandler/stub/src/mediaclientvideodisplay.cpp
changeset 66 adb51f74b890
parent 44 518105d52e45
equal deleted inserted replaced
63:4707a0db12f6 66:adb51f74b890
    13 *
    13 *
    14 * Description:   Stub implementation for CMediaClientVideoDisplay
    14 * Description:   Stub implementation for CMediaClientVideoDisplay
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 // Version : %version: 1 %
    18 // Version : %version: 2 %
    19 
    19 
    20 //  Include Files
    20 //  Include Files
    21 
    21 
    22 #include "mediaclientvideodisplay.h"
    22 #include "mediaclientvideodisplay.h"
    23 
    23 
    51 
    51 
    52 // -------------------------------------------------------------------------------------------------
    52 // -------------------------------------------------------------------------------------------------
    53 // CMediaClientVideoDisplay::RemoveSurface()
    53 // CMediaClientVideoDisplay::RemoveSurface()
    54 // -------------------------------------------------------------------------------------------------
    54 // -------------------------------------------------------------------------------------------------
    55 //
    55 //
    56 void CMediaClientVideoDisplay::RemoveSurface()	
    56 void CMediaClientVideoDisplay::RemoveSurface()
    57 {
    57 {
    58 }
    58 }
    59 
    59 
    60 // -------------------------------------------------------------------------------------------------
    60 // -------------------------------------------------------------------------------------------------
    61 // CMediaClientVideoDisplay::RemoveSurface()
    61 // CMediaClientVideoDisplay::RemoveSurface()
    62 // -------------------------------------------------------------------------------------------------
    62 // -------------------------------------------------------------------------------------------------
    63 //
    63 //
    64 void CMediaClientVideoDisplay::AddDisplayWindowL(const RWindowBase* /*aWindow*/, 
    64 void CMediaClientVideoDisplay::AddDisplayWindowL(const RWindowBase* /*aWindow*/,
    65 	                                               const TRect& /*aClipRect*/, 
    65 	                                               const TRect& /*aClipRect*/,
    66 	                                               const TRect& /*aCropRegion*/,
    66 	                                               const TRect& /*aCropRegion*/,
    67 							                                   const TRect& /*aVideoExtent*/, 
    67 							                                   const TRect& /*aVideoExtent*/,
    68 							                                   TReal32 /*aScaleWidth*/, 
    68 							                                   TReal32 /*aScaleWidth*/,
    69 							                                   TReal32 /*aScaleHeight*/,
    69 							                                   TReal32 /*aScaleHeight*/,
    70 							                                   TVideoRotation /*aRotation*/, 
    70 							                                   TVideoRotation /*aRotation*/,
    71 							                                   TAutoScaleType /*aAutoScaleType*/, 
    71 							                                   TAutoScaleType /*aAutoScaleType*/,
    72 							                                   TInt /*aHorizPos*/, 
    72 							                                   TInt /*aHorizPos*/,
    73 							                                   TInt /*aVertPos*/, 
    73 							                                   TInt /*aVertPos*/,
    74 							                                   RWindow* /*aWindow2*/)	
    74 							                                   RWindow* /*aWindow2*/)
    75 {
    75 {
    76 }
    76 }
    77 
    77 
    78 // -------------------------------------------------------------------------------------------------
    78 // -------------------------------------------------------------------------------------------------
    79 // CMediaClientVideoDisplay::RemoveSurface()
    79 // CMediaClientVideoDisplay::RemoveSurface()
    80 // -------------------------------------------------------------------------------------------------
    80 // -------------------------------------------------------------------------------------------------
    81 //
    81 //
    82 TInt CMediaClientVideoDisplay::SurfaceCreated(const TSurfaceId& /*aSurfaceId*/, 
    82 TInt CMediaClientVideoDisplay::SurfaceCreated(const TSurfaceId& /*aSurfaceId*/,
    83 	                                            const TRect& /*aCropRect*/, 
    83 	                                            const TRect& /*aCropRect*/,
    84 	                                            TVideoAspectRatio /*aAspectRatio*/, 
    84 	                                            TVideoAspectRatio /*aAspectRatio*/,
    85 	                                            const TRect& /*aCropRegion*/)	
    85 	                                            const TRect& /*aCropRegion*/)
    86 {
    86 {
    87     return KErrNone;
    87     return KErrNone;
    88 }
    88 }
    89 
    89 
    90 
    90 
    91 // -------------------------------------------------------------------------------------------------
    91 // -------------------------------------------------------------------------------------------------
    92 // CMediaClientVideoDisplay::RemoveSurface()
    92 // CMediaClientVideoDisplay::RemoveSurface()
    93 // -------------------------------------------------------------------------------------------------
    93 // -------------------------------------------------------------------------------------------------
    94 //
    94 //
    95 TInt CMediaClientVideoDisplay::SurfaceParametersChanged(const TSurfaceId& /*aSurfaceId*/, 
    95 TInt CMediaClientVideoDisplay::SurfaceParametersChanged(const TSurfaceId& /*aSurfaceId*/,
    96 	                                                      const TRect& /*aCropRect*/, 
    96 	                                                      const TRect& /*aCropRect*/,
    97 	                                                      TVideoAspectRatio /*aAspectRatio*/)
    97 	                                                      TVideoAspectRatio /*aAspectRatio*/)
    98 {
    98 {
    99     return KErrNone;	
    99     return KErrNone;
   100 }	
   100 }
   101 	
   101 
   102 
   102 
   103 // -------------------------------------------------------------------------------------------------
   103 // -------------------------------------------------------------------------------------------------
   104 // CMediaClientVideoDisplay::RemoveSurface()
   104 // CMediaClientVideoDisplay::RemoveSurface()
   105 // -------------------------------------------------------------------------------------------------
   105 // -------------------------------------------------------------------------------------------------
   106 //
   106 //
   107 TInt CMediaClientVideoDisplay::RedrawWindows(const TRect& /*aCropRegion*/)
   107 TInt CMediaClientVideoDisplay::RedrawWindows(const TRect& /*aCropRegion*/)
   108 {
   108 {
   109     return KErrNone;
   109     return KErrNone;
   110 }							
   110 }
   111 
   111 
   112 
   112 
   113 // -------------------------------------------------------------------------------------------------
   113 // -------------------------------------------------------------------------------------------------
   114 // CMediaClientVideoDisplay::RemoveSurface()
   114 // CMediaClientVideoDisplay::RemoveSurface()
   115 // -------------------------------------------------------------------------------------------------
   115 // -------------------------------------------------------------------------------------------------
   116 //
   116 //
   117 void CMediaClientVideoDisplay::SetVideoExtentL(const RWindowBase& /*aWindow*/, 
   117 void CMediaClientVideoDisplay::SetVideoExtentL(const RWindowBase& /*aWindow*/,
   118 	                                             const TRect& /*aVideoExtent*/, 
   118 	                                             const TRect& aVideoExtent,
   119 	                                             const TRect& /*aCropRegion*/)
   119 	                                             const TRect& /*aCropRegion*/)
   120 {
   120 {
   121 }	
   121     iVideoExtent = aVideoExtent;
   122 	
   122 }
   123 	
   123 
       
   124 
   124 // -------------------------------------------------------------------------------------------------
   125 // -------------------------------------------------------------------------------------------------
   125 // CMediaClientVideoDisplay::RemoveSurface()
   126 // CMediaClientVideoDisplay::RemoveSurface()
   126 // -------------------------------------------------------------------------------------------------
   127 // -------------------------------------------------------------------------------------------------
   127 //
   128 //
   128 void CMediaClientVideoDisplay::SetAutoScaleL(TAutoScaleType /*aScaleType*/, 
   129 void CMediaClientVideoDisplay::SetAutoScaleL(TAutoScaleType /*aScaleType*/,
   129 	                                           TInt /*aHorizPos*/, 
   130 	                                           TInt /*aHorizPos*/,
   130 	                                           TInt /*aVertPos*/, 
   131 	                                           TInt /*aVertPos*/,
   131 	                                           const TRect& /*aCropRegion*/)
   132 	                                           const TRect& /*aCropRegion*/)
   132 {
   133 {
   133 }	
   134 }
   134 	
   135 
   135 	
       
   136 // EOF
   136 // EOF