X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fvp3data.h;h=904ec6abf58073e2c031bb67c09ab6f873cdab9d;hb=c67278098def4438fc587744f5df1c147bc95dc3;hp=51cbae8dbca0f2ab86710500ded09c7e35a27427;hpb=115329f16062074e11ccf3b89ead6176606c9696;p=ffmpeg diff --git a/libavcodec/vp3data.h b/libavcodec/vp3data.h index 51cbae8dbca..904ec6abf58 100644 --- a/libavcodec/vp3data.h +++ b/libavcodec/vp3data.h @@ -1,5 +1,28 @@ -#ifndef VP3DATA_H -#define VP3DATA_H +/* + * copyright (C) 2003 the ffmpeg project + * + * This file is part of FFmpeg. + * + * FFmpeg is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * FFmpeg is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with FFmpeg; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ + +#ifndef AVCODEC_VP3DATA_H +#define AVCODEC_VP3DATA_H + +#include +#include /* these coefficients dequantize intraframe Y plane coefficients * (note: same as JPEG) */ @@ -61,7 +84,7 @@ static const uint32_t vp31_ac_scale_factor[64] = 21, 19, 18, 17, 15, 13, 12, 10 }; -static const uint32_t vp31_filter_limit_values[64] = +static const uint8_t vp31_filter_limit_values[64] = { 30, 25, 20, 20, 15, 15, 14, 14, 13, 13, 12, 12, 11, 11, 10, 10, 9, 9, 8, 8, 7, 7, 7, 7, @@ -382,7 +405,7 @@ static const int16_t coeff_table_token_22[1024] = { -573, -574, -575, -576, -577, -578, -579, -580 }; -static const int16_t *coeff_tables[32] = { +static const int16_t *const coeff_tables[32] = { NULL, NULL, NULL, @@ -3155,4 +3178,4 @@ static const uint16_t ac_bias_3[16][32][2] = { } }; -#endif /* VP3DATA_H */ +#endif /* AVCODEC_VP3DATA_H */