avcodec/vp3data: Deduplicate coeff_tables

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
This commit is contained in:
Andreas Rheinhardt 2021-01-03 01:42:13 +01:00
parent 0a493ac0ca
commit 241cb4a48c
1 changed files with 3 additions and 4 deletions

View File

@ -179,8 +179,7 @@ static const int16_t coeff_table_token_15[2] = { 5, -5 };
static const int16_t coeff_table_token_16[2] = { 6, -6 };
static const int16_t coeff_table_token_23_24_25_26_27_28_29[2] = { 1, -1 };
static const int16_t coeff_table_token_30[4] = { 2, 3, -2, -3 };
static const int16_t coeff_table_token_31[4] = { 2, 3, -2, -3 };
static const int16_t coeff_table_token_30_31[4] = { 2, 3, -2, -3 };
static const int16_t coeff_table_token_17[4] = {
7, 8, -7, -8
@ -377,8 +376,8 @@ static const int16_t *const coeff_tables[32] = {
coeff_table_token_23_24_25_26_27_28_29,
coeff_table_token_23_24_25_26_27_28_29,
coeff_table_token_23_24_25_26_27_28_29,
coeff_table_token_30,
coeff_table_token_31
coeff_table_token_30_31,
coeff_table_token_30_31
};
static const uint8_t vp3_bias[5 * 16][32][2] = {