epoc32/include/mmf/devvideo/videoplayhwdevice.h
branchSymbian3
changeset 4 837f303aceeb
parent 2 2fe1408b6811
equal deleted inserted replaced
3:e1b950c65cb4 4:837f303aceeb
     1 // Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 //
     7 //
     8 // Initial Contributors:
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
     9 // Nokia Corporation - initial contribution.
    10 //
    10 //
    11 // Contributors:
    11 // Contributors:
    16 #ifndef __VIDEOPLAYHWDEVICE_H__
    16 #ifndef __VIDEOPLAYHWDEVICE_H__
    17 #define __VIDEOPLAYHWDEVICE_H__
    17 #define __VIDEOPLAYHWDEVICE_H__
    18 
    18 
    19 #include <mmf/devvideo/devvideobase.h>
    19 #include <mmf/devvideo/devvideobase.h>
    20 #include <mmf/devvideo/devvideoplay.h>
    20 #include <mmf/devvideo/devvideoplay.h>
       
    21 #include <mmf/common/mmfvideo.h>
    21 
    22 
    22 /**
    23 /**
    23 A base class for all video playback (decoder and post-processor) hardware devices. 
    24 A base class for all video playback (decoder and post-processor) hardware devices. 
    24 Since both decoders and post-processors can implement post-processing functionality, 
    25 Since both decoders and post-processors can implement post-processing functionality, 
    25 this class includes all post-processing related methods. The main difference between decoder 
    26 this class includes all post-processing related methods. The main difference between decoder 
   883 	@leave	"This method may leave with one of the system-wide error codes."
   884 	@leave	"This method may leave with one of the system-wide error codes."
   884 	@pre	"This method can only be called after the hwdevice has been initialized with Initialize()."
   885 	@pre	"This method can only be called after the hwdevice has been initialized with Initialize()."
   885 	*/
   886 	*/
   886 	virtual void ScanAndCopyCodedDataL(TPtr8 aCodedData, TVideoInputBuffer* aBuffer, TInt& aConsumed, TFramePortion aPortion = EFramePortionUnknown) = 0;
   887 	virtual void ScanAndCopyCodedDataL(TPtr8 aCodedData, TVideoInputBuffer* aBuffer, TInt& aConsumed, TFramePortion aPortion = EFramePortionUnknown) = 0;
   887 	};
   888 	};
   888 	
       
   889 
   889 
   890 inline void CMMFVideoDecodeHwDevice::ConfigureDecoderL(const TVideoPictureHeader& /*aVideoPictureHeader*/) 
   890 inline void CMMFVideoDecodeHwDevice::ConfigureDecoderL(const TVideoPictureHeader& /*aVideoPictureHeader*/) 
   891 	{
   891 	{
   892 	User::Leave(KErrNotSupported);
   892 	User::Leave(KErrNotSupported);
   893 	}
   893 	}