mmplugins/lib3gp/impl/inc/mp4buffer.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 15 Jul 2010 20:22:56 +0300
branchRCL_3
changeset 39 3f0ddfac3ede
parent 0 40261b775718
permissions -rw-r--r--
Revision: 201024 Kit: 2010127

// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
// which accompanies this distribution, and is available
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
//
// Initial Contributors:
// Nokia Corporation - initial contribution.
//
// Contributors:
//
// Description:
//

#ifndef _MP4BUFFER_H
#define _MP4BUFFER_H

#include <3gplibrary/mp4config.h>
#include <3gplibrary/mp4lib.h>

mp4_i32 addData(MP4HandleImp handle, mp4_u8 *buffer, mp4_u32 bytestowrite);
mp4_u32 getBufferedBytes(MP4HandleImp handle);
mp4_u32 getCumulativeBufferedBytes(MP4HandleImp handle);
mp4_i32 readData(MP4HandleImp handle, mp4_u8 *buffer, mp4_u32 bytestoread);
mp4_i32 peekData(MP4HandleImp handle, mp4_u8 *buffer, mp4_u32 bytestoread);
mp4_i32 discardData(MP4HandleImp handle, mp4_i32 bytesToDiscard);

#endif
// End of File