~medibuntu-maintainers/ffmpeg/medibuntu.maverick

« back to all changes in this revision

Viewing changes to libavcodec/mpegaudio_tablegen.c

  • Committer: Gauvain Pocentek
  • Date: 2010-09-25 08:17:46 UTC
  • mfrom: (5.1.14 maverick)
  • Revision ID: gauvain@images-20100925081746-i08nj1jyzsx971cs
* Merge from maverick.
* debian/control:
  - update maintainer and uploaders
  - use our addresses in Vcs-* fields
  - build-depends on libfaac-dev, libopencore-amrnb-dev and
    libopencore-amrwb-dev to add aac encoding and amr support lp: #490227
  - recommends apport-hooks-medibuntu for lib*-extra-* to catch all bug
    reports.
* Add myself to uploaders
* Add libxfixes-dev to build-depends, LP: #631103. Thanks to
  Dominic Evans for the initial patch against ffmpeg.
* merge from 'main' package. Changes:
  - build against faad, dirac, libopenjpeg, x264, mp3lame, librtmp and xvidcore
* merge from debian/experimental. remaining changes:
  - don't disable encoders
  - don't build against libfaad, libdirac, librtmp and libopenjpeg (all in universe)
* Enable RTMP[E] support via librtmp.
* Disable aac encoder, see README.Debian.
* Fix obsolete-relation-form for the internal dependencies.
* Merge debian/README.Source into debian/README.source and add section
  headers.
* Remove obsoleted support for the non-free libamr-nb/wb.
* enable runtime-cpudetect
* conditionally build against opencore-amr if installed in the build
  environment
* update upstream url in debian/copyright
* fix usage documentation in debian/get-orig-source.sh
* update dep3 headers for debian/patches/900_doxyfile
* add proper replaces for moving presets back to ffmpeg
* make debian/patches gbp-pq friendly
* Add VP80 fourcc to libavformat/riff.c
* Backport-AAC-HE-v2
* bump Standards-Version, no changes needed
* merge from 'main' package. Changes:
  - build against faad, dirac, libopenjpeg, x264, mp3lame and xvidcore
* merge from debian/experimental. remaining changes:
  - don't disable encoders
  - don't build against libfaad, libdirac and libopenjpeg (all in universe)
* new upstream release
  - internal vorbis encoder is disabled. LP: #585330
  - includes native AMR-NB decoder, LP: #93849
  - api-example is fixed: LP: #557319
* new upstream release
  - adds VP8 support via libvpx, Closes: #582274
* depend on libavfilter-extra-1 instead of -0, Closes: #583728
* add conflicts to the ffprobe package, it has been merged upstream now
* add proper replaces, fixes: LP: #587369
* fix typo in dependency on libavfilter-extra-1. LP: #587431
* install files into libavfilter-extra-1.install. LP: #587424
* bump soname for package libavutil49->libavutil50
* fix installation rule, LP: #587424
* remove all install rules that are related to non-library packages
  Fixes FTBFS
* don't try install html files, we don't build ffmpeg-doc in ffmpeg-extra
  Fixes FTBFS
* merge from 'main' package. Changes
  - build against faad, dirac, libopenjpeg, x264, mp3lame and xvidcore
* merge from debian/experimental. remaining changes:
  - don't disable encoders
  - don't build against libfaad, libdirac and libopenjpeg (all in universe)
* update to new upstream. Closes: #569727
  - fixes various segfaults and other minor feature improvements
    Closes: #374931, #522449, #501891, #559712, #420231, #369127, #538082,
            #298095, #294422, #561553, #525385, #495274, #420230
    LP: #305286, #457106, #529200, #301723, #305315, #336479, #420230,
        #412063, #428912, #432181, #440591, #453732, #453732, #453732,
          #514259, #515243, #521472, #530186, #530186, #197842, #483317,
          #483317, #539407, #280098, #331255, #566107, #569823, #570305,
          #573190
* Fixup lintian overrides for new upstream snapshot
* Bump Standards-Version to 3.8.4
* Many upstream changes, see upstream Changelog for details
* Prepare new upload for Debian.
* Update gbp.conf for master.extra branch.
* Bump Standards-Version to 3.8.4.
* Don't include build-depends-indep when only building arch-dependent
  packages.
* Include ${misc:Depends} for all packages.
* Set the team as maintainers.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Generate a header file for hardcoded mpegaudiodec tables
 
3
 *
 
4
 * Copyright (c) 2009 Reimar Döffinger <Reimar.Doeffinger@gmx.de>
 
5
 *
 
6
 * This file is part of FFmpeg.
 
7
 *
 
8
 * FFmpeg is free software; you can redistribute it and/or
 
9
 * modify it under the terms of the GNU Lesser General Public
 
10
 * License as published by the Free Software Foundation; either
 
11
 * version 2.1 of the License, or (at your option) any later version.
 
12
 *
 
13
 * FFmpeg is distributed in the hope that it will be useful,
 
14
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
15
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
16
 * Lesser General Public License for more details.
 
17
 *
 
18
 * You should have received a copy of the GNU Lesser General Public
 
19
 * License along with FFmpeg; if not, write to the Free Software
 
20
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
21
 */
 
22
 
 
23
#include <stdlib.h>
 
24
#define CONFIG_HARDCODED_TABLES 0
 
25
#include "mpegaudio_tablegen.h"
 
26
#include "tableprint.h"
 
27
 
 
28
int main(void)
 
29
{
 
30
    mpegaudio_tableinit();
 
31
 
 
32
    write_fileheader();
 
33
 
 
34
    printf("static const int8_t table_4_3_exp[TABLE_4_3_SIZE] = {\n");
 
35
    write_int8_array(table_4_3_exp, TABLE_4_3_SIZE);
 
36
    printf("};\n");
 
37
 
 
38
    printf("static const uint32_t table_4_3_value[TABLE_4_3_SIZE] = {\n");
 
39
    write_uint32_array(table_4_3_value, TABLE_4_3_SIZE);
 
40
    printf("};\n");
 
41
 
 
42
    printf("static const uint32_t exp_table[512] = {\n");
 
43
    write_uint32_array(exp_table, 512);
 
44
    printf("};\n");
 
45
 
 
46
    printf("static const uint32_t expval_table[512][16] = {\n");
 
47
    write_uint32_2d_array(expval_table, 512, 16);
 
48
    printf("};\n");
 
49
 
 
50
    return 0;
 
51
}