mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01:00
avcodec/mlpenc: allow smaller shift for LPC
This commit is contained in:
parent
b206056c82
commit
c1053e2e35
1 changed files with 2 additions and 2 deletions
|
|
@ -45,7 +45,7 @@
|
|||
|
||||
#define MLP_MIN_LPC_ORDER 1
|
||||
#define MLP_MAX_LPC_ORDER 8
|
||||
#define MLP_MIN_LPC_SHIFT 8
|
||||
#define MLP_MIN_LPC_SHIFT 0
|
||||
#define MLP_MAX_LPC_SHIFT 15
|
||||
|
||||
typedef struct RestartHeader {
|
||||
|
|
@ -1308,7 +1308,7 @@ static void set_filter_params(MLPEncodeContext *ctx,
|
|||
ctx->lpc_coeff_precision,
|
||||
coefs, shift, ctx->lpc_type, ctx->lpc_passes,
|
||||
ctx->prediction_order, MLP_MIN_LPC_SHIFT,
|
||||
MLP_MAX_LPC_SHIFT, MLP_MIN_LPC_SHIFT);
|
||||
MLP_MAX_LPC_SHIFT, 0);
|
||||
|
||||
fp->order = order;
|
||||
fp->shift = shift[order-1];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue