videoeditorengine/mp3aacManipLib/MP3Gain/inc/mp3tool.h
author Mikael Laine <mikael.laine@ixonos.com>
Fri, 29 Jan 2010 14:08:33 +0200
changeset 0 951a5db380a0
permissions -rw-r--r--
Committing the Video Editor package under the Eclipse Public License

/*
* Copyright (c) 2010 Ixonos Plc.
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of the "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:
* Ixonos Plc
*
* Description:
*
*/


/**************************************************************************
  mp3tool.h - Interface to MP3 core structures.
 
  Author(s): Juha Ojanpera
  Copyright (c) 2004 by Nokia Research Center, Audio-Visual Systems.
  *************************************************************************/

#ifndef    MP3TOOL_H_
#define MP3TOOL_H_

/*-- Project Headers. --*/
#include "nok_bits.h"
#include "mpaud.h"

/*
 * Low level implementations for the mp3 engine. 
 */

/*-- Implementations defined in module 'layer3.cpp'. --*/
BOOL III_get_side_info(CMPAudDec *mp, TBitStream *bs);
void III_get_scale_factors(CMP_Stream *mp, int16 gr, int16 ch);
void L3WriteSideInfo(TBitStream *bs, CIII_Side_Info *sideInfo, TMPEG_Header *header);

/*-- Implementations defined in module 'l3huffman.cpp'. */ 
void InitL3Huffman(CHuffman *huf);
int16 III_huffman_decode(CMPAudDec *mp, int16 gr, int16 ch, int32 part2);

/*-- Implementations defined in module 'l3sfb.cpp'. */ 
void III_SfbDataInit(CIII_SfbData *sfbData, TMPEG_Header *header);

#endif    /*-- MP3TOOL_H_ --*/