Browse Source

Merge remote-tracking branch 'qatar/master'

* qatar/master:
  Fix even more missing includes after the common.h removal
  build: Factor out rangecoder dependencies to CONFIG_RANGECODER
  build: Factor out error resilience dependencies to CONFIG_ERROR_RESILIENCE
  x86: avcodec: Consistently name all init files
  Add more missing includes after removing the implicit common.h
  Add some more missing includes after removing the implicit common.h
  Don't include common.h from avutil.h
  rtmp: Automatically compute the hash for SWFVerification

Conflicts:
	configure
	doc/APIchanges
	doc/examples/decoding_encoding.c
	libavcodec/Makefile
	libavcodec/assdec.c
	libavcodec/audio_frame_queue.c
	libavcodec/avpacket.c
	libavcodec/dv_profile.c
	libavcodec/dwt.c
	libavcodec/libtheoraenc.c
	libavcodec/rawdec.c
	libavcodec/rv40dsp.c
	libavcodec/tiff.c
	libavcodec/tiffenc.c
	libavcodec/v210dec.h
	libavcodec/vc1dsp.c
	libavcodec/x86/Makefile
	libavfilter/asrc_anullsrc.c
	libavfilter/avfilter.c
	libavfilter/buffer.c
	libavfilter/formats.c
	libavfilter/vf_ass.c
	libavfilter/vf_drawtext.c
	libavfilter/vf_fade.c
	libavfilter/vf_select.c
	libavfilter/video.c
	libavfilter/vsrc_testsrc.c
	libavformat/version.h
	libavutil/audioconvert.c
	libavutil/error.h
	libavutil/version.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.0
Michael Niedermayer 13 years ago
parent
commit
c581cb4e4f
100 changed files with 194 additions and 64 deletions
  1. +26
    -23
      configure
  2. +1
    -0
      doc/examples/decoding_encoding.c
  3. +3
    -0
      doc/protocols.texi
  4. +2
    -0
      libavcodec/8bps.c
  5. +1
    -0
      libavcodec/8svx.c
  6. +25
    -39
      libavcodec/Makefile
  7. +1
    -0
      libavcodec/a64multienc.c
  8. +1
    -0
      libavcodec/aac_ac3_parser.c
  9. +1
    -0
      libavcodec/acelp_filters.c
  10. +1
    -0
      libavcodec/acelp_pitch_delay.c
  11. +2
    -0
      libavcodec/acelp_vectors.c
  12. +1
    -0
      libavcodec/adx.c
  13. +1
    -0
      libavcodec/allcodecs.c
  14. +2
    -0
      libavcodec/amr.h
  15. +1
    -0
      libavcodec/amrwbdec.c
  16. +1
    -0
      libavcodec/ansi.c
  17. +1
    -0
      libavcodec/ass.c
  18. +4
    -0
      libavcodec/assdec.c
  19. +4
    -0
      libavcodec/assenc.c
  20. +1
    -0
      libavcodec/atrac.c
  21. +1
    -0
      libavcodec/audio_frame_queue.c
  22. +1
    -0
      libavcodec/audioconvert.c
  23. +1
    -0
      libavcodec/aura.c
  24. +5
    -2
      libavcodec/avpacket.c
  25. +3
    -0
      libavcodec/bitstream_filter.c
  26. +1
    -0
      libavcodec/cavsdsp.c
  27. +1
    -0
      libavcodec/celp_filters.c
  28. +1
    -0
      libavcodec/celp_math.c
  29. +1
    -0
      libavcodec/cinepak.c
  30. +1
    -0
      libavcodec/codec_desc.c
  31. +1
    -0
      libavcodec/cscd.c
  32. +1
    -0
      libavcodec/cyuv.c
  33. +1
    -0
      libavcodec/dct.c
  34. +3
    -0
      libavcodec/dirac_parser.c
  35. +1
    -0
      libavcodec/dnxhddata.c
  36. +1
    -0
      libavcodec/dpxenc.c
  37. +3
    -0
      libavcodec/dump_extradata_bsf.c
  38. +1
    -0
      libavcodec/dv_profile.c
  39. +3
    -0
      libavcodec/dvdsub_parser.c
  40. +1
    -0
      libavcodec/dwt.c
  41. +1
    -0
      libavcodec/dxa.c
  42. +1
    -0
      libavcodec/dxtory.c
  43. +1
    -0
      libavcodec/eacmv.c
  44. +1
    -0
      libavcodec/eaidct.c
  45. +1
    -0
      libavcodec/elbg.c
  46. +2
    -0
      libavcodec/faandct.c
  47. +1
    -0
      libavcodec/faanidct.c
  48. +1
    -0
      libavcodec/fmtconvert.c
  49. +1
    -0
      libavcodec/g722enc.c
  50. +3
    -0
      libavcodec/h264_mp4toannexb_bsf.c
  51. +1
    -0
      libavcodec/h264dsp.c
  52. +1
    -0
      libavcodec/h264idct_template.c
  53. +1
    -0
      libavcodec/idcinvideo.c
  54. +1
    -0
      libavcodec/iirfilter.c
  55. +1
    -0
      libavcodec/imgconvert.c
  56. +1
    -0
      libavcodec/intrax8dsp.c
  57. +1
    -0
      libavcodec/jpegls.h
  58. +1
    -0
      libavcodec/kgv1dec.c
  59. +2
    -0
      libavcodec/lclenc.c
  60. +1
    -0
      libavcodec/libfaac.c
  61. +1
    -0
      libavcodec/libfdk-aacenc.c
  62. +1
    -0
      libavcodec/libgsm.c
  63. +1
    -0
      libavcodec/libilbc.c
  64. +1
    -0
      libavcodec/libmp3lame.c
  65. +1
    -0
      libavcodec/libopencore-amr.c
  66. +1
    -0
      libavcodec/libspeexdec.c
  67. +1
    -0
      libavcodec/libspeexenc.c
  68. +1
    -0
      libavcodec/libtheoraenc.c
  69. +4
    -0
      libavcodec/libvo-amrwbenc.c
  70. +1
    -0
      libavcodec/libvpxdec.c
  71. +1
    -0
      libavcodec/libvpxenc.c
  72. +2
    -0
      libavcodec/libx264.c
  73. +1
    -0
      libavcodec/lpc.c
  74. +1
    -0
      libavcodec/lzw.c
  75. +1
    -0
      libavcodec/mace.c
  76. +2
    -0
      libavcodec/motion-test.c
  77. +1
    -0
      libavcodec/movsub_bsf.c
  78. +1
    -0
      libavcodec/mp3_header_compress_bsf.c
  79. +1
    -0
      libavcodec/mp3_header_decompress_bsf.c
  80. +1
    -0
      libavcodec/mpegaudio_parser.c
  81. +1
    -0
      libavcodec/msvideo1.c
  82. +4
    -0
      libavcodec/noise_bsf.c
  83. +1
    -0
      libavcodec/nuv.c
  84. +2
    -0
      libavcodec/options.c
  85. +1
    -0
      libavcodec/options_table.h
  86. +3
    -0
      libavcodec/parser.c
  87. +3
    -0
      libavcodec/pnm.c
  88. +3
    -0
      libavcodec/ppc/dsputil_ppc.c
  89. +1
    -0
      libavcodec/ppc/fmtconvert_altivec.c
  90. +1
    -0
      libavcodec/ppc/gmc_altivec.c
  91. +2
    -0
      libavcodec/ppc/h264_altivec_template.c
  92. +1
    -0
      libavcodec/ppc/vp8dsp_altivec.c
  93. +1
    -0
      libavcodec/proresdsp.c
  94. +3
    -0
      libavcodec/psymodel.c
  95. +1
    -0
      libavcodec/pthread.c
  96. +1
    -0
      libavcodec/ptx.c
  97. +1
    -0
      libavcodec/qdrw.c
  98. +1
    -0
      libavcodec/r210dec.c
  99. +1
    -0
      libavcodec/ra144.c
  100. +1
    -0
      libavcodec/ra288.h

+ 26
- 23
configure View File

@@ -1365,6 +1365,7 @@ CONFIG_EXTRA="
aandcttables aandcttables
ac3dsp ac3dsp
avutil avutil
error_resilience
gcrypt gcrypt
golomb golomb
gplv3 gplv3
@@ -1379,6 +1380,7 @@ CONFIG_EXTRA="
mpegvideo mpegvideo
mpegvideoenc mpegvideoenc
nettle nettle
rangecoder
rtpdec rtpdec
sinewin sinewin
vp3dsp vp3dsp
@@ -1527,11 +1529,12 @@ dnxhd_encoder_select="aandcttables mpegvideoenc"
dxa_decoder_select="zlib" dxa_decoder_select="zlib"
eac3_decoder_select="ac3_decoder" eac3_decoder_select="ac3_decoder"
eac3_encoder_select="mdct ac3dsp" eac3_encoder_select="mdct ac3dsp"
eamad_decoder_select="aandcttables"
eamad_decoder_select="aandcttables error_resilience"
eatgq_decoder_select="aandcttables" eatgq_decoder_select="aandcttables"
eatqi_decoder_select="aandcttables mpegvideo"
eatqi_decoder_select="aandcttables error_resilience mpegvideo"
exr_decoder_select="zlib" exr_decoder_select="zlib"
ffv1_decoder_select="golomb"
ffv1_decoder_select="golomb rangecoder"
ffv1_encoder_select="rangecoder"
flac_decoder_select="golomb" flac_decoder_select="golomb"
flac_encoder_select="golomb lpc" flac_encoder_select="golomb lpc"
flashsv_decoder_select="zlib" flashsv_decoder_select="zlib"
@@ -1541,15 +1544,15 @@ flashsv2_decoder_select="zlib"
flv_decoder_select="h263_decoder" flv_decoder_select="h263_decoder"
flv_encoder_select="h263_encoder" flv_encoder_select="h263_encoder"
fraps_decoder_select="huffman" fraps_decoder_select="huffman"
h261_decoder_select="mpegvideo"
h261_decoder_select="error_resilience mpegvideo"
h261_encoder_select="aandcttables mpegvideoenc" h261_encoder_select="aandcttables mpegvideoenc"
h263_decoder_select="h263_parser mpegvideo"
h263_encoder_select="aandcttables mpegvideoenc"
h263_decoder_select="error_resilience h263_parser mpegvideo"
h263_encoder_select="aandcttables error_resilience mpegvideoenc"
h263_vaapi_hwaccel_select="vaapi h263_decoder" h263_vaapi_hwaccel_select="vaapi h263_decoder"
h263i_decoder_select="h263_decoder" h263i_decoder_select="h263_decoder"
h263p_encoder_select="h263_encoder" h263p_encoder_select="h263_encoder"
h264_crystalhd_decoder_select="crystalhd h264_mp4toannexb_bsf h264_parser" h264_crystalhd_decoder_select="crystalhd h264_mp4toannexb_bsf h264_parser"
h264_decoder_select="golomb h264chroma h264dsp h264pred h264qpel mpegvideo"
h264_decoder_select="error_resilience golomb h264chroma h264dsp h264pred h264qpel mpegvideo"
h264_dxva2_hwaccel_deps="dxva2api_h" h264_dxva2_hwaccel_deps="dxva2api_h"
h264_dxva2_hwaccel_select="dxva2 h264_decoder" h264_dxva2_hwaccel_select="dxva2 h264_decoder"
h264_vaapi_hwaccel_select="vaapi h264_decoder" h264_vaapi_hwaccel_select="vaapi h264_decoder"
@@ -1562,7 +1565,7 @@ jpegls_decoder_select="golomb"
jpegls_encoder_select="golomb" jpegls_encoder_select="golomb"
ljpeg_encoder_select="aandcttables mpegvideoenc" ljpeg_encoder_select="aandcttables mpegvideoenc"
loco_decoder_select="golomb" loco_decoder_select="golomb"
mdec_decoder_select="mpegvideo"
mdec_decoder_select="error_resilience mpegvideo"
mjpeg_encoder_select="aandcttables mpegvideoenc" mjpeg_encoder_select="aandcttables mpegvideoenc"
mlp_decoder_select="mlp_parser" mlp_decoder_select="mlp_parser"
mp1_decoder_select="mpegaudiodsp" mp1_decoder_select="mpegaudiodsp"
@@ -1582,15 +1585,15 @@ mpeg_xvmc_decoder_deps="X11_extensions_XvMClib_h"
mpeg_xvmc_decoder_select="mpegvideo_decoder" mpeg_xvmc_decoder_select="mpegvideo_decoder"
mpeg1_vdpau_decoder_select="vdpau mpeg1video_decoder" mpeg1_vdpau_decoder_select="vdpau mpeg1video_decoder"
mpeg1_vdpau_hwaccel_select="vdpau mpeg1video_decoder" mpeg1_vdpau_hwaccel_select="vdpau mpeg1video_decoder"
mpeg1video_decoder_select="mpegvideo"
mpeg1video_encoder_select="aandcttables mpegvideoenc"
mpeg1video_decoder_select="error_resilience mpegvideo"
mpeg1video_encoder_select="aandcttables error_resilience mpegvideoenc"
mpeg2_crystalhd_decoder_select="crystalhd" mpeg2_crystalhd_decoder_select="crystalhd"
mpeg2_dxva2_hwaccel_deps="dxva2api_h" mpeg2_dxva2_hwaccel_deps="dxva2api_h"
mpeg2_dxva2_hwaccel_select="dxva2 mpeg2video_decoder" mpeg2_dxva2_hwaccel_select="dxva2 mpeg2video_decoder"
mpeg2_vdpau_hwaccel_select="vdpau mpeg2video_decoder" mpeg2_vdpau_hwaccel_select="vdpau mpeg2video_decoder"
mpeg2_vaapi_hwaccel_select="vaapi mpeg2video_decoder" mpeg2_vaapi_hwaccel_select="vaapi mpeg2video_decoder"
mpeg2video_decoder_select="mpegvideo"
mpeg2video_encoder_select="aandcttables mpegvideoenc"
mpeg2video_decoder_select="error_resilience mpegvideo"
mpeg2video_encoder_select="aandcttables error_resilience mpegvideoenc"
mpeg4_crystalhd_decoder_select="crystalhd" mpeg4_crystalhd_decoder_select="crystalhd"
mpeg4_decoder_select="h263_decoder mpeg4video_parser" mpeg4_decoder_select="h263_decoder mpeg4video_parser"
mpeg4_encoder_select="h263_encoder" mpeg4_encoder_select="h263_encoder"
@@ -1615,18 +1618,18 @@ rv10_decoder_select="h263_decoder"
rv10_encoder_select="h263_encoder" rv10_encoder_select="h263_encoder"
rv20_decoder_select="h263_decoder" rv20_decoder_select="h263_decoder"
rv20_encoder_select="h263_encoder" rv20_encoder_select="h263_encoder"
rv30_decoder_select="golomb h264chroma h264pred h264qpel mpegvideo"
rv40_decoder_select="golomb h264chroma h264pred h264qpel mpegvideo"
rv30_decoder_select="error_resilience golomb h264chroma h264pred h264qpel mpegvideo"
rv40_decoder_select="error_resilience golomb h264chroma h264pred h264qpel mpegvideo"
shorten_decoder_select="golomb" shorten_decoder_select="golomb"
sipr_decoder_select="lsp" sipr_decoder_select="lsp"
snow_decoder_select="dwt"
snow_encoder_select="aandcttables dwt mpegvideoenc"
snow_decoder_select="dwt rangecoder"
snow_encoder_select="aandcttables dwt error_resilience mpegvideoenc rangecoder"
sonic_decoder_select="golomb" sonic_decoder_select="golomb"
sonic_encoder_select="golomb" sonic_encoder_select="golomb"
sonic_ls_encoder_select="golomb" sonic_ls_encoder_select="golomb"
svq1_decoder_select="mpegvideo"
svq1_encoder_select="aandcttables mpegvideoenc"
svq3_decoder_select="golomb h264chroma h264dsp h264pred h264qpel mpegvideo"
svq1_decoder_select="error_resilience mpegvideo"
svq1_encoder_select="aandcttables error_resilience mpegvideoenc"
svq3_decoder_select="error_resilience golomb h264chroma h264dsp h264pred h264qpel mpegvideo"
svq3_decoder_suggest="zlib" svq3_decoder_suggest="zlib"
theora_decoder_select="vp3_decoder" theora_decoder_select="vp3_decoder"
tiff_decoder_suggest="zlib" tiff_decoder_suggest="zlib"
@@ -1676,10 +1679,10 @@ vda_deps="VideoDecodeAcceleration_VDADecoder_h pthreads"
vdpau_deps="vdpau_vdpau_h vdpau_vdpau_x11_h" vdpau_deps="vdpau_vdpau_h vdpau_vdpau_x11_h"


# parsers # parsers
h264_parser_select="golomb h264dsp h264pred mpegvideo"
mpeg4video_parser_select="mpegvideo"
mpegvideo_parser_select="mpegvideo"
vc1_parser_select="mpegvideo"
h264_parser_select="error_resilience golomb h264dsp h264pred mpegvideo"
mpeg4video_parser_select="error_resilience mpegvideo"
mpegvideo_parser_select="error_resilience mpegvideo"
vc1_parser_select="error_resilience mpegvideo"


# external libraries # external libraries
libaacplus_encoder_deps="libaacplus" libaacplus_encoder_deps="libaacplus"


+ 1
- 0
doc/examples/decoding_encoding.c View File

@@ -34,6 +34,7 @@
#include <libavutil/opt.h> #include <libavutil/opt.h>
#include <libavcodec/avcodec.h> #include <libavcodec/avcodec.h>
#include <libavutil/audioconvert.h> #include <libavutil/audioconvert.h>
#include <libavutil/common.h>
#include <libavutil/imgutils.h> #include <libavutil/imgutils.h>
#include <libavutil/mathematics.h> #include <libavutil/mathematics.h>
#include <libavutil/samplefmt.h> #include <libavutil/samplefmt.h>


+ 3
- 0
doc/protocols.texi View File

@@ -281,6 +281,9 @@ Size of the decompressed SWF file, required for SWFVerification.
@item rtmp_swfurl @item rtmp_swfurl
URL of the SWF player for the media. By default no value will be sent. URL of the SWF player for the media. By default no value will be sent.


@item rtmp_swfverify
URL to player swf file, compute hash/size automatically.

@item rtmp_tcurl @item rtmp_tcurl
URL of the target stream. Defaults to proto://host[:port]/app. URL of the target stream. Defaults to proto://host[:port]/app.




+ 2
- 0
libavcodec/8bps.c View File

@@ -33,7 +33,9 @@


#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h>


#include "libavutil/internal.h"
#include "libavutil/intreadwrite.h" #include "libavutil/intreadwrite.h"
#include "avcodec.h" #include "avcodec.h"




+ 1
- 0
libavcodec/8svx.c View File

@@ -39,6 +39,7 @@


#include "libavutil/avassert.h" #include "libavutil/avassert.h"
#include "avcodec.h" #include "avcodec.h"
#include "libavutil/common.h"


/** decoder context */ /** decoder context */
typedef struct EightSvxContext { typedef struct EightSvxContext {


+ 25
- 39
libavcodec/Makefile View File

@@ -41,6 +41,7 @@ OBJS-$(CONFIG_ENCODERS) += faandct.o jfdctfst.o jfdctint.o
OBJS-$(CONFIG_DCT) += dct.o dct32_fixed.o dct32_float.o OBJS-$(CONFIG_DCT) += dct.o dct32_fixed.o dct32_float.o
OBJS-$(CONFIG_DWT) += dwt.o snow.o OBJS-$(CONFIG_DWT) += dwt.o snow.o
OBJS-$(CONFIG_DXVA2) += dxva2.o OBJS-$(CONFIG_DXVA2) += dxva2.o
OBJS-$(CONFIG_ERROR_RESILIENCE) += error_resilience.o
FFT-OBJS-$(CONFIG_HARDCODED_TABLES) += cos_tables.o cos_fixed_tables.o FFT-OBJS-$(CONFIG_HARDCODED_TABLES) += cos_tables.o cos_fixed_tables.o
OBJS-$(CONFIG_FFT) += avfft.o fft_fixed.o fft_float.o \ OBJS-$(CONFIG_FFT) += avfft.o fft_fixed.o fft_float.o \
$(FFT-OBJS-yes) $(FFT-OBJS-yes)
@@ -58,6 +59,7 @@ OBJS-$(CONFIG_MPEGAUDIODSP) += mpegaudiodsp.o \
OBJS-$(CONFIG_MPEGVIDEO) += mpegvideo.o mpegvideo_motion.o OBJS-$(CONFIG_MPEGVIDEO) += mpegvideo.o mpegvideo_motion.o
OBJS-$(CONFIG_MPEGVIDEOENC) += mpegvideo_enc.o mpeg12data.o \ OBJS-$(CONFIG_MPEGVIDEOENC) += mpegvideo_enc.o mpeg12data.o \
motion_est.o ratecontrol.o motion_est.o ratecontrol.o
OBJS-$(CONFIG_RANGECODER) += rangecoder.o
RDFT-OBJS-$(CONFIG_HARDCODED_TABLES) += sin_tables.o RDFT-OBJS-$(CONFIG_HARDCODED_TABLES) += sin_tables.o
OBJS-$(CONFIG_RDFT) += rdft.o $(RDFT-OBJS-yes) OBJS-$(CONFIG_RDFT) += rdft.o $(RDFT-OBJS-yes)
OBJS-$(CONFIG_SINEWIN) += sinewin.o OBJS-$(CONFIG_SINEWIN) += sinewin.o
@@ -164,19 +166,19 @@ OBJS-$(CONFIG_EAC3_ENCODER) += eac3enc.o ac3enc.o ac3enc_float.o \
ac3tab.o ac3.o kbdwin.o eac3_data.o ac3tab.o ac3.o kbdwin.o eac3_data.o
OBJS-$(CONFIG_EACMV_DECODER) += eacmv.o OBJS-$(CONFIG_EACMV_DECODER) += eacmv.o
OBJS-$(CONFIG_EAMAD_DECODER) += eamad.o eaidct.o mpeg12.o \ OBJS-$(CONFIG_EAMAD_DECODER) += eamad.o eaidct.o mpeg12.o \
mpeg12data.o error_resilience.o
mpeg12data.o
OBJS-$(CONFIG_EATGQ_DECODER) += eatgq.o eaidct.o OBJS-$(CONFIG_EATGQ_DECODER) += eatgq.o eaidct.o
OBJS-$(CONFIG_EATGV_DECODER) += eatgv.o OBJS-$(CONFIG_EATGV_DECODER) += eatgv.o
OBJS-$(CONFIG_EATQI_DECODER) += eatqi.o eaidct.o mpeg12.o \ OBJS-$(CONFIG_EATQI_DECODER) += eatqi.o eaidct.o mpeg12.o \
mpeg12data.o error_resilience.o
mpeg12data.o
OBJS-$(CONFIG_EIGHTBPS_DECODER) += 8bps.o OBJS-$(CONFIG_EIGHTBPS_DECODER) += 8bps.o
OBJS-$(CONFIG_EIGHTSVX_EXP_DECODER) += 8svx.o OBJS-$(CONFIG_EIGHTSVX_EXP_DECODER) += 8svx.o
OBJS-$(CONFIG_EIGHTSVX_FIB_DECODER) += 8svx.o OBJS-$(CONFIG_EIGHTSVX_FIB_DECODER) += 8svx.o
OBJS-$(CONFIG_ESCAPE124_DECODER) += escape124.o OBJS-$(CONFIG_ESCAPE124_DECODER) += escape124.o
OBJS-$(CONFIG_ESCAPE130_DECODER) += escape130.o OBJS-$(CONFIG_ESCAPE130_DECODER) += escape130.o
OBJS-$(CONFIG_EXR_DECODER) += exr.o OBJS-$(CONFIG_EXR_DECODER) += exr.o
OBJS-$(CONFIG_FFV1_DECODER) += ffv1.o rangecoder.o
OBJS-$(CONFIG_FFV1_ENCODER) += ffv1.o rangecoder.o
OBJS-$(CONFIG_FFV1_DECODER) += ffv1.o
OBJS-$(CONFIG_FFV1_ENCODER) += ffv1.o
OBJS-$(CONFIG_FFVHUFF_DECODER) += huffyuv.o OBJS-$(CONFIG_FFVHUFF_DECODER) += huffyuv.o
OBJS-$(CONFIG_FFVHUFF_ENCODER) += huffyuv.o OBJS-$(CONFIG_FFVHUFF_ENCODER) += huffyuv.o
OBJS-$(CONFIG_FFWAVESYNTH_DECODER) += ffwavesynth.o OBJS-$(CONFIG_FFWAVESYNTH_DECODER) += ffwavesynth.o
@@ -198,20 +200,18 @@ OBJS-$(CONFIG_GIF_DECODER) += gifdec.o lzw.o
OBJS-$(CONFIG_GIF_ENCODER) += gif.o lzwenc.o OBJS-$(CONFIG_GIF_ENCODER) += gif.o lzwenc.o
OBJS-$(CONFIG_GSM_DECODER) += gsmdec.o gsmdec_data.o msgsmdec.o OBJS-$(CONFIG_GSM_DECODER) += gsmdec.o gsmdec_data.o msgsmdec.o
OBJS-$(CONFIG_GSM_MS_DECODER) += gsmdec.o gsmdec_data.o msgsmdec.o OBJS-$(CONFIG_GSM_MS_DECODER) += gsmdec.o gsmdec_data.o msgsmdec.o
OBJS-$(CONFIG_H261_DECODER) += h261dec.o h261.o h261data.o error_resilience.o
OBJS-$(CONFIG_H261_DECODER) += h261dec.o h261.o h261data.o
OBJS-$(CONFIG_H261_ENCODER) += h261enc.o h261.o h261data.o OBJS-$(CONFIG_H261_ENCODER) += h261enc.o h261.o h261data.o
OBJS-$(CONFIG_H263_DECODER) += h263dec.o h263.o ituh263dec.o \ OBJS-$(CONFIG_H263_DECODER) += h263dec.o h263.o ituh263dec.o \
mpeg4video.o mpeg4videodec.o flvdec.o\ mpeg4video.o mpeg4videodec.o flvdec.o\
intelh263dec.o error_resilience.o
intelh263dec.o
OBJS-$(CONFIG_H263_VAAPI_HWACCEL) += vaapi_mpeg4.o OBJS-$(CONFIG_H263_VAAPI_HWACCEL) += vaapi_mpeg4.o
OBJS-$(CONFIG_H263_ENCODER) += mpeg4videoenc.o mpeg4video.o \ OBJS-$(CONFIG_H263_ENCODER) += mpeg4videoenc.o mpeg4video.o \
h263.o ituh263enc.o flvenc.o \
error_resilience.o
h263.o ituh263enc.o flvenc.o
OBJS-$(CONFIG_H264_DECODER) += h264.o \ OBJS-$(CONFIG_H264_DECODER) += h264.o \
h264_loopfilter.o h264_direct.o \ h264_loopfilter.o h264_direct.o \
cabac.o h264_sei.o h264_ps.o \ cabac.o h264_sei.o h264_ps.o \
h264_refs.o h264_cavlc.o h264_cabac.o\
error_resilience.o
h264_refs.o h264_cavlc.o h264_cabac.o
OBJS-$(CONFIG_H264_DXVA2_HWACCEL) += dxva2_h264.o OBJS-$(CONFIG_H264_DXVA2_HWACCEL) += dxva2_h264.o
OBJS-$(CONFIG_H264_VAAPI_HWACCEL) += vaapi_h264.o OBJS-$(CONFIG_H264_VAAPI_HWACCEL) += vaapi_h264.o
OBJS-$(CONFIG_H264_VDA_HWACCEL) += vda_h264.o OBJS-$(CONFIG_H264_VDA_HWACCEL) += vda_h264.o
@@ -243,8 +243,7 @@ OBJS-$(CONFIG_LJPEG_ENCODER) += ljpegenc.o mjpegenc.o mjpeg.o
OBJS-$(CONFIG_LOCO_DECODER) += loco.o OBJS-$(CONFIG_LOCO_DECODER) += loco.o
OBJS-$(CONFIG_MACE3_DECODER) += mace.o OBJS-$(CONFIG_MACE3_DECODER) += mace.o
OBJS-$(CONFIG_MACE6_DECODER) += mace.o OBJS-$(CONFIG_MACE6_DECODER) += mace.o
OBJS-$(CONFIG_MDEC_DECODER) += mdec.o mpeg12.o mpeg12data.o \
error_resilience.o
OBJS-$(CONFIG_MDEC_DECODER) += mdec.o mpeg12.o mpeg12data.o
OBJS-$(CONFIG_MICRODVD_DECODER) += microdvddec.o ass.o OBJS-$(CONFIG_MICRODVD_DECODER) += microdvddec.o ass.o
OBJS-$(CONFIG_MIMIC_DECODER) += mimic.o OBJS-$(CONFIG_MIMIC_DECODER) += mimic.o
OBJS-$(CONFIG_MJPEG_DECODER) += mjpegdec.o mjpeg.o OBJS-$(CONFIG_MJPEG_DECODER) += mjpegdec.o mjpeg.o
@@ -288,18 +287,14 @@ OBJS-$(CONFIG_MPC8_DECODER) += mpc8.o mpc.o mpegaudiodec.o \
OBJS-$(CONFIG_MPEGVIDEO_DECODER) += mpeg12.o mpeg12data.o \ OBJS-$(CONFIG_MPEGVIDEO_DECODER) += mpeg12.o mpeg12data.o \
mpegvideo.o error_resilience.o mpegvideo.o error_resilience.o
OBJS-$(CONFIG_MPEG_XVMC_DECODER) += mpegvideo_xvmc.o OBJS-$(CONFIG_MPEG_XVMC_DECODER) += mpegvideo_xvmc.o
OBJS-$(CONFIG_MPEG1VIDEO_DECODER) += mpeg12.o mpeg12data.o \
error_resilience.o
OBJS-$(CONFIG_MPEG1VIDEO_DECODER) += mpeg12.o mpeg12data.o
OBJS-$(CONFIG_MPEG1VIDEO_ENCODER) += mpeg12enc.o mpeg12.o \ OBJS-$(CONFIG_MPEG1VIDEO_ENCODER) += mpeg12enc.o mpeg12.o \
timecode.o \
error_resilience.o
timecode.o
OBJS-$(CONFIG_MPEG2_DXVA2_HWACCEL) += dxva2_mpeg2.o OBJS-$(CONFIG_MPEG2_DXVA2_HWACCEL) += dxva2_mpeg2.o
OBJS-$(CONFIG_MPEG2_VAAPI_HWACCEL) += vaapi_mpeg2.o OBJS-$(CONFIG_MPEG2_VAAPI_HWACCEL) += vaapi_mpeg2.o
OBJS-$(CONFIG_MPEG2VIDEO_DECODER) += mpeg12.o mpeg12data.o \
error_resilience.o
OBJS-$(CONFIG_MPEG2VIDEO_DECODER) += mpeg12.o mpeg12data.o
OBJS-$(CONFIG_MPEG2VIDEO_ENCODER) += mpeg12enc.o mpeg12.o \ OBJS-$(CONFIG_MPEG2VIDEO_ENCODER) += mpeg12enc.o mpeg12.o \
timecode.o \
error_resilience.o
timecode.o
OBJS-$(CONFIG_MPEG4_VAAPI_HWACCEL) += vaapi_mpeg4.o OBJS-$(CONFIG_MPEG4_VAAPI_HWACCEL) += vaapi_mpeg4.o
OBJS-$(CONFIG_MSMPEG4V1_DECODER) += msmpeg4.o msmpeg4data.o OBJS-$(CONFIG_MSMPEG4V1_DECODER) += msmpeg4.o msmpeg4data.o
OBJS-$(CONFIG_MSMPEG4V2_DECODER) += msmpeg4.o msmpeg4data.o h263dec.o \ OBJS-$(CONFIG_MSMPEG4V2_DECODER) += msmpeg4.o msmpeg4data.o h263dec.o \
@@ -380,10 +375,8 @@ OBJS-$(CONFIG_RV10_DECODER) += rv10.o
OBJS-$(CONFIG_RV10_ENCODER) += rv10enc.o OBJS-$(CONFIG_RV10_ENCODER) += rv10enc.o
OBJS-$(CONFIG_RV20_DECODER) += rv10.o OBJS-$(CONFIG_RV20_DECODER) += rv10.o
OBJS-$(CONFIG_RV20_ENCODER) += rv20enc.o OBJS-$(CONFIG_RV20_ENCODER) += rv20enc.o
OBJS-$(CONFIG_RV30_DECODER) += rv30.o rv34.o rv30dsp.o rv34dsp.o \
error_resilience.o
OBJS-$(CONFIG_RV40_DECODER) += rv40.o rv34.o rv34dsp.o rv40dsp.o \
error_resilience.o
OBJS-$(CONFIG_RV30_DECODER) += rv30.o rv34.o rv30dsp.o rv34dsp.o
OBJS-$(CONFIG_RV40_DECODER) += rv40.o rv34.o rv34dsp.o rv40dsp.o
OBJS-$(CONFIG_SAMI_DECODER) += samidec.o ass.o OBJS-$(CONFIG_SAMI_DECODER) += samidec.o ass.o
OBJS-$(CONFIG_S302M_DECODER) += s302m.o OBJS-$(CONFIG_S302M_DECODER) += s302m.o
OBJS-$(CONFIG_SANM_DECODER) += sanm.o OBJS-$(CONFIG_SANM_DECODER) += sanm.o
@@ -397,10 +390,9 @@ OBJS-$(CONFIG_SIPR_DECODER) += sipr.o acelp_pitch_delay.o \
OBJS-$(CONFIG_SMACKAUD_DECODER) += smacker.o OBJS-$(CONFIG_SMACKAUD_DECODER) += smacker.o
OBJS-$(CONFIG_SMACKER_DECODER) += smacker.o OBJS-$(CONFIG_SMACKER_DECODER) += smacker.o
OBJS-$(CONFIG_SMC_DECODER) += smc.o OBJS-$(CONFIG_SMC_DECODER) += smc.o
OBJS-$(CONFIG_SNOW_DECODER) += snowdec.o snow.o rangecoder.o
OBJS-$(CONFIG_SNOW_ENCODER) += snowenc.o snow.o rangecoder.o \
h263.o ituh263enc.o \
error_resilience.o
OBJS-$(CONFIG_SNOW_DECODER) += snowdec.o snow.o
OBJS-$(CONFIG_SNOW_ENCODER) += snowenc.o snow.o \
h263.o ituh263enc.o
OBJS-$(CONFIG_SOL_DPCM_DECODER) += dpcm.o OBJS-$(CONFIG_SOL_DPCM_DECODER) += dpcm.o
OBJS-$(CONFIG_SONIC_DECODER) += sonic.o OBJS-$(CONFIG_SONIC_DECODER) += sonic.o
OBJS-$(CONFIG_SONIC_ENCODER) += sonic.o OBJS-$(CONFIG_SONIC_ENCODER) += sonic.o
@@ -413,16 +405,13 @@ OBJS-$(CONFIG_SUBRIP_ENCODER) += srtenc.o ass_split.o
OBJS-$(CONFIG_SUBVIEWER_DECODER) += subviewerdec.o ass.o OBJS-$(CONFIG_SUBVIEWER_DECODER) += subviewerdec.o ass.o
OBJS-$(CONFIG_SUNRAST_DECODER) += sunrast.o OBJS-$(CONFIG_SUNRAST_DECODER) += sunrast.o
OBJS-$(CONFIG_SUNRAST_ENCODER) += sunrastenc.o OBJS-$(CONFIG_SUNRAST_ENCODER) += sunrastenc.o
OBJS-$(CONFIG_SVQ1_DECODER) += svq1dec.o svq1.o h263.o \
error_resilience.o
OBJS-$(CONFIG_SVQ1_DECODER) += svq1dec.o svq1.o h263.o
OBJS-$(CONFIG_SVQ1_ENCODER) += svq1enc.o svq1.o \ OBJS-$(CONFIG_SVQ1_ENCODER) += svq1enc.o svq1.o \
h263.o ituh263enc.o \
error_resilience.o
h263.o ituh263enc.o
OBJS-$(CONFIG_SVQ3_DECODER) += h264.o svq3.o \ OBJS-$(CONFIG_SVQ3_DECODER) += h264.o svq3.o \
h264_loopfilter.o h264_direct.o \ h264_loopfilter.o h264_direct.o \
h264_sei.o h264_ps.o h264_refs.o \ h264_sei.o h264_ps.o h264_refs.o \
h264_cavlc.o h264_cabac.o cabac.o \ h264_cavlc.o h264_cabac.o cabac.o \
error_resilience.o \
svq1dec.o svq1.o h263.o svq1dec.o svq1.o h263.o
OBJS-$(CONFIG_TARGA_DECODER) += targa.o OBJS-$(CONFIG_TARGA_DECODER) += targa.o
OBJS-$(CONFIG_TARGA_ENCODER) += targaenc.o rle.o OBJS-$(CONFIG_TARGA_ENCODER) += targaenc.o rle.o
@@ -715,27 +704,24 @@ OBJS-$(CONFIG_H264_PARSER) += h264_parser.o h264.o \
cabac.o \ cabac.o \
h264_refs.o h264_sei.o h264_direct.o \ h264_refs.o h264_sei.o h264_direct.o \
h264_loopfilter.o h264_cabac.o \ h264_loopfilter.o h264_cabac.o \
h264_cavlc.o h264_ps.o \
error_resilience.o
h264_cavlc.o h264_ps.o
OBJS-$(CONFIG_AAC_LATM_PARSER) += latm_parser.o OBJS-$(CONFIG_AAC_LATM_PARSER) += latm_parser.o
OBJS-$(CONFIG_MJPEG_PARSER) += mjpeg_parser.o OBJS-$(CONFIG_MJPEG_PARSER) += mjpeg_parser.o
OBJS-$(CONFIG_MLP_PARSER) += mlp_parser.o mlp.o OBJS-$(CONFIG_MLP_PARSER) += mlp_parser.o mlp.o
OBJS-$(CONFIG_MPEG4VIDEO_PARSER) += mpeg4video_parser.o h263.o \ OBJS-$(CONFIG_MPEG4VIDEO_PARSER) += mpeg4video_parser.o h263.o \
error_resilience.o \
mpeg4videodec.o mpeg4video.o \ mpeg4videodec.o mpeg4video.o \
ituh263dec.o h263dec.o ituh263dec.o h263dec.o
OBJS-$(CONFIG_PNG_PARSER) += png_parser.o OBJS-$(CONFIG_PNG_PARSER) += png_parser.o
OBJS-$(CONFIG_MPEGAUDIO_PARSER) += mpegaudio_parser.o \ OBJS-$(CONFIG_MPEGAUDIO_PARSER) += mpegaudio_parser.o \
mpegaudiodecheader.o mpegaudiodata.o mpegaudiodecheader.o mpegaudiodata.o
OBJS-$(CONFIG_MPEGVIDEO_PARSER) += mpegvideo_parser.o \ OBJS-$(CONFIG_MPEGVIDEO_PARSER) += mpegvideo_parser.o \
mpeg12.o mpeg12data.o \
error_resilience.o
mpeg12.o mpeg12data.o
OBJS-$(CONFIG_PNM_PARSER) += pnm_parser.o pnm.o OBJS-$(CONFIG_PNM_PARSER) += pnm_parser.o pnm.o
OBJS-$(CONFIG_RV30_PARSER) += rv34_parser.o OBJS-$(CONFIG_RV30_PARSER) += rv34_parser.o
OBJS-$(CONFIG_RV40_PARSER) += rv34_parser.o OBJS-$(CONFIG_RV40_PARSER) += rv34_parser.o
OBJS-$(CONFIG_VC1_PARSER) += vc1_parser.o vc1.o vc1data.o \ OBJS-$(CONFIG_VC1_PARSER) += vc1_parser.o vc1.o vc1data.o \
msmpeg4.o msmpeg4data.o mpeg4video.o \ msmpeg4.o msmpeg4data.o mpeg4video.o \
h263.o error_resilience.o
h263.o
OBJS-$(CONFIG_VORBIS_PARSER) += vorbis_parser.o xiph.o OBJS-$(CONFIG_VORBIS_PARSER) += vorbis_parser.o xiph.o
OBJS-$(CONFIG_VP3_PARSER) += vp3_parser.o OBJS-$(CONFIG_VP3_PARSER) += vp3_parser.o
OBJS-$(CONFIG_VP8_PARSER) += vp8_parser.o OBJS-$(CONFIG_VP8_PARSER) += vp8_parser.o


+ 1
- 0
libavcodec/a64multienc.c View File

@@ -29,6 +29,7 @@
#include "a64tables.h" #include "a64tables.h"
#include "elbg.h" #include "elbg.h"
#include "internal.h" #include "internal.h"
#include "libavutil/common.h"
#include "libavutil/intreadwrite.h" #include "libavutil/intreadwrite.h"


#define DITHERSTEPS 8 #define DITHERSTEPS 8


+ 1
- 0
libavcodec/aac_ac3_parser.c View File

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


#include "libavutil/common.h"
#include "parser.h" #include "parser.h"
#include "aac_ac3_parser.h" #include "aac_ac3_parser.h"




+ 1
- 0
libavcodec/acelp_filters.c View File

@@ -22,6 +22,7 @@


#include <inttypes.h> #include <inttypes.h>


#include "libavutil/common.h"
#include "avcodec.h" #include "avcodec.h"
#include "acelp_filters.h" #include "acelp_filters.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 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */


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


+ 2
- 0
libavcodec/acelp_vectors.c View File

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


#include <inttypes.h> #include <inttypes.h>

#include "libavutil/common.h"
#include "avcodec.h" #include "avcodec.h"
#include "acelp_vectors.h" #include "acelp_vectors.h"
#include "celp_math.h" #include "celp_math.h"


+ 1
- 0
libavcodec/adx.c View File

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


#include "libavutil/common.h"
#include "libavutil/intreadwrite.h" #include "libavutil/intreadwrite.h"
#include "libavutil/mathematics.h" #include "libavutil/mathematics.h"
#include "adx.h" #include "adx.h"


+ 1
- 0
libavcodec/allcodecs.c View File

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


#include "avcodec.h" #include "avcodec.h"
#include "config.h"


#define REGISTER_HWACCEL(X,x) { \ #define REGISTER_HWACCEL(X,x) { \
extern AVHWAccel ff_##x##_hwaccel; \ extern AVHWAccel ff_##x##_hwaccel; \


+ 2
- 0
libavcodec/amr.h View File

@@ -23,6 +23,8 @@
#ifndef AVCODEC_AMR_H #ifndef AVCODEC_AMR_H
#define AVCODEC_AMR_H #define AVCODEC_AMR_H


#include <string.h>

#include "avcodec.h" #include "avcodec.h"


#ifdef AMR_USE_16BIT_TABLES #ifdef AMR_USE_16BIT_TABLES


+ 1
- 0
libavcodec/amrwbdec.c View File

@@ -24,6 +24,7 @@
* AMR wideband decoder * AMR wideband decoder
*/ */


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


#include "avcodec.h" #include "avcodec.h"


+ 1
- 0
libavcodec/ansi.c View File

@@ -24,6 +24,7 @@
* ASCII/ANSI art decoder * ASCII/ANSI art decoder
*/ */


#include "libavutil/common.h"
#include "libavutil/lfg.h" #include "libavutil/lfg.h"
#include "avcodec.h" #include "avcodec.h"
#include "cga_data.h" #include "cga_data.h"


+ 1
- 0
libavcodec/ass.c View File

@@ -22,6 +22,7 @@
#include "avcodec.h" #include "avcodec.h"
#include "ass.h" #include "ass.h"
#include "libavutil/avstring.h" #include "libavutil/avstring.h"
#include "libavutil/common.h"


int ff_ass_subtitle_header(AVCodecContext *avctx, int ff_ass_subtitle_header(AVCodecContext *avctx,
const char *font, int font_size, const char *font, int font_size,


+ 4
- 0
libavcodec/assdec.c View File

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


#include <string.h>

#include "avcodec.h" #include "avcodec.h"
#include "ass.h" #include "ass.h"
#include "ass_split.h" #include "ass_split.h"
#include "libavutil/internal.h"
#include "libavutil/mem.h"


static av_cold int ass_decode_init(AVCodecContext *avctx) static av_cold int ass_decode_init(AVCodecContext *avctx)
{ {


+ 4
- 0
libavcodec/assenc.c View File

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


#include <string.h>

#include "avcodec.h" #include "avcodec.h"
#include "libavutil/avstring.h" #include "libavutil/avstring.h"
#include "libavutil/internal.h"
#include "libavutil/mem.h"


static av_cold int ass_encode_init(AVCodecContext *avctx) static av_cold int ass_encode_init(AVCodecContext *avctx)
{ {


+ 1
- 0
libavcodec/atrac.c View File

@@ -27,6 +27,7 @@
#include <math.h> #include <math.h>
#include <stddef.h> #include <stddef.h>
#include <stdio.h> #include <stdio.h>
#include <string.h>


#include "avcodec.h" #include "avcodec.h"
#include "dsputil.h" #include "dsputil.h"


+ 1
- 0
libavcodec/audio_frame_queue.c View File

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


#include "libavutil/common.h"
#include "audio_frame_queue.h" #include "audio_frame_queue.h"
#include "internal.h" #include "internal.h"
#include "libavutil/avassert.h" #include "libavutil/avassert.h"


+ 1
- 0
libavcodec/audioconvert.c View File

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


#include "libavutil/avstring.h" #include "libavutil/avstring.h"
#include "libavutil/common.h"
#include "libavutil/libm.h" #include "libavutil/libm.h"
#include "libavutil/samplefmt.h" #include "libavutil/samplefmt.h"
#include "avcodec.h" #include "avcodec.h"


+ 1
- 0
libavcodec/aura.c View File

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


#include "avcodec.h" #include "avcodec.h"
#include "libavutil/internal.h"


typedef struct AuraDecodeContext { typedef struct AuraDecodeContext {
AVCodecContext *avctx; AVCodecContext *avctx;


+ 5
- 2
libavcodec/avpacket.c View File

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


#include "internal.h"
#include <string.h>

#include "libavutil/avassert.h" #include "libavutil/avassert.h"
#include "bytestream.h"
#include "libavutil/mem.h"
#include "avcodec.h" #include "avcodec.h"
#include "bytestream.h"
#include "internal.h"


void av_destruct_packet_nofree(AVPacket *pkt) void av_destruct_packet_nofree(AVPacket *pkt)
{ {


+ 3
- 0
libavcodec/bitstream_filter.c View File

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


#include <string.h>

#include "avcodec.h" #include "avcodec.h"
#include "libavutil/mem.h"


static AVBitStreamFilter *first_bitstream_filter= NULL; static AVBitStreamFilter *first_bitstream_filter= NULL;




+ 1
- 0
libavcodec/cavsdsp.c View File

@@ -25,6 +25,7 @@
#include <stdio.h> #include <stdio.h>
#include "dsputil.h" #include "dsputil.h"
#include "cavsdsp.h" #include "cavsdsp.h"
#include "libavutil/common.h"


/***************************************************************************** /*****************************************************************************
* *


+ 1
- 0
libavcodec/celp_filters.c View File

@@ -24,6 +24,7 @@


#include "avcodec.h" #include "avcodec.h"
#include "celp_filters.h" #include "celp_filters.h"
#include "libavutil/common.h"


void ff_celp_convolve_circ(int16_t* fc_out, const int16_t* fc_in, void ff_celp_convolve_circ(int16_t* fc_out, const int16_t* fc_in,
const int16_t* filter, int len) const int16_t* filter, int len)


+ 1
- 0
libavcodec/celp_math.c View File

@@ -27,6 +27,7 @@
#include "avcodec.h" #include "avcodec.h"
#include "mathops.h" #include "mathops.h"
#include "celp_math.h" #include "celp_math.h"
#include "libavutil/common.h"


#ifdef G729_BITEXACT #ifdef G729_BITEXACT
/** /**


+ 1
- 0
libavcodec/cinepak.c View File

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


#include "libavutil/common.h"
#include "libavutil/intreadwrite.h" #include "libavutil/intreadwrite.h"
#include "avcodec.h" #include "avcodec.h"




+ 1
- 0
libavcodec/codec_desc.c View File

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


#include "avcodec.h" #include "avcodec.h"


#include "libavutil/common.h"
#include "libavutil/internal.h" #include "libavutil/internal.h"


static const AVCodecDescriptor codec_descriptors[] = { static const AVCodecDescriptor codec_descriptors[] = {


+ 1
- 0
libavcodec/cscd.c View File

@@ -22,6 +22,7 @@
#include <stdlib.h> #include <stdlib.h>


#include "avcodec.h" #include "avcodec.h"
#include "libavutil/common.h"


#if CONFIG_ZLIB #if CONFIG_ZLIB
#include <zlib.h> #include <zlib.h>


+ 1
- 0
libavcodec/cyuv.c View File

@@ -34,6 +34,7 @@


#include "avcodec.h" #include "avcodec.h"
#include "dsputil.h" #include "dsputil.h"
#include "libavutil/internal.h"




typedef struct CyuvDecodeContext { typedef struct CyuvDecodeContext {


+ 1
- 0
libavcodec/dct.c View File

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


#include <math.h> #include <math.h>
#include <string.h>


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


+ 3
- 0
libavcodec/dirac_parser.c View File

@@ -27,7 +27,10 @@
* @author Marco Gerards <marco@gnu.org> * @author Marco Gerards <marco@gnu.org>
*/ */


#include <string.h>

#include "libavutil/intreadwrite.h" #include "libavutil/intreadwrite.h"
#include "libavutil/mem.h"
#include "parser.h" #include "parser.h"


#define DIRAC_PARSE_INFO_PREFIX 0x42424344 #define DIRAC_PARSE_INFO_PREFIX 0x42424344


+ 1
- 0
libavcodec/dnxhddata.c View File

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


#include "avcodec.h" #include "avcodec.h"
#include "dnxhddata.h" #include "dnxhddata.h"
#include "libavutil/common.h"


/* The quantization tables below are in zigzag order! */ /* The quantization tables below are in zigzag order! */




+ 1
- 0
libavcodec/dpxenc.c View File

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


#include "libavutil/common.h"
#include "libavutil/intreadwrite.h" #include "libavutil/intreadwrite.h"
#include "libavutil/imgutils.h" #include "libavutil/imgutils.h"
#include "avcodec.h" #include "avcodec.h"


+ 3
- 0
libavcodec/dump_extradata_bsf.c View File

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


#include <string.h>

#include "avcodec.h" #include "avcodec.h"
#include "libavutil/mem.h"




static int dump_extradata(AVBitStreamFilterContext *bsfc, AVCodecContext *avctx, const char *args, static int dump_extradata(AVBitStreamFilterContext *bsfc, AVCodecContext *avctx, const char *args,


+ 1
- 0
libavcodec/dv_profile.c View File

@@ -18,6 +18,7 @@


#include <stdint.h> #include <stdint.h>


#include "libavutil/common.h"
#include "libavutil/intreadwrite.h" #include "libavutil/intreadwrite.h"
#include "libavutil/log.h" #include "libavutil/log.h"
#include "libavutil/pixdesc.h" #include "libavutil/pixdesc.h"


+ 3
- 0
libavcodec/dvdsub_parser.c View File

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


#include <string.h>

#include "libavutil/intreadwrite.h" #include "libavutil/intreadwrite.h"
#include "libavutil/mem.h"
#include "avcodec.h" #include "avcodec.h"


/* parser definition */ /* parser definition */


+ 1
- 0
libavcodec/dwt.c View File

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


#include "libavutil/attributes.h" #include "libavutil/attributes.h"
#include "libavutil/avassert.h" #include "libavutil/avassert.h"
#include "libavutil/common.h"
#include "dsputil.h" #include "dsputil.h"
#include "dwt.h" #include "dwt.h"
#include "libavcodec/x86/dwt.h" #include "libavcodec/x86/dwt.h"


+ 1
- 0
libavcodec/dxa.c View File

@@ -27,6 +27,7 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>


#include "libavutil/common.h"
#include "libavutil/intreadwrite.h" #include "libavutil/intreadwrite.h"
#include "avcodec.h" #include "avcodec.h"




+ 1
- 0
libavcodec/dxtory.c View File

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


#include "avcodec.h" #include "avcodec.h"
#include "libavutil/common.h"
#include "libavutil/intreadwrite.h" #include "libavutil/intreadwrite.h"


static av_cold int decode_init(AVCodecContext *avctx) static av_cold int decode_init(AVCodecContext *avctx)


+ 1
- 0
libavcodec/eacmv.c View File

@@ -28,6 +28,7 @@
* http://wiki.multimedia.cx/index.php?title=Electronic_Arts_CMV * http://wiki.multimedia.cx/index.php?title=Electronic_Arts_CMV
*/ */


#include "libavutil/common.h"
#include "libavutil/intreadwrite.h" #include "libavutil/intreadwrite.h"
#include "libavutil/imgutils.h" #include "libavutil/imgutils.h"
#include "avcodec.h" #include "avcodec.h"


+ 1
- 0
libavcodec/eaidct.c View File

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


#include "dsputil.h" #include "dsputil.h"
#include "eaidct.h" #include "eaidct.h"
#include "libavutil/common.h"


#define ASQRT 181 /* (1/sqrt(2))<<8 */ #define ASQRT 181 /* (1/sqrt(2))<<8 */
#define A4 669 /* cos(pi/8)*sqrt(2)<<9 */ #define A4 669 /* cos(pi/8)*sqrt(2)<<9 */


+ 1
- 0
libavcodec/elbg.c View File

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


#include <string.h> #include <string.h>


#include "libavutil/common.h"
#include "libavutil/lfg.h" #include "libavutil/lfg.h"
#include "elbg.h" #include "elbg.h"
#include "avcodec.h" #include "avcodec.h"


+ 2
- 0
libavcodec/faandct.c View File

@@ -27,6 +27,8 @@


#include "dsputil.h" #include "dsputil.h"
#include "faandct.h" #include "faandct.h"
#include "libavutil/internal.h"
#include "libavutil/libm.h"


#define FLOAT float #define FLOAT float




+ 1
- 0
libavcodec/faanidct.c View File

@@ -19,6 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include "faanidct.h" #include "faanidct.h"
#include "libavutil/common.h"


/* To allow switching to double. */ /* To allow switching to double. */
#define FLOAT float #define FLOAT float


+ 1
- 0
libavcodec/fmtconvert.c View File

@@ -22,6 +22,7 @@


#include "avcodec.h" #include "avcodec.h"
#include "fmtconvert.h" #include "fmtconvert.h"
#include "libavutil/common.h"


static void int32_to_float_fmul_scalar_c(float *dst, const int *src, float mul, int len){ static void int32_to_float_fmul_scalar_c(float *dst, const int *src, float mul, int len){
int i; int i;


+ 1
- 0
libavcodec/g722enc.c View File

@@ -31,6 +31,7 @@
#include "avcodec.h" #include "avcodec.h"
#include "internal.h" #include "internal.h"
#include "g722.h" #include "g722.h"
#include "libavutil/common.h"


#define FREEZE_INTERVAL 128 #define FREEZE_INTERVAL 128




+ 3
- 0
libavcodec/h264_mp4toannexb_bsf.c View File

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


#include <string.h>

#include "libavutil/intreadwrite.h" #include "libavutil/intreadwrite.h"
#include "libavutil/mem.h"
#include "avcodec.h" #include "avcodec.h"


typedef struct H264BSFContext { typedef struct H264BSFContext {


+ 1
- 0
libavcodec/h264dsp.c View File

@@ -29,6 +29,7 @@
#include "libavutil/avassert.h" #include "libavutil/avassert.h"
#include "avcodec.h" #include "avcodec.h"
#include "h264dsp.h" #include "h264dsp.h"
#include "libavutil/common.h"


#define BIT_DEPTH 8 #define BIT_DEPTH 8
#include "h264dsp_template.c" #include "h264dsp_template.c"


+ 1
- 0
libavcodec/h264idct_template.c View File

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


#include "bit_depth_template.c" #include "bit_depth_template.c"
#include "libavutil/common.h"


#ifndef AVCODEC_H264IDCT_INTERNAL_H #ifndef AVCODEC_H264IDCT_INTERNAL_H
#define AVCODEC_H264IDCT_INTERNAL_H #define AVCODEC_H264IDCT_INTERNAL_H


+ 1
- 0
libavcodec/idcinvideo.c View File

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


#include "avcodec.h" #include "avcodec.h"
#include "libavutil/internal.h"


#define HUFFMAN_TABLE_SIZE 64 * 1024 #define HUFFMAN_TABLE_SIZE 64 * 1024
#define HUF_TOKENS 256 #define HUF_TOKENS 256


+ 1
- 0
libavcodec/iirfilter.c View File

@@ -26,6 +26,7 @@


#include "iirfilter.h" #include "iirfilter.h"
#include <math.h> #include <math.h>
#include "libavutil/common.h"


/** /**
* IIR filter global parameters * IIR filter global parameters


+ 1
- 0
libavcodec/imgconvert.c View File

@@ -35,6 +35,7 @@
#include "internal.h" #include "internal.h"
#include "imgconvert.h" #include "imgconvert.h"
#include "libavutil/colorspace.h" #include "libavutil/colorspace.h"
#include "libavutil/common.h"
#include "libavutil/pixdesc.h" #include "libavutil/pixdesc.h"
#include "libavutil/imgutils.h" #include "libavutil/imgutils.h"




+ 1
- 0
libavcodec/intrax8dsp.c View File

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


#include "dsputil.h" #include "dsputil.h"
#include "libavutil/common.h"


/* /*
area positions, #3 is 1 pixel only, other are 8 pixels area positions, #3 is 1 pixel only, other are 8 pixels


+ 1
- 0
libavcodec/jpegls.h View File

@@ -29,6 +29,7 @@
#define AVCODEC_JPEGLS_H #define AVCODEC_JPEGLS_H


#include "avcodec.h" #include "avcodec.h"
#include "libavutil/common.h"


typedef struct JpeglsContext{ typedef struct JpeglsContext{
AVCodecContext *avctx; AVCodecContext *avctx;


+ 1
- 0
libavcodec/kgv1dec.c View File

@@ -24,6 +24,7 @@
* Kega Game Video decoder * Kega Game Video decoder
*/ */


#include "libavutil/common.h"
#include "libavutil/intreadwrite.h" #include "libavutil/intreadwrite.h"
#include "libavutil/imgutils.h" #include "libavutil/imgutils.h"
#include "avcodec.h" #include "avcodec.h"


+ 2
- 0
libavcodec/lclenc.c View File

@@ -45,6 +45,8 @@
#include "avcodec.h" #include "avcodec.h"
#include "internal.h" #include "internal.h"
#include "lcl.h" #include "lcl.h"
#include "libavutil/internal.h"
#include "libavutil/mem.h"


#include <zlib.h> #include <zlib.h>




+ 1
- 0
libavcodec/libfaac.c View File

@@ -30,6 +30,7 @@
#include "audio_frame_queue.h" #include "audio_frame_queue.h"
#include "internal.h" #include "internal.h"
#include "libavutil/audioconvert.h" #include "libavutil/audioconvert.h"
#include "libavutil/common.h"




/* libfaac has an encoder delay of 1024 samples */ /* libfaac has an encoder delay of 1024 samples */


+ 1
- 0
libavcodec/libfdk-aacenc.c View File

@@ -25,6 +25,7 @@
#include "audio_frame_queue.h" #include "audio_frame_queue.h"
#include "internal.h" #include "internal.h"
#include "libavutil/audioconvert.h" #include "libavutil/audioconvert.h"
#include "libavutil/common.h"
#include "libavutil/opt.h" #include "libavutil/opt.h"


typedef struct AACContext { typedef struct AACContext {


+ 1
- 0
libavcodec/libgsm.c View File

@@ -32,6 +32,7 @@
#include "avcodec.h" #include "avcodec.h"
#include "internal.h" #include "internal.h"
#include "gsm.h" #include "gsm.h"
#include "libavutil/common.h"


static av_cold int libgsm_encode_close(AVCodecContext *avctx) { static av_cold int libgsm_encode_close(AVCodecContext *avctx) {
#if FF_API_OLD_ENCODE_AUDIO #if FF_API_OLD_ENCODE_AUDIO


+ 1
- 0
libavcodec/libilbc.c View File

@@ -22,6 +22,7 @@
#include <ilbc.h> #include <ilbc.h>


#include "avcodec.h" #include "avcodec.h"
#include "libavutil/common.h"
#include "libavutil/opt.h" #include "libavutil/opt.h"
#include "internal.h" #include "internal.h"




+ 1
- 0
libavcodec/libmp3lame.c View File

@@ -27,6 +27,7 @@
#include <lame/lame.h> #include <lame/lame.h>


#include "libavutil/audioconvert.h" #include "libavutil/audioconvert.h"
#include "libavutil/common.h"
#include "libavutil/intreadwrite.h" #include "libavutil/intreadwrite.h"
#include "libavutil/log.h" #include "libavutil/log.h"
#include "libavutil/opt.h" #include "libavutil/opt.h"


+ 1
- 0
libavcodec/libopencore-amr.c View File

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


#include "avcodec.h" #include "avcodec.h"
#include "libavutil/avstring.h" #include "libavutil/avstring.h"
#include "libavutil/common.h"
#include "libavutil/opt.h" #include "libavutil/opt.h"
#include "audio_frame_queue.h" #include "audio_frame_queue.h"
#include "internal.h" #include "internal.h"


+ 1
- 0
libavcodec/libspeexdec.c View File

@@ -23,6 +23,7 @@
#include <speex/speex_stereo.h> #include <speex/speex_stereo.h>
#include <speex/speex_callbacks.h> #include <speex/speex_callbacks.h>
#include "avcodec.h" #include "avcodec.h"
#include "libavutil/common.h"


typedef struct { typedef struct {
AVFrame frame; AVFrame frame;


+ 1
- 0
libavcodec/libspeexenc.c View File

@@ -69,6 +69,7 @@
#include <speex/speex_stereo.h> #include <speex/speex_stereo.h>


#include "libavutil/audioconvert.h" #include "libavutil/audioconvert.h"
#include "libavutil/common.h"
#include "libavutil/opt.h" #include "libavutil/opt.h"
#include "avcodec.h" #include "avcodec.h"
#include "internal.h" #include "internal.h"


+ 1
- 0
libavcodec/libtheoraenc.c View File

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


/* FFmpeg includes */ /* FFmpeg includes */
#include "libavutil/common.h"
#include "libavutil/intreadwrite.h" #include "libavutil/intreadwrite.h"
#include "libavutil/log.h" #include "libavutil/log.h"
#include "libavutil/base64.h" #include "libavutil/base64.h"


+ 4
- 0
libavcodec/libvo-amrwbenc.c View File

@@ -20,8 +20,12 @@
*/ */


#include <vo-amrwbenc/enc_if.h> #include <vo-amrwbenc/enc_if.h>
#include <stdio.h>
#include <stdlib.h>


#include "libavutil/avstring.h" #include "libavutil/avstring.h"
#include "libavutil/internal.h"
#include "libavutil/mem.h"
#include "libavutil/opt.h" #include "libavutil/opt.h"
#include "avcodec.h" #include "avcodec.h"
#include "internal.h" #include "internal.h"


+ 1
- 0
libavcodec/libvpxdec.c View File

@@ -27,6 +27,7 @@
#include <vpx/vpx_decoder.h> #include <vpx/vpx_decoder.h>
#include <vpx/vp8dx.h> #include <vpx/vp8dx.h>


#include "libavutil/common.h"
#include "libavutil/imgutils.h" #include "libavutil/imgutils.h"
#include "avcodec.h" #include "avcodec.h"




+ 1
- 0
libavcodec/libvpxenc.c View File

@@ -32,6 +32,7 @@
#include "internal.h" #include "internal.h"
#include "libavutil/avassert.h" #include "libavutil/avassert.h"
#include "libavutil/base64.h" #include "libavutil/base64.h"
#include "libavutil/common.h"
#include "libavutil/mathematics.h" #include "libavutil/mathematics.h"
#include "libavutil/opt.h" #include "libavutil/opt.h"




+ 2
- 0
libavcodec/libx264.c View File

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


#include "libavutil/internal.h"
#include "libavutil/opt.h" #include "libavutil/opt.h"
#include "libavutil/mem.h"
#include "libavutil/pixdesc.h" #include "libavutil/pixdesc.h"
#include "avcodec.h" #include "avcodec.h"
#include "internal.h" #include "internal.h"


+ 1
- 0
libavcodec/lpc.c View File

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


#include "libavutil/common.h"
#include "libavutil/lls.h" #include "libavutil/lls.h"


#define LPC_USE_DOUBLE #define LPC_USE_DOUBLE


+ 1
- 0
libavcodec/lzw.c View File

@@ -29,6 +29,7 @@


#include "avcodec.h" #include "avcodec.h"
#include "lzw.h" #include "lzw.h"
#include "libavutil/mem.h"


#define LZW_MAXBITS 12 #define LZW_MAXBITS 12
#define LZW_SIZTABLE (1<<LZW_MAXBITS) #define LZW_SIZTABLE (1<<LZW_MAXBITS)


+ 1
- 0
libavcodec/mace.c View File

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


#include "avcodec.h" #include "avcodec.h"
#include "libavutil/common.h"


/* /*
* Adapted to libavcodec by Francois Revol <revol@free.fr> * Adapted to libavcodec by Francois Revol <revol@free.fr>


+ 2
- 0
libavcodec/motion-test.c View File

@@ -31,7 +31,9 @@


#include "config.h" #include "config.h"
#include "dsputil.h" #include "dsputil.h"
#include "libavutil/internal.h"
#include "libavutil/lfg.h" #include "libavutil/lfg.h"
#include "libavutil/mem.h"
#include "libavutil/time.h" #include "libavutil/time.h"


#undef printf #undef printf


+ 1
- 0
libavcodec/movsub_bsf.c View File

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


#include "libavutil/common.h"
#include "libavutil/intreadwrite.h" #include "libavutil/intreadwrite.h"
#include "avcodec.h" #include "avcodec.h"




+ 1
- 0
libavcodec/mp3_header_compress_bsf.c View File

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


#include "libavutil/common.h"
#include "libavutil/intreadwrite.h" #include "libavutil/intreadwrite.h"
#include "avcodec.h" #include "avcodec.h"
#include "mpegaudiodecheader.h" #include "mpegaudiodecheader.h"


+ 1
- 0
libavcodec/mp3_header_decompress_bsf.c View File

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


#include "libavutil/common.h"
#include "libavutil/intreadwrite.h" #include "libavutil/intreadwrite.h"
#include "avcodec.h" #include "avcodec.h"
#include "mpegaudiodecheader.h" #include "mpegaudiodecheader.h"


+ 1
- 0
libavcodec/mpegaudio_parser.c View File

@@ -22,6 +22,7 @@


#include "parser.h" #include "parser.h"
#include "mpegaudiodecheader.h" #include "mpegaudiodecheader.h"
#include "libavutil/common.h"




typedef struct MpegAudioParseContext { typedef struct MpegAudioParseContext {


+ 1
- 0
libavcodec/msvideo1.c View File

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


#include "libavutil/internal.h"
#include "libavutil/intreadwrite.h" #include "libavutil/intreadwrite.h"
#include "avcodec.h" #include "avcodec.h"




+ 4
- 0
libavcodec/noise_bsf.c View File

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


#include <stdlib.h>
#include <string.h>

#include "avcodec.h" #include "avcodec.h"
#include "libavutil/mem.h"




static int noise(AVBitStreamFilterContext *bsfc, AVCodecContext *avctx, const char *args, static int noise(AVBitStreamFilterContext *bsfc, AVCodecContext *avctx, const char *args,


+ 1
- 0
libavcodec/nuv.c View File

@@ -24,6 +24,7 @@
#include <limits.h> #include <limits.h>


#include "libavutil/bswap.h" #include "libavutil/bswap.h"
#include "libavutil/common.h"
#include "libavutil/lzo.h" #include "libavutil/lzo.h"
#include "libavutil/imgutils.h" #include "libavutil/imgutils.h"
#include "avcodec.h" #include "avcodec.h"


+ 2
- 0
libavcodec/options.c View File

@@ -27,8 +27,10 @@
#include "avcodec.h" #include "avcodec.h"
#include "internal.h" #include "internal.h"
#include "libavutil/avassert.h" #include "libavutil/avassert.h"
#include "libavutil/mem.h"
#include "libavutil/opt.h" #include "libavutil/opt.h"
#include <float.h> /* FLT_MIN, FLT_MAX */ #include <float.h> /* FLT_MIN, FLT_MAX */
#include <string.h>


#include "options_table.h" #include "options_table.h"




+ 1
- 0
libavcodec/options_table.h View File

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


#include "libavutil/opt.h" #include "libavutil/opt.h"
#include "avcodec.h" #include "avcodec.h"
#include "config.h"


#define OFFSET(x) offsetof(AVCodecContext,x) #define OFFSET(x) offsetof(AVCodecContext,x)
#define DEFAULT 0 //should be NAN but it does not work as it is not a constant in glibc as required by ANSI/ISO C #define DEFAULT 0 //should be NAN but it does not work as it is not a constant in glibc as required by ANSI/ISO C


+ 3
- 0
libavcodec/parser.c View File

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


#include <string.h>

#include "parser.h" #include "parser.h"
#include "libavutil/mem.h"


static AVCodecParser *av_first_parser = NULL; static AVCodecParser *av_first_parser = NULL;




+ 3
- 0
libavcodec/pnm.c View File

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


#include <stdlib.h>
#include <string.h>

#include "libavutil/imgutils.h" #include "libavutil/imgutils.h"
#include "avcodec.h" #include "avcodec.h"
#include "pnm.h" #include "pnm.h"


+ 3
- 0
libavcodec/ppc/dsputil_ppc.c View File

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


#include <string.h>

#include "libavutil/cpu.h" #include "libavutil/cpu.h"
#include "libavutil/mem.h"
#include "libavcodec/dsputil.h" #include "libavcodec/dsputil.h"
#include "dsputil_altivec.h" #include "dsputil_altivec.h"




+ 1
- 0
libavcodec/ppc/fmtconvert_altivec.c View File

@@ -21,6 +21,7 @@
#include "libavcodec/fmtconvert.h" #include "libavcodec/fmtconvert.h"


#include "libavutil/ppc/util_altivec.h" #include "libavutil/ppc/util_altivec.h"
#include "libavutil/mem.h"
#include "dsputil_altivec.h" #include "dsputil_altivec.h"


static void int32_to_float_fmul_scalar_altivec(float *dst, const int *src, static void int32_to_float_fmul_scalar_altivec(float *dst, const int *src,


+ 1
- 0
libavcodec/ppc/gmc_altivec.c View File

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


#include "libavutil/mem.h"
#include "libavutil/ppc/types_altivec.h" #include "libavutil/ppc/types_altivec.h"
#include "libavutil/ppc/util_altivec.h" #include "libavutil/ppc/util_altivec.h"
#include "libavcodec/dsputil.h" #include "libavcodec/dsputil.h"


+ 2
- 0
libavcodec/ppc/h264_altivec_template.c View File

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


#include "libavutil/mem.h"

#ifdef DEBUG #ifdef DEBUG
#define ASSERT_ALIGNED(ptr) assert(((unsigned long)ptr&0x0000000F)); #define ASSERT_ALIGNED(ptr) assert(((unsigned long)ptr&0x0000000F));
#else #else


+ 1
- 0
libavcodec/ppc/vp8dsp_altivec.c View File

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


#include "libavutil/cpu.h" #include "libavutil/cpu.h"
#include "libavutil/mem.h"
#include "libavutil/ppc/types_altivec.h" #include "libavutil/ppc/types_altivec.h"
#include "libavutil/ppc/util_altivec.h" #include "libavutil/ppc/util_altivec.h"
#include "libavcodec/vp8dsp.h" #include "libavcodec/vp8dsp.h"


+ 1
- 0
libavcodec/proresdsp.c View File

@@ -22,6 +22,7 @@


#include "proresdsp.h" #include "proresdsp.h"
#include "simple_idct.h" #include "simple_idct.h"
#include "libavutil/common.h"


#define BIAS (1 << (PRORES_BITS_PER_SAMPLE - 1)) ///< bias value for converting signed pixels into unsigned ones #define BIAS (1 << (PRORES_BITS_PER_SAMPLE - 1)) ///< bias value for converting signed pixels into unsigned ones
#define CLIP_MIN (1 << (PRORES_BITS_PER_SAMPLE - 8)) ///< minimum value for clipping resulting pixels #define CLIP_MIN (1 << (PRORES_BITS_PER_SAMPLE - 8)) ///< minimum value for clipping resulting pixels


+ 3
- 0
libavcodec/psymodel.c View File

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


#include <string.h>

#include "avcodec.h" #include "avcodec.h"
#include "psymodel.h" #include "psymodel.h"
#include "iirfilter.h" #include "iirfilter.h"
#include "libavutil/mem.h"


extern const FFPsyModel ff_aac_psy_model; extern const FFPsyModel ff_aac_psy_model;




+ 1
- 0
libavcodec/pthread.c View File

@@ -53,6 +53,7 @@
#include "avcodec.h" #include "avcodec.h"
#include "internal.h" #include "internal.h"
#include "thread.h" #include "thread.h"
#include "libavutil/common.h"


#if HAVE_PTHREADS #if HAVE_PTHREADS
#include <pthread.h> #include <pthread.h>


+ 1
- 0
libavcodec/ptx.c View File

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


#include "libavutil/common.h"
#include "libavutil/intreadwrite.h" #include "libavutil/intreadwrite.h"
#include "libavutil/imgutils.h" #include "libavutil/imgutils.h"
#include "avcodec.h" #include "avcodec.h"


+ 1
- 0
libavcodec/qdrw.c View File

@@ -24,6 +24,7 @@
* Apple QuickDraw codec. * Apple QuickDraw codec.
*/ */


#include "libavutil/common.h"
#include "libavutil/intreadwrite.h" #include "libavutil/intreadwrite.h"
#include "avcodec.h" #include "avcodec.h"




+ 1
- 0
libavcodec/r210dec.c View File

@@ -22,6 +22,7 @@


#include "avcodec.h" #include "avcodec.h"
#include "libavutil/bswap.h" #include "libavutil/bswap.h"
#include "libavutil/common.h"


static av_cold int decode_init(AVCodecContext *avctx) static av_cold int decode_init(AVCodecContext *avctx)
{ {


+ 1
- 0
libavcodec/ra144.c View File

@@ -23,6 +23,7 @@
#include "avcodec.h" #include "avcodec.h"
#include "celp_filters.h" #include "celp_filters.h"
#include "ra144.h" #include "ra144.h"
#include "libavutil/common.h"


const int16_t ff_gain_val_tab[256][3] = { const int16_t ff_gain_val_tab[256][3] = {
{ 541, 956, 768}, { 877, 581, 568}, { 675,1574, 635}, {1248,1464, 668}, { 541, 956, 768}, { 877, 581, 568}, { 675,1574, 635}, {1248,1464, 668},


+ 1
- 0
libavcodec/ra288.h View File

@@ -24,6 +24,7 @@


#include <stdint.h> #include <stdint.h>
#include "dsputil.h" #include "dsputil.h"
#include "libavutil/common.h"


static const float amptable[8]={ static const float amptable[8]={
0.515625, 0.90234375, 1.57910156, 2.76342773, 0.515625, 0.90234375, 1.57910156, 2.76342773,


Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save