sl@0: // Copyright (c) 2000-2009 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: sl@0: // sl@0: sl@0: #ifndef _CODEC_H sl@0: #define _CODEC_H sl@0: sl@0: #include "types.h" sl@0: sl@0: class CGSM610FR_Encoder; sl@0: class CGSM610FR_Decoder; sl@0: sl@0: void LPC_analysis( CGSM610FR_Encoder* aEncoder, int2 sop[], struct codes *ecodes ); sl@0: int2 residual_encoder( CGSM610FR_Encoder* aEncoder, int sf_nro, int2 d[], struct sfcodes *sfc ); sl@0: void residual_decoder( CGSM610FR_Decoder* aDecoder, int sf_nro, struct sfcodes *sfc, int2 obuf[] ); sl@0: void LPC_synthesis( CGSM610FR_Decoder* aDecoder, struct codes *dcodes, int2 wt[], int2 obuf[] ); sl@0: void RPELTP_encoder( CGSM610FR_Encoder* aEncoder, int2 ibuf[], struct codes *ecodes ); sl@0: void RPELTP_decoder( CGSM610FR_Decoder* aDecoder, struct codes *dcodes, int2 obuf[] ); sl@0: sl@0: #endif