createCB.h

Go to the documentation of this file.
00001 
00002    /******************************************************************
00003 
00004        iLBC Speech Coder ANSI-C Source Code
00005 
00006        createCB.h
00007 
00008        Copyright (C) The Internet Society (2004).
00009        All Rights Reserved.
00010 
00011    ******************************************************************/
00012 
00013    #ifndef __iLBC_CREATECB_H
00014    #define __iLBC_CREATECB_H
00015 
00016    void filteredCBvecs(
00017        float *cbvectors,   /* (o) Codebook vector for the
00018                                   higher section */
00019 
00020 
00021 
00022 
00023 
00024        float *mem,         /* (i) Buffer to create codebook
00025                                   vectors from */
00026        int lMem        /* (i) Length of buffer */
00027    );
00028 
00029    void searchAugmentedCB(
00030        int low,        /* (i) Start index for the search */
00031        int high,           /* (i) End index for the search */
00032        int stage,          /* (i) Current stage */
00033        int startIndex,     /* (i) CB index for the first
00034                                   augmented vector */
00035        float *target,      /* (i) Target vector for encoding */
00036        float *buffer,      /* (i) Pointer to the end of the
00037                                   buffer for augmented codebook
00038                                   construction */
00039        float *max_measure, /* (i/o) Currently maximum measure */
00040        int *best_index,/* (o) Currently the best index */
00041        float *gain,    /* (o) Currently the best gain */
00042        float *energy,      /* (o) Energy of augmented
00043                                   codebook vectors */
00044        float *invenergy/* (o) Inv energy of aug codebook
00045                                   vectors */
00046    );
00047 
00048    void createAugmentedVec(
00049        int index,          /* (i) Index for the aug vector
00050                                   to be created */
00051        float *buffer,      /* (i) Pointer to the end of the
00052                                   buffer for augmented codebook
00053                                   construction */
00054        float *cbVec    /* (o) The construced codebook vector */
00055    );
00056 
00057    #endif
00058 

Generated on Thu Apr 16 06:27:32 2015 for Asterisk - The Open Source Telephony Project by  doxygen 1.5.6