From da7e59b4ab0df41ebc5f2df98a587fd7e4764eda Mon Sep 17 00:00:00 2001 From: Vladimir Voroshilov Date: Thu, 21 Aug 2008 13:35:23 +0000 Subject: first and second stage LSP codebooks for G.729 Originally committed as revision 14883 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/g729data.h | 204 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 204 insertions(+) create mode 100644 libavcodec/g729data.h (limited to 'libavcodec') diff --git a/libavcodec/g729data.h b/libavcodec/g729data.h new file mode 100644 index 0000000000..66dc4d3ce6 --- /dev/null +++ b/libavcodec/g729data.h @@ -0,0 +1,204 @@ +/* + * data for G.729 decoder + * Copyright (c) 2007 Vladimir Voroshilov + * + * 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 FFMPEG_G729DATA_H +#define FFMPEG_G729DATA_H + +#include +#include "g729.h" + +/** + * first stage LSP codebook + * (10-dimensional, with 128 entries (3.24 of G.729) + */ +static const int16_t cb_lsp_1st[1<