1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/mm/mmhais/videohai/devvideo/inc/devvideohwdevicetunnelcustominterface.h Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,59 @@
1.4 +// Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
1.5 +// All rights reserved.
1.6 +// This component and the accompanying materials are made available
1.7 +// under the terms of "Eclipse Public License v1.0"
1.8 +// which accompanies this distribution, and is available
1.9 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.10 +//
1.11 +// Initial Contributors:
1.12 +// Nokia Corporation - initial contribution.
1.13 +//
1.14 +// Contributors:
1.15 +//
1.16 +// Description:
1.17 +//
1.18 +
1.19 +#ifndef DEVVIDEOHWDEVICETUNNELCUSTOMINTERFACE_H
1.20 +#define DEVVIDEOHWDEVICETUNNELCUSTOMINTERFACE_H
1.21 +
1.22 +#include <mmf/devvideo/devvideobase.h>
1.23 +
1.24 +/**
1.25 +KUidMmfVideoHwDeviceTunnel interface UID.
1.26 +
1.27 +@publishedPartner
1.28 +@released
1.29 +*/
1.30 +const TUid KUidMmfVideoHwDeviceTunnel = { 0x1028668C };
1.31 +
1.32 +/**
1.33 +HwDevice Tunneling custom interface.
1.34 +Controllers or other DevVideo clients can use this interface in order to setup
1.35 +a tunnel from one HwDevice to another. For instance this would allow a video
1.36 +decoder to be tunneled to a video encoder for transcoding use cases.
1.37 +
1.38 +Clients must query the HwDevice at both ends of the tunnel for the custom
1.39 +interface in order to ensure that both devices support tunneled operation.
1.40 +
1.41 +@publishedPartner
1.42 +@released
1.43 +*/
1.44 +class MMmfVideoHwDeviceTunnel
1.45 + {
1.46 +public:
1.47 + /**
1.48 + Get the instance of the HwDevice at this end of the tunnel.
1.49 +
1.50 + @return The HwDevice instance
1.51 + */
1.52 + virtual CMMFVideoHwDevice* MmvhdtHwDevice() = 0;
1.53 +
1.54 + /**
1.55 + Setup a tunnel to another HwDevice
1.56 +
1.57 + @param aHwDevice The HwDevice to setup the tunnel to
1.58 + */
1.59 + virtual void MmvhdtSetupTunnelL(CMMFVideoHwDevice* aHwDevice) = 0;
1.60 + };
1.61 +
1.62 +#endif // DEVVIDEOHWDEVICETUNNELCUSTOMINTERFACE_H