sl@0: /* sl@0: * Copyright (c) 2005 Nokia Corporation and/or its subsidiary(-ies). sl@0: * All rights reserved. sl@0: * This component and the accompanying materials are made available sl@0: * under the terms of "Eclipse Public License v1.0" sl@0: * which accompanies this distribution, and is available sl@0: * at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: * sl@0: * Initial Contributors: sl@0: * Nokia Corporation - initial contribution. sl@0: * sl@0: * Contributors: sl@0: * sl@0: * Description: Video play reclaim external buffers custom interface. sl@0: * sl@0: */ sl@0: sl@0: sl@0: sl@0: #ifndef DEVVIDEORECLAIMEXTBUFFERSCUSTOMINTERFACE_H sl@0: #define DEVVIDEORECLAIMEXTBUFFERSCUSTOMINTERFACE_H sl@0: sl@0: sl@0: #include sl@0: sl@0: /** sl@0: DevVideo Reclaim External Buffers Custom Interface UID. sl@0: sl@0: @publishedPartner sl@0: @prototype sl@0: */ sl@0: const TUid KUidMMFVideoReclaimExtBuffersControl = { 0x10204C33 }; sl@0: sl@0: /** sl@0: Video play reclaim external buffers custom interface. This interface is used in situation sl@0: when the buffers used at the output of the decoder are shared with the rest of the sl@0: pipeline (post-processor and display-posting surface). This interface can be used by a sl@0: decoder H/W device to signal the situations when buffers will be unavailable to sl@0: the rest of the pipeline. Typically implemented by the post processor and used by a decoder. sl@0: sl@0: sl@0: @publishedPartner sl@0: @prototype sl@0: */ sl@0: class MMmfVideoReclaimExtBuffersControl sl@0: { sl@0: public: sl@0: sl@0: /** sl@0: This method is called when the owner of the buffers needs to free the buffers. sl@0: In order to do it in a clean way it needs to notify this to the other parties using the buffers sl@0: @param sl@0: */ sl@0: virtual void MmvrebReclaimExtBuffers() = 0; sl@0: sl@0: }; sl@0: sl@0: sl@0: #endif // DEVVIDEORECLAIMEXTBUFFERSCUSTOMINTERFACE_H sl@0: