X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Frv30data.h;h=5ee304802c7ca8b35902517d06c00485ef279149;hb=0249144a1c5ca6054e4b7374b5dd24bcbe435239;hp=98ccb352d1d5f4b4831909681c90aa5724643c9b;hpb=c47e20e621fcb85ba6ae925f099fb40cfff6812b;p=ffmpeg diff --git a/libavcodec/rv30data.h b/libavcodec/rv30data.h index 98ccb352d1d..5ee304802c7 100644 --- a/libavcodec/rv30data.h +++ b/libavcodec/rv30data.h @@ -2,30 +2,30 @@ * RealVideo 3 decoder * copyright (c) 2007 Konstantin Shishkov * - * This file is part of FFmpeg. + * This file is part of Libav. * - * FFmpeg is free software; you can redistribute it and/or + * Libav 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, + * Libav 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 + * License along with Libav; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ /** - * @file rv30data.h + * @file * miscellaneous RV30 tables */ -#ifndef FFMPEG_RV30DATA_H -#define FFMPEG_RV30DATA_H +#ifndef AVCODEC_RV30DATA_H +#define AVCODEC_RV30DATA_H #include @@ -171,4 +171,11 @@ static const uint8_t rv30_itype_from_context[900] = { 2, 7, 8, 4, 0, 6, 1, 5, 3, 2, 8, 3, 0, 7, 4, 1, 6, 5, }; -#endif /* FFMPEG_RV30DATA_H */ + +/** + * Loop filter limits are taken from this table. + */ +static const uint8_t rv30_loop_filt_lim[32] = { + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5 +}; +#endif /* AVCODEC_RV30DATA_H */