| OLD | NEW |
| 1 /** | 1 /** |
| 2 * @file libavcodec/vorbis_dec.c | 2 * @file libavcodec/vorbis_dec.c |
| 3 * Vorbis I decoder | 3 * Vorbis I decoder |
| 4 * @author Denes Balatoni ( dbalatoni programozo hu ) | 4 * @author Denes Balatoni ( dbalatoni programozo hu ) |
| 5 * | 5 * |
| 6 * This file is part of FFmpeg. | 6 * This file is part of FFmpeg. |
| 7 * | 7 * |
| 8 * FFmpeg is free software; you can redistribute it and/or | 8 * FFmpeg is free software; you can redistribute it and/or |
| 9 * modify it under the terms of the GNU Lesser General Public | 9 * modify it under the terms of the GNU Lesser General Public |
| 10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 #undef V_DEBUG | 23 #undef V_DEBUG |
| 24 //#define V_DEBUG | 24 //#define V_DEBUG |
| 25 //#define AV_DEBUG(...) av_log(NULL, AV_LOG_INFO, __VA_ARGS__) | 25 //#define AV_DEBUG(...) av_log(NULL, AV_LOG_INFO, __VA_ARGS__) |
| 26 | 26 |
| 27 #include <math.h> | 27 #include <math.h> |
| 28 | 28 |
| 29 #define ALT_BITSTREAM_READER_LE | 29 #define ALT_BITSTREAM_READER_LE |
| 30 #include "avcodec.h" | 30 #include "avcodec.h" |
| 31 #include "get_bits.h" | 31 #include "get_bits.h" |
| 32 #include "dsputil.h" | 32 #include "dsputil.h" |
| 33 #include "fft.h" |
| 33 | 34 |
| 34 #include "vorbis.h" | 35 #include "vorbis.h" |
| 35 #include "xiph.h" | 36 #include "xiph.h" |
| 36 | 37 |
| 37 #define V_NB_BITS 8 | 38 #define V_NB_BITS 8 |
| 38 #define V_NB_BITS2 11 | 39 #define V_NB_BITS2 11 |
| 39 #define V_MAX_VLCS (1 << 16) | 40 #define V_MAX_VLCS (1 << 16) |
| 40 #define V_MAX_PARTITIONS (1 << 20) | 41 #define V_MAX_PARTITIONS (1 << 20) |
| 41 | 42 |
| 42 #ifndef V_DEBUG | 43 #ifndef V_DEBUG |
| (...skipping 1608 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1651 CODEC_ID_VORBIS, | 1652 CODEC_ID_VORBIS, |
| 1652 sizeof(vorbis_context), | 1653 sizeof(vorbis_context), |
| 1653 vorbis_decode_init, | 1654 vorbis_decode_init, |
| 1654 NULL, | 1655 NULL, |
| 1655 vorbis_decode_close, | 1656 vorbis_decode_close, |
| 1656 vorbis_decode_frame, | 1657 vorbis_decode_frame, |
| 1657 .long_name = NULL_IF_CONFIG_SMALL("Vorbis"), | 1658 .long_name = NULL_IF_CONFIG_SMALL("Vorbis"), |
| 1658 .channel_layouts = ff_vorbis_channel_layouts, | 1659 .channel_layouts = ff_vorbis_channel_layouts, |
| 1659 }; | 1660 }; |
| 1660 | 1661 |
| OLD | NEW |