Browse Source

Do not include mathematics.h in avutil.h

Signed-off-by: Mans Rullgard <mans@mansr.com>
tags/n0.9
Mans Rullgard 14 years ago
parent
commit
0ebcdf5cda
54 changed files with 56 additions and 1 deletions
  1. +1
    -0
      ffmpeg.c
  2. +1
    -0
      ffplay.c
  3. +1
    -0
      ffserver.c
  4. +1
    -0
      libavcodec/acelp_pitch_delay.c
  5. +1
    -0
      libavcodec/ituh263dec.c
  6. +1
    -0
      libavcodec/mpegvideo_enc.c
  7. +1
    -0
      libavcodec/snow.c
  8. +1
    -0
      libavcodec/utils.c
  9. +2
    -0
      libavcodec/xsubdec.c
  10. +1
    -0
      libavfilter/vf_aspect.c
  11. +1
    -0
      libavfilter/vf_crop.c
  12. +1
    -0
      libavfilter/vf_overlay.c
  13. +1
    -0
      libavfilter/vf_pad.c
  14. +1
    -0
      libavfilter/vf_scale.c
  15. +1
    -0
      libavfilter/vf_setpts.c
  16. +1
    -0
      libavfilter/vf_settb.c
  17. +1
    -0
      libavfilter/vsrc_color.c
  18. +1
    -0
      libavfilter/vsrc_nullsrc.c
  19. +1
    -0
      libavformat/applehttp.c
  20. +1
    -0
      libavformat/asfdec.c
  21. +1
    -0
      libavformat/assdec.c
  22. +1
    -0
      libavformat/audiointerleave.c
  23. +1
    -0
      libavformat/avidec.c
  24. +1
    -0
      libavformat/dv.c
  25. +1
    -0
      libavformat/dvenc.c
  26. +1
    -0
      libavformat/ffmetadec.c
  27. +1
    -0
      libavformat/gxfenc.c
  28. +1
    -0
      libavformat/matroskaenc.c
  29. +1
    -0
      libavformat/mov.c
  30. +1
    -0
      libavformat/movenc.c
  31. +1
    -0
      libavformat/mp3dec.c
  32. +1
    -0
      libavformat/mpegenc.c
  33. +1
    -0
      libavformat/mpegtsenc.c
  34. +1
    -0
      libavformat/mxfdec.c
  35. +2
    -0
      libavformat/nsvdec.c
  36. +1
    -0
      libavformat/nut.c
  37. +1
    -0
      libavformat/nutdec.c
  38. +1
    -0
      libavformat/nutenc.c
  39. +1
    -0
      libavformat/oggenc.c
  40. +1
    -0
      libavformat/output-example.c
  41. +1
    -0
      libavformat/pcm.c
  42. +1
    -0
      libavformat/r3d.c
  43. +1
    -0
      libavformat/riff.c
  44. +1
    -0
      libavformat/rl2.c
  45. +1
    -0
      libavformat/rtpdec.c
  46. +1
    -0
      libavformat/rtpenc.c
  47. +1
    -0
      libavformat/rtsp.c
  48. +1
    -0
      libavformat/rtspdec.c
  49. +1
    -0
      libavformat/seek.c
  50. +1
    -0
      libavformat/utils.c
  51. +1
    -0
      libavformat/vqf.c
  52. +2
    -0
      libavformat/wav.c
  53. +0
    -1
      libavutil/avutil.h
  54. +1
    -0
      tests/seek_test.c

+ 1
- 0
ffmpeg.c View File

@@ -40,6 +40,7 @@
#include "libavutil/fifo.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/dict.h"
#include "libavutil/mathematics.h"
#include "libavutil/pixdesc.h"
#include "libavutil/avstring.h"
#include "libavutil/libm.h"


+ 1
- 0
ffplay.c View File

@@ -25,6 +25,7 @@
#include <limits.h>
#include "libavutil/avstring.h"
#include "libavutil/colorspace.h"
#include "libavutil/mathematics.h"
#include "libavutil/pixdesc.h"
#include "libavutil/imgutils.h"
#include "libavutil/dict.h"


+ 1
- 0
ffserver.c View File

@@ -37,6 +37,7 @@
#include "libavutil/avstring.h"
#include "libavutil/lfg.h"
#include "libavutil/dict.h"
#include "libavutil/mathematics.h"
#include "libavutil/random_seed.h"
#include "libavutil/parseutils.h"
#include "libavutil/opt.h"


+ 1
- 0
libavcodec/acelp_pitch_delay.c View File

@@ -20,6 +20,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

#include "libavutil/mathematics.h"
#include "avcodec.h"
#include "dsputil.h"
#include "acelp_pitch_delay.h"


+ 1
- 0
libavcodec/ituh263dec.c View File

@@ -30,6 +30,7 @@
//#define DEBUG
#include <limits.h>

#include "libavutil/mathematics.h"
#include "dsputil.h"
#include "avcodec.h"
#include "mpegvideo.h"


+ 1
- 0
libavcodec/mpegvideo_enc.c View File

@@ -28,6 +28,7 @@
*/

#include "libavutil/intmath.h"
#include "libavutil/mathematics.h"
#include "avcodec.h"
#include "dsputil.h"
#include "mpegvideo.h"


+ 1
- 0
libavcodec/snow.c View File

@@ -3697,6 +3697,7 @@ AVCodec ff_snow_encoder = {
#undef printf

#include "libavutil/lfg.h"
#include "libavutil/mathematics.h"

int main(void){
int width=256;


+ 1
- 0
libavcodec/utils.c View File

@@ -27,6 +27,7 @@

#include "libavutil/avstring.h"
#include "libavutil/crc.h"
#include "libavutil/mathematics.h"
#include "libavutil/pixdesc.h"
#include "libavutil/audioconvert.h"
#include "libavutil/imgutils.h"


+ 2
- 0
libavcodec/xsubdec.c View File

@@ -18,6 +18,8 @@
* License along with Libav; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

#include "libavutil/mathematics.h"
#include "libavutil/imgutils.h"
#include "avcodec.h"
#include "get_bits.h"


+ 1
- 0
libavfilter/vf_aspect.c View File

@@ -23,6 +23,7 @@
* aspect ratio modification video filters
*/

#include "libavutil/mathematics.h"
#include "avfilter.h"

typedef struct {


+ 1
- 0
libavfilter/vf_crop.c View File

@@ -30,6 +30,7 @@
#include "libavutil/avstring.h"
#include "libavutil/libm.h"
#include "libavutil/imgutils.h"
#include "libavutil/mathematics.h"

static const char *var_names[] = {
"E",


+ 1
- 0
libavfilter/vf_overlay.c View File

@@ -30,6 +30,7 @@
#include "libavutil/avstring.h"
#include "libavutil/pixdesc.h"
#include "libavutil/imgutils.h"
#include "libavutil/mathematics.h"
#include "internal.h"

static const char *var_names[] = {


+ 1
- 0
libavfilter/vf_pad.c View File

@@ -32,6 +32,7 @@
#include "libavutil/avassert.h"
#include "libavutil/imgutils.h"
#include "libavutil/parseutils.h"
#include "libavutil/mathematics.h"
#include "drawutils.h"

static const char *var_names[] = {


+ 1
- 0
libavfilter/vf_scale.c View File

@@ -26,6 +26,7 @@
#include "avfilter.h"
#include "libavutil/avstring.h"
#include "libavutil/eval.h"
#include "libavutil/mathematics.h"
#include "libavutil/pixdesc.h"
#include "libswscale/swscale.h"



+ 1
- 0
libavfilter/vf_setpts.c View File

@@ -27,6 +27,7 @@
/* #define DEBUG */

#include "libavutil/eval.h"
#include "libavutil/mathematics.h"
#include "avfilter.h"

static const char *var_names[] = {


+ 1
- 0
libavfilter/vf_settb.c View File

@@ -25,6 +25,7 @@

#include "libavutil/avstring.h"
#include "libavutil/eval.h"
#include "libavutil/mathematics.h"
#include "libavutil/rational.h"
#include "avfilter.h"
#include "internal.h"


+ 1
- 0
libavfilter/vsrc_color.c View File

@@ -22,6 +22,7 @@
#include "libavutil/pixdesc.h"
#include "libavutil/colorspace.h"
#include "libavutil/imgutils.h"
#include "libavutil/mathematics.h"
#include "libavutil/parseutils.h"
#include "drawutils.h"



+ 1
- 0
libavfilter/vsrc_nullsrc.c View File

@@ -23,6 +23,7 @@

#include "libavutil/avstring.h"
#include "libavutil/eval.h"
#include "libavutil/mathematics.h"
#include "libavutil/parseutils.h"
#include "avfilter.h"



+ 1
- 0
libavformat/applehttp.c View File

@@ -27,6 +27,7 @@

#include "libavutil/avstring.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/mathematics.h"
#include "libavutil/opt.h"
#include "libavutil/dict.h"
#include "avformat.h"


+ 1
- 0
libavformat/asfdec.c View File

@@ -25,6 +25,7 @@
#include "libavutil/common.h"
#include "libavutil/avstring.h"
#include "libavutil/dict.h"
#include "libavutil/mathematics.h"
#include "libavcodec/mpegaudio.h"
#include "avformat.h"
#include "avio_internal.h"


+ 1
- 0
libavformat/assdec.c View File

@@ -19,6 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

#include "libavutil/mathematics.h"
#include "avformat.h"
#include "internal.h"



+ 1
- 0
libavformat/audiointerleave.c View File

@@ -21,6 +21,7 @@
*/

#include "libavutil/fifo.h"
#include "libavutil/mathematics.h"
#include "avformat.h"
#include "audiointerleave.h"
#include "internal.h"


+ 1
- 0
libavformat/avidec.c View File

@@ -21,6 +21,7 @@

#include <strings.h>
#include "libavutil/intreadwrite.h"
#include "libavutil/mathematics.h"
#include "libavutil/bswap.h"
#include "libavutil/dict.h"
#include "avformat.h"


+ 1
- 0
libavformat/dv.c View File

@@ -32,6 +32,7 @@
#include "avformat.h"
#include "libavcodec/dvdata.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/mathematics.h"
#include "dv.h"

struct DVDemuxContext {


+ 1
- 0
libavformat/dvenc.c View File

@@ -35,6 +35,7 @@
#include "libavcodec/dvdata.h"
#include "dv.h"
#include "libavutil/fifo.h"
#include "libavutil/mathematics.h"

struct DVMuxContext {
const DVprofile* sys; /* current DV profile, e.g.: 525/60, 625/50 */


+ 1
- 0
libavformat/ffmetadec.c View File

@@ -19,6 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

#include "libavutil/mathematics.h"
#include "avformat.h"
#include "ffmeta.h"
#include "internal.h"


+ 1
- 0
libavformat/gxfenc.c View File

@@ -20,6 +20,7 @@
*/

#include "libavutil/intfloat_readwrite.h"
#include "libavutil/mathematics.h"
#include "avformat.h"
#include "gxf.h"
#include "riff.h"


+ 1
- 0
libavformat/matroskaenc.c View File

@@ -29,6 +29,7 @@
#include "libavutil/samplefmt.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/intfloat_readwrite.h"
#include "libavutil/mathematics.h"
#include "libavutil/random_seed.h"
#include "libavutil/lfg.h"
#include "libavutil/dict.h"


+ 1
- 0
libavformat/mov.c View File

@@ -27,6 +27,7 @@

#include "libavutil/intreadwrite.h"
#include "libavutil/intfloat_readwrite.h"
#include "libavutil/mathematics.h"
#include "libavutil/avstring.h"
#include "libavutil/dict.h"
#include "avformat.h"


+ 1
- 0
libavformat/movenc.c View File

@@ -33,6 +33,7 @@
#include "internal.h"
#include "libavutil/avstring.h"
#include "libavutil/intfloat_readwrite.h"
#include "libavutil/mathematics.h"
#include "libavutil/opt.h"
#include "libavutil/dict.h"
#include "rtpenc.h"


+ 1
- 0
libavformat/mp3dec.c View File

@@ -22,6 +22,7 @@
#include "libavutil/avstring.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/dict.h"
#include "libavutil/mathematics.h"
#include "avformat.h"
#include "id3v2.h"
#include "id3v1.h"


+ 1
- 0
libavformat/mpegenc.c View File

@@ -20,6 +20,7 @@
*/

#include "libavutil/fifo.h"
#include "libavutil/mathematics.h"
#include "libavcodec/put_bits.h"
#include "avformat.h"
#include "mpeg.h"


+ 1
- 0
libavformat/mpegtsenc.c View File

@@ -22,6 +22,7 @@
#include "libavutil/bswap.h"
#include "libavutil/crc.h"
#include "libavutil/dict.h"
#include "libavutil/mathematics.h"
#include "libavutil/opt.h"
#include "libavcodec/mpegvideo.h"
#include "avformat.h"


+ 1
- 0
libavformat/mxfdec.c View File

@@ -46,6 +46,7 @@
//#define DEBUG

#include "libavutil/aes.h"
#include "libavutil/mathematics.h"
#include "libavcodec/bytestream.h"
#include "avformat.h"
#include "mxf.h"


+ 2
- 0
libavformat/nsvdec.c View File

@@ -18,6 +18,8 @@
* License along with Libav; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

#include "libavutil/mathematics.h"
#include "avformat.h"
#include "riff.h"
#include "libavutil/dict.h"


+ 1
- 0
libavformat/nut.c View File

@@ -19,6 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

#include "libavutil/mathematics.h"
#include "libavutil/tree.h"
#include "nut.h"
#include "internal.h"


+ 1
- 0
libavformat/nutdec.c View File

@@ -24,6 +24,7 @@
#include "libavutil/avstring.h"
#include "libavutil/bswap.h"
#include "libavutil/dict.h"
#include "libavutil/mathematics.h"
#include "libavutil/tree.h"
#include "avio_internal.h"
#include "nut.h"


+ 1
- 0
libavformat/nutenc.c View File

@@ -20,6 +20,7 @@
*/

#include "libavutil/intreadwrite.h"
#include "libavutil/mathematics.h"
#include "libavutil/tree.h"
#include "libavutil/dict.h"
#include "libavcodec/mpegaudiodata.h"


+ 1
- 0
libavformat/oggenc.c View File

@@ -20,6 +20,7 @@
*/

#include "libavutil/crc.h"
#include "libavutil/mathematics.h"
#include "libavutil/random_seed.h"
#include "libavcodec/xiph.h"
#include "libavcodec/bytestream.h"


+ 1
- 0
libavformat/output-example.c View File

@@ -34,6 +34,7 @@
#include <string.h>
#include <math.h>

#include "libavutil/mathematics.h"
#include "libavformat/avformat.h"
#include "libswscale/swscale.h"



+ 1
- 0
libavformat/pcm.c View File

@@ -19,6 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

#include "libavutil/mathematics.h"
#include "avformat.h"
#include "pcm.h"



+ 1
- 0
libavformat/r3d.c View File

@@ -23,6 +23,7 @@

#include "libavutil/intreadwrite.h"
#include "libavutil/dict.h"
#include "libavutil/mathematics.h"
#include "avformat.h"

typedef struct {


+ 1
- 0
libavformat/riff.c View File

@@ -19,6 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

#include "libavutil/mathematics.h"
#include "libavcodec/avcodec.h"
#include "avformat.h"
#include "avio_internal.h"


+ 1
- 0
libavformat/rl2.c View File

@@ -34,6 +34,7 @@
*/

#include "libavutil/intreadwrite.h"
#include "libavutil/mathematics.h"
#include "avformat.h"

#define EXTRADATA1_SIZE (6 + 256 * 3) ///< video base, clr, palette


+ 1
- 0
libavformat/rtpdec.c View File

@@ -19,6 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

#include "libavutil/mathematics.h"
#include "libavcodec/get_bits.h"
#include "avformat.h"
#include "mpegts.h"


+ 1
- 0
libavformat/rtpenc.c View File

@@ -22,6 +22,7 @@
#include "avformat.h"
#include "mpegts.h"
#include "internal.h"
#include "libavutil/mathematics.h"
#include "libavutil/random_seed.h"
#include "libavutil/opt.h"



+ 1
- 0
libavformat/rtsp.c View File

@@ -22,6 +22,7 @@
#include "libavutil/base64.h"
#include "libavutil/avstring.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/mathematics.h"
#include "libavutil/parseutils.h"
#include "libavutil/random_seed.h"
#include "libavutil/dict.h"


+ 1
- 0
libavformat/rtspdec.c View File

@@ -21,6 +21,7 @@

#include "libavutil/avstring.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/mathematics.h"
#include "libavutil/opt.h"
#include "avformat.h"



+ 1
- 0
libavformat/seek.c View File

@@ -21,6 +21,7 @@
*/

#include "seek.h"
#include "libavutil/mathematics.h"
#include "libavutil/mem.h"
#include "internal.h"



+ 1
- 0
libavformat/utils.c View File

@@ -31,6 +31,7 @@
#include "metadata.h"
#include "id3v2.h"
#include "libavutil/avstring.h"
#include "libavutil/mathematics.h"
#include "riff.h"
#include "audiointerleave.h"
#include "url.h"


+ 1
- 0
libavformat/vqf.c View File

@@ -22,6 +22,7 @@
#include "avformat.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/dict.h"
#include "libavutil/mathematics.h"

typedef struct VqfContext {
int frame_bit_len;


+ 2
- 0
libavformat/wav.c View File

@@ -22,6 +22,8 @@
* License along with Libav; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

#include "libavutil/mathematics.h"
#include "avformat.h"
#include "avio_internal.h"
#include "pcm.h"


+ 0
- 1
libavutil/avutil.h View File

@@ -121,7 +121,6 @@ char av_get_picture_type_char(enum AVPictureType pict_type);

#include "common.h"
#include "error.h"
#include "mathematics.h"
#include "rational.h"
#include "log.h"
#include "pixfmt.h"


+ 1
- 0
tests/seek_test.c View File

@@ -25,6 +25,7 @@
#include <string.h>

#include "libavutil/common.h"
#include "libavutil/mathematics.h"
#include "libavformat/avformat.h"

#undef exit


Loading…
Cancel
Save