mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-12-24 11:52:06 +08:00
adding a few const
Originally committed as revision 4337 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -1799,20 +1799,20 @@ static const uint8_t v2_intra_cbpc[4][2] = {
|
||||
{1, 1}, {0, 3}, {1, 3}, {1, 2},
|
||||
};
|
||||
|
||||
static uint8_t wmv1_y_dc_scale_table[32]={
|
||||
static const uint8_t wmv1_y_dc_scale_table[32]={
|
||||
// 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31
|
||||
0, 8, 8, 8, 8, 8, 9, 9,10,10,11,11,12,12,13,13,14,14,15,15,16,16,17,17,18,18,19,19,20,20,21,21
|
||||
};
|
||||
static uint8_t wmv1_c_dc_scale_table[32]={
|
||||
static const uint8_t wmv1_c_dc_scale_table[32]={
|
||||
// 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31
|
||||
0, 8, 8, 8, 8, 9, 9,10,10,11,11,12,12,13,13,14,14,15,15,16,16,17,17,18,18,19,19,20,20,21,21,22
|
||||
};
|
||||
|
||||
static uint8_t old_ff_y_dc_scale_table[32]={
|
||||
static const uint8_t old_ff_y_dc_scale_table[32]={
|
||||
// 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
||||
0, 8, 8, 8, 8,10,12,14,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39
|
||||
};
|
||||
static uint8_t old_ff_c_dc_scale_table[32]={
|
||||
static const uint8_t old_ff_c_dc_scale_table[32]={
|
||||
// 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
||||
0, 8, 8, 8, 8, 9, 9,10,10,11,11,12,12,13,13,14,14,15,15,16,16,17,17,18,18,19,19,20,20,21,21,22
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user