Permalink
Browse files

Adds mp3lame, x264 and some misc ffmpeg files

  • Loading branch information...
Javier Fonseca V
Javier Fonseca V committed Jan 29, 2013
1 parent 5f2bc7a commit 11e30069945f5b5c1fcf8c3681cc3bacd3223913
Showing with 50,097 additions and 0 deletions.
  1. +5,073 −0 vendor/ffmpeg/include/libavcodec/avcodec.h
  2. +116 −0 vendor/ffmpeg/include/libavcodec/avfft.h
  3. +88 −0 vendor/ffmpeg/include/libavcodec/dxva2.h
  4. +398 −0 vendor/ffmpeg/include/libavcodec/old_codec_ids.h
  5. +173 −0 vendor/ffmpeg/include/libavcodec/vaapi.h
  6. +226 −0 vendor/ffmpeg/include/libavcodec/vda.h
  7. +151 −0 vendor/ffmpeg/include/libavcodec/vdpau.h
  8. +110 −0 vendor/ffmpeg/include/libavcodec/version.h
  9. +168 −0 vendor/ffmpeg/include/libavcodec/xvmc.h
  10. +69 −0 vendor/ffmpeg/include/libavdevice/avdevice.h
  11. +50 −0 vendor/ffmpeg/include/libavdevice/version.h
  12. +91 −0 vendor/ffmpeg/include/libavfilter/asrc_abuffer.h
  13. +131 −0 vendor/ffmpeg/include/libavfilter/avcodec.h
  14. +852 −0 vendor/ffmpeg/include/libavfilter/avfilter.h
  15. +271 −0 vendor/ffmpeg/include/libavfilter/avfiltergraph.h
  16. +149 −0 vendor/ffmpeg/include/libavfilter/buffersink.h
  17. +95 −0 vendor/ffmpeg/include/libavfilter/buffersrc.h
  18. +64 −0 vendor/ffmpeg/include/libavfilter/version.h
  19. +2,126 −0 vendor/ffmpeg/include/libavformat/avformat.h
  20. +475 −0 vendor/ffmpeg/include/libavformat/avio.h
  21. +89 −0 vendor/ffmpeg/include/libavformat/version.h
  22. +43 −0 vendor/ffmpeg/include/libavutil/adler32.h
  23. +65 −0 vendor/ffmpeg/include/libavutil/aes.h
  24. +154 −0 vendor/ffmpeg/include/libavutil/attributes.h
  25. +146 −0 vendor/ffmpeg/include/libavutil/audio_fifo.h
  26. +6 −0 vendor/ffmpeg/include/libavutil/audioconvert.h
  27. +66 −0 vendor/ffmpeg/include/libavutil/avassert.h
  28. +7 −0 vendor/ffmpeg/include/libavutil/avconfig.h
  29. +240 −0 vendor/ffmpeg/include/libavutil/avstring.h
  30. +260 −0 vendor/ffmpeg/include/libavutil/avutil.h
  31. +67 −0 vendor/ffmpeg/include/libavutil/base64.h
  32. +77 −0 vendor/ffmpeg/include/libavutil/blowfish.h
  33. +183 −0 vendor/ffmpeg/include/libavutil/bprint.h
  34. +109 −0 vendor/ffmpeg/include/libavutil/bswap.h
  35. +216 −0 vendor/ffmpeg/include/libavutil/channel_layout.h
  36. +437 −0 vendor/ffmpeg/include/libavutil/common.h
  37. +108 −0 vendor/ffmpeg/include/libavutil/cpu.h
  38. +74 −0 vendor/ffmpeg/include/libavutil/crc.h
  39. +152 −0 vendor/ffmpeg/include/libavutil/dict.h
  40. +117 −0 vendor/ffmpeg/include/libavutil/error.h
  41. +113 −0 vendor/ffmpeg/include/libavutil/eval.h
  42. +144 −0 vendor/ffmpeg/include/libavutil/fifo.h
  43. +66 −0 vendor/ffmpeg/include/libavutil/file.h
  44. +95 −0 vendor/ffmpeg/include/libavutil/hmac.h
  45. +200 −0 vendor/ffmpeg/include/libavutil/imgutils.h
  46. +77 −0 vendor/ffmpeg/include/libavutil/intfloat.h
  47. +40 −0 vendor/ffmpeg/include/libavutil/intfloat_readwrite.h
  48. +555 −0 vendor/ffmpeg/include/libavutil/intreadwrite.h
  49. +62 −0 vendor/ffmpeg/include/libavutil/lfg.h
  50. +222 −0 vendor/ffmpeg/include/libavutil/log.h
  51. +66 −0 vendor/ffmpeg/include/libavutil/lzo.h
  52. +147 −0 vendor/ffmpeg/include/libavutil/mathematics.h
  53. +49 −0 vendor/ffmpeg/include/libavutil/md5.h
  54. +235 −0 vendor/ffmpeg/include/libavutil/mem.h
  55. +171 −0 vendor/ffmpeg/include/libavutil/old_pix_fmts.h
  56. +733 −0 vendor/ffmpeg/include/libavutil/opt.h
  57. +174 −0 vendor/ffmpeg/include/libavutil/parseutils.h
  58. +237 −0 vendor/ffmpeg/include/libavutil/pixdesc.h
  59. +357 −0 vendor/ffmpeg/include/libavutil/pixfmt.h
  60. +43 −0 vendor/ffmpeg/include/libavutil/random_seed.h
  61. +155 −0 vendor/ffmpeg/include/libavutil/rational.h
  62. +243 −0 vendor/ffmpeg/include/libavutil/samplefmt.h
  63. +74 −0 vendor/ffmpeg/include/libavutil/sha.h
  64. +41 −0 vendor/ffmpeg/include/libavutil/time.h
  65. +140 −0 vendor/ffmpeg/include/libavutil/timecode.h
  66. +74 −0 vendor/ffmpeg/include/libavutil/timestamp.h
  67. +138 −0 vendor/ffmpeg/include/libavutil/version.h
  68. +62 −0 vendor/ffmpeg/include/libavutil/xtea.h
  69. +106 −0 vendor/ffmpeg/include/libpostproc/postprocess.h
  70. +45 −0 vendor/ffmpeg/include/libpostproc/version.h
  71. +311 −0 vendor/ffmpeg/include/libswresample/swresample.h
  72. +45 −0 vendor/ffmpeg/include/libswresample/version.h
  73. +355 −0 vendor/ffmpeg/include/libswscale/swscale.h
  74. +59 −0 vendor/ffmpeg/include/libswscale/version.h
  75. +37 −0 vendor/ffmpeg/share/ffmpeg/examples/Makefile
  76. +18 −0 vendor/ffmpeg/share/ffmpeg/examples/README
  77. +650 −0 vendor/ffmpeg/share/ffmpeg/examples/decoding_encoding.c
  78. +342 −0 vendor/ffmpeg/share/ffmpeg/examples/demuxing.c
  79. +241 −0 vendor/ffmpeg/share/ffmpeg/examples/filtering_audio.c
  80. +248 −0 vendor/ffmpeg/share/ffmpeg/examples/filtering_video.c
  81. +56 −0 vendor/ffmpeg/share/ffmpeg/examples/metadata.c
  82. +521 −0 vendor/ffmpeg/share/ffmpeg/examples/muxing.c
  83. +223 −0 vendor/ffmpeg/share/ffmpeg/examples/resampling_audio.c
  84. +141 −0 vendor/ffmpeg/share/ffmpeg/examples/scaling_video.c
  85. +199 −0 vendor/ffmpeg/share/ffmpeg/ffprobe.xsd
  86. +19 −0 vendor/ffmpeg/share/ffmpeg/libvpx-1080p.ffpreset
  87. +19 −0 vendor/ffmpeg/share/ffmpeg/libvpx-1080p50_60.ffpreset
  88. +18 −0 vendor/ffmpeg/share/ffmpeg/libvpx-360p.ffpreset
  89. +19 −0 vendor/ffmpeg/share/ffmpeg/libvpx-720p.ffpreset
  90. +19 −0 vendor/ffmpeg/share/ffmpeg/libvpx-720p50_60.ffpreset
  91. +6 −0 vendor/ffmpeg/share/ffmpeg/libx264-ipod320.ffpreset
  92. +6 −0 vendor/ffmpeg/share/ffmpeg/libx264-ipod640.ffpreset
  93. +240 −0 vendor/ffmpeg/share/man/man1/ffmpeg-bitstream-filters.1
  94. +2,648 −0 vendor/ffmpeg/share/man/man1/ffmpeg-codecs.1
  95. +1,023 −0 vendor/ffmpeg/share/man/man1/ffmpeg-devices.1
  96. +5,954 −0 vendor/ffmpeg/share/man/man1/ffmpeg-filters.1
  97. +1,354 −0 vendor/ffmpeg/share/man/man1/ffmpeg-formats.1
  98. +915 −0 vendor/ffmpeg/share/man/man1/ffmpeg-protocols.1
  99. +396 −0 vendor/ffmpeg/share/man/man1/ffmpeg-resampler.1
  100. +247 −0 vendor/ffmpeg/share/man/man1/ffmpeg-scaler.1
  101. +675 −0 vendor/ffmpeg/share/man/man1/ffmpeg-utils.1
  102. +1,730 −0 vendor/ffmpeg/share/man/man1/ffmpeg.1
  103. +824 −0 vendor/ffmpeg/share/man/man1/ffprobe.1
  104. +604 −0 vendor/ffmpeg/share/man/man1/ffserver.1
  105. +158 −0 vendor/ffmpeg/share/man/man1/libavcodec.3
  106. +155 −0 vendor/ffmpeg/share/man/man1/libavdevice.3
  107. +153 −0 vendor/ffmpeg/share/man/man1/libavfilter.3
  108. +158 −0 vendor/ffmpeg/share/man/man1/libavformat.3
  109. +155 −0 vendor/ffmpeg/share/man/man1/libavutil.3
  110. +175 −0 vendor/ffmpeg/share/man/man1/libswresample.3
  111. +169 −0 vendor/ffmpeg/share/man/man1/libswscale.3
  112. BIN vendor/mp3lame/bin/lame
  113. +1,323 −0 vendor/mp3lame/include/lame/lame.h
  114. BIN vendor/mp3lame/lib/libmp3lame.a
  115. +41 −0 vendor/mp3lame/lib/libmp3lame.la
  116. +1 −0 vendor/mp3lame/lib/libmp3lame.so
  117. +1 −0 vendor/mp3lame/lib/libmp3lame.so.0
  118. BIN vendor/mp3lame/lib/libmp3lame.so.0.0.0
  119. +138 −0 vendor/mp3lame/share/doc/lame/html/about.html
  120. +112 −0 vendor/mp3lame/share/doc/lame/html/abr.html
  121. +104 −0 vendor/mp3lame/share/doc/lame/html/cbr.html
  122. +126 −0 vendor/mp3lame/share/doc/lame/html/contact.html
  123. +191 −0 vendor/mp3lame/share/doc/lame/html/contributors.html
  124. +1,281 −0 vendor/mp3lame/share/doc/lame/html/detailed.html
  125. +3,460 −0 vendor/mp3lame/share/doc/lame/html/history.html
  126. +73 −0 vendor/mp3lame/share/doc/lame/html/index.html
  127. +185 −0 vendor/mp3lame/share/doc/lame/html/introduction.html
  128. +936 −0 vendor/mp3lame/share/doc/lame/html/links.html
  129. +69 −0 vendor/mp3lame/share/doc/lame/html/list.html
  130. +126 −0 vendor/mp3lame/share/doc/lame/html/ms_stereo.html
  131. +138 −0 vendor/mp3lame/share/doc/lame/html/usage.html
  132. +83 −0 vendor/mp3lame/share/doc/lame/html/vbr.html
  133. +1,140 −0 vendor/mp3lame/share/man/man1/lame.1
  134. BIN vendor/x264/bin/x264
  135. +908 −0 vendor/x264/include/x264.h
  136. +8 −0 vendor/x264/include/x264_config.h
  137. BIN vendor/x264/lib/libx264.a
  138. +1 −0 vendor/x264/lib/libx264.so
  139. BIN vendor/x264/lib/libx264.so.129
  140. +11 −0 vendor/x264/lib/pkgconfig/x264.pc

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -0,0 +1,116 @@
+/*
+ * This file is part of FFmpeg.
+ *
+ * FFmpeg is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * FFmpeg is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with FFmpeg; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+#ifndef AVCODEC_AVFFT_H
+#define AVCODEC_AVFFT_H
+
+/**
+ * @file
+ * @ingroup lavc_fft
+ * FFT functions
+ */
+
+/**
+ * @defgroup lavc_fft FFT functions
+ * @ingroup lavc_misc
+ *
+ * @{
+ */
+
+typedef float FFTSample;
+
+typedef struct FFTComplex {
+ FFTSample re, im;
+} FFTComplex;
+
+typedef struct FFTContext FFTContext;
+
+/**
+ * Set up a complex FFT.
+ * @param nbits log2 of the length of the input array
+ * @param inverse if 0 perform the forward transform, if 1 perform the inverse
+ */
+FFTContext *av_fft_init(int nbits, int inverse);
+
+/**
+ * Do the permutation needed BEFORE calling ff_fft_calc().
+ */
+void av_fft_permute(FFTContext *s, FFTComplex *z);
+
+/**
+ * Do a complex FFT with the parameters defined in av_fft_init(). The
+ * input data must be permuted before. No 1.0/sqrt(n) normalization is done.
+ */
+void av_fft_calc(FFTContext *s, FFTComplex *z);
+
+void av_fft_end(FFTContext *s);
+
+FFTContext *av_mdct_init(int nbits, int inverse, double scale);
+void av_imdct_calc(FFTContext *s, FFTSample *output, const FFTSample *input);
+void av_imdct_half(FFTContext *s, FFTSample *output, const FFTSample *input);
+void av_mdct_calc(FFTContext *s, FFTSample *output, const FFTSample *input);
+void av_mdct_end(FFTContext *s);
+
+/* Real Discrete Fourier Transform */
+
+enum RDFTransformType {
+ DFT_R2C,
+ IDFT_C2R,
+ IDFT_R2C,
+ DFT_C2R,
+};
+
+typedef struct RDFTContext RDFTContext;
+
+/**
+ * Set up a real FFT.
+ * @param nbits log2 of the length of the input array
+ * @param trans the type of transform
+ */
+RDFTContext *av_rdft_init(int nbits, enum RDFTransformType trans);
+void av_rdft_calc(RDFTContext *s, FFTSample *data);
+void av_rdft_end(RDFTContext *s);
+
+/* Discrete Cosine Transform */
+
+typedef struct DCTContext DCTContext;
+
+enum DCTTransformType {
+ DCT_II = 0,
+ DCT_III,
+ DCT_I,
+ DST_I,
+};
+
+/**
+ * Set up DCT.
+ * @param nbits size of the input array:
+ * (1 << nbits) for DCT-II, DCT-III and DST-I
+ * (1 << nbits) + 1 for DCT-I
+ *
+ * @note the first element of the input of DST-I is ignored
+ */
+DCTContext *av_dct_init(int nbits, enum DCTTransformType type);
+void av_dct_calc(DCTContext *s, FFTSample *data);
+void av_dct_end (DCTContext *s);
+
+/**
+ * @}
+ */
+
+#endif /* AVCODEC_AVFFT_H */
@@ -0,0 +1,88 @@
+/*
+ * DXVA2 HW acceleration
+ *
+ * copyright (c) 2009 Laurent Aimar
+ *
+ * This file is part of FFmpeg.
+ *
+ * FFmpeg is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * FFmpeg is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with FFmpeg; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+#ifndef AVCODEC_DXVA_H
+#define AVCODEC_DXVA_H
+
+/**
+ * @file
+ * @ingroup lavc_codec_hwaccel_dxva2
+ * Public libavcodec DXVA2 header.
+ */
+
+#include <stdint.h>
+
+#include <d3d9.h>
+#include <dxva2api.h>
+
+/**
+ * @defgroup lavc_codec_hwaccel_dxva2 DXVA2
+ * @ingroup lavc_codec_hwaccel
+ *
+ * @{
+ */
+
+#define FF_DXVA2_WORKAROUND_SCALING_LIST_ZIGZAG 1 ///< Work around for DXVA2 and old UVD/UVD+ ATI video cards
+
+/**
+ * This structure is used to provides the necessary configurations and data
+ * to the DXVA2 FFmpeg HWAccel implementation.
+ *
+ * The application must make it available as AVCodecContext.hwaccel_context.
+ */
+struct dxva_context {
+ /**
+ * DXVA2 decoder object
+ */
+ IDirectXVideoDecoder *decoder;
+
+ /**
+ * DXVA2 configuration used to create the decoder
+ */
+ const DXVA2_ConfigPictureDecode *cfg;
+
+ /**
+ * The number of surface in the surface array
+ */
+ unsigned surface_count;
+
+ /**
+ * The array of Direct3D surfaces used to create the decoder
+ */
+ LPDIRECT3DSURFACE9 *surface;
+
+ /**
+ * A bit field configuring the workarounds needed for using the decoder
+ */
+ uint64_t workaround;
+
+ /**
+ * Private to the FFmpeg AVHWAccel implementation
+ */
+ unsigned report_id;
+};
+
+/**
+ * @}
+ */
+
+#endif /* AVCODEC_DXVA_H */
Oops, something went wrong.

0 comments on commit 11e3006

Please sign in to comment.