summaryrefslogtreecommitdiffstats
path: root/thirdparties/win32/include/ilbc/iCBSearch.h
blob: f0fd843a847421c2f0200440b66d100622acaf29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/******************************************************************

    iLBC Speech Coder ANSI-C Source Code

    iCBSearch.h

    Copyright (C) The Internet Society (2004).
    All Rights Reserved.

******************************************************************/

#ifndef __iLBC_ICBSEARCH_H
#define __iLBC_ICBSEARCH_H







void iCBSearch(
    iLBC_Enc_Inst_t *iLBCenc_inst,
    /* (i) the encoder state structure */
    int *index,         /* (o) Codebook indices */
    int *gain_index,/* (o) Gain quantization indices */
    float *intarget,/* (i) Target vector for encoding */
    float *mem,         /* (i) Buffer for codebook construction */
    int lMem,           /* (i) Length of buffer */
    int lTarget,    /* (i) Length of vector */
    int nStages,    /* (i) Number of codebook stages */
    float *weightDenum, /* (i) weighting filter coefficients */
    float *weightState, /* (i) weighting filter state */
    int block           /* (i) the sub-block number */
);

#endif

OpenPOWER on IntegriCloud