Browse Source

final commit.

master
John ShaggyTwoDope Jenkins 8 years ago
parent
commit
7a121bb38e
  1. 34
      ffmpeg-full/.SRCINFO
  2. 21
      ffmpeg-full/PKGBUILD
  3. BIN
      ffmpeg-full/ffmpeg-2.5.2.tar.bz2
  4. 11
      ffmpeg-full/ffmpeg-2.5.2.tar.bz2.asc
  5. BIN
      ffmpeg-full/ffmpeg-2.6.1.tar.bz2
  6. 11
      ffmpeg-full/ffmpeg-2.6.1.tar.bz2.asc
  7. BIN
      ffmpeg-full/ffmpeg-full-1:2.5.2-3-x86_64.pkg.tar.xz
  8. BIN
      ffmpeg-full/ffmpeg-full-1:2.6.1-1-x86_64.pkg.tar.xz
  9. BIN
      ffmpeg-full/pkg/ffmpeg-full/.MTREE
  10. 88
      ffmpeg-full/pkg/ffmpeg-full/.PKGINFO
  11. BIN
      ffmpeg-full/pkg/ffmpeg-full/usr/bin/ffmpeg
  12. BIN
      ffmpeg-full/pkg/ffmpeg-full/usr/bin/ffplay
  13. BIN
      ffmpeg-full/pkg/ffmpeg-full/usr/bin/ffprobe
  14. BIN
      ffmpeg-full/pkg/ffmpeg-full/usr/bin/ffserver
  15. BIN
      ffmpeg-full/pkg/ffmpeg-full/usr/bin/qt-faststart
  16. 5306
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavcodec/avcodec.h
  17. 118
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavcodec/avfft.h
  18. 92
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavcodec/dv_profile.h
  19. 93
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavcodec/dxva2.h
  20. 397
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavcodec/old_codec_ids.h
  21. 41
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavcodec/qsv.h
  22. 173
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavcodec/vaapi.h
  23. 213
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavcodec/vda.h
  24. 255
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavcodec/vdpau.h
  25. 194
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavcodec/version.h
  26. 78
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavcodec/vorbis_parser.h
  27. 170
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavcodec/xvmc.h
  28. 509
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavdevice/avdevice.h
  29. 50
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavdevice/version.h
  30. 91
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavfilter/asrc_abuffer.h
  31. 69
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavfilter/avcodec.h
  32. 1535
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavfilter/avfilter.h
  33. 28
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavfilter/avfiltergraph.h
  34. 204
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavfilter/buffersink.h
  35. 160
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavfilter/buffersrc.h
  36. 80
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavfilter/version.h
  37. 2675
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavformat/avformat.h
  38. 534
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavformat/avio.h
  39. 67
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavformat/version.h
  40. 498
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavresample/avresample.h
  41. 54
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavresample/version.h
  42. 55
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavutil/adler32.h
  43. 65
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavutil/aes.h
  44. 160
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavutil/attributes.h
  45. 153
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavutil/audio_fifo.h
  46. 6
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavutil/audioconvert.h
  47. 66
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavutil/avassert.h
  48. 7
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavutil/avconfig.h
  49. 371
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavutil/avstring.h
  50. 344
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavutil/avutil.h
  51. 67
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavutil/base64.h
  52. 77
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavutil/blowfish.h
  53. 219
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavutil/bprint.h
  54. 109
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavutil/bswap.h
  55. 274
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavutil/buffer.h
  56. 70
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavutil/camellia.h
  57. 79
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavutil/cast5.h
  58. 222
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavutil/channel_layout.h
  59. 486
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavutil/common.h
  60. 116
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavutil/cpu.h
  61. 86
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavutil/crc.h
  62. 196
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavutil/dict.h
  63. 86
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavutil/display.h
  64. 115
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavutil/downmix_info.h
  65. 126
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavutil/error.h
  66. 113
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavutil/eval.h
  67. 4
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavutil/ffversion.h
  68. 158
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavutil/fifo.h
  69. 67
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavutil/file.h
  70. 779
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavutil/frame.h
  71. 112
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavutil/hash.h
  72. 99
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavutil/hmac.h
  73. 213
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavutil/imgutils.h
  74. 77
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavutil/intfloat.h
  75. 629
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavutil/intreadwrite.h
  76. 62
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavutil/lfg.h
  77. 350
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavutil/log.h
  78. 66
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavutil/lzo.h
  79. 48
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavutil/macros.h
  80. 164
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavutil/mathematics.h
  81. 81
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavutil/md5.h
  82. 389
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavutil/mem.h
  83. 50
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavutil/motion_vector.h
  84. 32
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavutil/murmur3.h
  85. 177
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavutil/old_pix_fmts.h
  86. 297
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavutil/opencl.h
  87. 901
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavutil/opt.h
  88. 187
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavutil/parseutils.h
  89. 398
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavutil/pixdesc.h
  90. 52
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavutil/pixelutils.h
  91. 537
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavutil/pixfmt.h
  92. 43
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavutil/random_seed.h
  93. 166
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavutil/rational.h
  94. 51
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavutil/replaygain.h
  95. 75
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavutil/ripemd.h
  96. 271
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavutil/samplefmt.h
  97. 74
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavutil/sha.h
  98. 75
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavutil/sha512.h
  99. 152
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavutil/stereo3d.h
  100. 91
      ffmpeg-full/pkg/ffmpeg-full/usr/include/libavutil/threadmessage.h
  101. Some files were not shown because too many files have changed in this diff Show More

34
ffmpeg-full/.SRCINFO

@ -1,17 +1,17 @@ @@ -1,17 +1,17 @@
# Generated by makepkg 4.2.0
# Wed Dec 31 13:12:21 UTC 2014
# Generated by makepkg 4.2.1
# Thu Mar 19 21:04:28 UTC 2015
pkgbase = ffmpeg-full
pkgdesc = Complete and free Internet live audio and video broadcasting solution (with all options)
pkgver = 2.5.2
pkgrel = 3
pkgver = 2.6.1
pkgrel = 1
epoch = 1
url = http://ffmpeg.org/
arch = i686
arch = x86_64
license = GPL
license = custom:UNREDISTRIBUTABLE
makedepends = libvdpau
makedepends = yasm
makedepends = ladspa
makedepends = hardening-wrapper
depends = alsa-lib
depends = bzip2
@ -36,50 +36,50 @@ pkgbase = ffmpeg-full @@ -36,50 +36,50 @@ pkgbase = ffmpeg-full
depends = sdl
depends = speex
depends = v4l-utils
depends = libx264
depends = xvidcore
depends = zlib
depends = x265
depends = fribidi
depends = libssh
depends = libx264.so
depends = celt
depends = decklink-sdk
depends = faac
depends = frei0r-plugins
depends = jack
depends = libaacplus
depends = libavc1394
depends = libbs2b
depends = libcaca
depends = libcdio-paranoia
depends = libcl
depends = libdc1394
depends = libfdk-aac
depends = libgme
depends = libiec61883
depends = libssh
depends = libsoxr
depends = libutvideo-git
depends = libwebp
depends = libxv
depends = mesa
depends = openal
depends = opencl-headers12
depends = shine
depends = twolame
depends = vid.stab
depends = vo-aacenc
depends = vo-amrwbenc
depends = wavpack
depends = zeromq
depends = zvbi
depends = frei0r-plugins
depends = vid.stab
depends = libcl
depends = utvideo-git
depends = opencl-headers12
depends = libbs2b
depends = shine
provides = ffmpeg
conflicts = ffmpeg
conflicts = ffmpeg-git
conflicts = ffmpeg-full-git
source = http://ffmpeg.org/releases/ffmpeg-2.5.2.tar.bz2
source = http://ffmpeg.org/releases/ffmpeg-2.5.2.tar.bz2.asc
source = http://ffmpeg.org/releases/ffmpeg-2.6.1.tar.bz2
source = http://ffmpeg.org/releases/ffmpeg-2.6.1.tar.bz2.asc
source = UNREDISTRIBUTABLE.txt
sha256sums = 9edf17e7c280cbcfca4bc4219b1c22f760a61ec6a3f39ef26e3e2ad4cd24465e
sha256sums = a4f6388706ee2daba9d35d2aa018ae5feeb450efa716555e011a6543d43ec7c1
sha256sums = SKIP
sha256sums = e0c1b126862072a71e18b9580a6b01afc76a54aa6e642d2c413ba0ac9d3010c4

21
ffmpeg-full/PKGBUILD

@ -11,8 +11,8 @@ @@ -11,8 +11,8 @@
# needs too.
pkgname=ffmpeg-full
pkgver=2.5.2
pkgrel=3
pkgver=2.6.1
pkgrel=1
epoch=1
pkgdesc='Complete and free Internet live audio and video broadcasting solution (with all options)'
arch=('i686' 'x86_64')
@ -22,20 +22,21 @@ depends=( @@ -22,20 +22,21 @@ depends=(
'alsa-lib' 'bzip2' 'fontconfig' 'gnutls' 'gsm' 'lame' 'libass' 'libvdpau'
'libbluray' 'libmodplug' 'libpulse' 'libtheora' 'libva' 'libvorbis' 'libvpx'
'opencore-amr' 'openjpeg' 'opus' 'rtmpdump' 'schroedinger' 'sdl' 'speex'
'v4l-utils' 'libx264' 'xvidcore' 'zlib' 'x265' 'fribidi'
'celt' 'decklink-sdk' 'faac' 'jack' 'libaacplus' 'libavc1394' 'libcaca'
'libcdio-paranoia' 'libdc1394' 'libfdk-aac' 'libgme' 'libiec61883'
'libssh' 'libsoxr' 'libwebp' 'libxv' 'mesa' 'openal' 'twolame' 'vo-aacenc'
'vo-amrwbenc' 'wavpack' 'zeromq' 'zvbi' 'frei0r-plugins' 'vid.stab'
'libcl' 'utvideo-git' 'opencl-headers12' 'libbs2b' 'shine'
'v4l-utils' 'xvidcore' 'zlib' 'x265' 'fribidi' 'libssh'
'libx264.so'
'celt' 'decklink-sdk' 'faac' 'frei0r-plugins' 'jack' 'libaacplus'
'libavc1394' 'libbs2b' 'libcaca' 'libcdio-paranoia' 'libcl' 'libdc1394'
'libfdk-aac' 'libgme' 'libiec61883' 'libsoxr' 'libutvideo-git'
'libwebp' 'libxv' 'mesa' 'openal' 'opencl-headers12' 'shine' 'twolame'
'vid.stab' 'vo-aacenc' 'vo-amrwbenc' 'wavpack' 'zeromq' 'zvbi'
)
makedepends=('yasm' 'ladspa' 'hardening-wrapper')
makedepends=('libvdpau' 'yasm' 'hardening-wrapper')
conflicts=('ffmpeg' 'ffmpeg-git' 'ffmpeg-full-git')
provides=('ffmpeg')
source=(http://ffmpeg.org/releases/ffmpeg-$pkgver.tar.bz2{,.asc}
UNREDISTRIBUTABLE.txt)
validpgpkeys=('FCF986EA15E6E293A5644F10B4322F04D67658D8') # ffmpeg-devel
sha256sums=('9edf17e7c280cbcfca4bc4219b1c22f760a61ec6a3f39ef26e3e2ad4cd24465e'
sha256sums=('a4f6388706ee2daba9d35d2aa018ae5feeb450efa716555e011a6543d43ec7c1'
'SKIP'
'e0c1b126862072a71e18b9580a6b01afc76a54aa6e642d2c413ba0ac9d3010c4')

BIN
ffmpeg-full/ffmpeg-2.5.2.tar.bz2

Binary file not shown.

11
ffmpeg-full/ffmpeg-2.5.2.tar.bz2.asc

@ -1,11 +0,0 @@ @@ -1,11 +0,0 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQEcBAABAgAGBQJUmOYzAAoJELQyLwTWdljYcRwH/A5axWEfiZV6d7EI96tG2M1p
ouKSjzDYLkvFtHSPz+EDaj0G1ymdY4cql1cHwInSva8+EYfGcTMMOXyx+XVGhaA1
7yIcg6wrdNCEL746Ealjvc8vSrXkyyDJEn6tzuLk4tjcJj1CsVzcLLo/a2nuwN2Q
l+QaYcNyYhEb7uIWmc3aWo3PNS99ziPZr3Rb3xLOUqPks3anZR8DrUuQSjLqGGJi
gyNcEpGaTm2R6MK0OKb1Co4bKhYXN0oRJx3k47JEZKeHf6pKe8MEIP8/MbKwUHYT
9gPaJS3rw622eQuhJS+QfgiFN2Ks+EsVAHcY7dgFgP32xLaaP7mJ9bUXI0Aj8CE=
=vePu
-----END PGP SIGNATURE-----

BIN
ffmpeg-full/ffmpeg-2.6.1.tar.bz2

Binary file not shown.

11
ffmpeg-full/ffmpeg-2.6.1.tar.bz2.asc

@ -0,0 +1,11 @@ @@ -0,0 +1,11 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQEcBAABAgAGBQJVBzAMAAoJELQyLwTWdljYPy4IAIEBLc3wix8rl+lr5D1WIvCV
MxpV3tsXmgmYAJMHUy0lwjerUsE4QN6d5A883iKHQcj/5WvQs/30ekqfNY6KxbY4
CdiY9ikXaMXs5lNHaM3P7bAaGt8k/mxRRow5P8N/+tfbyJSZcTXcYNltDiikSG+p
8DUmmz39xPea0zR0AB1Je2ivf5iQRuyWKgVbrPFBK/+AXlUxZjswbkcbkbU0Qsfv
4Tgk0KagCS0HcgoNubyCEO7IRd4pVtIVOMpkKsnZt4ta3bJPu15eoLYzl0zgBoAL
SZhlHjxHeVJGjOpVOFaJ/CvA2C2qXZMR1EY1DIzmDnPP3Ipi7NHZPNAs8xD9FMY=
=zfyy
-----END PGP SIGNATURE-----

BIN
ffmpeg-full/ffmpeg-full-1:2.5.2-3-x86_64.pkg.tar.xz

Binary file not shown.

BIN
ffmpeg-full/ffmpeg-full-1:2.6.1-1-x86_64.pkg.tar.xz

Binary file not shown.

BIN
ffmpeg-full/pkg/ffmpeg-full/.MTREE

Binary file not shown.

88
ffmpeg-full/pkg/ffmpeg-full/.PKGINFO

@ -0,0 +1,88 @@ @@ -0,0 +1,88 @@
# Generated by makepkg 4.2.1
# using fakeroot version 1.20.2
# Thu Apr 9 22:19:54 UTC 2015
pkgname = ffmpeg-full
pkgver = 1:2.6.1-1
pkgdesc = Complete and free Internet live audio and video broadcasting solution (with all options)
url = http://ffmpeg.org/
builddate = 1428617994
packager = Unknown Packager
size = 23190528
arch = x86_64
license = GPL
license = custom:UNREDISTRIBUTABLE
conflict = ffmpeg
conflict = ffmpeg-git
conflict = ffmpeg-full-git
provides = ffmpeg
depend = alsa-lib
depend = bzip2
depend = fontconfig
depend = gnutls
depend = gsm
depend = lame
depend = libass
depend = libvdpau
depend = libbluray
depend = libmodplug
depend = libpulse
depend = libtheora
depend = libva
depend = libvorbis
depend = libvpx
depend = opencore-amr
depend = openjpeg
depend = opus
depend = rtmpdump
depend = schroedinger
depend = sdl
depend = speex
depend = v4l-utils
depend = xvidcore
depend = zlib
depend = x265
depend = fribidi
depend = libssh
depend = libx264.so=144-64
depend = celt
depend = decklink-sdk
depend = faac
depend = frei0r-plugins
depend = jack
depend = libaacplus
depend = libavc1394
depend = libbs2b
depend = libcaca
depend = libcdio-paranoia
depend = libcl
depend = libdc1394
depend = libfdk-aac
depend = libgme
depend = libiec61883
depend = libsoxr
depend = libutvideo-git
depend = libwebp
depend = libxv
depend = mesa
depend = openal
depend = opencl-headers12
depend = shine
depend = twolame
depend = vid.stab
depend = vo-aacenc
depend = vo-amrwbenc
depend = wavpack
depend = zeromq
depend = zvbi
makedepend = libvdpau
makedepend = yasm
makedepend = hardening-wrapper
makepkgopt = strip
makepkgopt = docs
makepkgopt = !libtool
makepkgopt = !staticlibs
makepkgopt = emptydirs
makepkgopt = zipman
makepkgopt = purge
makepkgopt = !upx
makepkgopt = !debug

BIN
ffmpeg-full/pkg/ffmpeg-full/usr/bin/ffmpeg

Binary file not shown.

BIN
ffmpeg-full/pkg/ffmpeg-full/usr/bin/ffplay

Binary file not shown.

BIN
ffmpeg-full/pkg/ffmpeg-full/usr/bin/ffprobe

Binary file not shown.

BIN
ffmpeg-full/pkg/ffmpeg-full/usr/bin/ffserver

Binary file not shown.

BIN
ffmpeg-full/pkg/ffmpeg-full/usr/bin/qt-faststart

Binary file not shown.

5306
ffmpeg-full/pkg/ffmpeg-full/usr/include/libavcodec/avcodec.h

File diff suppressed because it is too large Load Diff

118
ffmpeg-full/pkg/ffmpeg-full/usr/include/libavcodec/avfft.h

@ -0,0 +1,118 @@ @@ -0,0 +1,118 @@
/*
* 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
* @param type the type of transform
*
* @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 */

92
ffmpeg-full/pkg/ffmpeg-full/usr/include/libavcodec/dv_profile.h

@ -0,0 +1,92 @@ @@ -0,0 +1,92 @@
/*
* 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_DV_PROFILE_H
#define AVCODEC_DV_PROFILE_H
#include <stdint.h>
#include "libavutil/pixfmt.h"
#include "libavutil/rational.h"
#include "avcodec.h"
/* minimum number of bytes to read from a DV stream in order to
* determine the profile */
#define DV_PROFILE_BYTES (6 * 80) /* 6 DIF blocks */
/*
* AVDVProfile is used to express the differences between various
* DV flavors. For now it's primarily used for differentiating
* 525/60 and 625/50, but the plans are to use it for various
* DV specs as well (e.g. SMPTE314M vs. IEC 61834).
*/
typedef struct AVDVProfile {
int dsf; /* value of the dsf in the DV header */
int video_stype; /* stype for VAUX source pack */
int frame_size; /* total size of one frame in bytes */
int difseg_size; /* number of DIF segments per DIF channel */
int n_difchan; /* number of DIF channels per frame */
AVRational time_base; /* 1/framerate */
int ltc_divisor; /* FPS from the LTS standpoint */
int height; /* picture height in pixels */
int width; /* picture width in pixels */
AVRational sar[2]; /* sample aspect ratios for 4:3 and 16:9 */
enum AVPixelFormat pix_fmt; /* picture pixel format */
int bpm; /* blocks per macroblock */
const uint8_t *block_sizes; /* AC block sizes, in bits */
int audio_stride; /* size of audio_shuffle table */
int audio_min_samples[3]; /* min amount of audio samples */
/* for 48kHz, 44.1kHz and 32kHz */
int audio_samples_dist[5]; /* how many samples are supposed to be */
/* in each frame in a 5 frames window */
const uint8_t (*audio_shuffle)[9]; /* PCM shuffling table */
} AVDVProfile;
#if FF_API_DV_FRAME_PROFILE
/**
* @deprecated use av_dv_frame_profile()
*/
attribute_deprecated
const AVDVProfile* avpriv_dv_frame_profile2(AVCodecContext* codec, const AVDVProfile *sys,
const uint8_t* frame, unsigned buf_size);
#endif
/**
* Get a DV profile for the provided compressed frame.
*
* @param sys the profile used for the previous frame, may be NULL
* @param frame the compressed data buffer
* @param buf_size size of the buffer in bytes
* @return the DV profile for the supplied data or NULL on failure
*/
const AVDVProfile *av_dv_frame_profile(const AVDVProfile *sys,
const uint8_t *frame, unsigned buf_size);
/**
* Get a DV profile for the provided stream parameters.
*/
const AVDVProfile *av_dv_codec_profile(int width, int height, enum AVPixelFormat pix_fmt);
/**
* Get a DV profile for the provided stream parameters.
* The frame rate is used as a best-effort parameter.
*/
const AVDVProfile *av_dv_codec_profile2(int width, int height, enum AVPixelFormat pix_fmt, AVRational frame_rate);
#endif /* AVCODEC_DV_PROFILE_H */

93
ffmpeg-full/pkg/ffmpeg-full/usr/include/libavcodec/dxva2.h

@ -0,0 +1,93 @@ @@ -0,0 +1,93 @@
/*
* 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.
*/
#if !defined(_WIN32_WINNT) || _WIN32_WINNT < 0x0600
#undef _WIN32_WINNT
#define _WIN32_WINNT 0x0600
#endif
#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
#define FF_DXVA2_WORKAROUND_INTEL_CLEARVIDEO 2 ///< Work around for DXVA2 and old Intel GPUs with ClearVideo interface
/**
* 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 */

397
ffmpeg-full/pkg/ffmpeg-full/usr/include/libavcodec/old_codec_ids.h

@ -0,0 +1,397 @@ @@ -0,0 +1,397 @@
/*
* 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_OLD_CODEC_IDS_H
#define AVCODEC_OLD_CODEC_IDS_H
/*
* This header exists to prevent new codec IDs from being accidentally added to
* the deprecated list.
* Do not include it directly. It will be removed on next major bump
*
* Do not add new items to this list. Use the AVCodecID enum instead.
*/
CODEC_ID_NONE = AV_CODEC_ID_NONE,
/* video codecs */
CODEC_ID_MPEG1VIDEO,
CODEC_ID_MPEG2VIDEO, ///< preferred ID for MPEG-1/2 video decoding
#if FF_API_XVMC
CODEC_ID_MPEG2VIDEO_XVMC,
#endif
CODEC_ID_H261,
CODEC_ID_H263,
CODEC_ID_RV10,
CODEC_ID_RV20,
CODEC_ID_MJPEG,
CODEC_ID_MJPEGB,
CODEC_ID_LJPEG,
CODEC_ID_SP5X,
CODEC_ID_JPEGLS,
CODEC_ID_MPEG4,
CODEC_ID_RAWVIDEO,
CODEC_ID_MSMPEG4V1,
CODEC_ID_MSMPEG4V2,
CODEC_ID_MSMPEG4V3,
CODEC_ID_WMV1,
CODEC_ID_WMV2,
CODEC_ID_H263P,
CODEC_ID_H263I,
CODEC_ID_FLV1,
CODEC_ID_SVQ1,
CODEC_ID_SVQ3,
CODEC_ID_DVVIDEO,
CODEC_ID_HUFFYUV,
CODEC_ID_CYUV,
CODEC_ID_H264,
CODEC_ID_INDEO3,
CODEC_ID_VP3,
CODEC_ID_THEORA,
CODEC_ID_ASV1,
CODEC_ID_ASV2,
CODEC_ID_FFV1,
CODEC_ID_4XM,
CODEC_ID_VCR1,
CODEC_ID_CLJR,
CODEC_ID_MDEC,
CODEC_ID_ROQ,
CODEC_ID_INTERPLAY_VIDEO,
CODEC_ID_XAN_WC3,
CODEC_ID_XAN_WC4,
CODEC_ID_RPZA,
CODEC_ID_CINEPAK,
CODEC_ID_WS_VQA,
CODEC_ID_MSRLE,
CODEC_ID_MSVIDEO1,
CODEC_ID_IDCIN,
CODEC_ID_8BPS,
CODEC_ID_SMC,
CODEC_ID_FLIC,
CODEC_ID_TRUEMOTION1,
CODEC_ID_VMDVIDEO,
CODEC_ID_MSZH,
CODEC_ID_ZLIB,
CODEC_ID_QTRLE,
CODEC_ID_TSCC,
CODEC_ID_ULTI,
CODEC_ID_QDRAW,
CODEC_ID_VIXL,
CODEC_ID_QPEG,
CODEC_ID_PNG,
CODEC_ID_PPM,
CODEC_ID_PBM,
CODEC_ID_PGM,
CODEC_ID_PGMYUV,
CODEC_ID_PAM,
CODEC_ID_FFVHUFF,
CODEC_ID_RV30,
CODEC_ID_RV40,
CODEC_ID_VC1,
CODEC_ID_WMV3,
CODEC_ID_LOCO,
CODEC_ID_WNV1,
CODEC_ID_AASC,
CODEC_ID_INDEO2,
CODEC_ID_FRAPS,
CODEC_ID_TRUEMOTION2,
CODEC_ID_BMP,
CODEC_ID_CSCD,
CODEC_ID_MMVIDEO,
CODEC_ID_ZMBV,
CODEC_ID_AVS,
CODEC_ID_SMACKVIDEO,
CODEC_ID_NUV,
CODEC_ID_KMVC,
CODEC_ID_FLASHSV,
CODEC_ID_CAVS,
CODEC_ID_JPEG2000,
CODEC_ID_VMNC,
CODEC_ID_VP5,
CODEC_ID_VP6,
CODEC_ID_VP6F,
CODEC_ID_TARGA,
CODEC_ID_DSICINVIDEO,
CODEC_ID_TIERTEXSEQVIDEO,
CODEC_ID_TIFF,
CODEC_ID_GIF,
CODEC_ID_DXA,
CODEC_ID_DNXHD,
CODEC_ID_THP,
CODEC_ID_SGI,
CODEC_ID_C93,
CODEC_ID_BETHSOFTVID,
CODEC_ID_PTX,
CODEC_ID_TXD,
CODEC_ID_VP6A,
CODEC_ID_AMV,
CODEC_ID_VB,
CODEC_ID_PCX,
CODEC_ID_SUNRAST,
CODEC_ID_INDEO4,
CODEC_ID_INDEO5,
CODEC_ID_MIMIC,
CODEC_ID_RL2,
CODEC_ID_ESCAPE124,
CODEC_ID_DIRAC,
CODEC_ID_BFI,
CODEC_ID_CMV,
CODEC_ID_MOTIONPIXELS,
CODEC_ID_TGV,
CODEC_ID_TGQ,
CODEC_ID_TQI,
CODEC_ID_AURA,
CODEC_ID_AURA2,
CODEC_ID_V210X,
CODEC_ID_TMV,
CODEC_ID_V210,
CODEC_ID_DPX,
CODEC_ID_MAD,
CODEC_ID_FRWU,
CODEC_ID_FLASHSV2,
CODEC_ID_CDGRAPHICS,
CODEC_ID_R210,
CODEC_ID_ANM,
CODEC_ID_BINKVIDEO,
CODEC_ID_IFF_ILBM,
CODEC_ID_IFF_BYTERUN1,
CODEC_ID_KGV1,
CODEC_ID_YOP,
CODEC_ID_VP8,
CODEC_ID_PICTOR,
CODEC_ID_ANSI,
CODEC_ID_A64_MULTI,
CODEC_ID_A64_MULTI5,
CODEC_ID_R10K,
CODEC_ID_MXPEG,
CODEC_ID_LAGARITH,
CODEC_ID_PRORES,
CODEC_ID_JV,
CODEC_ID_DFA,
CODEC_ID_WMV3IMAGE,
CODEC_ID_VC1IMAGE,
CODEC_ID_UTVIDEO,
CODEC_ID_BMV_VIDEO,
CODEC_ID_VBLE,
CODEC_ID_DXTORY,
CODEC_ID_V410,
CODEC_ID_XWD,
CODEC_ID_CDXL,
CODEC_ID_XBM,
CODEC_ID_ZEROCODEC,
CODEC_ID_MSS1,
CODEC_ID_MSA1,
CODEC_ID_TSCC2,
CODEC_ID_MTS2,
CODEC_ID_CLLC,
CODEC_ID_Y41P = MKBETAG('Y','4','1','P'),
CODEC_ID_ESCAPE130 = MKBETAG('E','1','3','0'),
CODEC_ID_EXR = MKBETAG('0','E','X','R'),
CODEC_ID_AVRP = MKBETAG('A','V','R','P'),
CODEC_ID_G2M = MKBETAG( 0 ,'G','2','M'),
CODEC_ID_AVUI = MKBETAG('A','V','U','I'),
CODEC_ID_AYUV = MKBETAG('A','Y','U','V'),
CODEC_ID_V308 = MKBETAG('V','3','0','8'),
CODEC_ID_V408 = MKBETAG('V','4','0','8'),
CODEC_ID_YUV4 = MKBETAG('Y','U','V','4'),
CODEC_ID_SANM = MKBETAG('S','A','N','M'),
CODEC_ID_PAF_VIDEO = MKBETAG('P','A','F','V'),
CODEC_ID_SNOW = AV_CODEC_ID_SNOW,
/* various PCM "codecs" */
CODEC_ID_FIRST_AUDIO = 0x10000, ///< A dummy id pointing at the start of audio codecs
CODEC_ID_PCM_S16LE = 0x10000,
CODEC_ID_PCM_S16BE,
CODEC_ID_PCM_U16LE,
CODEC_ID_PCM_U16BE,
CODEC_ID_PCM_S8,
CODEC_ID_PCM_U8,
CODEC_ID_PCM_MULAW,
CODEC_ID_PCM_ALAW,
CODEC_ID_PCM_S32LE,
CODEC_ID_PCM_S32BE,
CODEC_ID_PCM_U32LE,
CODEC_ID_PCM_U32BE,
CODEC_ID_PCM_S24LE,
CODEC_ID_PCM_S24BE,
CODEC_ID_PCM_U24LE,
CODEC_ID_PCM_U24BE,
CODEC_ID_PCM_S24DAUD,
CODEC_ID_PCM_ZORK,
CODEC_ID_PCM_S16LE_PLANAR,
CODEC_ID_PCM_DVD,
CODEC_ID_PCM_F32BE,
CODEC_ID_PCM_F32LE,
CODEC_ID_PCM_F64BE,
CODEC_ID_PCM_F64LE,
CODEC_ID_PCM_BLURAY,
CODEC_ID_PCM_LXF,
CODEC_ID_S302M,
CODEC_ID_PCM_S8_PLANAR,
/* various ADPCM codecs */
CODEC_ID_ADPCM_IMA_QT = 0x11000,
CODEC_ID_ADPCM_IMA_WAV,
CODEC_ID_ADPCM_IMA_DK3,
CODEC_ID_ADPCM_IMA_DK4,
CODEC_ID_ADPCM_IMA_WS,
CODEC_ID_ADPCM_IMA_SMJPEG,
CODEC_ID_ADPCM_MS,
CODEC_ID_ADPCM_4XM,
CODEC_ID_ADPCM_XA,
CODEC_ID_ADPCM_ADX,
CODEC_ID_ADPCM_EA,
CODEC_ID_ADPCM_G726,
CODEC_ID_ADPCM_CT,
CODEC_ID_ADPCM_SWF,
CODEC_ID_ADPCM_YAMAHA,
CODEC_ID_ADPCM_SBPRO_4,
CODEC_ID_ADPCM_SBPRO_3,
CODEC_ID_ADPCM_SBPRO_2,
CODEC_ID_ADPCM_THP,
CODEC_ID_ADPCM_IMA_AMV,
CODEC_ID_ADPCM_EA_R1,
CODEC_ID_ADPCM_EA_R3,
CODEC_ID_ADPCM_EA_R2,
CODEC_ID_ADPCM_IMA_EA_SEAD,
CODEC_ID_ADPCM_IMA_EA_EACS,
CODEC_ID_ADPCM_EA_XAS,
CODEC_ID_ADPCM_EA_MAXIS_XA,
CODEC_ID_ADPCM_IMA_ISS,
CODEC_ID_ADPCM_G722,
CODEC_ID_ADPCM_IMA_APC,
CODEC_ID_VIMA = MKBETAG('V','I','M','A'),
/* AMR */
CODEC_ID_AMR_NB = 0x12000,
CODEC_ID_AMR_WB,
/* RealAudio codecs*/
CODEC_ID_RA_144 = 0x13000,
CODEC_ID_RA_288,
/* various DPCM codecs */
CODEC_ID_ROQ_DPCM = 0x14000,
CODEC_ID_INTERPLAY_DPCM,
CODEC_ID_XAN_DPCM,
CODEC_ID_SOL_DPCM,
/* audio codecs */
CODEC_ID_MP2 = 0x15000,
CODEC_ID_MP3, ///< preferred ID for decoding MPEG audio layer 1, 2 or 3
CODEC_ID_AAC,
CODEC_ID_AC3,
CODEC_ID_DTS,
CODEC_ID_VORBIS,
CODEC_ID_DVAUDIO,
CODEC_ID_WMAV1,
CODEC_ID_WMAV2,
CODEC_ID_MACE3,
CODEC_ID_MACE6,
CODEC_ID_VMDAUDIO,
CODEC_ID_FLAC,
CODEC_ID_MP3ADU,
CODEC_ID_MP3ON4,
CODEC_ID_SHORTEN,
CODEC_ID_ALAC,
CODEC_ID_WESTWOOD_SND1,
CODEC_ID_GSM, ///< as in Berlin toast format
CODEC_ID_QDM2,
CODEC_ID_COOK,
CODEC_ID_TRUESPEECH,
CODEC_ID_TTA,
CODEC_ID_SMACKAUDIO,
CODEC_ID_QCELP,
CODEC_ID_WAVPACK,
CODEC_ID_DSICINAUDIO,
CODEC_ID_IMC,
CODEC_ID_MUSEPACK7,
CODEC_ID_MLP,
CODEC_ID_GSM_MS, /* as found in WAV */
CODEC_ID_ATRAC3,
CODEC_ID_VOXWARE,
CODEC_ID_APE,
CODEC_ID_NELLYMOSER,
CODEC_ID_MUSEPACK8,
CODEC_ID_SPEEX,
CODEC_ID_WMAVOICE,
CODEC_ID_WMAPRO,
CODEC_ID_WMALOSSLESS,
CODEC_ID_ATRAC3P,
CODEC_ID_EAC3,
CODEC_ID_SIPR,
CODEC_ID_MP1,
CODEC_ID_TWINVQ,
CODEC_ID_TRUEHD,
CODEC_ID_MP4ALS,
CODEC_ID_ATRAC1,
CODEC_ID_BINKAUDIO_RDFT,
CODEC_ID_BINKAUDIO_DCT,
CODEC_ID_AAC_LATM,
CODEC_ID_QDMC,
CODEC_ID_CELT,
CODEC_ID_G723_1,
CODEC_ID_G729,
CODEC_ID_8SVX_EXP,
CODEC_ID_8SVX_FIB,
CODEC_ID_BMV_AUDIO,
CODEC_ID_RALF,
CODEC_ID_IAC,
CODEC_ID_ILBC,
CODEC_ID_FFWAVESYNTH = MKBETAG('F','F','W','S'),
CODEC_ID_SONIC = MKBETAG('S','O','N','C'),
CODEC_ID_SONIC_LS = MKBETAG('S','O','N','L'),
CODEC_ID_PAF_AUDIO = MKBETAG('P','A','F','A'),
CODEC_ID_OPUS = MKBETAG('O','P','U','S'),
/* subtitle codecs */
CODEC_ID_FIRST_SUBTITLE = 0x17000, ///< A dummy ID pointing at the start of subtitle codecs.
CODEC_ID_DVD_SUBTITLE = 0x17000,
CODEC_ID_DVB_SUBTITLE,
CODEC_ID_TEXT, ///< raw UTF-8 text
CODEC_ID_XSUB,
CODEC_ID_SSA,
CODEC_ID_MOV_TEXT,
CODEC_ID_HDMV_PGS_SUBTITLE,
CODEC_ID_DVB_TELETEXT,
CODEC_ID_SRT,
CODEC_ID_MICRODVD = MKBETAG('m','D','V','D'),
CODEC_ID_EIA_608 = MKBETAG('c','6','0','8'),
CODEC_ID_JACOSUB = MKBETAG('J','S','U','B'),
CODEC_ID_SAMI = MKBETAG('S','A','M','I'),
CODEC_ID_REALTEXT = MKBETAG('R','T','X','T'),
CODEC_ID_SUBVIEWER = MKBETAG('S','u','b','V'),
/* other specific kind of codecs (generally used for attachments) */
CODEC_ID_FIRST_UNKNOWN = 0x18000, ///< A dummy ID pointing at the start of various fake codecs.
CODEC_ID_TTF = 0x18000,
CODEC_ID_BINTEXT = MKBETAG('B','T','X','T'),
CODEC_ID_XBIN = MKBETAG('X','B','I','N'),
CODEC_ID_IDF = MKBETAG( 0 ,'I','D','F'),
CODEC_ID_OTF = MKBETAG( 0 ,'O','T','F'),
CODEC_ID_PROBE = 0x19000, ///< codec_id is not known (like CODEC_ID_NONE) but lavf should attempt to identify it
CODEC_ID_MPEG2TS = 0x20000, /**< _FAKE_ codec to indicate a raw MPEG-2 TS
* stream (only used by libavformat) */
CODEC_ID_MPEG4SYSTEMS = 0x20001, /**< _FAKE_ codec to indicate a MPEG-4 Systems
* stream (only used by libavformat) */
CODEC_ID_FFMETADATA = 0x21000, ///< Dummy codec for streams containing only metadata information.
#endif /* AVCODEC_OLD_CODEC_IDS_H */

41
ffmpeg-full/pkg/ffmpeg-full/usr/include/libavcodec/qsv.h

@ -0,0 +1,41 @@ @@ -0,0 +1,41 @@
/*
* Intel MediaSDK QSV public API
*
* 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_QSV_H
#define AVCODEC_QSV_H
#include <mfx/mfxvideo.h>
typedef struct AVQSVContext {
mfxSession session;
int iopattern;
mfxExtBuffer **ext_buffers;
int nb_ext_buffers;
} AVQSVContext;
/**
* Allocate a new context.
*
* It must be freed by the caller with av_free().
*/
AVQSVContext *av_qsv_alloc_context(void);
#endif /* AVCODEC_QSV_H */

173
ffmpeg-full/pkg/ffmpeg-full/usr/include/libavcodec/vaapi.h

@ -0,0 +1,173 @@ @@ -0,0 +1,173 @@
/*
* Video Acceleration API (shared data between FFmpeg and the video player)
* HW decode acceleration for MPEG-2, MPEG-4, H.264 and VC-1
*
* Copyright (C) 2008-2009 Splitted-Desktop Systems
*
* 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_VAAPI_H
#define AVCODEC_VAAPI_H
/**
* @file
* @ingroup lavc_codec_hwaccel_vaapi
* Public libavcodec VA API header.
*/
#include <stdint.h>
/**
* @defgroup lavc_codec_hwaccel_vaapi VA API Decoding
* @ingroup lavc_codec_hwaccel
* @{
*/
/**
* This structure is used to share data between the FFmpeg library and
* the client video application.
* This shall be zero-allocated and available as
* AVCodecContext.hwaccel_context. All user members can be set once
* during initialization or through each AVCodecContext.get_buffer()
* function call. In any case, they must be valid prior to calling
* decoding functions.
*/
struct vaapi_context {
/**
* Window system dependent data
*
* - encoding: unused
* - decoding: Set by user
*/
void *display;
/**
* Configuration ID
*
* - encoding: unused
* - decoding: Set by user
*/
uint32_t config_id;
/**
* Context ID (video decode pipeline)
*
* - encoding: unused
* - decoding: Set by user
*/
uint32_t context_id;
/**
* VAPictureParameterBuffer ID
*
* - encoding: unused
* - decoding: Set by libavcodec
*/
uint32_t pic_param_buf_id;
/**
* VAIQMatrixBuffer ID
*
* - encoding: unused
* - decoding: Set by libavcodec
*/
uint32_t iq_matrix_buf_id;
/**
* VABitPlaneBuffer ID (for VC-1 decoding)
*
* - encoding: unused
* - decoding: Set by libavcodec
*/
uint32_t bitplane_buf_id;
/**
* Slice parameter/data buffer IDs
*
* - encoding: unused
* - decoding: Set by libavcodec
*/
uint32_t *slice_buf_ids;
/**
* Number of effective slice buffer IDs to send to the HW
*
* - encoding: unused
* - decoding: Set by libavcodec
*/
unsigned int n_slice_buf_ids;
/**
* Size of pre-allocated slice_buf_ids
*
* - encoding: unused
* - decoding: Set by libavcodec
*/
unsigned int slice_buf_ids_alloc;
/**
* Pointer to VASliceParameterBuffers
*
* - encoding: unused
* - decoding: Set by libavcodec
*/
void *slice_params;
/**
* Size of a VASliceParameterBuffer element
*
* - encoding: unused
* - decoding: Set by libavcodec
*/
unsigned int slice_param_size;
/**
* Size of pre-allocated slice_params
*
* - encoding: unused
* - decoding: Set by libavcodec
*/
unsigned int slice_params_alloc;
/**
* Number of slices currently filled in
*
* - encoding: unused
* - decoding: Set by libavcodec
*/
unsigned int slice_count;
/**
* Pointer to slice data buffer base
* - encoding: unused
* - decoding: Set by libavcodec
*/
const uint8_t *slice_data;
/**
* Current size of slice data
*
* - encoding: unused
* - decoding: Set by libavcodec
*/
uint32_t slice_data_size;
};
/* @} */
#endif /* AVCODEC_VAAPI_H */

213
ffmpeg-full/pkg/ffmpeg-full/usr/include/libavcodec/vda.h

@ -0,0 +1,213 @@ @@ -0,0 +1,213 @@
/*
* VDA HW acceleration
*
* copyright (c) 2011 Sebastien Zwickert
*
* 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_VDA_H
#define AVCODEC_VDA_H
/**
* @file
* @ingroup lavc_codec_hwaccel_vda
* Public libavcodec VDA header.
*/
#include "libavcodec/avcodec.h"
#include <stdint.h>
// emmintrin.h is unable to compile with -std=c99 -Werror=missing-prototypes
// http://openradar.appspot.com/8026390
#undef __GNUC_STDC_INLINE__
#define Picture QuickdrawPicture
#include <VideoDecodeAcceleration/VDADecoder.h>
#undef Picture
#include "libavcodec/version.h"
// extra flags not defined in VDADecoder.h
enum {
kVDADecodeInfo_Asynchronous = 1UL << 0,
kVDADecodeInfo_FrameDropped = 1UL << 1
};
/**
* @defgroup lavc_codec_hwaccel_vda VDA
* @ingroup lavc_codec_hwaccel
*
* @{
*/
/**
* This structure is used to provide the necessary configurations and data
* to the VDA FFmpeg HWAccel implementation.
*
* The application must make it available as AVCodecContext.hwaccel_context.
*/
struct vda_context {
/**
* VDA decoder object.
*
* - encoding: unused
* - decoding: Set/Unset by libavcodec.
*/
VDADecoder decoder;
/**
* The Core Video pixel buffer that contains the current image data.
*
* encoding: unused
* decoding: Set by libavcodec. Unset by user.
*/
CVPixelBufferRef cv_buffer;
/**
* Use the hardware decoder in synchronous mode.
*
* encoding: unused
* decoding: Set by user.
*/
int use_sync_decoding;
/**
* The frame width.
*
* - encoding: unused
* - decoding: Set/Unset by user.
*/
int width;
/**
* The frame height.
*
* - encoding: unused
* - decoding: Set/Unset by user.
*/
int height;
/**
* The frame format.
*
* - encoding: unused
* - decoding: Set/Unset by user.
*/
int format;
/**
* The pixel format for output image buffers.
*
* - encoding: unused
* - decoding: Set/Unset by user.
*/
OSType cv_pix_fmt_type;
/**
* unused
*/
uint8_t *priv_bitstream;
/**
* unused
*/
int priv_bitstream_size;
/**
* unused
*/
int priv_allocated_size;
/**
* Use av_buffer to manage buffer.
* When the flag is set, the CVPixelBuffers returned by the decoder will
* be released automatically, so you have to retain them if necessary.
* Not setting this flag may cause memory leak.
*
* encoding: unused
* decoding: Set by user.
*/
int use_ref_buffer;
};
/** Create the video decoder. */
int ff_vda_create_decoder(struct vda_context *vda_ctx,
uint8_t *extradata,
int extradata_size);
/** Destroy the video decoder. */
int ff_vda_destroy_decoder(struct vda_context *vda_ctx);
/**
* This struct holds all the information that needs to be passed
* between the caller and libavcodec for initializing VDA decoding.
* Its size is not a part of the public ABI, it must be allocated with
* av_vda_alloc_context() and freed with av_free().
*/
typedef struct AVVDAContext {
/**
* VDA decoder object. Created and freed by the caller.
*/
VDADecoder decoder;
/**
* The output callback that must be passed to VDADecoderCreate.
* Set by av_vda_alloc_context().
*/
VDADecoderOutputCallback output_callback;
} AVVDAContext;
/**
* Allocate and initialize a VDA context.
*
* This function should be called from the get_format() callback when the caller
* selects the AV_PIX_FMT_VDA format. The caller must then create the decoder
* object (using the output callback provided by libavcodec) that will be used
* for VDA-accelerated decoding.
*
* When decoding with VDA is finished, the caller must destroy the decoder
* object and free the VDA context using av_free().
*
* @return the newly allocated context or NULL on failure
*/
AVVDAContext *av_vda_alloc_context(void);
/**
* This is a convenience function that creates and sets up the VDA context using
* an internal implementation.
*
* @param avctx the corresponding codec context
*
* @return >= 0 on success, a negative AVERROR code on failure
*/
int av_vda_default_init(AVCodecContext *avctx);
/**
* This function must be called to free the VDA context initialized with
* av_vda_default_init().
*
* @param avctx the corresponding codec context
*/
void av_vda_default_free(AVCodecContext *avctx);
/**
* @}
*/
#endif /* AVCODEC_VDA_H */

255
ffmpeg-full/pkg/ffmpeg-full/usr/include/libavcodec/vdpau.h

@ -0,0 +1,255 @@ @@ -0,0 +1,255 @@
/*
* The Video Decode and Presentation API for UNIX (VDPAU) is used for
* hardware-accelerated decoding of MPEG-1/2, H.264 and VC-1.
*
* Copyright (C) 2008 NVIDIA
*
* 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_VDPAU_H
#define AVCODEC_VDPAU_H
/**
* @file
* @ingroup lavc_codec_hwaccel_vdpau
* Public libavcodec VDPAU header.
*/
/**
* @defgroup lavc_codec_hwaccel_vdpau VDPAU Decoder and Renderer
* @ingroup lavc_codec_hwaccel
*
* VDPAU hardware acceleration has two modules
* - VDPAU decoding
* - VDPAU presentation
*
* The VDPAU decoding module parses all headers using FFmpeg
* parsing mechanisms and uses VDPAU for the actual decoding.
*
* As per the current implementation, the actual decoding
* and rendering (API calls) are done as part of the VDPAU
* presentation (vo_vdpau.c) module.
*
* @{
*/
#include <vdpau/vdpau.h>
#include <vdpau/vdpau_x11.h>
#include "libavutil/avconfig.h"
#include "libavutil/attributes.h"
#include "avcodec.h"
#include "version.h"
#if FF_API_BUFS_VDPAU
union AVVDPAUPictureInfo {
VdpPictureInfoH264 h264;
VdpPictureInfoMPEG1Or2 mpeg;
VdpPictureInfoVC1 vc1;
VdpPictureInfoMPEG4Part2 mpeg4;
};
#endif
struct AVCodecContext;
struct AVFrame;
typedef int (*AVVDPAU_Render2)(struct AVCodecContext *, struct AVFrame *,
const VdpPictureInfo *, uint32_t,
const VdpBitstreamBuffer *);
/**
* This structure is used to share data between the libavcodec library and
* the client video application.
* The user shall allocate the structure via the av_alloc_vdpau_hwaccel
* function and make it available as
* AVCodecContext.hwaccel_context. Members can be set by the user once
* during initialization or through each AVCodecContext.get_buffer()
* function call. In any case, they must be valid prior to calling
* decoding functions.
*
* The size of this structure is not a part of the public ABI and must not
* be