mirror of
https://github.com/xiph/opus.git
synced 2025-05-16 16:38:30 +00:00
Fix whitespace errors
This commit is contained in:
parent
9ec1683f32
commit
8dc345fe59
4 changed files with 3 additions and 7 deletions
|
@ -168,7 +168,7 @@ AC_ARG_ENABLE([neural-fec],
|
|||
|
||||
AS_IF([test "$enable_neural_fec" = "yes"],[
|
||||
AC_DEFINE([ENABLE_NEURAL_FEC], [1], [Neural FEC])
|
||||
])
|
||||
])
|
||||
|
||||
AC_ARG_ENABLE([neural-plc],
|
||||
[AS_HELP_STRING([--enable-neural-plc], [Use neural PLC for SILK])],,
|
||||
|
|
|
@ -126,7 +126,6 @@ void dred_decode_state(ec_enc *dec, float *x) {
|
|||
{
|
||||
x[k] = iy[k] * norm;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
void dred_decode_latents(ec_dec *dec, float *x, const opus_uint16 *scale, const opus_uint16 *r, const opus_uint16 *p0) {
|
||||
|
@ -155,7 +154,7 @@ int main()
|
|||
opus_int16 p0[LATENT_DIM];
|
||||
unsigned char *ptr;
|
||||
int k;
|
||||
|
||||
|
||||
for (k=0;k<LATENT_DIM;k++) {
|
||||
scale[k] = 256;
|
||||
dzone[k] = 0;
|
||||
|
@ -192,7 +191,7 @@ int main()
|
|||
ec_dec_init(&dec,ec_get_buffer(&enc),bytes);
|
||||
for (iter=0;iter<1;iter++) {
|
||||
float x[PVQ_DIM];
|
||||
dred_decode_state(&dec, x);
|
||||
dred_decode_state(&dec, x);
|
||||
}
|
||||
for (iter=0;iter<1;iter++) {
|
||||
float x[LATENT_DIM];
|
||||
|
|
|
@ -79,5 +79,3 @@ int dred_ec_decode(OpusDRED *dec, const opus_uint8 *bytes, int num_bytes, int mi
|
|||
dec->nb_latents = i/2;
|
||||
return i/2;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -87,7 +87,6 @@ opus_int32 skip_extension(const unsigned char **data, opus_int32 len, opus_int32
|
|||
} else {
|
||||
return -1;
|
||||
}
|
||||
|
||||
return len;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue