mmplugins/lib3gp/impl/inc/mp4buffer.h
changeset 0 40261b775718
equal deleted inserted replaced
-1:000000000000 0:40261b775718
       
     1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 #ifndef _MP4BUFFER_H
       
    17 #define _MP4BUFFER_H
       
    18 
       
    19 #include <3gplibrary/mp4config.h>
       
    20 #include <3gplibrary/mp4lib.h>
       
    21 
       
    22 mp4_i32 addData(MP4HandleImp handle, mp4_u8 *buffer, mp4_u32 bytestowrite);
       
    23 mp4_u32 getBufferedBytes(MP4HandleImp handle);
       
    24 mp4_u32 getCumulativeBufferedBytes(MP4HandleImp handle);
       
    25 mp4_i32 readData(MP4HandleImp handle, mp4_u8 *buffer, mp4_u32 bytestoread);
       
    26 mp4_i32 peekData(MP4HandleImp handle, mp4_u8 *buffer, mp4_u32 bytestoread);
       
    27 mp4_i32 discardData(MP4HandleImp handle, mp4_i32 bytesToDiscard);
       
    28 
       
    29 #endif
       
    30 // End of File