summaryrefslogtreecommitdiffstats
path: root/thirdparties/win32/include/BroadVoice16/bv16
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparties/win32/include/BroadVoice16/bv16')
-rwxr-xr-xthirdparties/win32/include/BroadVoice16/bv16/bv16.h22
-rwxr-xr-xthirdparties/win32/include/BroadVoice16/bv16/bv16cnst.h4
-rwxr-xr-xthirdparties/win32/include/BroadVoice16/bv16/bv16externs.h138
-rwxr-xr-xthirdparties/win32/include/BroadVoice16/bv16/bv16strct.h108
-rwxr-xr-xthirdparties/win32/include/BroadVoice16/bv16/g192.h2
-rwxr-xr-xthirdparties/win32/include/BroadVoice16/bv16/postfilt.h12
6 files changed, 143 insertions, 143 deletions
diff --git a/thirdparties/win32/include/BroadVoice16/bv16/bv16.h b/thirdparties/win32/include/BroadVoice16/bv16/bv16.h
index 90f7973..685a476 100755
--- a/thirdparties/win32/include/BroadVoice16/bv16/bv16.h
+++ b/thirdparties/win32/include/BroadVoice16/bv16/bv16.h
@@ -20,28 +20,28 @@
/*****************************************************************************
- bv16.h :
+ bv16.h :
$Log$
******************************************************************************/
void Reset_BV16_Encoder(
-struct BV16_Encoder_State *cs);
+ struct BV16_Encoder_State *cs);
void BV16_Encode(
-struct BV16_Bit_Stream *bs,
-struct BV16_Encoder_State *cs,
-Word16 *inx);
+ struct BV16_Bit_Stream *bs,
+ struct BV16_Encoder_State *cs,
+ Word16 *inx);
void Reset_BV16_Decoder(
-struct BV16_Decoder_State *ds);
+ struct BV16_Decoder_State *ds);
void BV16_Decode(
-struct BV16_Bit_Stream *bs,
-struct BV16_Decoder_State *ds,
-Word16 *xq);
+ struct BV16_Bit_Stream *bs,
+ struct BV16_Decoder_State *ds,
+ Word16 *xq);
void BV16_PLC(
-struct BV16_Decoder_State *ds,
-Word16 *x);
+ struct BV16_Decoder_State *ds,
+ Word16 *x);
diff --git a/thirdparties/win32/include/BroadVoice16/bv16/bv16cnst.h b/thirdparties/win32/include/BroadVoice16/bv16/bv16cnst.h
index bd07214..b2a2eb0 100755
--- a/thirdparties/win32/include/BroadVoice16/bv16/bv16cnst.h
+++ b/thirdparties/win32/include/BroadVoice16/bv16/bv16cnst.h
@@ -37,7 +37,7 @@
#define MAXPP1 (MAXPP+1)/* MAXimum Pitch Period + 1 */
/* Quantization parameters */
-#define VDIM 4 /* excitation vector dimension */
+#define VDIM 4 /* excitation vector dimension */
#define CBSZ 16 /* excitation codebook size */
#define PPCBSZ 32 /* pitch predictor codebook size */
#define LGPORDER 8 /* Log-Gain Predictor OODER */
@@ -120,7 +120,7 @@
#define M2 MAXPPD1
#define HDECF (DECF/2)
-/* Front-end 150 Hz highpass filter */
+/* Front-end 150 Hz highpass filter */
#define HPO 2 /* High-pass filter order */
/* LPC weighting filter */
diff --git a/thirdparties/win32/include/BroadVoice16/bv16/bv16externs.h b/thirdparties/win32/include/BroadVoice16/bv16/bv16externs.h
index 6d7ce95..6bc8f3e 100755
--- a/thirdparties/win32/include/BroadVoice16/bv16/bv16externs.h
+++ b/thirdparties/win32/include/BroadVoice16/bv16/bv16externs.h
@@ -60,98 +60,98 @@ extern Word16 cccb[];
/* Function Prototypes */
Word32 estlevel(
-Word32 lg,
-Word32 *level,
-Word32 *lmax,
-Word32 *lmin,
-Word32 *lmean,
-Word32 *x1,
-Word16 ngfae,
-Word16 nggalgc,
-Word16 *estl_alpha_min); /* Q15 */
+ Word32 lg,
+ Word32 *level,
+ Word32 *lmax,
+ Word32 *lmin,
+ Word32 *lmean,
+ Word32 *x1,
+ Word16 ngfae,
+ Word16 nggalgc,
+ Word16 *estl_alpha_min); /* Q15 */
void excdec_w_synth(
-Word16 *xq, /* (o) Q0 quantized signal vector */
-Word16 *ltsym, /* (i/o) Q16 quantized excitation signal vector */
-Word16 *stsym, /* (i/o) Q0 short-term predictor memory */
-Word16 *idx, /* (o) quantizer codebook index for uq[] vector */
-Word16 *b, /* (i) Q15 coefficient of 3-tap pitch predictor */
-Word16 *cb, /* (i) Q0 codebook */
-Word16 pp, /* pitch period (# of 8 kHz samples) */
-Word16 *aq, /* (i) Q12 short-term predictor coefficients */
-Word16 gain_exp, /* gain_exp of current sub-frame */
-Word32 *EE
+ Word16 *xq, /* (o) Q0 quantized signal vector */
+ Word16 *ltsym, /* (i/o) Q16 quantized excitation signal vector */
+ Word16 *stsym, /* (i/o) Q0 short-term predictor memory */
+ Word16 *idx, /* (o) quantizer codebook index for uq[] vector */
+ Word16 *b, /* (i) Q15 coefficient of 3-tap pitch predictor */
+ Word16 *cb, /* (i) Q0 codebook */
+ Word16 pp, /* pitch period (# of 8 kHz samples) */
+ Word16 *aq, /* (i) Q12 short-term predictor coefficients */
+ Word16 gain_exp, /* gain_exp of current sub-frame */
+ Word32 *EE
);
Word32 gaindec(
-Word32 *lgq, /* Q25 */
-Word16 gidx,
-Word16 *lgpm, /* Q11 */
-Word32 *prevlg, /* Q25 */
-Word32 level, /* Q25 */
-Word16 *nggalgc,
-Word32 *lg_el);
+ Word32 *lgq, /* Q25 */
+ Word16 gidx,
+ Word16 *lgpm, /* Q11 */
+ Word32 *prevlg, /* Q25 */
+ Word32 level, /* Q25 */
+ Word16 *nggalgc,
+ Word32 *lg_el);
void gainplc(Word32 E, Word16 *lgeqm, Word32 *lgqm);
void lspdec(
-Word16 *lspq, /* Q15 */
-Word16 *lspidx,
-Word16 *lsppm, /* Q15 */
-Word16 *lspqlast);
+ Word16 *lspq, /* Q15 */
+ Word16 *lspidx,
+ Word16 *lsppm, /* Q15 */
+ Word16 *lspqlast);
void lspdecplc(
-Word16 *lspq, /* Q15 */
-Word16 *lsppm); /* Q15 */
+ Word16 *lspq, /* Q15 */
+ Word16 *lsppm); /* Q15 */
Word16 coarsepitch(
-Word16 *xw, /* (i) Q1 weighted low-band signal frame */
-struct BV16_Encoder_State *c); /* (i/o) coder state */
+ Word16 *xw, /* (i) Q1 weighted low-band signal frame */
+ struct BV16_Encoder_State *c); /* (i/o) coder state */
Word16 refinepitch(
-Word16 *x,
-Word16 cpp,
-Word16 *ppt);
+ Word16 *x,
+ Word16 cpp,
+ Word16 *ppt);
Word16 pitchtapquan(
-Word16 *x,
-Word16 pp,
-Word16 *b,
-Word32 *re);
+ Word16 *x,
+ Word16 pp,
+ Word16 *b,
+ Word32 *re);
void excquan(
-Word16 *idx, /* quantizer codebook index for uq[] vector */
-Word16 *s, /* (i) Q0 input signal vector */
-Word16 *aq, /* (i) Q12 noise feedback filter coefficient array */
-Word16 *fsz, /* (i) Q12 short-term noise feedback filter - numerator */
-Word16 *fsp, /* (i) Q12 short-term noise feedback filter - denominator */
-Word16 *b, /* (i) Q15 coefficient of 3-tap pitch predictor */
-Word16 beta, /* (i) Q13 coefficient of pitch feedback filter */
-Word16 *stsym, /* (i/o) Q0 filter memory */
-Word16 *ltsym, /* (i/0) Q0 long-term synthesis filter memory */
-Word16 *ltnfm, /* (i/o) Q0 long-term noise feedback filter memory */
-Word16 *stnfz, /* (i/o) Q0 filter memory */
-Word16 *stnfp, /* (i/o) Q0 filter memory */
-Word16 *cb, /* (i) scalar quantizer codebook - normalized by gain_exp */
-Word16 pp, /* pitch period (# of 8 kHz samples) */
-Word16 gain_exp
+ Word16 *idx, /* quantizer codebook index for uq[] vector */
+ Word16 *s, /* (i) Q0 input signal vector */
+ Word16 *aq, /* (i) Q12 noise feedback filter coefficient array */
+ Word16 *fsz, /* (i) Q12 short-term noise feedback filter - numerator */
+ Word16 *fsp, /* (i) Q12 short-term noise feedback filter - denominator */
+ Word16 *b, /* (i) Q15 coefficient of 3-tap pitch predictor */
+ Word16 beta, /* (i) Q13 coefficient of pitch feedback filter */
+ Word16 *stsym, /* (i/o) Q0 filter memory */
+ Word16 *ltsym, /* (i/0) Q0 long-term synthesis filter memory */
+ Word16 *ltnfm, /* (i/o) Q0 long-term noise feedback filter memory */
+ Word16 *stnfz, /* (i/o) Q0 filter memory */
+ Word16 *stnfp, /* (i/o) Q0 filter memory */
+ Word16 *cb, /* (i) scalar quantizer codebook - normalized by gain_exp */
+ Word16 pp, /* pitch period (# of 8 kHz samples) */
+ Word16 gain_exp
);
Word16 gainquan(
-Word32 *gainq, /* Q18 */
-Word32 *ee, /* Q3 */
-Word16 *lgpm, /* Q11 */
-Word32 *prevlg, /* Q25 */
-Word32 level); /* Q25 */
+ Word32 *gainq, /* Q18 */
+ Word32 *ee, /* Q3 */
+ Word16 *lgpm, /* Q11 */
+ Word32 *prevlg, /* Q25 */
+ Word32 level); /* Q25 */
void lspquan(
-Word16 *lspq,
-Word16 *lspidx,
-Word16 *lsp,
-Word16 *lsppm);
+ Word16 *lspq,
+ Word16 *lspidx,
+ Word16 *lsp,
+ Word16 *lsppm);
void preprocess(
-struct BV16_Encoder_State *cs,
-Word16 *output, /* (o) Q0 output signal, less factor 1.5 */
-Word16 *input, /* (i) Q0 input signal */
-Word16 N); /* length of signal */
+ struct BV16_Encoder_State *cs,
+ Word16 *output, /* (o) Q0 output signal, less factor 1.5 */
+ Word16 *input, /* (i) Q0 input signal */
+ Word16 N); /* length of signal */
diff --git a/thirdparties/win32/include/BroadVoice16/bv16/bv16strct.h b/thirdparties/win32/include/BroadVoice16/bv16/bv16strct.h
index d0877cb..974f8fe 100755
--- a/thirdparties/win32/include/BroadVoice16/bv16/bv16strct.h
+++ b/thirdparties/win32/include/BroadVoice16/bv16/bv16strct.h
@@ -29,66 +29,66 @@
#define BV16STRCT_H
struct BV16_Decoder_State {
-Word16 stsym[LPCO];
-Word16 ltsym[LTMOFF];
-Word16 xq[XQOFF];
-Word16 lsppm[LPCO*LSPPORDER];
-Word16 lgpm[LGPORDER];
-Word16 lsplast[LPCO];
-Word32 prevlg[2];
-Word32 lmax;
-Word32 lmin;
-Word32 lmean;
-Word32 x1;
-Word32 level;
-Word16 pp_last;
-Word16 cfecount;
-Word16 ngfae;
-Word16 bq_last[3];
-Word16 nggalgc;
-Word16 estl_alpha_min;
-UWord32 idum;
-Word16 per; /* Q15 */
-Word32 E;
-Word16 atplc[LPCO+1];
-Word16 ma_a;
-Word16 b_prv[2];
-Word16 pp_prv;
+ Word16 stsym[LPCO];
+ Word16 ltsym[LTMOFF];
+ Word16 xq[XQOFF];
+ Word16 lsppm[LPCO*LSPPORDER];
+ Word16 lgpm[LGPORDER];
+ Word16 lsplast[LPCO];
+ Word32 prevlg[2];
+ Word32 lmax;
+ Word32 lmin;
+ Word32 lmean;
+ Word32 x1;
+ Word32 level;
+ Word16 pp_last;
+ Word16 cfecount;
+ Word16 ngfae;
+ Word16 bq_last[3];
+ Word16 nggalgc;
+ Word16 estl_alpha_min;
+ UWord32 idum;
+ Word16 per; /* Q15 */
+ Word32 E;
+ Word16 atplc[LPCO+1];
+ Word16 ma_a;
+ Word16 b_prv[2];
+ Word16 pp_prv;
};
struct BV16_Encoder_State {
-Word32 prevlg[2];
-Word32 lmax;
-Word32 lmin;
-Word32 lmean;
-Word32 x1;
-Word32 level;
-Word16 x[XOFF]; /* Signal memory */
-Word16 xwd[XDOFF]; /* Memory of DECF:1 decimated version of xw() */
-Word16 xwd_exp; /* or block floating-point in coarptch.c */
-Word16 dq[XOFF]; /* Q0 - Quantized short-term pred error */
-Word16 dfm_h[DFO]; /* Decimated xwd() filter memory */
-Word16 dfm_l[DFO];
-Word16 stwpm[LPCO]; /* Q0 - Short-term weighting all-pole filter memory */
-Word16 stsym[LPCO]; /* Q0 - Short-term synthesis filter memory */
-Word16 stnfz[NSTORDER]; /* Q0 - Short-term noise feedback filter memory - zero section */
-Word16 stnfp[NSTORDER]; /* Q0 - Short-term noise feedback filter memory - pole section */
-Word16 ltnfm[MAXPP1]; /* Q0 - Long-term noise feedback filter memory */
-Word16 lsplast[LPCO];
-Word16 lsppm[LPCO*LSPPORDER]; /* Q15 - LSP Predictor Memory */
-Word16 lgpm[LGPORDER]; /* Q11 - Log-Gain Predictor Memory */
-Word16 cpplast; /* Pitch period pf the previous frame */
-Word16 hpfzm[HPO];
-Word16 hpfpm[2*HPO];
-Word16 old_A[1+LPCO]; /* Q12 - LPC of previous frame */
+ Word32 prevlg[2];
+ Word32 lmax;
+ Word32 lmin;
+ Word32 lmean;
+ Word32 x1;
+ Word32 level;
+ Word16 x[XOFF]; /* Signal memory */
+ Word16 xwd[XDOFF]; /* Memory of DECF:1 decimated version of xw() */
+ Word16 xwd_exp; /* or block floating-point in coarptch.c */
+ Word16 dq[XOFF]; /* Q0 - Quantized short-term pred error */
+ Word16 dfm_h[DFO]; /* Decimated xwd() filter memory */
+ Word16 dfm_l[DFO];
+ Word16 stwpm[LPCO]; /* Q0 - Short-term weighting all-pole filter memory */
+ Word16 stsym[LPCO]; /* Q0 - Short-term synthesis filter memory */
+ Word16 stnfz[NSTORDER]; /* Q0 - Short-term noise feedback filter memory - zero section */
+ Word16 stnfp[NSTORDER]; /* Q0 - Short-term noise feedback filter memory - pole section */
+ Word16 ltnfm[MAXPP1]; /* Q0 - Long-term noise feedback filter memory */
+ Word16 lsplast[LPCO];
+ Word16 lsppm[LPCO*LSPPORDER]; /* Q15 - LSP Predictor Memory */
+ Word16 lgpm[LGPORDER]; /* Q11 - Log-Gain Predictor Memory */
+ Word16 cpplast; /* Pitch period pf the previous frame */
+ Word16 hpfzm[HPO];
+ Word16 hpfpm[2*HPO];
+ Word16 old_A[1+LPCO]; /* Q12 - LPC of previous frame */
};
struct BV16_Bit_Stream {
-Word16 lspidx[2];
-Word16 ppidx;
-Word16 bqidx;
-Word16 gidx;
-Word16 qvidx[FRSZ/VDIM];
+ Word16 lspidx[2];
+ Word16 ppidx;
+ Word16 bqidx;
+ Word16 gidx;
+ Word16 qvidx[FRSZ/VDIM];
};
#endif /* BV16STRCT_H */
diff --git a/thirdparties/win32/include/BroadVoice16/bv16/g192.h b/thirdparties/win32/include/BroadVoice16/bv16/g192.h
index c1562c2..bd6fe0a 100755
--- a/thirdparties/win32/include/BroadVoice16/bv16/g192.h
+++ b/thirdparties/win32/include/BroadVoice16/bv16/g192.h
@@ -20,7 +20,7 @@
/*****************************************************************************
- g192.h : BV16 G.192
+ g192.h : BV16 G.192
$Log$
******************************************************************************/
diff --git a/thirdparties/win32/include/BroadVoice16/bv16/postfilt.h b/thirdparties/win32/include/BroadVoice16/bv16/postfilt.h
index 5054148..b1fcbd3 100755
--- a/thirdparties/win32/include/BroadVoice16/bv16/postfilt.h
+++ b/thirdparties/win32/include/BroadVoice16/bv16/postfilt.h
@@ -26,9 +26,9 @@
******************************************************************************/
void postfilter(
-Word16 *s, /* input : quantized speech signal */
-Word16 pp, /* input : pitch period */
-Word16 *ma_a,
-Word16 *b_prv,
-Word16 *pp_prv,
-Word16 *e); /* output: enhanced speech signal */
+ Word16 *s, /* input : quantized speech signal */
+ Word16 pp, /* input : pitch period */
+ Word16 *ma_a,
+ Word16 *b_prv,
+ Word16 *pp_prv,
+ Word16 *e); /* output: enhanced speech signal */
OpenPOWER on IntegriCloud