mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-25 04:01:55 +00:00
Removal of numerous trailing spaces, to tidy up spandsp in line with the master
version.
This commit is contained in:
parent
4e812bb263
commit
93bb5ca5c7
@ -48,7 +48,6 @@ void compute_raised_cosine_filter(double coeffs[],
|
|||||||
|
|
||||||
void compute_hilbert_transform(double coeffs[], int len);
|
void compute_hilbert_transform(double coeffs[], int len);
|
||||||
|
|
||||||
|
|
||||||
#if defined(__cplusplus)
|
#if defined(__cplusplus)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
@ -550,8 +550,7 @@ void lpc10_analyse(lpc10_encode_state_t *s, float speech[], int32_t voice[], int
|
|||||||
20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34,
|
20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34,
|
||||||
35, 36, 37, 38, 39, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58,
|
35, 36, 37, 38, 39, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58,
|
||||||
60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 80, 84, 88, 92, 96,
|
60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 80, 84, 88, 92, 96,
|
||||||
100, 104, 108, 112, 116, 120, 124, 128, 132, 136, 140, 144,
|
100, 104, 108, 112, 116, 120, 124, 128, 132, 136, 140, 144, 148, 152, 156
|
||||||
148, 152, 156
|
|
||||||
};
|
};
|
||||||
static const int32_t buflim[4] =
|
static const int32_t buflim[4] =
|
||||||
{
|
{
|
||||||
|
@ -114,7 +114,8 @@ static void bsynz(lpc10_decode_state_t *s,
|
|||||||
static const int32_t kexc[25] =
|
static const int32_t kexc[25] =
|
||||||
{
|
{
|
||||||
8, -16, 26, -48, 86, -162, 294, -502, 718, -728, 184,
|
8, -16, 26, -48, 86, -162, 294, -502, 718, -728, 184,
|
||||||
672, -610, -672, 184, 728, 718, 502, 294, 162, 86, 48, 26, 16, 8
|
672, -610, -672, 184, 728, 718, 502, 294, 162, 86, 48,
|
||||||
|
26, 16, 8
|
||||||
};
|
};
|
||||||
int32_t i;
|
int32_t i;
|
||||||
int32_t j;
|
int32_t j;
|
||||||
|
@ -114,8 +114,7 @@ static int encode(lpc10_encode_state_t *s,
|
|||||||
19, 11, 27, 25, 29, 21, 23, 22, 30, 14, 15, 7, 39, 38, 46,
|
19, 11, 27, 25, 29, 21, 23, 22, 30, 14, 15, 7, 39, 38, 46,
|
||||||
42, 43, 41, 45, 37, 53, 49, 51, 50, 54, 52, 60, 56, 58, 26,
|
42, 43, 41, 45, 37, 53, 49, 51, 50, 54, 52, 60, 56, 58, 26,
|
||||||
90, 88, 92, 84, 86, 82, 83, 81, 85, 69, 77, 73, 75, 74, 78,
|
90, 88, 92, 84, 86, 82, 83, 81, 85, 69, 77, 73, 75, 74, 78,
|
||||||
70, 71, 67, 99, 97, 113, 112, 114, 98, 106, 104, 108, 100,
|
70, 71, 67, 99, 97, 113, 112, 114, 98, 106, 104, 108, 100, 101, 76
|
||||||
101, 76
|
|
||||||
};
|
};
|
||||||
static const int32_t enadd[8] =
|
static const int32_t enadd[8] =
|
||||||
{
|
{
|
||||||
@ -137,14 +136,14 @@ static int encode(lpc10_encode_state_t *s,
|
|||||||
};
|
};
|
||||||
static const int32_t rmst[64] =
|
static const int32_t rmst[64] =
|
||||||
{
|
{
|
||||||
1024, 936, 856, 784, 718, 656, 600, 550, 502,
|
1024, 936, 856, 784, 718, 656, 600, 550,
|
||||||
460, 420, 384, 352, 328, 294, 270, 246, 226,
|
502, 460, 420, 384, 352, 328, 294, 270,
|
||||||
206, 188, 172, 158, 144, 132, 120, 110, 102,
|
246, 226, 206, 188, 172, 158, 144, 132,
|
||||||
92, 84, 78, 70, 64, 60, 54, 50,
|
120, 110, 102, 92, 84, 78, 70, 64,
|
||||||
46, 42, 38, 34, 32, 30, 26, 24,
|
60, 54, 50, 46, 42, 38, 34, 32,
|
||||||
22, 20, 18, 17, 16, 15, 14, 13,
|
30, 26, 24, 22, 20, 18, 17, 16,
|
||||||
12, 11, 10, 9, 8, 7, 6, 5, 4,
|
15, 14, 13, 12, 11, 10, 9, 8,
|
||||||
3, 2, 1, 0
|
7, 6, 5, 4, 3, 2, 1, 0
|
||||||
};
|
};
|
||||||
|
|
||||||
int32_t idel;
|
int32_t idel;
|
||||||
|
@ -174,12 +174,10 @@ static int set_tiff_directory_info(t4_rx_state_t *s)
|
|||||||
case COMPRESSION_CCITT_T4:
|
case COMPRESSION_CCITT_T4:
|
||||||
TIFFSetField(t->tiff_file, TIFFTAG_T4OPTIONS, output_t4_options);
|
TIFFSetField(t->tiff_file, TIFFTAG_T4OPTIONS, output_t4_options);
|
||||||
TIFFSetField(t->tiff_file, TIFFTAG_FAXMODE, FAXMODE_CLASSF);
|
TIFFSetField(t->tiff_file, TIFFTAG_FAXMODE, FAXMODE_CLASSF);
|
||||||
TIFFSetField(t->tiff_file, TIFFTAG_ROWSPERSTRIP, -1L);
|
|
||||||
break;
|
break;
|
||||||
case COMPRESSION_CCITT_T6:
|
case COMPRESSION_CCITT_T6:
|
||||||
TIFFSetField(t->tiff_file, TIFFTAG_T6OPTIONS, 0);
|
TIFFSetField(t->tiff_file, TIFFTAG_T6OPTIONS, 0);
|
||||||
TIFFSetField(t->tiff_file, TIFFTAG_FAXMODE, FAXMODE_CLASSF);
|
TIFFSetField(t->tiff_file, TIFFTAG_FAXMODE, FAXMODE_CLASSF);
|
||||||
TIFFSetField(t->tiff_file, TIFFTAG_ROWSPERSTRIP, -1L);
|
|
||||||
break;
|
break;
|
||||||
case COMPRESSION_T85:
|
case COMPRESSION_T85:
|
||||||
TIFFSetField(t->tiff_file, TIFFTAG_FAXMODE, FAXMODE_CLASSF);
|
TIFFSetField(t->tiff_file, TIFFTAG_FAXMODE, FAXMODE_CLASSF);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user