• Main Page
  • Related Pages
  • Modules
  • Data Structures
  • Files
  • File List
  • Globals

libavcodec/aandcttab.c

Go to the documentation of this file.
00001 /*
00002  * This file is part of FFmpeg.
00003  *
00004  * FFmpeg is free software; you can redistribute it and/or
00005  * modify it under the terms of the GNU Lesser General Public
00006  * License as published by the Free Software Foundation; either
00007  * version 2.1 of the License, or (at your option) any later version.
00008  *
00009  * FFmpeg is distributed in the hope that it will be useful,
00010  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00012  * Lesser General Public License for more details.
00013  *
00014  * You should have received a copy of the GNU Lesser General Public
00015  * License along with FFmpeg; if not, write to the Free Software
00016  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
00017  */
00018 
00024 #include <stdint.h>
00025 
00026 const uint16_t ff_aanscales[64] = {
00027     /* precomputed values scaled up by 14 bits */
00028     16384, 22725, 21407, 19266, 16384, 12873,  8867,  4520,
00029     22725, 31521, 29692, 26722, 22725, 17855, 12299,  6270,
00030     21407, 29692, 27969, 25172, 21407, 16819, 11585,  5906,
00031     19266, 26722, 25172, 22654, 19266, 15137, 10426,  5315,
00032     16384, 22725, 21407, 19266, 16384, 12873,  8867,  4520,
00033     12873, 17855, 16819, 15137, 12873, 10114,  6967,  3552,
00034     8867 , 12299, 11585, 10426,  8867,  6967,  4799,  2446,
00035     4520 ,  6270,  5906,  5315,  4520,  3552,  2446,  1247
00036 };
00037 
00038 const uint16_t ff_inv_aanscales[64] = {
00039   4096,  2953,  3135,  3483,  4096,  5213,  7568, 14846,
00040   2953,  2129,  2260,  2511,  2953,  3759,  5457, 10703,
00041   3135,  2260,  2399,  2666,  3135,  3990,  5793, 11363,
00042   3483,  2511,  2666,  2962,  3483,  4433,  6436, 12625,
00043   4096,  2953,  3135,  3483,  4096,  5213,  7568, 14846,
00044   5213,  3759,  3990,  4433,  5213,  6635,  9633, 18895,
00045   7568,  5457,  5793,  6436,  7568,  9633, 13985, 27432,
00046  14846, 10703, 11363, 12625, 14846, 18895, 27432, 53809,
00047 };

Generated on Fri Sep 16 2011 17:17:33 for FFmpeg by  doxygen 1.7.1