Add a shift parameter to celp_lp_synthesis_filter for reuse by the G.723.1 decoder
This commit is contained in:
committed by
Michael Niedermayer
parent
ecf31a68fd
commit
bcc67dffa0
@@ -604,6 +604,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size,
|
||||
SUBFRAME_SIZE,
|
||||
10,
|
||||
1,
|
||||
0,
|
||||
0x800))
|
||||
/* Overflow occured, downscale excitation signal... */
|
||||
for (j = 0; j < 2 * SUBFRAME_SIZE + PITCH_DELAY_MAX + INTERPOL_LEN; j++)
|
||||
@@ -625,6 +626,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size,
|
||||
SUBFRAME_SIZE,
|
||||
10,
|
||||
0,
|
||||
0,
|
||||
0x800);
|
||||
} else {
|
||||
ff_celp_lp_synthesis_filter(
|
||||
@@ -634,6 +636,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size,
|
||||
SUBFRAME_SIZE,
|
||||
10,
|
||||
0,
|
||||
0,
|
||||
0x800);
|
||||
}
|
||||
/* Save data (without postfilter) for use in next subframe. */
|
||||
|
||||
Reference in New Issue
Block a user