├── .gitignore ├── DxCap.sln ├── DxCap ├── DxCap.cpp ├── DxCap.vcxproj ├── DxCap.vcxproj.filters ├── ReadMe.txt ├── avcodec-55.dll ├── avdevice-55.dll ├── avfilter-3.dll ├── avformat-55.dll ├── avutil-52.dll ├── directx_cap.cpp ├── directx_cap.h ├── postproc-52.dll ├── swresample-0.dll └── swscale-2.dll └── ffmpeg-20131112-git-0062869-win32-dev ├── README.txt ├── doc ├── developer.html ├── examples │ ├── Makefile │ ├── README │ ├── decoding_encoding.c │ ├── demuxing_decoding.c │ ├── filtering_audio.c │ ├── filtering_video.c │ ├── metadata.c │ ├── muxing.c │ ├── resampling_audio.c │ └── scaling_video.c ├── faq.html ├── fate.html ├── ffmpeg-all.html ├── ffmpeg-bitstream-filters.html ├── ffmpeg-codecs.html ├── ffmpeg-devices.html ├── ffmpeg-filters.html ├── ffmpeg-formats.html ├── ffmpeg-protocols.html ├── ffmpeg-resampler.html ├── ffmpeg-scaler.html ├── ffmpeg-utils.html ├── ffmpeg.html ├── ffplay-all.html ├── ffplay.html ├── ffprobe-all.html ├── ffprobe.html ├── general.html ├── git-howto.html ├── libavcodec.html ├── libavdevice.html ├── libavfilter.html ├── libavformat.html ├── libavutil.html ├── libswresample.html ├── libswscale.html ├── nut.html └── platform.html ├── include ├── libavcodec │ ├── avcodec.h │ ├── avfft.h │ ├── dxva2.h │ ├── old_codec_ids.h │ ├── vaapi.h │ ├── vda.h │ ├── vdpau.h │ ├── version.h │ └── xvmc.h ├── libavdevice │ ├── avdevice.h │ └── version.h ├── libavfilter │ ├── asrc_abuffer.h │ ├── avcodec.h │ ├── avfilter.h │ ├── avfiltergraph.h │ ├── buffersink.h │ ├── buffersrc.h │ └── version.h ├── libavformat │ ├── avformat.h │ ├── avio.h │ └── version.h ├── libavutil │ ├── adler32.h │ ├── aes.h │ ├── attributes.h │ ├── audio_fifo.h │ ├── audioconvert.h │ ├── avassert.h │ ├── avconfig.h │ ├── avstring.h │ ├── avutil.h │ ├── base64.h │ ├── blowfish.h │ ├── bprint.h │ ├── bswap.h │ ├── buffer.h │ ├── channel_layout.h │ ├── common.h │ ├── cpu.h │ ├── crc.h │ ├── dict.h │ ├── error.h │ ├── eval.h │ ├── fifo.h │ ├── file.h │ ├── frame.h │ ├── hmac.h │ ├── imgutils.h │ ├── intfloat.h │ ├── intfloat_readwrite.h │ ├── intreadwrite.h │ ├── lfg.h │ ├── log.h │ ├── lzo.h │ ├── mathematics.h │ ├── md5.h │ ├── mem.h │ ├── murmur3.h │ ├── old_pix_fmts.h │ ├── opt.h │ ├── parseutils.h │ ├── pixdesc.h │ ├── pixfmt.h │ ├── random_seed.h │ ├── rational.h │ ├── ripemd.h │ ├── samplefmt.h │ ├── sha.h │ ├── sha512.h │ ├── time.h │ ├── timecode.h │ ├── timestamp.h │ ├── version.h │ └── xtea.h ├── libpostproc │ ├── postprocess.h │ └── version.h ├── libswresample │ ├── swresample.h │ └── version.h └── libswscale │ ├── swscale.h │ └── version.h ├── lib ├── avcodec-55.def ├── avcodec.lib ├── avdevice-55.def ├── avdevice.lib ├── avfilter-3.def ├── avfilter.lib ├── avformat-55.def ├── avformat.lib ├── avutil-52.def ├── avutil.lib ├── libavcodec.dll.a ├── libavdevice.dll.a ├── libavfilter.dll.a ├── libavformat.dll.a ├── libavutil.dll.a ├── libpostproc.dll.a ├── libswresample.dll.a ├── libswscale.dll.a ├── postproc-52.def ├── postproc.lib ├── swresample-0.def ├── swresample.lib ├── swscale-2.def └── swscale.lib └── licenses ├── bzip2.txt ├── fontconfig.txt ├── freetype.txt ├── frei0r.txt ├── gnutls.txt ├── lame.txt ├── libass.txt ├── libbluray.txt ├── libcaca.txt ├── libgsm.txt ├── libiconv.txt ├── libilbc.txt ├── libmodplug.txt ├── libtheora.txt ├── libvorbis.txt ├── libvpx.txt ├── opencore-amr.txt ├── openjpeg.txt ├── opus.txt ├── rtmpdump.txt ├── schroedinger.txt ├── soxr.txt ├── speex.txt ├── twolame.txt ├── vid.stab.txt ├── vo-aacenc.txt ├── vo-amrwbenc.txt ├── wavpack.txt ├── x264.txt ├── xavs.txt ├── xvid.txt └── zlib.txt /.gitignore: -------------------------------------------------------------------------------- 1 | Debug 2 | Release 3 | *.sdf 4 | *.opensdf 5 | *.suo 6 | -------------------------------------------------------------------------------- /DxCap.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 2013 4 | VisualStudioVersion = 12.0.21005.1 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "DxCap", "DxCap\DxCap.vcxproj", "{A29BAE87-FB41-47D7-B0D6-9B7C097B67CF}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Win32 = Debug|Win32 11 | Release|Win32 = Release|Win32 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {A29BAE87-FB41-47D7-B0D6-9B7C097B67CF}.Debug|Win32.ActiveCfg = Debug|Win32 15 | {A29BAE87-FB41-47D7-B0D6-9B7C097B67CF}.Debug|Win32.Build.0 = Debug|Win32 16 | {A29BAE87-FB41-47D7-B0D6-9B7C097B67CF}.Release|Win32.ActiveCfg = Release|Win32 17 | {A29BAE87-FB41-47D7-B0D6-9B7C097B67CF}.Release|Win32.Build.0 = Release|Win32 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | EndGlobal 23 | -------------------------------------------------------------------------------- /DxCap/DxCap.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junjiexing/DxCap/769360619bd20d97af864272f3877d8a794eae27/DxCap/DxCap.cpp -------------------------------------------------------------------------------- /DxCap/DxCap.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hh;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 源文件 23 | 24 | 25 | 源文件 26 | 27 | 28 | 29 | 30 | 头文件 31 | 32 | 33 | -------------------------------------------------------------------------------- /DxCap/ReadMe.txt: -------------------------------------------------------------------------------- 1 | ======================================================================== 2 | 控制台应用程序:DxCap 项目概述 3 | ======================================================================== 4 | 5 | 应用程序向导已为您创建了此 DxCap 应用程序。 6 | 7 | 本文件概要介绍组成 DxCap 应用程序的每个文件的内容。 8 | 9 | 10 | DxCap.vcxproj 11 | 这是使用应用程序向导生成的 VC++ 项目的主项目文件,其中包含生成该文件的 Visual C++ 的版本信息,以及有关使用应用程序向导选择的平台、配置和项目功能的信息。 12 | 13 | DxCap.vcxproj.filters 14 | 这是使用“应用程序向导”生成的 VC++ 项目筛选器文件。它包含有关项目文件与筛选器之间的关联信息。在 IDE 中,通过这种关联,在特定节点下以分组形式显示具有相似扩展名的文件。例如,“.cpp”文件与“源文件”筛选器关联。 15 | 16 | DxCap.cpp 17 | 这是主应用程序源文件。 18 | 19 | ///////////////////////////////////////////////////////////////////////////// 20 | 其他标准文件: 21 | 22 | StdAfx.h, StdAfx.cpp 23 | 这些文件用于生成名为 DxCap.pch 的预编译头 (PCH) 文件和名为 StdAfx.obj 的预编译类型文件。 24 | 25 | ///////////////////////////////////////////////////////////////////////////// 26 | 其他注释: 27 | 28 | 应用程序向导使用“TODO:”注释来指示应添加或自定义的源代码部分。 29 | 30 | ///////////////////////////////////////////////////////////////////////////// 31 | -------------------------------------------------------------------------------- /DxCap/avcodec-55.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junjiexing/DxCap/769360619bd20d97af864272f3877d8a794eae27/DxCap/avcodec-55.dll -------------------------------------------------------------------------------- /DxCap/avdevice-55.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junjiexing/DxCap/769360619bd20d97af864272f3877d8a794eae27/DxCap/avdevice-55.dll -------------------------------------------------------------------------------- /DxCap/avfilter-3.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junjiexing/DxCap/769360619bd20d97af864272f3877d8a794eae27/DxCap/avfilter-3.dll -------------------------------------------------------------------------------- /DxCap/avformat-55.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junjiexing/DxCap/769360619bd20d97af864272f3877d8a794eae27/DxCap/avformat-55.dll -------------------------------------------------------------------------------- /DxCap/avutil-52.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junjiexing/DxCap/769360619bd20d97af864272f3877d8a794eae27/DxCap/avutil-52.dll -------------------------------------------------------------------------------- /DxCap/directx_cap.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include "directx_cap.h" 3 | #pragma comment(lib,"d3d9.lib") 4 | 5 | directx_cap::directx_cap() 6 | { 7 | } 8 | 9 | 10 | directx_cap::~directx_cap() 11 | { 12 | if (d3d9_sur_ptr_) 13 | { 14 | d3d9_sur_ptr_->Release(); 15 | } 16 | if (d3d9_dev_ptr_) 17 | { 18 | d3d9_dev_ptr_->Release(); 19 | } 20 | if (d3d9_ptr_) 21 | { 22 | d3d9_ptr_->Release(); 23 | } 24 | } 25 | 26 | bool directx_cap::init() 27 | { 28 | D3DDISPLAYMODE ddm; 29 | D3DPRESENT_PARAMETERS d3dpp; 30 | 31 | if ((d3d9_ptr_ = Direct3DCreate9(D3D_SDK_VERSION)) == NULL) 32 | { 33 | return false; 34 | } 35 | 36 | if (FAILED(d3d9_ptr_->GetAdapterDisplayMode(D3DADAPTER_DEFAULT, &ddm))) 37 | { 38 | return false; 39 | } 40 | 41 | ZeroMemory(&d3dpp, sizeof(D3DPRESENT_PARAMETERS)); 42 | 43 | d3dpp.Windowed = TRUE; 44 | d3dpp.Flags = D3DPRESENTFLAG_LOCKABLE_BACKBUFFER; 45 | d3dpp.BackBufferFormat = ddm.Format; 46 | d3dpp.BackBufferHeight = disp_height_ = ddm.Height; 47 | d3dpp.BackBufferWidth = disp_width_ = ddm.Width; 48 | d3dpp.MultiSampleType = D3DMULTISAMPLE_NONE; 49 | d3dpp.SwapEffect = D3DSWAPEFFECT_DISCARD; 50 | d3dpp.hDeviceWindow = NULL; 51 | d3dpp.PresentationInterval = D3DPRESENT_INTERVAL_DEFAULT; 52 | d3dpp.FullScreen_RefreshRateInHz = D3DPRESENT_RATE_DEFAULT; 53 | 54 | if (FAILED(d3d9_ptr_->CreateDevice(D3DADAPTER_DEFAULT, D3DDEVTYPE_HAL, NULL, D3DCREATE_SOFTWARE_VERTEXPROCESSING, &d3dpp, &d3d9_dev_ptr_))) 55 | { 56 | return false; 57 | } 58 | 59 | if (FAILED(d3d9_dev_ptr_->CreateOffscreenPlainSurface(ddm.Width, ddm.Height, D3DFMT_A8R8G8B8, D3DPOOL_SCRATCH, &d3d9_sur_ptr_, NULL))) 60 | { 61 | return false; 62 | } 63 | 64 | return true; 65 | 66 | } 67 | 68 | bool directx_cap::get_frame_to_buffer(int size, DWORD* buffer) 69 | { 70 | if (sizeGetFrontBufferData(0, d3d9_sur_ptr_); 76 | 77 | D3DLOCKED_RECT lockedRect; 78 | if (FAILED(d3d9_sur_ptr_->LockRect(&lockedRect, NULL, D3DLOCK_NO_DIRTY_UPDATE | D3DLOCK_NOSYSLOCK | D3DLOCK_READONLY))) 79 | { 80 | return false; 81 | } 82 | 83 | for (int i = 0; i < disp_height_; ++i) 84 | { 85 | BYTE* pColor = (BYTE*)lockedRect.pBits + i*lockedRect.Pitch; 86 | for (int j = 0; j < disp_width_; ++j) 87 | { 88 | buffer[i*disp_width_+j] = RGB(*(pColor + j * 4 + 0), *(pColor + j * 4 + 1), *(pColor + j * 4 + 2)); 89 | } 90 | } 91 | d3d9_sur_ptr_->UnlockRect(); 92 | 93 | return true; 94 | } 95 | 96 | bool directx_cap::get_frame_to_file(const std::string& path) 97 | { 98 | return false; 99 | } 100 | -------------------------------------------------------------------------------- /DxCap/directx_cap.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | #include 5 | 6 | class directx_cap 7 | { 8 | public: 9 | directx_cap(); 10 | ~directx_cap(); 11 | bool init(); 12 | bool get_frame_to_buffer(int size,DWORD* buffer); 13 | bool get_frame_to_file(const std::string& path); 14 | 15 | int get_disp_width() 16 | { 17 | return disp_width_; 18 | } 19 | int get_disp_height() 20 | { 21 | return disp_height_; 22 | } 23 | 24 | private: 25 | IDirect3D9* d3d9_ptr_ = NULL; 26 | IDirect3DDevice9* d3d9_dev_ptr_ = NULL; 27 | IDirect3DSurface9* d3d9_sur_ptr_ = NULL; 28 | 29 | int disp_width_ = 0; 30 | int disp_height_ = 0; 31 | }; 32 | 33 | -------------------------------------------------------------------------------- /DxCap/postproc-52.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junjiexing/DxCap/769360619bd20d97af864272f3877d8a794eae27/DxCap/postproc-52.dll -------------------------------------------------------------------------------- /DxCap/swresample-0.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junjiexing/DxCap/769360619bd20d97af864272f3877d8a794eae27/DxCap/swresample-0.dll -------------------------------------------------------------------------------- /DxCap/swscale-2.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junjiexing/DxCap/769360619bd20d97af864272f3877d8a794eae27/DxCap/swscale-2.dll -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/README.txt: -------------------------------------------------------------------------------- 1 | This is a FFmpeg Win32 shared build by Kyle Schwarz. 2 | 3 | Zeranoe's FFmpeg Builds Home Page: 4 | 5 | This build was compiled on: Nov 12 2013, at: 18:04:23 6 | 7 | FFmpeg version: 2013-11-12 git-0062869 8 | libavutil 52. 52.100 / 52. 52.100 9 | libavcodec 55. 41.100 / 55. 41.100 10 | libavformat 55. 21.100 / 55. 21.100 11 | libavdevice 55. 5.100 / 55. 5.100 12 | libavfilter 3. 90.102 / 3. 90.102 13 | libswscale 2. 5.101 / 2. 5.101 14 | libswresample 0. 17.104 / 0. 17.104 15 | libpostproc 52. 3.100 / 52. 3.100 16 | 17 | This FFmpeg build was configured with: 18 | --disable-static 19 | --enable-shared 20 | --enable-gpl 21 | --enable-version3 22 | --disable-w32threads 23 | --enable-avisynth 24 | --enable-bzlib 25 | --enable-fontconfig 26 | --enable-frei0r 27 | --enable-gnutls 28 | --enable-iconv 29 | --enable-libass 30 | --enable-libbluray 31 | --enable-libcaca 32 | --enable-libfreetype 33 | --enable-libgsm 34 | --enable-libilbc 35 | --enable-libmodplug 36 | --enable-libmp3lame 37 | --enable-libopencore-amrnb 38 | --enable-libopencore-amrwb 39 | --enable-libopenjpeg 40 | --enable-libopus 41 | --enable-librtmp 42 | --enable-libschroedinger 43 | --enable-libsoxr 44 | --enable-libspeex 45 | --enable-libtheora 46 | --enable-libtwolame 47 | --enable-libvidstab 48 | --enable-libvo-aacenc 49 | --enable-libvo-amrwbenc 50 | --enable-libvorbis 51 | --enable-libvpx 52 | --enable-libwavpack 53 | --enable-libx264 54 | --enable-libxavs 55 | --enable-libxvid 56 | --enable-zlib 57 | 58 | This build was compiled with the following external libraries: 59 | bzip2 1.0.6 60 | Fontconfig 2.10.95 61 | Frei0r 20130909-git-10d8360 62 | GnuTLS 3.2.5 63 | libiconv 1.14 64 | libass 0.10.2 65 | libbluray 0.4.0 66 | libcaca 0.99.beta18 67 | FreeType 2.5.0.1 68 | GSM 1.0.13-4 69 | iLBC 20120913-git-b5f9b10 70 | Modplug-XMMS 0.8.8.4 71 | LAME 3.99.5 72 | OpenCORE AMR 0.1.3 73 | OpenJPEG 1.5.1 74 | Opus 1.0.3 75 | RTMPDump 20131007-git-a9f353c 76 | Schroedinger 1.0.11 77 | libsoxr 0.1.1 78 | Speex 1.2rc1 79 | Theora 1.1.1 80 | TwoLAME 0.3.13 81 | vid.stab 20130830-git-869f3bb 82 | VisualOn AAC 0.1.3 83 | VisualOn AMR-WB 0.1.2 84 | Vorbis 1.3.3 85 | vpx 1.2.0 86 | WavPack 4.70.0 87 | x264 20131030-git-1ca7bb9 88 | XAVS svn-r55 89 | Xvid 1.3.2 90 | zlib 1.2.8 91 | 92 | The source code for this FFmpeg build can be found at: 93 | 94 | This build was compiled on Debian jessie/sid (64-bit): 95 | 96 | GCC 4.8.2 was used to compile this FFmpeg build: 97 | 98 | This build was compiled using the MinGW-w64 toolchain: 99 | 100 | Licenses for each library can be found in the 'licenses' folder. 101 | -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/doc/examples/Makefile: -------------------------------------------------------------------------------- 1 | # use pkg-config for getting CFLAGS and LDLIBS 2 | FFMPEG_LIBS= libavdevice \ 3 | libavformat \ 4 | libavfilter \ 5 | libavcodec \ 6 | libswresample \ 7 | libswscale \ 8 | libavutil \ 9 | 10 | CFLAGS += -Wall -g 11 | CFLAGS := $(shell pkg-config --cflags $(FFMPEG_LIBS)) $(CFLAGS) 12 | LDLIBS := $(shell pkg-config --libs $(FFMPEG_LIBS)) $(LDLIBS) 13 | 14 | EXAMPLES= decoding_encoding \ 15 | demuxing_decoding \ 16 | filtering_video \ 17 | filtering_audio \ 18 | metadata \ 19 | muxing \ 20 | resampling_audio \ 21 | scaling_video \ 22 | 23 | OBJS=$(addsuffix .o,$(EXAMPLES)) 24 | 25 | # the following examples make explicit use of the math library 26 | decoding_encoding: LDLIBS += -lm 27 | muxing: LDLIBS += -lm 28 | resampling_audio: LDLIBS += -lm 29 | 30 | .phony: all clean-test clean 31 | 32 | all: $(OBJS) $(EXAMPLES) 33 | 34 | clean-test: 35 | $(RM) test*.pgm test.h264 test.mp2 test.sw test.mpg 36 | 37 | clean: clean-test 38 | $(RM) $(EXAMPLES) $(OBJS) 39 | -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/doc/examples/README: -------------------------------------------------------------------------------- 1 | FFmpeg examples README 2 | ---------------------- 3 | 4 | Both following use cases rely on pkg-config and make, thus make sure 5 | that you have them installed and working on your system. 6 | 7 | 8 | 1) Build the installed examples in a generic read/write user directory 9 | 10 | Copy to a read/write user directory and just use "make", it will link 11 | to the libraries on your system, assuming the PKG_CONFIG_PATH is 12 | correctly configured. 13 | 14 | 2) Build the examples in-tree 15 | 16 | Assuming you are in the source FFmpeg checkout directory, you need to build 17 | FFmpeg (no need to make install in any prefix). Then you can go into 18 | doc/examples and run a command such as PKG_CONFIG_PATH=pc-uninstalled make. 19 | -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/doc/examples/metadata.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2011 Reinhard Tartler 3 | * 4 | * Permission is hereby granted, free of charge, to any person obtaining a copy 5 | * of this software and associated documentation files (the "Software"), to deal 6 | * in the Software without restriction, including without limitation the rights 7 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 8 | * copies of the Software, and to permit persons to whom the Software is 9 | * furnished to do so, subject to the following conditions: 10 | * 11 | * The above copyright notice and this permission notice shall be included in 12 | * all copies or substantial portions of the Software. 13 | * 14 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 19 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 20 | * THE SOFTWARE. 21 | */ 22 | 23 | /** 24 | * @file 25 | * Shows how the metadata API can be used in application programs. 26 | * @example doc/examples/metadata.c 27 | */ 28 | 29 | #include 30 | 31 | #include 32 | #include 33 | 34 | int main (int argc, char **argv) 35 | { 36 | AVFormatContext *fmt_ctx = NULL; 37 | AVDictionaryEntry *tag = NULL; 38 | int ret; 39 | 40 | if (argc != 2) { 41 | printf("usage: %s \n" 42 | "example program to demonstrate the use of the libavformat metadata API.\n" 43 | "\n", argv[0]); 44 | return 1; 45 | } 46 | 47 | av_register_all(); 48 | if ((ret = avformat_open_input(&fmt_ctx, argv[1], NULL, NULL))) 49 | return ret; 50 | 51 | while ((tag = av_dict_get(fmt_ctx->metadata, "", tag, AV_DICT_IGNORE_SUFFIX))) 52 | printf("%s=%s\n", tag->key, tag->value); 53 | 54 | avformat_close_input(&fmt_ctx); 55 | return 0; 56 | } 57 | -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/doc/libavcodec.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 14 | 15 | FFmpeg documentation : Libavcodec 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 |
28 | 29 | 30 |

Libavcodec Documentation

31 | 32 | 33 |

Table of Contents

34 |
35 | 36 | 41 |
42 | 43 | 44 |

1. Description

45 | 46 |

The libavcodec library provides a generic encoding/decoding framework 47 | and contains multiple decoders and encoders for audio, video and 48 | subtitle streams, and several bitstream filters. 49 |

50 |

The shared architecture provides various services ranging from bit 51 | stream I/O to DSP optimizations, and makes it suitable for 52 | implementing robust and fast codecs as well as for experimentation. 53 |

54 | 55 | 56 |

2. See Also

57 | 58 |

ffmpeg, ffplay, ffprobe, ffserver, 59 | ffmpeg-codecs, bitstream-filters, 60 | libavutil 61 |

62 | 63 | 64 |

3. Authors

65 | 66 |

The FFmpeg developers. 67 |

68 |

For details about the authorship, see the Git history of the project 69 | (git://source.ffmpeg.org/ffmpeg), e.g. by typing the command 70 | git log in the FFmpeg source directory, or browsing the 71 | online repository at http://source.ffmpeg.org. 72 |

73 |

Maintainers for the specific components are listed in the file 74 | ‘MAINTAINERS’ in the source code tree. 75 |

76 | 77 |
78 | This document was generated by Kyle Schwarz on November 12, 2013 using texi2html 1.82.
79 | -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/doc/libavdevice.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 14 | 15 | FFmpeg documentation : Libavdevice 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 |
28 | 29 | 30 |

Libavdevice Documentation

31 | 32 | 33 |

Table of Contents

34 |
35 | 36 | 41 |
42 | 43 | 44 |

1. Description

45 | 46 |

The libavdevice library provides a generic framework for grabbing from 47 | and rendering to many common multimedia input/output devices, and 48 | supports several input and output devices, including Video4Linux2, 49 | VfW, DShow, and ALSA. 50 |

51 | 52 | 53 |

2. See Also

54 | 55 |

ffmpeg, ffplay, ffprobe, ffserver, 56 | ffmpeg-devices, 57 | libavutil, libavcodec, libavformat 58 |

59 | 60 | 61 |

3. Authors

62 | 63 |

The FFmpeg developers. 64 |

65 |

For details about the authorship, see the Git history of the project 66 | (git://source.ffmpeg.org/ffmpeg), e.g. by typing the command 67 | git log in the FFmpeg source directory, or browsing the 68 | online repository at http://source.ffmpeg.org. 69 |

70 |

Maintainers for the specific components are listed in the file 71 | ‘MAINTAINERS’ in the source code tree. 72 |

73 | 74 |
75 | This document was generated by Kyle Schwarz on November 12, 2013 using texi2html 1.82.
76 | -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/doc/libavfilter.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 14 | 15 | FFmpeg documentation : Libavfilter 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 |
28 | 29 | 30 |

Libavfilter Documentation

31 | 32 | 33 |

Table of Contents

34 |
35 | 36 | 41 |
42 | 43 | 44 |

1. Description

45 | 46 |

The libavfilter library provides a generic audio/video filtering 47 | framework containing several filters, sources and sinks. 48 |

49 | 50 | 51 |

2. See Also

52 | 53 |

ffmpeg, ffplay, ffprobe, ffserver, 54 | ffmpeg-filters, 55 | libavutil, libswscale, libswresample, 56 | libavcodec, libavformat, libavdevice 57 |

58 | 59 | 60 |

3. Authors

61 | 62 |

The FFmpeg developers. 63 |

64 |

For details about the authorship, see the Git history of the project 65 | (git://source.ffmpeg.org/ffmpeg), e.g. by typing the command 66 | git log in the FFmpeg source directory, or browsing the 67 | online repository at http://source.ffmpeg.org. 68 |

69 |

Maintainers for the specific components are listed in the file 70 | ‘MAINTAINERS’ in the source code tree. 71 |

72 | 73 |
74 | This document was generated by Kyle Schwarz on November 12, 2013 using texi2html 1.82.
75 | -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/doc/libavformat.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 14 | 15 | FFmpeg documentation : Libavformat 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 |
28 | 29 | 30 |

Libavformat Documentation

31 | 32 | 33 |

Table of Contents

34 |
35 | 36 | 41 |
42 | 43 | 44 |

1. Description

45 | 46 |

The libavformat library provides a generic framework for multiplexing 47 | and demultiplexing (muxing and demuxing) audio, video and subtitle 48 | streams. It encompasses multiple muxers and demuxers for multimedia 49 | container formats. 50 |

51 |

It also supports several input and output protocols to access a media 52 | resource. 53 |

54 | 55 | 56 |

2. See Also

57 | 58 |

ffmpeg, ffplay, ffprobe, ffserver, 59 | ffmpeg-formats, ffmpeg-protocols, 60 | libavutil, libavcodec 61 |

62 | 63 | 64 |

3. Authors

65 | 66 |

The FFmpeg developers. 67 |

68 |

For details about the authorship, see the Git history of the project 69 | (git://source.ffmpeg.org/ffmpeg), e.g. by typing the command 70 | git log in the FFmpeg source directory, or browsing the 71 | online repository at http://source.ffmpeg.org. 72 |

73 |

Maintainers for the specific components are listed in the file 74 | ‘MAINTAINERS’ in the source code tree. 75 |

76 | 77 |
78 | This document was generated by Kyle Schwarz on November 12, 2013 using texi2html 1.82.
79 | -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/doc/libavutil.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 14 | 15 | FFmpeg documentation : Libavutil 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 |
28 | 29 | 30 |

Libavutil Documentation

31 | 32 | 33 |

Table of Contents

34 |
35 | 36 | 41 |
42 | 43 | 44 |

1. Description

45 | 46 |

The libavutil library is a utility library to aid portable 47 | multimedia programming. It contains safe portable string functions, 48 | random number generators, data structures, additional mathematics 49 | functions, cryptography and multimedia related functionality (like 50 | enumerations for pixel and sample formats). 51 |

52 | 53 | 54 |

2. See Also

55 | 56 |

ffmpeg, ffplay, ffprobe, ffserver, 57 | ffmpeg-utils 58 |

59 | 60 | 61 |

3. Authors

62 | 63 |

The FFmpeg developers. 64 |

65 |

For details about the authorship, see the Git history of the project 66 | (git://source.ffmpeg.org/ffmpeg), e.g. by typing the command 67 | git log in the FFmpeg source directory, or browsing the 68 | online repository at http://source.ffmpeg.org. 69 |

70 |

Maintainers for the specific components are listed in the file 71 | ‘MAINTAINERS’ in the source code tree. 72 |

73 | 74 |
75 | This document was generated by Kyle Schwarz on November 12, 2013 using texi2html 1.82.
76 | -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/doc/libswresample.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 14 | 15 | FFmpeg documentation : Libswresample 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 |
28 | 29 | 30 |

Libswresample Documentation

31 | 32 | 33 |

Table of Contents

34 |
35 | 36 | 41 |
42 | 43 | 44 |

1. Description

45 | 46 |

The libswresample library performs highly optimized audio resampling, 47 | rematrixing and sample format conversion operations. 48 |

49 |

Specifically, this library performs the following conversions: 50 |

51 |
    52 |
  • 53 | Resampling: is the process of changing the audio rate, for 54 | example from a high sample rate of 44100Hz to 8000Hz. Audio 55 | conversion from high to low sample rate is a lossy process. Several 56 | resampling options and algorithms are available. 57 | 58 |
  • 59 | Format conversion: is the process of converting the type of 60 | samples, for example from 16-bit signed samples to unsigned 8-bit or 61 | float samples. It also handles packing conversion, when passing from 62 | packed layout (all samples belonging to distinct channels interleaved 63 | in the same buffer), to planar layout (all samples belonging to the 64 | same channel stored in a dedicated buffer or "plane"). 65 | 66 |
  • 67 | Rematrixing: is the process of changing the channel layout, for 68 | example from stereo to mono. When the input channels cannot be mapped 69 | to the output streams, the process is lossy, since it involves 70 | different gain factors and mixing. 71 |
72 | 73 |

Various other audio conversions (e.g. stretching and padding) are 74 | enabled through dedicated options. 75 |

76 | 77 | 78 |

2. See Also

79 | 80 |

ffmpeg, ffplay, ffprobe, ffserver, 81 | ffmpeg-resampler, 82 | libavutil 83 |

84 | 85 | 86 |

3. Authors

87 | 88 |

The FFmpeg developers. 89 |

90 |

For details about the authorship, see the Git history of the project 91 | (git://source.ffmpeg.org/ffmpeg), e.g. by typing the command 92 | git log in the FFmpeg source directory, or browsing the 93 | online repository at http://source.ffmpeg.org. 94 |

95 |

Maintainers for the specific components are listed in the file 96 | ‘MAINTAINERS’ in the source code tree. 97 |

98 | 99 |
100 | This document was generated by Kyle Schwarz on November 12, 2013 using texi2html 1.82.
101 | -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/doc/libswscale.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 14 | 15 | FFmpeg documentation : Libswscale 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 |
28 | 29 | 30 |

Libswscale Documentation

31 | 32 | 33 |

Table of Contents

34 |
35 | 36 | 41 |
42 | 43 | 44 |

1. Description

45 | 46 |

The libswscale library performs highly optimized image scaling and 47 | colorspace and pixel format conversion operations. 48 |

49 |

Specifically, this library performs the following conversions: 50 |

51 |
    52 |
  • 53 | Rescaling: is the process of changing the video size. Several 54 | rescaling options and algorithms are available. This is usually a 55 | lossy process. 56 | 57 |
  • 58 | Pixel format conversion: is the process of converting the image 59 | format and colorspace of the image, for example from planar YUV420P to 60 | RGB24 packed. It also handles packing conversion, that is converts 61 | from packed layout (all pixels belonging to distinct planes 62 | interleaved in the same buffer), to planar layout (all samples 63 | belonging to the same plane stored in a dedicated buffer or "plane"). 64 | 65 |

    This is usually a lossy process in case the source and destination 66 | colorspaces differ. 67 |

68 | 69 | 70 | 71 |

2. See Also

72 | 73 |

ffmpeg, ffplay, ffprobe, ffserver, 74 | ffmpeg-scaler, 75 | libavutil 76 |

77 | 78 | 79 |

3. Authors

80 | 81 |

The FFmpeg developers. 82 |

83 |

For details about the authorship, see the Git history of the project 84 | (git://source.ffmpeg.org/ffmpeg), e.g. by typing the command 85 | git log in the FFmpeg source directory, or browsing the 86 | online repository at http://source.ffmpeg.org. 87 |

88 |

Maintainers for the specific components are listed in the file 89 | ‘MAINTAINERS’ in the source code tree. 90 |

91 | 92 |
93 | This document was generated by Kyle Schwarz on November 12, 2013 using texi2html 1.82.
94 | -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/include/libavcodec/avfft.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of FFmpeg. 3 | * 4 | * FFmpeg is free software; you can redistribute it and/or 5 | * modify it under the terms of the GNU Lesser General Public 6 | * License as published by the Free Software Foundation; either 7 | * version 2.1 of the License, or (at your option) any later version. 8 | * 9 | * FFmpeg is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public 15 | * License along with FFmpeg; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #ifndef AVCODEC_AVFFT_H 20 | #define AVCODEC_AVFFT_H 21 | 22 | /** 23 | * @file 24 | * @ingroup lavc_fft 25 | * FFT functions 26 | */ 27 | 28 | /** 29 | * @defgroup lavc_fft FFT functions 30 | * @ingroup lavc_misc 31 | * 32 | * @{ 33 | */ 34 | 35 | typedef float FFTSample; 36 | 37 | typedef struct FFTComplex { 38 | FFTSample re, im; 39 | } FFTComplex; 40 | 41 | typedef struct FFTContext FFTContext; 42 | 43 | /** 44 | * Set up a complex FFT. 45 | * @param nbits log2 of the length of the input array 46 | * @param inverse if 0 perform the forward transform, if 1 perform the inverse 47 | */ 48 | FFTContext *av_fft_init(int nbits, int inverse); 49 | 50 | /** 51 | * Do the permutation needed BEFORE calling ff_fft_calc(). 52 | */ 53 | void av_fft_permute(FFTContext *s, FFTComplex *z); 54 | 55 | /** 56 | * Do a complex FFT with the parameters defined in av_fft_init(). The 57 | * input data must be permuted before. No 1.0/sqrt(n) normalization is done. 58 | */ 59 | void av_fft_calc(FFTContext *s, FFTComplex *z); 60 | 61 | void av_fft_end(FFTContext *s); 62 | 63 | FFTContext *av_mdct_init(int nbits, int inverse, double scale); 64 | void av_imdct_calc(FFTContext *s, FFTSample *output, const FFTSample *input); 65 | void av_imdct_half(FFTContext *s, FFTSample *output, const FFTSample *input); 66 | void av_mdct_calc(FFTContext *s, FFTSample *output, const FFTSample *input); 67 | void av_mdct_end(FFTContext *s); 68 | 69 | /* Real Discrete Fourier Transform */ 70 | 71 | enum RDFTransformType { 72 | DFT_R2C, 73 | IDFT_C2R, 74 | IDFT_R2C, 75 | DFT_C2R, 76 | }; 77 | 78 | typedef struct RDFTContext RDFTContext; 79 | 80 | /** 81 | * Set up a real FFT. 82 | * @param nbits log2 of the length of the input array 83 | * @param trans the type of transform 84 | */ 85 | RDFTContext *av_rdft_init(int nbits, enum RDFTransformType trans); 86 | void av_rdft_calc(RDFTContext *s, FFTSample *data); 87 | void av_rdft_end(RDFTContext *s); 88 | 89 | /* Discrete Cosine Transform */ 90 | 91 | typedef struct DCTContext DCTContext; 92 | 93 | enum DCTTransformType { 94 | DCT_II = 0, 95 | DCT_III, 96 | DCT_I, 97 | DST_I, 98 | }; 99 | 100 | /** 101 | * Set up DCT. 102 | * @param nbits size of the input array: 103 | * (1 << nbits) for DCT-II, DCT-III and DST-I 104 | * (1 << nbits) + 1 for DCT-I 105 | * 106 | * @note the first element of the input of DST-I is ignored 107 | */ 108 | DCTContext *av_dct_init(int nbits, enum DCTTransformType type); 109 | void av_dct_calc(DCTContext *s, FFTSample *data); 110 | void av_dct_end (DCTContext *s); 111 | 112 | /** 113 | * @} 114 | */ 115 | 116 | #endif /* AVCODEC_AVFFT_H */ 117 | -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/include/libavcodec/dxva2.h: -------------------------------------------------------------------------------- 1 | /* 2 | * DXVA2 HW acceleration 3 | * 4 | * copyright (c) 2009 Laurent Aimar 5 | * 6 | * This file is part of FFmpeg. 7 | * 8 | * FFmpeg is free software; you can redistribute it and/or 9 | * modify it under the terms of the GNU Lesser General Public 10 | * License as published by the Free Software Foundation; either 11 | * version 2.1 of the License, or (at your option) any later version. 12 | * 13 | * FFmpeg is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 | * Lesser General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU Lesser General Public 19 | * License along with FFmpeg; if not, write to the Free Software 20 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 21 | */ 22 | 23 | #ifndef AVCODEC_DXVA_H 24 | #define AVCODEC_DXVA_H 25 | 26 | /** 27 | * @file 28 | * @ingroup lavc_codec_hwaccel_dxva2 29 | * Public libavcodec DXVA2 header. 30 | */ 31 | 32 | #if defined(_WIN32_WINNT) && _WIN32_WINNT < 0x0600 33 | #undef _WIN32_WINNT 34 | #endif 35 | 36 | #if !defined(_WIN32_WINNT) 37 | #define _WIN32_WINNT 0x0600 38 | #endif 39 | 40 | #include 41 | #include 42 | #include 43 | 44 | /** 45 | * @defgroup lavc_codec_hwaccel_dxva2 DXVA2 46 | * @ingroup lavc_codec_hwaccel 47 | * 48 | * @{ 49 | */ 50 | 51 | #define FF_DXVA2_WORKAROUND_SCALING_LIST_ZIGZAG 1 ///< Work around for DXVA2 and old UVD/UVD+ ATI video cards 52 | 53 | /** 54 | * This structure is used to provides the necessary configurations and data 55 | * to the DXVA2 FFmpeg HWAccel implementation. 56 | * 57 | * The application must make it available as AVCodecContext.hwaccel_context. 58 | */ 59 | struct dxva_context { 60 | /** 61 | * DXVA2 decoder object 62 | */ 63 | IDirectXVideoDecoder *decoder; 64 | 65 | /** 66 | * DXVA2 configuration used to create the decoder 67 | */ 68 | const DXVA2_ConfigPictureDecode *cfg; 69 | 70 | /** 71 | * The number of surface in the surface array 72 | */ 73 | unsigned surface_count; 74 | 75 | /** 76 | * The array of Direct3D surfaces used to create the decoder 77 | */ 78 | LPDIRECT3DSURFACE9 *surface; 79 | 80 | /** 81 | * A bit field configuring the workarounds needed for using the decoder 82 | */ 83 | uint64_t workaround; 84 | 85 | /** 86 | * Private to the FFmpeg AVHWAccel implementation 87 | */ 88 | unsigned report_id; 89 | }; 90 | 91 | /** 92 | * @} 93 | */ 94 | 95 | #endif /* AVCODEC_DXVA_H */ 96 | -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/include/libavcodec/vaapi.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Video Acceleration API (shared data between FFmpeg and the video player) 3 | * HW decode acceleration for MPEG-2, MPEG-4, H.264 and VC-1 4 | * 5 | * Copyright (C) 2008-2009 Splitted-Desktop Systems 6 | * 7 | * This file is part of FFmpeg. 8 | * 9 | * FFmpeg is free software; you can redistribute it and/or 10 | * modify it under the terms of the GNU Lesser General Public 11 | * License as published by the Free Software Foundation; either 12 | * version 2.1 of the License, or (at your option) any later version. 13 | * 14 | * FFmpeg is distributed in the hope that it will be useful, 15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 17 | * Lesser General Public License for more details. 18 | * 19 | * You should have received a copy of the GNU Lesser General Public 20 | * License along with FFmpeg; if not, write to the Free Software 21 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 22 | */ 23 | 24 | #ifndef AVCODEC_VAAPI_H 25 | #define AVCODEC_VAAPI_H 26 | 27 | /** 28 | * @file 29 | * @ingroup lavc_codec_hwaccel_vaapi 30 | * Public libavcodec VA API header. 31 | */ 32 | 33 | #include 34 | 35 | /** 36 | * @defgroup lavc_codec_hwaccel_vaapi VA API Decoding 37 | * @ingroup lavc_codec_hwaccel 38 | * @{ 39 | */ 40 | 41 | /** 42 | * This structure is used to share data between the FFmpeg library and 43 | * the client video application. 44 | * This shall be zero-allocated and available as 45 | * AVCodecContext.hwaccel_context. All user members can be set once 46 | * during initialization or through each AVCodecContext.get_buffer() 47 | * function call. In any case, they must be valid prior to calling 48 | * decoding functions. 49 | */ 50 | struct vaapi_context { 51 | /** 52 | * Window system dependent data 53 | * 54 | * - encoding: unused 55 | * - decoding: Set by user 56 | */ 57 | void *display; 58 | 59 | /** 60 | * Configuration ID 61 | * 62 | * - encoding: unused 63 | * - decoding: Set by user 64 | */ 65 | uint32_t config_id; 66 | 67 | /** 68 | * Context ID (video decode pipeline) 69 | * 70 | * - encoding: unused 71 | * - decoding: Set by user 72 | */ 73 | uint32_t context_id; 74 | 75 | /** 76 | * VAPictureParameterBuffer ID 77 | * 78 | * - encoding: unused 79 | * - decoding: Set by libavcodec 80 | */ 81 | uint32_t pic_param_buf_id; 82 | 83 | /** 84 | * VAIQMatrixBuffer ID 85 | * 86 | * - encoding: unused 87 | * - decoding: Set by libavcodec 88 | */ 89 | uint32_t iq_matrix_buf_id; 90 | 91 | /** 92 | * VABitPlaneBuffer ID (for VC-1 decoding) 93 | * 94 | * - encoding: unused 95 | * - decoding: Set by libavcodec 96 | */ 97 | uint32_t bitplane_buf_id; 98 | 99 | /** 100 | * Slice parameter/data buffer IDs 101 | * 102 | * - encoding: unused 103 | * - decoding: Set by libavcodec 104 | */ 105 | uint32_t *slice_buf_ids; 106 | 107 | /** 108 | * Number of effective slice buffer IDs to send to the HW 109 | * 110 | * - encoding: unused 111 | * - decoding: Set by libavcodec 112 | */ 113 | unsigned int n_slice_buf_ids; 114 | 115 | /** 116 | * Size of pre-allocated slice_buf_ids 117 | * 118 | * - encoding: unused 119 | * - decoding: Set by libavcodec 120 | */ 121 | unsigned int slice_buf_ids_alloc; 122 | 123 | /** 124 | * Pointer to VASliceParameterBuffers 125 | * 126 | * - encoding: unused 127 | * - decoding: Set by libavcodec 128 | */ 129 | void *slice_params; 130 | 131 | /** 132 | * Size of a VASliceParameterBuffer element 133 | * 134 | * - encoding: unused 135 | * - decoding: Set by libavcodec 136 | */ 137 | unsigned int slice_param_size; 138 | 139 | /** 140 | * Size of pre-allocated slice_params 141 | * 142 | * - encoding: unused 143 | * - decoding: Set by libavcodec 144 | */ 145 | unsigned int slice_params_alloc; 146 | 147 | /** 148 | * Number of slices currently filled in 149 | * 150 | * - encoding: unused 151 | * - decoding: Set by libavcodec 152 | */ 153 | unsigned int slice_count; 154 | 155 | /** 156 | * Pointer to slice data buffer base 157 | * - encoding: unused 158 | * - decoding: Set by libavcodec 159 | */ 160 | const uint8_t *slice_data; 161 | 162 | /** 163 | * Current size of slice data 164 | * 165 | * - encoding: unused 166 | * - decoding: Set by libavcodec 167 | */ 168 | uint32_t slice_data_size; 169 | }; 170 | 171 | /* @} */ 172 | 173 | #endif /* AVCODEC_VAAPI_H */ 174 | -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/include/libavcodec/vda.h: -------------------------------------------------------------------------------- 1 | /* 2 | * VDA HW acceleration 3 | * 4 | * copyright (c) 2011 Sebastien Zwickert 5 | * 6 | * This file is part of FFmpeg. 7 | * 8 | * FFmpeg is free software; you can redistribute it and/or 9 | * modify it under the terms of the GNU Lesser General Public 10 | * License as published by the Free Software Foundation; either 11 | * version 2.1 of the License, or (at your option) any later version. 12 | * 13 | * FFmpeg is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 | * Lesser General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU Lesser General Public 19 | * License along with FFmpeg; if not, write to the Free Software 20 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 21 | */ 22 | 23 | #ifndef AVCODEC_VDA_H 24 | #define AVCODEC_VDA_H 25 | 26 | /** 27 | * @file 28 | * @ingroup lavc_codec_hwaccel_vda 29 | * Public libavcodec VDA header. 30 | */ 31 | 32 | #include 33 | 34 | // emmintrin.h is unable to compile with -std=c99 -Werror=missing-prototypes 35 | // http://openradar.appspot.com/8026390 36 | #undef __GNUC_STDC_INLINE__ 37 | 38 | #define Picture QuickdrawPicture 39 | #include 40 | #undef Picture 41 | 42 | #include "libavcodec/version.h" 43 | 44 | /** 45 | * @defgroup lavc_codec_hwaccel_vda VDA 46 | * @ingroup lavc_codec_hwaccel 47 | * 48 | * @{ 49 | */ 50 | 51 | /** 52 | * This structure is used to provide the necessary configurations and data 53 | * to the VDA FFmpeg HWAccel implementation. 54 | * 55 | * The application must make it available as AVCodecContext.hwaccel_context. 56 | */ 57 | struct vda_context { 58 | /** 59 | * VDA decoder object. 60 | * 61 | * - encoding: unused 62 | * - decoding: Set/Unset by libavcodec. 63 | */ 64 | VDADecoder decoder; 65 | 66 | /** 67 | * The Core Video pixel buffer that contains the current image data. 68 | * 69 | * encoding: unused 70 | * decoding: Set by libavcodec. Unset by user. 71 | */ 72 | CVPixelBufferRef cv_buffer; 73 | 74 | /** 75 | * Use the hardware decoder in synchronous mode. 76 | * 77 | * encoding: unused 78 | * decoding: Set by user. 79 | */ 80 | int use_sync_decoding; 81 | 82 | /** 83 | * The frame width. 84 | * 85 | * - encoding: unused 86 | * - decoding: Set/Unset by user. 87 | */ 88 | int width; 89 | 90 | /** 91 | * The frame height. 92 | * 93 | * - encoding: unused 94 | * - decoding: Set/Unset by user. 95 | */ 96 | int height; 97 | 98 | /** 99 | * The frame format. 100 | * 101 | * - encoding: unused 102 | * - decoding: Set/Unset by user. 103 | */ 104 | int format; 105 | 106 | /** 107 | * The pixel format for output image buffers. 108 | * 109 | * - encoding: unused 110 | * - decoding: Set/Unset by user. 111 | */ 112 | OSType cv_pix_fmt_type; 113 | 114 | /** 115 | * The current bitstream buffer. 116 | * 117 | * - encoding: unused 118 | * - decoding: Set/Unset by libavcodec. 119 | */ 120 | uint8_t *priv_bitstream; 121 | 122 | /** 123 | * The current size of the bitstream. 124 | * 125 | * - encoding: unused 126 | * - decoding: Set/Unset by libavcodec. 127 | */ 128 | int priv_bitstream_size; 129 | 130 | /** 131 | * The reference size used for fast reallocation. 132 | * 133 | * - encoding: unused 134 | * - decoding: Set/Unset by libavcodec. 135 | */ 136 | int priv_allocated_size; 137 | 138 | /** 139 | * Use av_buffer to manage buffer. 140 | * When the flag is set, the CVPixelBuffers returned by the decoder will 141 | * be released automatically, so you have to retain them if necessary. 142 | * Not setting this flag may cause memory leak. 143 | * 144 | * encoding: unused 145 | * decoding: Set by user. 146 | */ 147 | int use_ref_buffer; 148 | }; 149 | 150 | /** Create the video decoder. */ 151 | int ff_vda_create_decoder(struct vda_context *vda_ctx, 152 | uint8_t *extradata, 153 | int extradata_size); 154 | 155 | /** Destroy the video decoder. */ 156 | int ff_vda_destroy_decoder(struct vda_context *vda_ctx); 157 | 158 | /** 159 | * @} 160 | */ 161 | 162 | #endif /* AVCODEC_VDA_H */ 163 | -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/include/libavcodec/version.h: -------------------------------------------------------------------------------- 1 | /* 2 | * 3 | * This file is part of FFmpeg. 4 | * 5 | * FFmpeg is free software; you can redistribute it and/or 6 | * modify it under the terms of the GNU Lesser General Public 7 | * License as published by the Free Software Foundation; either 8 | * version 2.1 of the License, or (at your option) any later version. 9 | * 10 | * FFmpeg is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 | * Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public 16 | * License along with FFmpeg; if not, write to the Free Software 17 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 18 | */ 19 | 20 | #ifndef AVCODEC_VERSION_H 21 | #define AVCODEC_VERSION_H 22 | 23 | /** 24 | * @file 25 | * @ingroup libavc 26 | * Libavcodec version macros. 27 | */ 28 | 29 | #include "libavutil/avutil.h" 30 | 31 | #define LIBAVCODEC_VERSION_MAJOR 55 32 | #define LIBAVCODEC_VERSION_MINOR 41 33 | #define LIBAVCODEC_VERSION_MICRO 100 34 | 35 | #define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \ 36 | LIBAVCODEC_VERSION_MINOR, \ 37 | LIBAVCODEC_VERSION_MICRO) 38 | #define LIBAVCODEC_VERSION AV_VERSION(LIBAVCODEC_VERSION_MAJOR, \ 39 | LIBAVCODEC_VERSION_MINOR, \ 40 | LIBAVCODEC_VERSION_MICRO) 41 | #define LIBAVCODEC_BUILD LIBAVCODEC_VERSION_INT 42 | 43 | #define LIBAVCODEC_IDENT "Lavc" AV_STRINGIFY(LIBAVCODEC_VERSION) 44 | 45 | /** 46 | * FF_API_* defines may be placed below to indicate public API that will be 47 | * dropped at a future version bump. The defines themselves are not part of 48 | * the public API and may change, break or disappear at any time. 49 | */ 50 | 51 | #ifndef FF_API_REQUEST_CHANNELS 52 | #define FF_API_REQUEST_CHANNELS (LIBAVCODEC_VERSION_MAJOR < 56) 53 | #endif 54 | #ifndef FF_API_OLD_DECODE_AUDIO 55 | #define FF_API_OLD_DECODE_AUDIO (LIBAVCODEC_VERSION_MAJOR < 56) 56 | #endif 57 | #ifndef FF_API_OLD_ENCODE_AUDIO 58 | #define FF_API_OLD_ENCODE_AUDIO (LIBAVCODEC_VERSION_MAJOR < 56) 59 | #endif 60 | #ifndef FF_API_OLD_ENCODE_VIDEO 61 | #define FF_API_OLD_ENCODE_VIDEO (LIBAVCODEC_VERSION_MAJOR < 56) 62 | #endif 63 | #ifndef FF_API_CODEC_ID 64 | #define FF_API_CODEC_ID (LIBAVCODEC_VERSION_MAJOR < 56) 65 | #endif 66 | #ifndef FF_API_AUDIO_CONVERT 67 | #define FF_API_AUDIO_CONVERT (LIBAVCODEC_VERSION_MAJOR < 56) 68 | #endif 69 | #ifndef FF_API_AVCODEC_RESAMPLE 70 | #define FF_API_AVCODEC_RESAMPLE FF_API_AUDIO_CONVERT 71 | #endif 72 | #ifndef FF_API_DEINTERLACE 73 | #define FF_API_DEINTERLACE (LIBAVCODEC_VERSION_MAJOR < 56) 74 | #endif 75 | #ifndef FF_API_DESTRUCT_PACKET 76 | #define FF_API_DESTRUCT_PACKET (LIBAVCODEC_VERSION_MAJOR < 56) 77 | #endif 78 | #ifndef FF_API_GET_BUFFER 79 | #define FF_API_GET_BUFFER (LIBAVCODEC_VERSION_MAJOR < 56) 80 | #endif 81 | #ifndef FF_API_MISSING_SAMPLE 82 | #define FF_API_MISSING_SAMPLE (LIBAVCODEC_VERSION_MAJOR < 56) 83 | #endif 84 | #ifndef FF_API_LOWRES 85 | #define FF_API_LOWRES (LIBAVCODEC_VERSION_MAJOR < 56) 86 | #endif 87 | #ifndef FF_API_CAP_VDPAU 88 | #define FF_API_CAP_VDPAU (LIBAVCODEC_VERSION_MAJOR < 56) 89 | #endif 90 | #ifndef FF_API_BUFS_VDPAU 91 | #define FF_API_BUFS_VDPAU (LIBAVCODEC_VERSION_MAJOR < 56) 92 | #endif 93 | #ifndef FF_API_VOXWARE 94 | #define FF_API_VOXWARE (LIBAVCODEC_VERSION_MAJOR < 56) 95 | #endif 96 | #ifndef FF_API_SET_DIMENSIONS 97 | #define FF_API_SET_DIMENSIONS (LIBAVCODEC_VERSION_MAJOR < 56) 98 | #endif 99 | #ifndef FF_API_DEBUG_MV 100 | #define FF_API_DEBUG_MV (LIBAVCODEC_VERSION_MAJOR < 56) 101 | #endif 102 | #ifndef FF_API_AC_VLC 103 | #define FF_API_AC_VLC (LIBAVCODEC_VERSION_MAJOR < 56) 104 | #endif 105 | #ifndef FF_API_OLD_MSMPEG4 106 | #define FF_API_OLD_MSMPEG4 (LIBAVCODEC_VERSION_MAJOR < 56) 107 | #endif 108 | #ifndef FF_API_ASPECT_EXTENDED 109 | #define FF_API_ASPECT_EXTENDED (LIBAVCODEC_VERSION_MAJOR < 56) 110 | #endif 111 | #ifndef FF_API_THREAD_OPAQUE 112 | #define FF_API_THREAD_OPAQUE (LIBAVCODEC_VERSION_MAJOR < 56) 113 | #endif 114 | #ifndef FF_API_CODEC_PKT 115 | #define FF_API_CODEC_PKT (LIBAVCODEC_VERSION_MAJOR < 56) 116 | #endif 117 | 118 | #endif /* AVCODEC_VERSION_H */ 119 | -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/include/libavdevice/avdevice.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of FFmpeg. 3 | * 4 | * FFmpeg is free software; you can redistribute it and/or 5 | * modify it under the terms of the GNU Lesser General Public 6 | * License as published by the Free Software Foundation; either 7 | * version 2.1 of the License, or (at your option) any later version. 8 | * 9 | * FFmpeg is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public 15 | * License along with FFmpeg; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #ifndef AVDEVICE_AVDEVICE_H 20 | #define AVDEVICE_AVDEVICE_H 21 | 22 | #include "version.h" 23 | 24 | /** 25 | * @file 26 | * @ingroup lavd 27 | * Main libavdevice API header 28 | */ 29 | 30 | /** 31 | * @defgroup lavd Special devices muxing/demuxing library 32 | * @{ 33 | * Libavdevice is a complementary library to @ref libavf "libavformat". It 34 | * provides various "special" platform-specific muxers and demuxers, e.g. for 35 | * grabbing devices, audio capture and playback etc. As a consequence, the 36 | * (de)muxers in libavdevice are of the AVFMT_NOFILE type (they use their own 37 | * I/O functions). The filename passed to avformat_open_input() often does not 38 | * refer to an actually existing file, but has some special device-specific 39 | * meaning - e.g. for x11grab it is the display name. 40 | * 41 | * To use libavdevice, simply call avdevice_register_all() to register all 42 | * compiled muxers and demuxers. They all use standard libavformat API. 43 | * @} 44 | */ 45 | 46 | #include "libavformat/avformat.h" 47 | 48 | /** 49 | * Return the LIBAVDEVICE_VERSION_INT constant. 50 | */ 51 | unsigned avdevice_version(void); 52 | 53 | /** 54 | * Return the libavdevice build-time configuration. 55 | */ 56 | const char *avdevice_configuration(void); 57 | 58 | /** 59 | * Return the libavdevice license. 60 | */ 61 | const char *avdevice_license(void); 62 | 63 | /** 64 | * Initialize libavdevice and register all the input and output devices. 65 | * @warning This function is not thread safe. 66 | */ 67 | void avdevice_register_all(void); 68 | 69 | #endif /* AVDEVICE_AVDEVICE_H */ 70 | -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/include/libavdevice/version.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of FFmpeg. 3 | * 4 | * FFmpeg is free software; you can redistribute it and/or 5 | * modify it under the terms of the GNU Lesser General Public 6 | * License as published by the Free Software Foundation; either 7 | * version 2.1 of the License, or (at your option) any later version. 8 | * 9 | * FFmpeg is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public 15 | * License along with FFmpeg; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #ifndef AVDEVICE_VERSION_H 20 | #define AVDEVICE_VERSION_H 21 | 22 | /** 23 | * @file 24 | * @ingroup lavd 25 | * Libavdevice version macros 26 | */ 27 | 28 | #include "libavutil/avutil.h" 29 | 30 | #define LIBAVDEVICE_VERSION_MAJOR 55 31 | #define LIBAVDEVICE_VERSION_MINOR 5 32 | #define LIBAVDEVICE_VERSION_MICRO 100 33 | 34 | #define LIBAVDEVICE_VERSION_INT AV_VERSION_INT(LIBAVDEVICE_VERSION_MAJOR, \ 35 | LIBAVDEVICE_VERSION_MINOR, \ 36 | LIBAVDEVICE_VERSION_MICRO) 37 | #define LIBAVDEVICE_VERSION AV_VERSION(LIBAVDEVICE_VERSION_MAJOR, \ 38 | LIBAVDEVICE_VERSION_MINOR, \ 39 | LIBAVDEVICE_VERSION_MICRO) 40 | #define LIBAVDEVICE_BUILD LIBAVDEVICE_VERSION_INT 41 | 42 | #define LIBAVDEVICE_IDENT "Lavd" AV_STRINGIFY(LIBAVDEVICE_VERSION) 43 | 44 | /** 45 | * FF_API_* defines may be placed below to indicate public API that will be 46 | * dropped at a future version bump. The defines themselves are not part of 47 | * the public API and may change, break or disappear at any time. 48 | */ 49 | 50 | #endif /* AVDEVICE_VERSION_H */ 51 | -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/include/libavfilter/asrc_abuffer.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of FFmpeg. 3 | * 4 | * FFmpeg is free software; you can redistribute it and/or 5 | * modify it under the terms of the GNU Lesser General Public 6 | * License as published by the Free Software Foundation; either 7 | * version 2.1 of the License, or (at your option) any later version. 8 | * 9 | * FFmpeg is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public 15 | * License along with FFmpeg; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #ifndef AVFILTER_ASRC_ABUFFER_H 20 | #define AVFILTER_ASRC_ABUFFER_H 21 | 22 | #include "avfilter.h" 23 | 24 | /** 25 | * @file 26 | * memory buffer source for audio 27 | * 28 | * @deprecated use buffersrc.h instead. 29 | */ 30 | 31 | /** 32 | * Queue an audio buffer to the audio buffer source. 33 | * 34 | * @param abuffersrc audio source buffer context 35 | * @param data pointers to the samples planes 36 | * @param linesize linesizes of each audio buffer plane 37 | * @param nb_samples number of samples per channel 38 | * @param sample_fmt sample format of the audio data 39 | * @param ch_layout channel layout of the audio data 40 | * @param planar flag to indicate if audio data is planar or packed 41 | * @param pts presentation timestamp of the audio buffer 42 | * @param flags unused 43 | * 44 | * @deprecated use av_buffersrc_add_ref() instead. 45 | */ 46 | attribute_deprecated 47 | int av_asrc_buffer_add_samples(AVFilterContext *abuffersrc, 48 | uint8_t *data[8], int linesize[8], 49 | int nb_samples, int sample_rate, 50 | int sample_fmt, int64_t ch_layout, int planar, 51 | int64_t pts, int av_unused flags); 52 | 53 | /** 54 | * Queue an audio buffer to the audio buffer source. 55 | * 56 | * This is similar to av_asrc_buffer_add_samples(), but the samples 57 | * are stored in a buffer with known size. 58 | * 59 | * @param abuffersrc audio source buffer context 60 | * @param buf pointer to the samples data, packed is assumed 61 | * @param size the size in bytes of the buffer, it must contain an 62 | * integer number of samples 63 | * @param sample_fmt sample format of the audio data 64 | * @param ch_layout channel layout of the audio data 65 | * @param pts presentation timestamp of the audio buffer 66 | * @param flags unused 67 | * 68 | * @deprecated use av_buffersrc_add_ref() instead. 69 | */ 70 | attribute_deprecated 71 | int av_asrc_buffer_add_buffer(AVFilterContext *abuffersrc, 72 | uint8_t *buf, int buf_size, 73 | int sample_rate, 74 | int sample_fmt, int64_t ch_layout, int planar, 75 | int64_t pts, int av_unused flags); 76 | 77 | /** 78 | * Queue an audio buffer to the audio buffer source. 79 | * 80 | * @param abuffersrc audio source buffer context 81 | * @param samplesref buffer ref to queue 82 | * @param flags unused 83 | * 84 | * @deprecated use av_buffersrc_add_ref() instead. 85 | */ 86 | attribute_deprecated 87 | int av_asrc_buffer_add_audio_buffer_ref(AVFilterContext *abuffersrc, 88 | AVFilterBufferRef *samplesref, 89 | int av_unused flags); 90 | 91 | #endif /* AVFILTER_ASRC_ABUFFER_H */ 92 | -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/include/libavfilter/avcodec.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of FFmpeg. 3 | * 4 | * FFmpeg is free software; you can redistribute it and/or 5 | * modify it under the terms of the GNU Lesser General Public 6 | * License as published by the Free Software Foundation; either 7 | * version 2.1 of the License, or (at your option) any later version. 8 | * 9 | * FFmpeg is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public 15 | * License along with FFmpeg; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #ifndef AVFILTER_AVCODEC_H 20 | #define AVFILTER_AVCODEC_H 21 | 22 | /** 23 | * @file 24 | * libavcodec/libavfilter gluing utilities 25 | * 26 | * This should be included in an application ONLY if the installed 27 | * libavfilter has been compiled with libavcodec support, otherwise 28 | * symbols defined below will not be available. 29 | */ 30 | 31 | #include "avfilter.h" 32 | 33 | #if FF_API_AVFILTERBUFFER 34 | /** 35 | * Create and return a picref reference from the data and properties 36 | * contained in frame. 37 | * 38 | * @param perms permissions to assign to the new buffer reference 39 | * @deprecated avfilter APIs work natively with AVFrame instead. 40 | */ 41 | attribute_deprecated 42 | AVFilterBufferRef *avfilter_get_video_buffer_ref_from_frame(const AVFrame *frame, int perms); 43 | 44 | 45 | /** 46 | * Create and return a picref reference from the data and properties 47 | * contained in frame. 48 | * 49 | * @param perms permissions to assign to the new buffer reference 50 | * @deprecated avfilter APIs work natively with AVFrame instead. 51 | */ 52 | attribute_deprecated 53 | AVFilterBufferRef *avfilter_get_audio_buffer_ref_from_frame(const AVFrame *frame, 54 | int perms); 55 | 56 | /** 57 | * Create and return a buffer reference from the data and properties 58 | * contained in frame. 59 | * 60 | * @param perms permissions to assign to the new buffer reference 61 | * @deprecated avfilter APIs work natively with AVFrame instead. 62 | */ 63 | attribute_deprecated 64 | AVFilterBufferRef *avfilter_get_buffer_ref_from_frame(enum AVMediaType type, 65 | const AVFrame *frame, 66 | int perms); 67 | #endif 68 | 69 | #if FF_API_FILL_FRAME 70 | /** 71 | * Fill an AVFrame with the information stored in samplesref. 72 | * 73 | * @param frame an already allocated AVFrame 74 | * @param samplesref an audio buffer reference 75 | * @return >= 0 in case of success, a negative AVERROR code in case of 76 | * failure 77 | * @deprecated Use avfilter_copy_buf_props() instead. 78 | */ 79 | attribute_deprecated 80 | int avfilter_fill_frame_from_audio_buffer_ref(AVFrame *frame, 81 | const AVFilterBufferRef *samplesref); 82 | 83 | /** 84 | * Fill an AVFrame with the information stored in picref. 85 | * 86 | * @param frame an already allocated AVFrame 87 | * @param picref a video buffer reference 88 | * @return >= 0 in case of success, a negative AVERROR code in case of 89 | * failure 90 | * @deprecated Use avfilter_copy_buf_props() instead. 91 | */ 92 | attribute_deprecated 93 | int avfilter_fill_frame_from_video_buffer_ref(AVFrame *frame, 94 | const AVFilterBufferRef *picref); 95 | 96 | /** 97 | * Fill an AVFrame with information stored in ref. 98 | * 99 | * @param frame an already allocated AVFrame 100 | * @param ref a video or audio buffer reference 101 | * @return >= 0 in case of success, a negative AVERROR code in case of 102 | * failure 103 | * @deprecated Use avfilter_copy_buf_props() instead. 104 | */ 105 | attribute_deprecated 106 | int avfilter_fill_frame_from_buffer_ref(AVFrame *frame, 107 | const AVFilterBufferRef *ref); 108 | #endif 109 | 110 | #endif /* AVFILTER_AVCODEC_H */ 111 | -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/include/libavfilter/avfiltergraph.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Filter graphs 3 | * copyright (c) 2007 Bobby Bingham 4 | * 5 | * This file is part of FFmpeg. 6 | * 7 | * FFmpeg is free software; you can redistribute it and/or 8 | * modify it under the terms of the GNU Lesser General Public 9 | * License as published by the Free Software Foundation; either 10 | * version 2.1 of the License, or (at your option) any later version. 11 | * 12 | * FFmpeg is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with FFmpeg; if not, write to the Free Software 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 20 | */ 21 | 22 | #ifndef AVFILTER_AVFILTERGRAPH_H 23 | #define AVFILTER_AVFILTERGRAPH_H 24 | 25 | #include "avfilter.h" 26 | #include "libavutil/log.h" 27 | 28 | #endif /* AVFILTER_AVFILTERGRAPH_H */ 29 | -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/include/libavfilter/version.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Version macros. 3 | * 4 | * This file is part of FFmpeg. 5 | * 6 | * FFmpeg is free software; you can redistribute it and/or 7 | * modify it under the terms of the GNU Lesser General Public 8 | * License as published by the Free Software Foundation; either 9 | * version 2.1 of the License, or (at your option) any later version. 10 | * 11 | * FFmpeg is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | * Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public 17 | * License along with FFmpeg; if not, write to the Free Software 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 | */ 20 | 21 | #ifndef AVFILTER_VERSION_H 22 | #define AVFILTER_VERSION_H 23 | 24 | /** 25 | * @file 26 | * @ingroup lavfi 27 | * Libavfilter version macros 28 | */ 29 | 30 | #include "libavutil/avutil.h" 31 | 32 | #define LIBAVFILTER_VERSION_MAJOR 3 33 | #define LIBAVFILTER_VERSION_MINOR 90 34 | #define LIBAVFILTER_VERSION_MICRO 102 35 | 36 | #define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \ 37 | LIBAVFILTER_VERSION_MINOR, \ 38 | LIBAVFILTER_VERSION_MICRO) 39 | #define LIBAVFILTER_VERSION AV_VERSION(LIBAVFILTER_VERSION_MAJOR, \ 40 | LIBAVFILTER_VERSION_MINOR, \ 41 | LIBAVFILTER_VERSION_MICRO) 42 | #define LIBAVFILTER_BUILD LIBAVFILTER_VERSION_INT 43 | 44 | #define LIBAVFILTER_IDENT "Lavfi" AV_STRINGIFY(LIBAVFILTER_VERSION) 45 | 46 | /** 47 | * FF_API_* defines may be placed below to indicate public API that will be 48 | * dropped at a future version bump. The defines themselves are not part of 49 | * the public API and may change, break or disappear at any time. 50 | */ 51 | 52 | #ifndef FF_API_AVFILTERPAD_PUBLIC 53 | #define FF_API_AVFILTERPAD_PUBLIC (LIBAVFILTER_VERSION_MAJOR < 4) 54 | #endif 55 | #ifndef FF_API_FOO_COUNT 56 | #define FF_API_FOO_COUNT (LIBAVFILTER_VERSION_MAJOR < 4) 57 | #endif 58 | #ifndef FF_API_FILL_FRAME 59 | #define FF_API_FILL_FRAME (LIBAVFILTER_VERSION_MAJOR < 4) 60 | #endif 61 | #ifndef FF_API_BUFFERSRC_BUFFER 62 | #define FF_API_BUFFERSRC_BUFFER (LIBAVFILTER_VERSION_MAJOR < 4) 63 | #endif 64 | #ifndef FF_API_AVFILTERBUFFER 65 | #define FF_API_AVFILTERBUFFER (LIBAVFILTER_VERSION_MAJOR < 4) 66 | #endif 67 | #ifndef FF_API_OLD_FILTER_OPTS 68 | #define FF_API_OLD_FILTER_OPTS (LIBAVFILTER_VERSION_MAJOR < 4) 69 | #endif 70 | #ifndef FF_API_ACONVERT_FILTER 71 | #define FF_API_ACONVERT_FILTER (LIBAVFILTER_VERSION_MAJOR < 4) 72 | #endif 73 | #ifndef FF_API_AVFILTER_OPEN 74 | #define FF_API_AVFILTER_OPEN (LIBAVFILTER_VERSION_MAJOR < 4) 75 | #endif 76 | #ifndef FF_API_AVFILTER_INIT_FILTER 77 | #define FF_API_AVFILTER_INIT_FILTER (LIBAVFILTER_VERSION_MAJOR < 4) 78 | #endif 79 | #ifndef FF_API_OLD_FILTER_REGISTER 80 | #define FF_API_OLD_FILTER_REGISTER (LIBAVFILTER_VERSION_MAJOR < 4) 81 | #endif 82 | #ifndef FF_API_OLD_GRAPH_PARSE 83 | #define FF_API_OLD_GRAPH_PARSE (LIBAVFILTER_VERSION_MAJOR < 4) 84 | #endif 85 | #ifndef FF_API_DRAWTEXT_OLD_TIMELINE 86 | #define FF_API_DRAWTEXT_OLD_TIMELINE (LIBAVFILTER_VERSION_MAJOR < 4) 87 | #endif 88 | #ifndef FF_API_NOCONST_GET_NAME 89 | #define FF_API_NOCONST_GET_NAME (LIBAVFILTER_VERSION_MAJOR < 4) 90 | #endif 91 | 92 | #endif /* AVFILTER_VERSION_H */ 93 | -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/include/libavformat/version.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Version macros. 3 | * 4 | * This file is part of FFmpeg. 5 | * 6 | * FFmpeg is free software; you can redistribute it and/or 7 | * modify it under the terms of the GNU Lesser General Public 8 | * License as published by the Free Software Foundation; either 9 | * version 2.1 of the License, or (at your option) any later version. 10 | * 11 | * FFmpeg is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | * Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public 17 | * License along with FFmpeg; if not, write to the Free Software 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 | */ 20 | 21 | #ifndef AVFORMAT_VERSION_H 22 | #define AVFORMAT_VERSION_H 23 | 24 | /** 25 | * @file 26 | * @ingroup libavf 27 | * Libavformat version macros 28 | */ 29 | 30 | #include "libavutil/avutil.h" 31 | 32 | #define LIBAVFORMAT_VERSION_MAJOR 55 33 | #define LIBAVFORMAT_VERSION_MINOR 21 34 | #define LIBAVFORMAT_VERSION_MICRO 100 35 | 36 | #define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \ 37 | LIBAVFORMAT_VERSION_MINOR, \ 38 | LIBAVFORMAT_VERSION_MICRO) 39 | #define LIBAVFORMAT_VERSION AV_VERSION(LIBAVFORMAT_VERSION_MAJOR, \ 40 | LIBAVFORMAT_VERSION_MINOR, \ 41 | LIBAVFORMAT_VERSION_MICRO) 42 | #define LIBAVFORMAT_BUILD LIBAVFORMAT_VERSION_INT 43 | 44 | #define LIBAVFORMAT_IDENT "Lavf" AV_STRINGIFY(LIBAVFORMAT_VERSION) 45 | 46 | /** 47 | * FF_API_* defines may be placed below to indicate public API that will be 48 | * dropped at a future version bump. The defines themselves are not part of 49 | * the public API and may change, break or disappear at any time. 50 | */ 51 | #ifndef FF_API_REFERENCE_DTS 52 | #define FF_API_REFERENCE_DTS (LIBAVFORMAT_VERSION_MAJOR < 56) 53 | #endif 54 | 55 | #ifndef FF_API_ALLOC_OUTPUT_CONTEXT 56 | #define FF_API_ALLOC_OUTPUT_CONTEXT (LIBAVFORMAT_VERSION_MAJOR < 56) 57 | #endif 58 | #ifndef FF_API_FORMAT_PARAMETERS 59 | #define FF_API_FORMAT_PARAMETERS (LIBAVFORMAT_VERSION_MAJOR < 56) 60 | #endif 61 | #ifndef FF_API_NEW_STREAM 62 | #define FF_API_NEW_STREAM (LIBAVFORMAT_VERSION_MAJOR < 56) 63 | #endif 64 | #ifndef FF_API_SET_PTS_INFO 65 | #define FF_API_SET_PTS_INFO (LIBAVFORMAT_VERSION_MAJOR < 56) 66 | #endif 67 | #ifndef FF_API_CLOSE_INPUT_FILE 68 | #define FF_API_CLOSE_INPUT_FILE (LIBAVFORMAT_VERSION_MAJOR < 56) 69 | #endif 70 | #ifndef FF_API_READ_PACKET 71 | #define FF_API_READ_PACKET (LIBAVFORMAT_VERSION_MAJOR < 56) 72 | #endif 73 | #ifndef FF_API_ASS_SSA 74 | #define FF_API_ASS_SSA (LIBAVFORMAT_VERSION_MAJOR < 56) 75 | #endif 76 | #ifndef FF_API_R_FRAME_RATE 77 | #define FF_API_R_FRAME_RATE 1 78 | #endif 79 | #endif /* AVFORMAT_VERSION_H */ 80 | -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/include/libavutil/adler32.h: -------------------------------------------------------------------------------- 1 | /* 2 | * copyright (c) 2006 Mans Rullgard 3 | * 4 | * This file is part of FFmpeg. 5 | * 6 | * FFmpeg is free software; you can redistribute it and/or 7 | * modify it under the terms of the GNU Lesser General Public 8 | * License as published by the Free Software Foundation; either 9 | * version 2.1 of the License, or (at your option) any later version. 10 | * 11 | * FFmpeg is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | * Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public 17 | * License along with FFmpeg; if not, write to the Free Software 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 | */ 20 | 21 | #ifndef AVUTIL_ADLER32_H 22 | #define AVUTIL_ADLER32_H 23 | 24 | #include 25 | #include "attributes.h" 26 | 27 | /** 28 | * @file 29 | * Public header for libavutil Adler32 hasher 30 | * 31 | * @defgroup lavu_adler32 Adler32 32 | * @ingroup lavu_crypto 33 | * @{ 34 | */ 35 | 36 | /** 37 | * Calculate the Adler32 checksum of a buffer. 38 | * 39 | * Passing the return value to a subsequent av_adler32_update() call 40 | * allows the checksum of multiple buffers to be calculated as though 41 | * they were concatenated. 42 | * 43 | * @param adler initial checksum value 44 | * @param buf pointer to input buffer 45 | * @param len size of input buffer 46 | * @return updated checksum 47 | */ 48 | unsigned long av_adler32_update(unsigned long adler, const uint8_t *buf, 49 | unsigned int len) av_pure; 50 | 51 | /** 52 | * @} 53 | */ 54 | 55 | #endif /* AVUTIL_ADLER32_H */ 56 | -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/include/libavutil/aes.h: -------------------------------------------------------------------------------- 1 | /* 2 | * copyright (c) 2007 Michael Niedermayer 3 | * 4 | * This file is part of FFmpeg. 5 | * 6 | * FFmpeg is free software; you can redistribute it and/or 7 | * modify it under the terms of the GNU Lesser General Public 8 | * License as published by the Free Software Foundation; either 9 | * version 2.1 of the License, or (at your option) any later version. 10 | * 11 | * FFmpeg is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | * Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public 17 | * License along with FFmpeg; if not, write to the Free Software 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 | */ 20 | 21 | #ifndef AVUTIL_AES_H 22 | #define AVUTIL_AES_H 23 | 24 | #include 25 | 26 | #include "attributes.h" 27 | #include "version.h" 28 | 29 | /** 30 | * @defgroup lavu_aes AES 31 | * @ingroup lavu_crypto 32 | * @{ 33 | */ 34 | 35 | extern const int av_aes_size; 36 | 37 | struct AVAES; 38 | 39 | /** 40 | * Allocate an AVAES context. 41 | */ 42 | struct AVAES *av_aes_alloc(void); 43 | 44 | /** 45 | * Initialize an AVAES context. 46 | * @param key_bits 128, 192 or 256 47 | * @param decrypt 0 for encryption, 1 for decryption 48 | */ 49 | int av_aes_init(struct AVAES *a, const uint8_t *key, int key_bits, int decrypt); 50 | 51 | /** 52 | * Encrypt or decrypt a buffer using a previously initialized context. 53 | * @param count number of 16 byte blocks 54 | * @param dst destination array, can be equal to src 55 | * @param src source array, can be equal to dst 56 | * @param iv initialization vector for CBC mode, if NULL then ECB will be used 57 | * @param decrypt 0 for encryption, 1 for decryption 58 | */ 59 | void av_aes_crypt(struct AVAES *a, uint8_t *dst, const uint8_t *src, int count, uint8_t *iv, int decrypt); 60 | 61 | /** 62 | * @} 63 | */ 64 | 65 | #endif /* AVUTIL_AES_H */ 66 | -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/include/libavutil/attributes.h: -------------------------------------------------------------------------------- 1 | /* 2 | * copyright (c) 2006 Michael Niedermayer 3 | * 4 | * This file is part of FFmpeg. 5 | * 6 | * FFmpeg is free software; you can redistribute it and/or 7 | * modify it under the terms of the GNU Lesser General Public 8 | * License as published by the Free Software Foundation; either 9 | * version 2.1 of the License, or (at your option) any later version. 10 | * 11 | * FFmpeg is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | * Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public 17 | * License along with FFmpeg; if not, write to the Free Software 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 | */ 20 | 21 | /** 22 | * @file 23 | * Macro definitions for various function/variable attributes 24 | */ 25 | 26 | #ifndef AVUTIL_ATTRIBUTES_H 27 | #define AVUTIL_ATTRIBUTES_H 28 | 29 | #ifdef __GNUC__ 30 | # define AV_GCC_VERSION_AT_LEAST(x,y) (__GNUC__ > x || __GNUC__ == x && __GNUC_MINOR__ >= y) 31 | #else 32 | # define AV_GCC_VERSION_AT_LEAST(x,y) 0 33 | #endif 34 | 35 | #ifndef av_always_inline 36 | #if AV_GCC_VERSION_AT_LEAST(3,1) 37 | # define av_always_inline __attribute__((always_inline)) inline 38 | #elif defined(_MSC_VER) 39 | # define av_always_inline __forceinline 40 | #else 41 | # define av_always_inline inline 42 | #endif 43 | #endif 44 | 45 | #ifndef av_extern_inline 46 | #if defined(__ICL) && __ICL >= 1210 || defined(__GNUC_STDC_INLINE__) 47 | # define av_extern_inline extern inline 48 | #else 49 | # define av_extern_inline inline 50 | #endif 51 | #endif 52 | 53 | #if AV_GCC_VERSION_AT_LEAST(3,1) 54 | # define av_noinline __attribute__((noinline)) 55 | #elif defined(_MSC_VER) 56 | # define av_noinline __declspec(noinline) 57 | #else 58 | # define av_noinline 59 | #endif 60 | 61 | #if AV_GCC_VERSION_AT_LEAST(3,1) 62 | # define av_pure __attribute__((pure)) 63 | #else 64 | # define av_pure 65 | #endif 66 | 67 | #if AV_GCC_VERSION_AT_LEAST(2,6) 68 | # define av_const __attribute__((const)) 69 | #else 70 | # define av_const 71 | #endif 72 | 73 | #if AV_GCC_VERSION_AT_LEAST(4,3) 74 | # define av_cold __attribute__((cold)) 75 | #else 76 | # define av_cold 77 | #endif 78 | 79 | #if AV_GCC_VERSION_AT_LEAST(4,1) && !defined(__llvm__) 80 | # define av_flatten __attribute__((flatten)) 81 | #else 82 | # define av_flatten 83 | #endif 84 | 85 | #if AV_GCC_VERSION_AT_LEAST(3,1) 86 | # define attribute_deprecated __attribute__((deprecated)) 87 | #elif defined(_MSC_VER) 88 | # define attribute_deprecated __declspec(deprecated) 89 | #else 90 | # define attribute_deprecated 91 | #endif 92 | 93 | /** 94 | * Disable warnings about deprecated features 95 | * This is useful for sections of code kept for backward compatibility and 96 | * scheduled for removal. 97 | */ 98 | #ifndef AV_NOWARN_DEPRECATED 99 | #if AV_GCC_VERSION_AT_LEAST(4,6) 100 | # define AV_NOWARN_DEPRECATED(code) \ 101 | _Pragma("GCC diagnostic push") \ 102 | _Pragma("GCC diagnostic ignored \"-Wdeprecated-declarations\"") \ 103 | code \ 104 | _Pragma("GCC diagnostic pop") 105 | #elif defined(_MSC_VER) 106 | # define AV_NOWARN_DEPRECATED(code) \ 107 | __pragma(warning(push)) \ 108 | __pragma(warning(disable : 4996)) \ 109 | code; \ 110 | __pragma(warning(pop)) 111 | #else 112 | # define AV_NOWARN_DEPRECATED(code) code 113 | #endif 114 | #endif 115 | 116 | 117 | #if defined(__GNUC__) 118 | # define av_unused __attribute__((unused)) 119 | #else 120 | # define av_unused 121 | #endif 122 | 123 | /** 124 | * Mark a variable as used and prevent the compiler from optimizing it 125 | * away. This is useful for variables accessed only from inline 126 | * assembler without the compiler being aware. 127 | */ 128 | #if AV_GCC_VERSION_AT_LEAST(3,1) 129 | # define av_used __attribute__((used)) 130 | #else 131 | # define av_used 132 | #endif 133 | 134 | #if AV_GCC_VERSION_AT_LEAST(3,3) 135 | # define av_alias __attribute__((may_alias)) 136 | #else 137 | # define av_alias 138 | #endif 139 | 140 | #if defined(__GNUC__) && !defined(__INTEL_COMPILER) && !defined(__clang__) 141 | # define av_uninit(x) x=x 142 | #else 143 | # define av_uninit(x) x 144 | #endif 145 | 146 | #ifdef __GNUC__ 147 | # define av_builtin_constant_p __builtin_constant_p 148 | # define av_printf_format(fmtpos, attrpos) __attribute__((__format__(__printf__, fmtpos, attrpos))) 149 | #else 150 | # define av_builtin_constant_p(x) 0 151 | # define av_printf_format(fmtpos, attrpos) 152 | #endif 153 | 154 | #if AV_GCC_VERSION_AT_LEAST(2,5) 155 | # define av_noreturn __attribute__((noreturn)) 156 | #else 157 | # define av_noreturn 158 | #endif 159 | 160 | #endif /* AVUTIL_ATTRIBUTES_H */ 161 | -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/include/libavutil/audio_fifo.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Audio FIFO 3 | * Copyright (c) 2012 Justin Ruggles 4 | * 5 | * This file is part of FFmpeg. 6 | * 7 | * FFmpeg is free software; you can redistribute it and/or 8 | * modify it under the terms of the GNU Lesser General Public 9 | * License as published by the Free Software Foundation; either 10 | * version 2.1 of the License, or (at your option) any later version. 11 | * 12 | * FFmpeg is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with FFmpeg; if not, write to the Free Software 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 20 | */ 21 | 22 | /** 23 | * @file 24 | * Audio FIFO Buffer 25 | */ 26 | 27 | #ifndef AVUTIL_AUDIO_FIFO_H 28 | #define AVUTIL_AUDIO_FIFO_H 29 | 30 | #include "avutil.h" 31 | #include "fifo.h" 32 | #include "samplefmt.h" 33 | 34 | /** 35 | * @addtogroup lavu_audio 36 | * @{ 37 | */ 38 | 39 | /** 40 | * Context for an Audio FIFO Buffer. 41 | * 42 | * - Operates at the sample level rather than the byte level. 43 | * - Supports multiple channels with either planar or packed sample format. 44 | * - Automatic reallocation when writing to a full buffer. 45 | */ 46 | typedef struct AVAudioFifo AVAudioFifo; 47 | 48 | /** 49 | * Free an AVAudioFifo. 50 | * 51 | * @param af AVAudioFifo to free 52 | */ 53 | void av_audio_fifo_free(AVAudioFifo *af); 54 | 55 | /** 56 | * Allocate an AVAudioFifo. 57 | * 58 | * @param sample_fmt sample format 59 | * @param channels number of channels 60 | * @param nb_samples initial allocation size, in samples 61 | * @return newly allocated AVAudioFifo, or NULL on error 62 | */ 63 | AVAudioFifo *av_audio_fifo_alloc(enum AVSampleFormat sample_fmt, int channels, 64 | int nb_samples); 65 | 66 | /** 67 | * Reallocate an AVAudioFifo. 68 | * 69 | * @param af AVAudioFifo to reallocate 70 | * @param nb_samples new allocation size, in samples 71 | * @return 0 if OK, or negative AVERROR code on failure 72 | */ 73 | int av_audio_fifo_realloc(AVAudioFifo *af, int nb_samples); 74 | 75 | /** 76 | * Write data to an AVAudioFifo. 77 | * 78 | * The AVAudioFifo will be reallocated automatically if the available space 79 | * is less than nb_samples. 80 | * 81 | * @see enum AVSampleFormat 82 | * The documentation for AVSampleFormat describes the data layout. 83 | * 84 | * @param af AVAudioFifo to write to 85 | * @param data audio data plane pointers 86 | * @param nb_samples number of samples to write 87 | * @return number of samples actually written, or negative AVERROR 88 | * code on failure. If successful, the number of samples 89 | * actually written will always be nb_samples. 90 | */ 91 | int av_audio_fifo_write(AVAudioFifo *af, void **data, int nb_samples); 92 | 93 | /** 94 | * Read data from an AVAudioFifo. 95 | * 96 | * @see enum AVSampleFormat 97 | * The documentation for AVSampleFormat describes the data layout. 98 | * 99 | * @param af AVAudioFifo to read from 100 | * @param data audio data plane pointers 101 | * @param nb_samples number of samples to read 102 | * @return number of samples actually read, or negative AVERROR code 103 | * on failure. The number of samples actually read will not 104 | * be greater than nb_samples, and will only be less than 105 | * nb_samples if av_audio_fifo_size is less than nb_samples. 106 | */ 107 | int av_audio_fifo_read(AVAudioFifo *af, void **data, int nb_samples); 108 | 109 | /** 110 | * Drain data from an AVAudioFifo. 111 | * 112 | * Removes the data without reading it. 113 | * 114 | * @param af AVAudioFifo to drain 115 | * @param nb_samples number of samples to drain 116 | * @return 0 if OK, or negative AVERROR code on failure 117 | */ 118 | int av_audio_fifo_drain(AVAudioFifo *af, int nb_samples); 119 | 120 | /** 121 | * Reset the AVAudioFifo buffer. 122 | * 123 | * This empties all data in the buffer. 124 | * 125 | * @param af AVAudioFifo to reset 126 | */ 127 | void av_audio_fifo_reset(AVAudioFifo *af); 128 | 129 | /** 130 | * Get the current number of samples in the AVAudioFifo available for reading. 131 | * 132 | * @param af the AVAudioFifo to query 133 | * @return number of samples available for reading 134 | */ 135 | int av_audio_fifo_size(AVAudioFifo *af); 136 | 137 | /** 138 | * Get the current number of samples in the AVAudioFifo available for writing. 139 | * 140 | * @param af the AVAudioFifo to query 141 | * @return number of samples available for writing 142 | */ 143 | int av_audio_fifo_space(AVAudioFifo *af); 144 | 145 | /** 146 | * @} 147 | */ 148 | 149 | #endif /* AVUTIL_AUDIO_FIFO_H */ 150 | -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/include/libavutil/audioconvert.h: -------------------------------------------------------------------------------- 1 | 2 | #include "version.h" 3 | 4 | #if FF_API_AUDIOCONVERT 5 | #include "channel_layout.h" 6 | #endif 7 | -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/include/libavutil/avassert.h: -------------------------------------------------------------------------------- 1 | /* 2 | * copyright (c) 2010 Michael Niedermayer 3 | * 4 | * This file is part of FFmpeg. 5 | * 6 | * FFmpeg is free software; you can redistribute it and/or 7 | * modify it under the terms of the GNU Lesser General Public 8 | * License as published by the Free Software Foundation; either 9 | * version 2.1 of the License, or (at your option) any later version. 10 | * 11 | * FFmpeg is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | * Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public 17 | * License along with FFmpeg; if not, write to the Free Software 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 | */ 20 | 21 | /** 22 | * @file 23 | * simple assert() macros that are a bit more flexible than ISO C assert(). 24 | * @author Michael Niedermayer 25 | */ 26 | 27 | #ifndef AVUTIL_AVASSERT_H 28 | #define AVUTIL_AVASSERT_H 29 | 30 | #include 31 | #include "avutil.h" 32 | #include "log.h" 33 | 34 | /** 35 | * assert() equivalent, that is always enabled. 36 | */ 37 | #define av_assert0(cond) do { \ 38 | if (!(cond)) { \ 39 | av_log(NULL, AV_LOG_PANIC, "Assertion %s failed at %s:%d\n", \ 40 | AV_STRINGIFY(cond), __FILE__, __LINE__); \ 41 | abort(); \ 42 | } \ 43 | } while (0) 44 | 45 | 46 | /** 47 | * assert() equivalent, that does not lie in speed critical code. 48 | * These asserts() thus can be enabled without fearing speedloss. 49 | */ 50 | #if defined(ASSERT_LEVEL) && ASSERT_LEVEL > 0 51 | #define av_assert1(cond) av_assert0(cond) 52 | #else 53 | #define av_assert1(cond) ((void)0) 54 | #endif 55 | 56 | 57 | /** 58 | * assert() equivalent, that does lie in speed critical code. 59 | */ 60 | #if defined(ASSERT_LEVEL) && ASSERT_LEVEL > 1 61 | #define av_assert2(cond) av_assert0(cond) 62 | #else 63 | #define av_assert2(cond) ((void)0) 64 | #endif 65 | 66 | #endif /* AVUTIL_AVASSERT_H */ 67 | -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/include/libavutil/avconfig.h: -------------------------------------------------------------------------------- 1 | /* Generated by ffconf */ 2 | #ifndef AVUTIL_AVCONFIG_H 3 | #define AVUTIL_AVCONFIG_H 4 | #define AV_HAVE_BIGENDIAN 0 5 | #define AV_HAVE_FAST_UNALIGNED 1 6 | #define AV_HAVE_INCOMPATIBLE_LIBAV_ABI 0 7 | #define AV_HAVE_INCOMPATIBLE_FORK_ABI 0 8 | #endif /* AVUTIL_AVCONFIG_H */ 9 | -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/include/libavutil/base64.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2006 Ryan Martell. (rdm4@martellventures.com) 3 | * 4 | * This file is part of FFmpeg. 5 | * 6 | * FFmpeg is free software; you can redistribute it and/or 7 | * modify it under the terms of the GNU Lesser General Public 8 | * License as published by the Free Software Foundation; either 9 | * version 2.1 of the License, or (at your option) any later version. 10 | * 11 | * FFmpeg is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | * Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public 17 | * License along with FFmpeg; if not, write to the Free Software 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 | */ 20 | 21 | #ifndef AVUTIL_BASE64_H 22 | #define AVUTIL_BASE64_H 23 | 24 | #include 25 | 26 | /** 27 | * @defgroup lavu_base64 Base64 28 | * @ingroup lavu_crypto 29 | * @{ 30 | */ 31 | 32 | 33 | /** 34 | * Decode a base64-encoded string. 35 | * 36 | * @param out buffer for decoded data 37 | * @param in null-terminated input string 38 | * @param out_size size in bytes of the out buffer, must be at 39 | * least 3/4 of the length of in 40 | * @return number of bytes written, or a negative value in case of 41 | * invalid input 42 | */ 43 | int av_base64_decode(uint8_t *out, const char *in, int out_size); 44 | 45 | /** 46 | * Encode data to base64 and null-terminate. 47 | * 48 | * @param out buffer for encoded data 49 | * @param out_size size in bytes of the out buffer (including the 50 | * null terminator), must be at least AV_BASE64_SIZE(in_size) 51 | * @param in input buffer containing the data to encode 52 | * @param in_size size in bytes of the in buffer 53 | * @return out or NULL in case of error 54 | */ 55 | char *av_base64_encode(char *out, int out_size, const uint8_t *in, int in_size); 56 | 57 | /** 58 | * Calculate the output size needed to base64-encode x bytes to a 59 | * null-terminated string. 60 | */ 61 | #define AV_BASE64_SIZE(x) (((x)+2) / 3 * 4 + 1) 62 | 63 | /** 64 | * @} 65 | */ 66 | 67 | #endif /* AVUTIL_BASE64_H */ 68 | -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/include/libavutil/blowfish.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Blowfish algorithm 3 | * Copyright (c) 2012 Samuel Pitoiset 4 | * 5 | * This file is part of FFmpeg. 6 | * 7 | * FFmpeg is free software; you can redistribute it and/or 8 | * modify it under the terms of the GNU Lesser General Public 9 | * License as published by the Free Software Foundation; either 10 | * version 2.1 of the License, or (at your option) any later version. 11 | * 12 | * FFmpeg is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with FFmpeg; if not, write to the Free Software 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 20 | */ 21 | 22 | #ifndef AVUTIL_BLOWFISH_H 23 | #define AVUTIL_BLOWFISH_H 24 | 25 | #include 26 | 27 | /** 28 | * @defgroup lavu_blowfish Blowfish 29 | * @ingroup lavu_crypto 30 | * @{ 31 | */ 32 | 33 | #define AV_BF_ROUNDS 16 34 | 35 | typedef struct AVBlowfish { 36 | uint32_t p[AV_BF_ROUNDS + 2]; 37 | uint32_t s[4][256]; 38 | } AVBlowfish; 39 | 40 | /** 41 | * Initialize an AVBlowfish context. 42 | * 43 | * @param ctx an AVBlowfish context 44 | * @param key a key 45 | * @param key_len length of the key 46 | */ 47 | void av_blowfish_init(struct AVBlowfish *ctx, const uint8_t *key, int key_len); 48 | 49 | /** 50 | * Encrypt or decrypt a buffer using a previously initialized context. 51 | * 52 | * @param ctx an AVBlowfish context 53 | * @param xl left four bytes halves of input to be encrypted 54 | * @param xr right four bytes halves of input to be encrypted 55 | * @param decrypt 0 for encryption, 1 for decryption 56 | */ 57 | void av_blowfish_crypt_ecb(struct AVBlowfish *ctx, uint32_t *xl, uint32_t *xr, 58 | int decrypt); 59 | 60 | /** 61 | * Encrypt or decrypt a buffer using a previously initialized context. 62 | * 63 | * @param ctx an AVBlowfish context 64 | * @param dst destination array, can be equal to src 65 | * @param src source array, can be equal to dst 66 | * @param count number of 8 byte blocks 67 | * @param iv initialization vector for CBC mode, if NULL ECB will be used 68 | * @param decrypt 0 for encryption, 1 for decryption 69 | */ 70 | void av_blowfish_crypt(struct AVBlowfish *ctx, uint8_t *dst, const uint8_t *src, 71 | int count, uint8_t *iv, int decrypt); 72 | 73 | /** 74 | * @} 75 | */ 76 | 77 | #endif /* AVUTIL_BLOWFISH_H */ 78 | -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/include/libavutil/bswap.h: -------------------------------------------------------------------------------- 1 | /* 2 | * copyright (c) 2006 Michael Niedermayer 3 | * 4 | * This file is part of FFmpeg. 5 | * 6 | * FFmpeg is free software; you can redistribute it and/or 7 | * modify it under the terms of the GNU Lesser General Public 8 | * License as published by the Free Software Foundation; either 9 | * version 2.1 of the License, or (at your option) any later version. 10 | * 11 | * FFmpeg is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | * Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public 17 | * License along with FFmpeg; if not, write to the Free Software 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 | */ 20 | 21 | /** 22 | * @file 23 | * byte swapping routines 24 | */ 25 | 26 | #ifndef AVUTIL_BSWAP_H 27 | #define AVUTIL_BSWAP_H 28 | 29 | #include 30 | #include "libavutil/avconfig.h" 31 | #include "attributes.h" 32 | 33 | #ifdef HAVE_AV_CONFIG_H 34 | 35 | #include "config.h" 36 | 37 | #if ARCH_ARM 38 | # include "arm/bswap.h" 39 | #elif ARCH_AVR32 40 | # include "avr32/bswap.h" 41 | #elif ARCH_BFIN 42 | # include "bfin/bswap.h" 43 | #elif ARCH_SH4 44 | # include "sh4/bswap.h" 45 | #elif ARCH_X86 46 | # include "x86/bswap.h" 47 | #endif 48 | 49 | #endif /* HAVE_AV_CONFIG_H */ 50 | 51 | #define AV_BSWAP16C(x) (((x) << 8 & 0xff00) | ((x) >> 8 & 0x00ff)) 52 | #define AV_BSWAP32C(x) (AV_BSWAP16C(x) << 16 | AV_BSWAP16C((x) >> 16)) 53 | #define AV_BSWAP64C(x) (AV_BSWAP32C(x) << 32 | AV_BSWAP32C((x) >> 32)) 54 | 55 | #define AV_BSWAPC(s, x) AV_BSWAP##s##C(x) 56 | 57 | #ifndef av_bswap16 58 | static av_always_inline av_const uint16_t av_bswap16(uint16_t x) 59 | { 60 | x= (x>>8) | (x<<8); 61 | return x; 62 | } 63 | #endif 64 | 65 | #ifndef av_bswap32 66 | static av_always_inline av_const uint32_t av_bswap32(uint32_t x) 67 | { 68 | return AV_BSWAP32C(x); 69 | } 70 | #endif 71 | 72 | #ifndef av_bswap64 73 | static inline uint64_t av_const av_bswap64(uint64_t x) 74 | { 75 | return (uint64_t)av_bswap32(x) << 32 | av_bswap32(x >> 32); 76 | } 77 | #endif 78 | 79 | // be2ne ... big-endian to native-endian 80 | // le2ne ... little-endian to native-endian 81 | 82 | #if AV_HAVE_BIGENDIAN 83 | #define av_be2ne16(x) (x) 84 | #define av_be2ne32(x) (x) 85 | #define av_be2ne64(x) (x) 86 | #define av_le2ne16(x) av_bswap16(x) 87 | #define av_le2ne32(x) av_bswap32(x) 88 | #define av_le2ne64(x) av_bswap64(x) 89 | #define AV_BE2NEC(s, x) (x) 90 | #define AV_LE2NEC(s, x) AV_BSWAPC(s, x) 91 | #else 92 | #define av_be2ne16(x) av_bswap16(x) 93 | #define av_be2ne32(x) av_bswap32(x) 94 | #define av_be2ne64(x) av_bswap64(x) 95 | #define av_le2ne16(x) (x) 96 | #define av_le2ne32(x) (x) 97 | #define av_le2ne64(x) (x) 98 | #define AV_BE2NEC(s, x) AV_BSWAPC(s, x) 99 | #define AV_LE2NEC(s, x) (x) 100 | #endif 101 | 102 | #define AV_BE2NE16C(x) AV_BE2NEC(16, x) 103 | #define AV_BE2NE32C(x) AV_BE2NEC(32, x) 104 | #define AV_BE2NE64C(x) AV_BE2NEC(64, x) 105 | #define AV_LE2NE16C(x) AV_LE2NEC(16, x) 106 | #define AV_LE2NE32C(x) AV_LE2NEC(32, x) 107 | #define AV_LE2NE64C(x) AV_LE2NEC(64, x) 108 | 109 | #endif /* AVUTIL_BSWAP_H */ 110 | -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/include/libavutil/cpu.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2000, 2001, 2002 Fabrice Bellard 3 | * 4 | * This file is part of FFmpeg. 5 | * 6 | * FFmpeg is free software; you can redistribute it and/or 7 | * modify it under the terms of the GNU Lesser General Public 8 | * License as published by the Free Software Foundation; either 9 | * version 2.1 of the License, or (at your option) any later version. 10 | * 11 | * FFmpeg is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | * Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public 17 | * License along with FFmpeg; if not, write to the Free Software 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 | */ 20 | 21 | #ifndef AVUTIL_CPU_H 22 | #define AVUTIL_CPU_H 23 | 24 | #include "attributes.h" 25 | 26 | #define AV_CPU_FLAG_FORCE 0x80000000 /* force usage of selected flags (OR) */ 27 | 28 | /* lower 16 bits - CPU features */ 29 | #define AV_CPU_FLAG_MMX 0x0001 ///< standard MMX 30 | #define AV_CPU_FLAG_MMXEXT 0x0002 ///< SSE integer functions or AMD MMX ext 31 | #define AV_CPU_FLAG_MMX2 0x0002 ///< SSE integer functions or AMD MMX ext 32 | #define AV_CPU_FLAG_3DNOW 0x0004 ///< AMD 3DNOW 33 | #define AV_CPU_FLAG_SSE 0x0008 ///< SSE functions 34 | #define AV_CPU_FLAG_SSE2 0x0010 ///< PIV SSE2 functions 35 | #define AV_CPU_FLAG_SSE2SLOW 0x40000000 ///< SSE2 supported, but usually not faster 36 | ///< than regular MMX/SSE (e.g. Core1) 37 | #define AV_CPU_FLAG_3DNOWEXT 0x0020 ///< AMD 3DNowExt 38 | #define AV_CPU_FLAG_SSE3 0x0040 ///< Prescott SSE3 functions 39 | #define AV_CPU_FLAG_SSE3SLOW 0x20000000 ///< SSE3 supported, but usually not faster 40 | ///< than regular MMX/SSE (e.g. Core1) 41 | #define AV_CPU_FLAG_SSSE3 0x0080 ///< Conroe SSSE3 functions 42 | #define AV_CPU_FLAG_ATOM 0x10000000 ///< Atom processor, some SSSE3 instructions are slower 43 | #define AV_CPU_FLAG_SSE4 0x0100 ///< Penryn SSE4.1 functions 44 | #define AV_CPU_FLAG_SSE42 0x0200 ///< Nehalem SSE4.2 functions 45 | #define AV_CPU_FLAG_AVX 0x4000 ///< AVX functions: requires OS support even if YMM registers aren't used 46 | #define AV_CPU_FLAG_XOP 0x0400 ///< Bulldozer XOP functions 47 | #define AV_CPU_FLAG_FMA4 0x0800 ///< Bulldozer FMA4 functions 48 | // #if LIBAVUTIL_VERSION_MAJOR <52 49 | #define AV_CPU_FLAG_CMOV 0x1001000 ///< supports cmov instruction 50 | // #else 51 | // #define AV_CPU_FLAG_CMOV 0x1000 ///< supports cmov instruction 52 | // #endif 53 | #define AV_CPU_FLAG_AVX2 0x8000 ///< AVX2 functions: requires OS support even if YMM registers aren't used 54 | 55 | #define AV_CPU_FLAG_ALTIVEC 0x0001 ///< standard 56 | 57 | #define AV_CPU_FLAG_ARMV5TE (1 << 0) 58 | #define AV_CPU_FLAG_ARMV6 (1 << 1) 59 | #define AV_CPU_FLAG_ARMV6T2 (1 << 2) 60 | #define AV_CPU_FLAG_VFP (1 << 3) 61 | #define AV_CPU_FLAG_VFPV3 (1 << 4) 62 | #define AV_CPU_FLAG_NEON (1 << 5) 63 | 64 | /** 65 | * Return the flags which specify extensions supported by the CPU. 66 | * The returned value is affected by av_force_cpu_flags() if that was used 67 | * before. So av_get_cpu_flags() can easily be used in a application to 68 | * detect the enabled cpu flags. 69 | */ 70 | int av_get_cpu_flags(void); 71 | 72 | /** 73 | * Disables cpu detection and forces the specified flags. 74 | * -1 is a special case that disables forcing of specific flags. 75 | */ 76 | void av_force_cpu_flags(int flags); 77 | 78 | /** 79 | * Set a mask on flags returned by av_get_cpu_flags(). 80 | * This function is mainly useful for testing. 81 | * Please use av_force_cpu_flags() and av_get_cpu_flags() instead which are more flexible 82 | * 83 | * @warning this function is not thread safe. 84 | */ 85 | attribute_deprecated void av_set_cpu_flags_mask(int mask); 86 | 87 | /** 88 | * Parse CPU flags from a string. 89 | * 90 | * The returned flags contain the specified flags as well as related unspecified flags. 91 | * 92 | * This function exists only for compatibility with libav. 93 | * Please use av_parse_cpu_caps() when possible. 94 | * @return a combination of AV_CPU_* flags, negative on error. 95 | */ 96 | attribute_deprecated 97 | int av_parse_cpu_flags(const char *s); 98 | 99 | /** 100 | * Parse CPU caps from a string and update the given AV_CPU_* flags based on that. 101 | * 102 | * @return negative on error. 103 | */ 104 | int av_parse_cpu_caps(unsigned *flags, const char *s); 105 | 106 | /** 107 | * @return the number of logical CPU cores present. 108 | */ 109 | int av_cpu_count(void); 110 | 111 | #endif /* AVUTIL_CPU_H */ 112 | -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/include/libavutil/crc.h: -------------------------------------------------------------------------------- 1 | /* 2 | * copyright (c) 2006 Michael Niedermayer 3 | * 4 | * This file is part of FFmpeg. 5 | * 6 | * FFmpeg is free software; you can redistribute it and/or 7 | * modify it under the terms of the GNU Lesser General Public 8 | * License as published by the Free Software Foundation; either 9 | * version 2.1 of the License, or (at your option) any later version. 10 | * 11 | * FFmpeg is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | * Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public 17 | * License along with FFmpeg; if not, write to the Free Software 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 | */ 20 | 21 | #ifndef AVUTIL_CRC_H 22 | #define AVUTIL_CRC_H 23 | 24 | #include 25 | #include 26 | #include "attributes.h" 27 | 28 | /** 29 | * @defgroup lavu_crc32 CRC32 30 | * @ingroup lavu_crypto 31 | * @{ 32 | */ 33 | 34 | typedef uint32_t AVCRC; 35 | 36 | typedef enum { 37 | AV_CRC_8_ATM, 38 | AV_CRC_16_ANSI, 39 | AV_CRC_16_CCITT, 40 | AV_CRC_32_IEEE, 41 | AV_CRC_32_IEEE_LE, /*< reversed bitorder version of AV_CRC_32_IEEE */ 42 | AV_CRC_24_IEEE = 12, 43 | AV_CRC_MAX, /*< Not part of public API! Do not use outside libavutil. */ 44 | }AVCRCId; 45 | 46 | /** 47 | * Initialize a CRC table. 48 | * @param ctx must be an array of size sizeof(AVCRC)*257 or sizeof(AVCRC)*1024 49 | * @param le If 1, the lowest bit represents the coefficient for the highest 50 | * exponent of the corresponding polynomial (both for poly and 51 | * actual CRC). 52 | * If 0, you must swap the CRC parameter and the result of av_crc 53 | * if you need the standard representation (can be simplified in 54 | * most cases to e.g. bswap16): 55 | * av_bswap32(crc << (32-bits)) 56 | * @param bits number of bits for the CRC 57 | * @param poly generator polynomial without the x**bits coefficient, in the 58 | * representation as specified by le 59 | * @param ctx_size size of ctx in bytes 60 | * @return <0 on failure 61 | */ 62 | int av_crc_init(AVCRC *ctx, int le, int bits, uint32_t poly, int ctx_size); 63 | 64 | /** 65 | * Get an initialized standard CRC table. 66 | * @param crc_id ID of a standard CRC 67 | * @return a pointer to the CRC table or NULL on failure 68 | */ 69 | const AVCRC *av_crc_get_table(AVCRCId crc_id); 70 | 71 | /** 72 | * Calculate the CRC of a block. 73 | * @param crc CRC of previous blocks if any or initial value for CRC 74 | * @return CRC updated with the data from the given block 75 | * 76 | * @see av_crc_init() "le" parameter 77 | */ 78 | uint32_t av_crc(const AVCRC *ctx, uint32_t crc, 79 | const uint8_t *buffer, size_t length) av_pure; 80 | 81 | /** 82 | * @} 83 | */ 84 | 85 | #endif /* AVUTIL_CRC_H */ 86 | -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/include/libavutil/error.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of FFmpeg. 3 | * 4 | * FFmpeg is free software; you can redistribute it and/or 5 | * modify it under the terms of the GNU Lesser General Public 6 | * License as published by the Free Software Foundation; either 7 | * version 2.1 of the License, or (at your option) any later version. 8 | * 9 | * FFmpeg is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public 15 | * License along with FFmpeg; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | /** 20 | * @file 21 | * error code definitions 22 | */ 23 | 24 | #ifndef AVUTIL_ERROR_H 25 | #define AVUTIL_ERROR_H 26 | 27 | #include 28 | #include 29 | 30 | /** 31 | * @addtogroup lavu_error 32 | * 33 | * @{ 34 | */ 35 | 36 | 37 | /* error handling */ 38 | #if EDOM > 0 39 | #define AVERROR(e) (-(e)) ///< Returns a negative error code from a POSIX error code, to return from library functions. 40 | #define AVUNERROR(e) (-(e)) ///< Returns a POSIX error code from a library function error return value. 41 | #else 42 | /* Some platforms have E* and errno already negated. */ 43 | #define AVERROR(e) (e) 44 | #define AVUNERROR(e) (e) 45 | #endif 46 | 47 | #define FFERRTAG(a, b, c, d) (-(int)MKTAG(a, b, c, d)) 48 | 49 | #define AVERROR_BSF_NOT_FOUND FFERRTAG(0xF8,'B','S','F') ///< Bitstream filter not found 50 | #define AVERROR_BUG FFERRTAG( 'B','U','G','!') ///< Internal bug, also see AVERROR_BUG2 51 | #define AVERROR_BUFFER_TOO_SMALL FFERRTAG( 'B','U','F','S') ///< Buffer too small 52 | #define AVERROR_DECODER_NOT_FOUND FFERRTAG(0xF8,'D','E','C') ///< Decoder not found 53 | #define AVERROR_DEMUXER_NOT_FOUND FFERRTAG(0xF8,'D','E','M') ///< Demuxer not found 54 | #define AVERROR_ENCODER_NOT_FOUND FFERRTAG(0xF8,'E','N','C') ///< Encoder not found 55 | #define AVERROR_EOF FFERRTAG( 'E','O','F',' ') ///< End of file 56 | #define AVERROR_EXIT FFERRTAG( 'E','X','I','T') ///< Immediate exit was requested; the called function should not be restarted 57 | #define AVERROR_EXTERNAL FFERRTAG( 'E','X','T',' ') ///< Generic error in an external library 58 | #define AVERROR_FILTER_NOT_FOUND FFERRTAG(0xF8,'F','I','L') ///< Filter not found 59 | #define AVERROR_INVALIDDATA FFERRTAG( 'I','N','D','A') ///< Invalid data found when processing input 60 | #define AVERROR_MUXER_NOT_FOUND FFERRTAG(0xF8,'M','U','X') ///< Muxer not found 61 | #define AVERROR_OPTION_NOT_FOUND FFERRTAG(0xF8,'O','P','T') ///< Option not found 62 | #define AVERROR_PATCHWELCOME FFERRTAG( 'P','A','W','E') ///< Not yet implemented in FFmpeg, patches welcome 63 | #define AVERROR_PROTOCOL_NOT_FOUND FFERRTAG(0xF8,'P','R','O') ///< Protocol not found 64 | 65 | #define AVERROR_STREAM_NOT_FOUND FFERRTAG(0xF8,'S','T','R') ///< Stream not found 66 | /** 67 | * This is semantically identical to AVERROR_BUG 68 | * it has been introduced in Libav after our AVERROR_BUG and with a modified value. 69 | */ 70 | #define AVERROR_BUG2 FFERRTAG( 'B','U','G',' ') 71 | #define AVERROR_UNKNOWN FFERRTAG( 'U','N','K','N') ///< Unknown error, typically from an external library 72 | #define AVERROR_EXPERIMENTAL (-0x2bb2afa8) ///< Requested feature is flagged experimental. Set strict_std_compliance if you really want to use it. 73 | 74 | #define AV_ERROR_MAX_STRING_SIZE 64 75 | 76 | /** 77 | * Put a description of the AVERROR code errnum in errbuf. 78 | * In case of failure the global variable errno is set to indicate the 79 | * error. Even in case of failure av_strerror() will print a generic 80 | * error message indicating the errnum provided to errbuf. 81 | * 82 | * @param errnum error code to describe 83 | * @param errbuf buffer to which description is written 84 | * @param errbuf_size the size in bytes of errbuf 85 | * @return 0 on success, a negative value if a description for errnum 86 | * cannot be found 87 | */ 88 | int av_strerror(int errnum, char *errbuf, size_t errbuf_size); 89 | 90 | /** 91 | * Fill the provided buffer with a string containing an error string 92 | * corresponding to the AVERROR code errnum. 93 | * 94 | * @param errbuf a buffer 95 | * @param errbuf_size size in bytes of errbuf 96 | * @param errnum error code to describe 97 | * @return the buffer in input, filled with the error description 98 | * @see av_strerror() 99 | */ 100 | static inline char *av_make_error_string(char *errbuf, size_t errbuf_size, int errnum) 101 | { 102 | av_strerror(errnum, errbuf, errbuf_size); 103 | return errbuf; 104 | } 105 | 106 | /** 107 | * Convenience macro, the return value should be used only directly in 108 | * function arguments but never stand-alone. 109 | */ 110 | #define av_err2str(errnum) \ 111 | av_make_error_string((char[AV_ERROR_MAX_STRING_SIZE]){0}, AV_ERROR_MAX_STRING_SIZE, errnum) 112 | 113 | /** 114 | * @} 115 | */ 116 | 117 | #endif /* AVUTIL_ERROR_H */ 118 | -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/include/libavutil/fifo.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of FFmpeg. 3 | * 4 | * FFmpeg is free software; you can redistribute it and/or 5 | * modify it under the terms of the GNU Lesser General Public 6 | * License as published by the Free Software Foundation; either 7 | * version 2.1 of the License, or (at your option) any later version. 8 | * 9 | * FFmpeg is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public 15 | * License along with FFmpeg; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | /** 20 | * @file 21 | * a very simple circular buffer FIFO implementation 22 | */ 23 | 24 | #ifndef AVUTIL_FIFO_H 25 | #define AVUTIL_FIFO_H 26 | 27 | #include 28 | #include "avutil.h" 29 | #include "attributes.h" 30 | 31 | typedef struct AVFifoBuffer { 32 | uint8_t *buffer; 33 | uint8_t *rptr, *wptr, *end; 34 | uint32_t rndx, wndx; 35 | } AVFifoBuffer; 36 | 37 | /** 38 | * Initialize an AVFifoBuffer. 39 | * @param size of FIFO 40 | * @return AVFifoBuffer or NULL in case of memory allocation failure 41 | */ 42 | AVFifoBuffer *av_fifo_alloc(unsigned int size); 43 | 44 | /** 45 | * Free an AVFifoBuffer. 46 | * @param f AVFifoBuffer to free 47 | */ 48 | void av_fifo_free(AVFifoBuffer *f); 49 | 50 | /** 51 | * Reset the AVFifoBuffer to the state right after av_fifo_alloc, in particular it is emptied. 52 | * @param f AVFifoBuffer to reset 53 | */ 54 | void av_fifo_reset(AVFifoBuffer *f); 55 | 56 | /** 57 | * Return the amount of data in bytes in the AVFifoBuffer, that is the 58 | * amount of data you can read from it. 59 | * @param f AVFifoBuffer to read from 60 | * @return size 61 | */ 62 | int av_fifo_size(AVFifoBuffer *f); 63 | 64 | /** 65 | * Return the amount of space in bytes in the AVFifoBuffer, that is the 66 | * amount of data you can write into it. 67 | * @param f AVFifoBuffer to write into 68 | * @return size 69 | */ 70 | int av_fifo_space(AVFifoBuffer *f); 71 | 72 | /** 73 | * Feed data from an AVFifoBuffer to a user-supplied callback. 74 | * @param f AVFifoBuffer to read from 75 | * @param buf_size number of bytes to read 76 | * @param func generic read function 77 | * @param dest data destination 78 | */ 79 | int av_fifo_generic_read(AVFifoBuffer *f, void *dest, int buf_size, void (*func)(void*, void*, int)); 80 | 81 | /** 82 | * Feed data from a user-supplied callback to an AVFifoBuffer. 83 | * @param f AVFifoBuffer to write to 84 | * @param src data source; non-const since it may be used as a 85 | * modifiable context by the function defined in func 86 | * @param size number of bytes to write 87 | * @param func generic write function; the first parameter is src, 88 | * the second is dest_buf, the third is dest_buf_size. 89 | * func must return the number of bytes written to dest_buf, or <= 0 to 90 | * indicate no more data available to write. 91 | * If func is NULL, src is interpreted as a simple byte array for source data. 92 | * @return the number of bytes written to the FIFO 93 | */ 94 | int av_fifo_generic_write(AVFifoBuffer *f, void *src, int size, int (*func)(void*, void*, int)); 95 | 96 | /** 97 | * Resize an AVFifoBuffer. 98 | * In case of reallocation failure, the old FIFO is kept unchanged. 99 | * 100 | * @param f AVFifoBuffer to resize 101 | * @param size new AVFifoBuffer size in bytes 102 | * @return <0 for failure, >=0 otherwise 103 | */ 104 | int av_fifo_realloc2(AVFifoBuffer *f, unsigned int size); 105 | 106 | /** 107 | * Enlarge an AVFifoBuffer. 108 | * In case of reallocation failure, the old FIFO is kept unchanged. 109 | * The new fifo size may be larger than the requested size. 110 | * 111 | * @param f AVFifoBuffer to resize 112 | * @param additional_space the amount of space in bytes to allocate in addition to av_fifo_size() 113 | * @return <0 for failure, >=0 otherwise 114 | */ 115 | int av_fifo_grow(AVFifoBuffer *f, unsigned int additional_space); 116 | 117 | /** 118 | * Read and discard the specified amount of data from an AVFifoBuffer. 119 | * @param f AVFifoBuffer to read from 120 | * @param size amount of data to read in bytes 121 | */ 122 | void av_fifo_drain(AVFifoBuffer *f, int size); 123 | 124 | /** 125 | * Return a pointer to the data stored in a FIFO buffer at a certain offset. 126 | * The FIFO buffer is not modified. 127 | * 128 | * @param f AVFifoBuffer to peek at, f must be non-NULL 129 | * @param offs an offset in bytes, its absolute value must be less 130 | * than the used buffer size or the returned pointer will 131 | * point outside to the buffer data. 132 | * The used buffer size can be checked with av_fifo_size(). 133 | */ 134 | static inline uint8_t *av_fifo_peek2(const AVFifoBuffer *f, int offs) 135 | { 136 | uint8_t *ptr = f->rptr + offs; 137 | if (ptr >= f->end) 138 | ptr = f->buffer + (ptr - f->end); 139 | else if (ptr < f->buffer) 140 | ptr = f->end - (f->buffer - ptr); 141 | return ptr; 142 | } 143 | 144 | #endif /* AVUTIL_FIFO_H */ 145 | -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/include/libavutil/file.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of FFmpeg. 3 | * 4 | * FFmpeg is free software; you can redistribute it and/or 5 | * modify it under the terms of the GNU Lesser General Public 6 | * License as published by the Free Software Foundation; either 7 | * version 2.1 of the License, or (at your option) any later version. 8 | * 9 | * FFmpeg is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public 15 | * License along with FFmpeg; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #ifndef AVUTIL_FILE_H 20 | #define AVUTIL_FILE_H 21 | 22 | #include 23 | 24 | #include "avutil.h" 25 | 26 | /** 27 | * @file 28 | * Misc file utilities. 29 | */ 30 | 31 | /** 32 | * Read the file with name filename, and put its content in a newly 33 | * allocated buffer or map it with mmap() when available. 34 | * In case of success set *bufptr to the read or mmapped buffer, and 35 | * *size to the size in bytes of the buffer in *bufptr. 36 | * The returned buffer must be released with av_file_unmap(). 37 | * 38 | * @param log_offset loglevel offset used for logging 39 | * @param log_ctx context used for logging 40 | * @return a non negative number in case of success, a negative value 41 | * corresponding to an AVERROR error code in case of failure 42 | */ 43 | int av_file_map(const char *filename, uint8_t **bufptr, size_t *size, 44 | int log_offset, void *log_ctx); 45 | 46 | /** 47 | * Unmap or free the buffer bufptr created by av_file_map(). 48 | * 49 | * @param size size in bytes of bufptr, must be the same as returned 50 | * by av_file_map() 51 | */ 52 | void av_file_unmap(uint8_t *bufptr, size_t size); 53 | 54 | /** 55 | * Wrapper to work around the lack of mkstemp() on mingw. 56 | * Also, tries to create file in /tmp first, if possible. 57 | * *prefix can be a character constant; *filename will be allocated internally. 58 | * @return file descriptor of opened file (or -1 on error) 59 | * and opened file name in **filename. 60 | * @note On very old libcs it is necessary to set a secure umask before 61 | * calling this, av_tempfile() can't call umask itself as it is used in 62 | * libraries and could interfere with the calling application. 63 | */ 64 | int av_tempfile(const char *prefix, char **filename, int log_offset, void *log_ctx); 65 | 66 | #endif /* AVUTIL_FILE_H */ 67 | -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/include/libavutil/hmac.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2012 Martin Storsjo 3 | * 4 | * This file is part of FFmpeg. 5 | * 6 | * FFmpeg is free software; you can redistribute it and/or 7 | * modify it under the terms of the GNU Lesser General Public 8 | * License as published by the Free Software Foundation; either 9 | * version 2.1 of the License, or (at your option) any later version. 10 | * 11 | * FFmpeg is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | * Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public 17 | * License along with FFmpeg; if not, write to the Free Software 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 | */ 20 | 21 | #ifndef AVUTIL_HMAC_H 22 | #define AVUTIL_HMAC_H 23 | 24 | #include 25 | 26 | /** 27 | * @defgroup lavu_hmac HMAC 28 | * @ingroup lavu_crypto 29 | * @{ 30 | */ 31 | 32 | enum AVHMACType { 33 | AV_HMAC_MD5, 34 | AV_HMAC_SHA1, 35 | AV_HMAC_SHA224 = 10, 36 | AV_HMAC_SHA256, 37 | AV_HMAC_SHA384, 38 | AV_HMAC_SHA512, 39 | }; 40 | 41 | typedef struct AVHMAC AVHMAC; 42 | 43 | /** 44 | * Allocate an AVHMAC context. 45 | * @param type The hash function used for the HMAC. 46 | */ 47 | AVHMAC *av_hmac_alloc(enum AVHMACType type); 48 | 49 | /** 50 | * Free an AVHMAC context. 51 | * @param ctx The context to free, may be NULL 52 | */ 53 | void av_hmac_free(AVHMAC *ctx); 54 | 55 | /** 56 | * Initialize an AVHMAC context with an authentication key. 57 | * @param ctx The HMAC context 58 | * @param key The authentication key 59 | * @param keylen The length of the key, in bytes 60 | */ 61 | void av_hmac_init(AVHMAC *ctx, const uint8_t *key, unsigned int keylen); 62 | 63 | /** 64 | * Hash data with the HMAC. 65 | * @param ctx The HMAC context 66 | * @param data The data to hash 67 | * @param len The length of the data, in bytes 68 | */ 69 | void av_hmac_update(AVHMAC *ctx, const uint8_t *data, unsigned int len); 70 | 71 | /** 72 | * Finish hashing and output the HMAC digest. 73 | * @param ctx The HMAC context 74 | * @param out The output buffer to write the digest into 75 | * @param outlen The length of the out buffer, in bytes 76 | * @return The number of bytes written to out, or a negative error code. 77 | */ 78 | int av_hmac_final(AVHMAC *ctx, uint8_t *out, unsigned int outlen); 79 | 80 | /** 81 | * Hash an array of data with a key. 82 | * @param ctx The HMAC context 83 | * @param data The data to hash 84 | * @param len The length of the data, in bytes 85 | * @param key The authentication key 86 | * @param keylen The length of the key, in bytes 87 | * @param out The output buffer to write the digest into 88 | * @param outlen The length of the out buffer, in bytes 89 | * @return The number of bytes written to out, or a negative error code. 90 | */ 91 | int av_hmac_calc(AVHMAC *ctx, const uint8_t *data, unsigned int len, 92 | const uint8_t *key, unsigned int keylen, 93 | uint8_t *out, unsigned int outlen); 94 | 95 | /** 96 | * @} 97 | */ 98 | 99 | #endif /* AVUTIL_HMAC_H */ 100 | -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/include/libavutil/intfloat.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2011 Mans Rullgard 3 | * 4 | * This file is part of FFmpeg. 5 | * 6 | * FFmpeg is free software; you can redistribute it and/or 7 | * modify it under the terms of the GNU Lesser General Public 8 | * License as published by the Free Software Foundation; either 9 | * version 2.1 of the License, or (at your option) any later version. 10 | * 11 | * FFmpeg is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | * Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public 17 | * License along with FFmpeg; if not, write to the Free Software 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 | */ 20 | 21 | #ifndef AVUTIL_INTFLOAT_H 22 | #define AVUTIL_INTFLOAT_H 23 | 24 | #include 25 | #include "attributes.h" 26 | 27 | union av_intfloat32 { 28 | uint32_t i; 29 | float f; 30 | }; 31 | 32 | union av_intfloat64 { 33 | uint64_t i; 34 | double f; 35 | }; 36 | 37 | /** 38 | * Reinterpret a 32-bit integer as a float. 39 | */ 40 | static av_always_inline float av_int2float(uint32_t i) 41 | { 42 | union av_intfloat32 v; 43 | v.i = i; 44 | return v.f; 45 | } 46 | 47 | /** 48 | * Reinterpret a float as a 32-bit integer. 49 | */ 50 | static av_always_inline uint32_t av_float2int(float f) 51 | { 52 | union av_intfloat32 v; 53 | v.f = f; 54 | return v.i; 55 | } 56 | 57 | /** 58 | * Reinterpret a 64-bit integer as a double. 59 | */ 60 | static av_always_inline double av_int2double(uint64_t i) 61 | { 62 | union av_intfloat64 v; 63 | v.i = i; 64 | return v.f; 65 | } 66 | 67 | /** 68 | * Reinterpret a double as a 64-bit integer. 69 | */ 70 | static av_always_inline uint64_t av_double2int(double f) 71 | { 72 | union av_intfloat64 v; 73 | v.f = f; 74 | return v.i; 75 | } 76 | 77 | #endif /* AVUTIL_INTFLOAT_H */ 78 | -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/include/libavutil/intfloat_readwrite.h: -------------------------------------------------------------------------------- 1 | /* 2 | * copyright (c) 2005 Michael Niedermayer 3 | * 4 | * This file is part of FFmpeg. 5 | * 6 | * FFmpeg is free software; you can redistribute it and/or 7 | * modify it under the terms of the GNU Lesser General Public 8 | * License as published by the Free Software Foundation; either 9 | * version 2.1 of the License, or (at your option) any later version. 10 | * 11 | * FFmpeg is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | * Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public 17 | * License along with FFmpeg; if not, write to the Free Software 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 | */ 20 | 21 | #ifndef AVUTIL_INTFLOAT_READWRITE_H 22 | #define AVUTIL_INTFLOAT_READWRITE_H 23 | 24 | #include 25 | #include "attributes.h" 26 | 27 | /* IEEE 80 bits extended float */ 28 | typedef struct AVExtFloat { 29 | uint8_t exponent[2]; 30 | uint8_t mantissa[8]; 31 | } AVExtFloat; 32 | 33 | attribute_deprecated double av_int2dbl(int64_t v) av_const; 34 | attribute_deprecated float av_int2flt(int32_t v) av_const; 35 | attribute_deprecated double av_ext2dbl(const AVExtFloat ext) av_const; 36 | attribute_deprecated int64_t av_dbl2int(double d) av_const; 37 | attribute_deprecated int32_t av_flt2int(float d) av_const; 38 | attribute_deprecated AVExtFloat av_dbl2ext(double d) av_const; 39 | 40 | #endif /* AVUTIL_INTFLOAT_READWRITE_H */ 41 | -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/include/libavutil/lfg.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Lagged Fibonacci PRNG 3 | * Copyright (c) 2008 Michael Niedermayer 4 | * 5 | * This file is part of FFmpeg. 6 | * 7 | * FFmpeg is free software; you can redistribute it and/or 8 | * modify it under the terms of the GNU Lesser General Public 9 | * License as published by the Free Software Foundation; either 10 | * version 2.1 of the License, or (at your option) any later version. 11 | * 12 | * FFmpeg is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with FFmpeg; if not, write to the Free Software 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 20 | */ 21 | 22 | #ifndef AVUTIL_LFG_H 23 | #define AVUTIL_LFG_H 24 | 25 | typedef struct AVLFG { 26 | unsigned int state[64]; 27 | int index; 28 | } AVLFG; 29 | 30 | void av_lfg_init(AVLFG *c, unsigned int seed); 31 | 32 | /** 33 | * Get the next random unsigned 32-bit number using an ALFG. 34 | * 35 | * Please also consider a simple LCG like state= state*1664525+1013904223, 36 | * it may be good enough and faster for your specific use case. 37 | */ 38 | static inline unsigned int av_lfg_get(AVLFG *c){ 39 | c->state[c->index & 63] = c->state[(c->index-24) & 63] + c->state[(c->index-55) & 63]; 40 | return c->state[c->index++ & 63]; 41 | } 42 | 43 | /** 44 | * Get the next random unsigned 32-bit number using a MLFG. 45 | * 46 | * Please also consider av_lfg_get() above, it is faster. 47 | */ 48 | static inline unsigned int av_mlfg_get(AVLFG *c){ 49 | unsigned int a= c->state[(c->index-55) & 63]; 50 | unsigned int b= c->state[(c->index-24) & 63]; 51 | return c->state[c->index++ & 63] = 2*a*b+a+b; 52 | } 53 | 54 | /** 55 | * Get the next two numbers generated by a Box-Muller Gaussian 56 | * generator using the random numbers issued by lfg. 57 | * 58 | * @param out array where the two generated numbers are placed 59 | */ 60 | void av_bmg_get(AVLFG *lfg, double out[2]); 61 | 62 | #endif /* AVUTIL_LFG_H */ 63 | -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/include/libavutil/lzo.h: -------------------------------------------------------------------------------- 1 | /* 2 | * LZO 1x decompression 3 | * copyright (c) 2006 Reimar Doeffinger 4 | * 5 | * This file is part of FFmpeg. 6 | * 7 | * FFmpeg is free software; you can redistribute it and/or 8 | * modify it under the terms of the GNU Lesser General Public 9 | * License as published by the Free Software Foundation; either 10 | * version 2.1 of the License, or (at your option) any later version. 11 | * 12 | * FFmpeg is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with FFmpeg; if not, write to the Free Software 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 20 | */ 21 | 22 | #ifndef AVUTIL_LZO_H 23 | #define AVUTIL_LZO_H 24 | 25 | /** 26 | * @defgroup lavu_lzo LZO 27 | * @ingroup lavu_crypto 28 | * 29 | * @{ 30 | */ 31 | 32 | #include 33 | 34 | /** @name Error flags returned by av_lzo1x_decode 35 | * @{ */ 36 | /// end of the input buffer reached before decoding finished 37 | #define AV_LZO_INPUT_DEPLETED 1 38 | /// decoded data did not fit into output buffer 39 | #define AV_LZO_OUTPUT_FULL 2 40 | /// a reference to previously decoded data was wrong 41 | #define AV_LZO_INVALID_BACKPTR 4 42 | /// a non-specific error in the compressed bitstream 43 | #define AV_LZO_ERROR 8 44 | /** @} */ 45 | 46 | #define AV_LZO_INPUT_PADDING 8 47 | #define AV_LZO_OUTPUT_PADDING 12 48 | 49 | /** 50 | * @brief Decodes LZO 1x compressed data. 51 | * @param out output buffer 52 | * @param outlen size of output buffer, number of bytes left are returned here 53 | * @param in input buffer 54 | * @param inlen size of input buffer, number of bytes left are returned here 55 | * @return 0 on success, otherwise a combination of the error flags above 56 | * 57 | * Make sure all buffers are appropriately padded, in must provide 58 | * AV_LZO_INPUT_PADDING, out must provide AV_LZO_OUTPUT_PADDING additional bytes. 59 | */ 60 | int av_lzo1x_decode(void *out, int *outlen, const void *in, int *inlen); 61 | 62 | /** 63 | * @} 64 | */ 65 | 66 | #endif /* AVUTIL_LZO_H */ 67 | -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/include/libavutil/md5.h: -------------------------------------------------------------------------------- 1 | /* 2 | * copyright (c) 2006 Michael Niedermayer 3 | * 4 | * This file is part of FFmpeg. 5 | * 6 | * FFmpeg is free software; you can redistribute it and/or 7 | * modify it under the terms of the GNU Lesser General Public 8 | * License as published by the Free Software Foundation; either 9 | * version 2.1 of the License, or (at your option) any later version. 10 | * 11 | * FFmpeg is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | * Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public 17 | * License along with FFmpeg; if not, write to the Free Software 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 | */ 20 | 21 | #ifndef AVUTIL_MD5_H 22 | #define AVUTIL_MD5_H 23 | 24 | #include 25 | 26 | #include "attributes.h" 27 | #include "version.h" 28 | 29 | /** 30 | * @defgroup lavu_md5 MD5 31 | * @ingroup lavu_crypto 32 | * @{ 33 | */ 34 | 35 | extern const int av_md5_size; 36 | 37 | struct AVMD5; 38 | 39 | /** 40 | * Allocate an AVMD5 context. 41 | */ 42 | struct AVMD5 *av_md5_alloc(void); 43 | 44 | /** 45 | * Initialize MD5 hashing. 46 | * 47 | * @param ctx pointer to the function context (of size av_md5_size) 48 | */ 49 | void av_md5_init(struct AVMD5 *ctx); 50 | 51 | /** 52 | * Update hash value. 53 | * 54 | * @param ctx hash function context 55 | * @param src input data to update hash with 56 | * @param len input data length 57 | */ 58 | void av_md5_update(struct AVMD5 *ctx, const uint8_t *src, int len); 59 | 60 | /** 61 | * Finish hashing and output digest value. 62 | * 63 | * @param ctx hash function context 64 | * @param dst buffer where output digest value is stored 65 | */ 66 | void av_md5_final(struct AVMD5 *ctx, uint8_t *dst); 67 | 68 | /** 69 | * Hash an array of data. 70 | * 71 | * @param dst The output buffer to write the digest into 72 | * @param src The data to hash 73 | * @param len The length of the data, in bytes 74 | */ 75 | void av_md5_sum(uint8_t *dst, const uint8_t *src, const int len); 76 | 77 | /** 78 | * @} 79 | */ 80 | 81 | #endif /* AVUTIL_MD5_H */ 82 | -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/include/libavutil/murmur3.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2013 Reimar Döffinger 3 | * 4 | * This file is part of FFmpeg. 5 | * 6 | * FFmpeg is free software; you can redistribute it and/or 7 | * modify it under the terms of the GNU Lesser General Public 8 | * License as published by the Free Software Foundation; either 9 | * version 2.1 of the License, or (at your option) any later version. 10 | * 11 | * FFmpeg is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | * Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public 17 | * License along with FFmpeg; if not, write to the Free Software 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 | */ 20 | 21 | #ifndef AVUTIL_MURMUR3_H 22 | #define AVUTIL_MURMUR3_H 23 | 24 | #include 25 | 26 | struct AVMurMur3 *av_murmur3_alloc(void); 27 | void av_murmur3_init_seeded(struct AVMurMur3 *c, uint64_t seed); 28 | void av_murmur3_init(struct AVMurMur3 *c); 29 | void av_murmur3_update(struct AVMurMur3 *c, const uint8_t *src, int len); 30 | void av_murmur3_final(struct AVMurMur3 *c, uint8_t dst[16]); 31 | 32 | #endif /* AVUTIL_MURMUR3_H */ 33 | -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/include/libavutil/random_seed.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2009 Baptiste Coudurier 3 | * 4 | * This file is part of FFmpeg. 5 | * 6 | * FFmpeg is free software; you can redistribute it and/or 7 | * modify it under the terms of the GNU Lesser General Public 8 | * License as published by the Free Software Foundation; either 9 | * version 2.1 of the License, or (at your option) any later version. 10 | * 11 | * FFmpeg is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | * Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public 17 | * License along with FFmpeg; if not, write to the Free Software 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 | */ 20 | 21 | #ifndef AVUTIL_RANDOM_SEED_H 22 | #define AVUTIL_RANDOM_SEED_H 23 | 24 | #include 25 | /** 26 | * @addtogroup lavu_crypto 27 | * @{ 28 | */ 29 | 30 | /** 31 | * Get a seed to use in conjunction with random functions. 32 | * This function tries to provide a good seed at a best effort bases. 33 | * Its possible to call this function multiple times if more bits are needed. 34 | * It can be quite slow, which is why it should only be used as seed for a faster 35 | * PRNG. The quality of the seed depends on the platform. 36 | */ 37 | uint32_t av_get_random_seed(void); 38 | 39 | /** 40 | * @} 41 | */ 42 | 43 | #endif /* AVUTIL_RANDOM_SEED_H */ 44 | -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/include/libavutil/rational.h: -------------------------------------------------------------------------------- 1 | /* 2 | * rational numbers 3 | * Copyright (c) 2003 Michael Niedermayer 4 | * 5 | * This file is part of FFmpeg. 6 | * 7 | * FFmpeg is free software; you can redistribute it and/or 8 | * modify it under the terms of the GNU Lesser General Public 9 | * License as published by the Free Software Foundation; either 10 | * version 2.1 of the License, or (at your option) any later version. 11 | * 12 | * FFmpeg is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with FFmpeg; if not, write to the Free Software 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 20 | */ 21 | 22 | /** 23 | * @file 24 | * rational numbers 25 | * @author Michael Niedermayer 26 | */ 27 | 28 | #ifndef AVUTIL_RATIONAL_H 29 | #define AVUTIL_RATIONAL_H 30 | 31 | #include 32 | #include 33 | #include "attributes.h" 34 | 35 | /** 36 | * @addtogroup lavu_math 37 | * @{ 38 | */ 39 | 40 | /** 41 | * rational number numerator/denominator 42 | */ 43 | typedef struct AVRational{ 44 | int num; ///< numerator 45 | int den; ///< denominator 46 | } AVRational; 47 | 48 | /** 49 | * Compare two rationals. 50 | * @param a first rational 51 | * @param b second rational 52 | * @return 0 if a==b, 1 if a>b, -1 if a>63)|1; 59 | else if(b.den && a.den) return 0; 60 | else if(a.num && b.num) return (a.num>>31) - (b.num>>31); 61 | else return INT_MIN; 62 | } 63 | 64 | /** 65 | * Convert rational to double. 66 | * @param a rational to convert 67 | * @return (double) a 68 | */ 69 | static inline double av_q2d(AVRational a){ 70 | return a.num / (double) a.den; 71 | } 72 | 73 | /** 74 | * Reduce a fraction. 75 | * This is useful for framerate calculations. 76 | * @param dst_num destination numerator 77 | * @param dst_den destination denominator 78 | * @param num source numerator 79 | * @param den source denominator 80 | * @param max the maximum allowed for dst_num & dst_den 81 | * @return 1 if exact, 0 otherwise 82 | */ 83 | int av_reduce(int *dst_num, int *dst_den, int64_t num, int64_t den, int64_t max); 84 | 85 | /** 86 | * Multiply two rationals. 87 | * @param b first rational 88 | * @param c second rational 89 | * @return b*c 90 | */ 91 | AVRational av_mul_q(AVRational b, AVRational c) av_const; 92 | 93 | /** 94 | * Divide one rational by another. 95 | * @param b first rational 96 | * @param c second rational 97 | * @return b/c 98 | */ 99 | AVRational av_div_q(AVRational b, AVRational c) av_const; 100 | 101 | /** 102 | * Add two rationals. 103 | * @param b first rational 104 | * @param c second rational 105 | * @return b+c 106 | */ 107 | AVRational av_add_q(AVRational b, AVRational c) av_const; 108 | 109 | /** 110 | * Subtract one rational from another. 111 | * @param b first rational 112 | * @param c second rational 113 | * @return b-c 114 | */ 115 | AVRational av_sub_q(AVRational b, AVRational c) av_const; 116 | 117 | /** 118 | * Invert a rational. 119 | * @param q value 120 | * @return 1 / q 121 | */ 122 | static av_always_inline AVRational av_inv_q(AVRational q) 123 | { 124 | AVRational r = { q.den, q.num }; 125 | return r; 126 | } 127 | 128 | /** 129 | * Convert a double precision floating point number to a rational. 130 | * inf is expressed as {1,0} or {-1,0} depending on the sign. 131 | * 132 | * @param d double to convert 133 | * @param max the maximum allowed numerator and denominator 134 | * @return (AVRational) d 135 | */ 136 | AVRational av_d2q(double d, int max) av_const; 137 | 138 | /** 139 | * @return 1 if q1 is nearer to q than q2, -1 if q2 is nearer 140 | * than q1, 0 if they have the same distance. 141 | */ 142 | int av_nearer_q(AVRational q, AVRational q1, AVRational q2); 143 | 144 | /** 145 | * Find the nearest value in q_list to q. 146 | * @param q_list an array of rationals terminated by {0, 0} 147 | * @return the index of the nearest value found in the array 148 | */ 149 | int av_find_nearest_q_idx(AVRational q, const AVRational* q_list); 150 | 151 | /** 152 | * @} 153 | */ 154 | 155 | #endif /* AVUTIL_RATIONAL_H */ 156 | -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/include/libavutil/ripemd.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2007 Michael Niedermayer 3 | * Copyright (C) 2013 James Almer 4 | * 5 | * This file is part of FFmpeg. 6 | * 7 | * FFmpeg is free software; you can redistribute it and/or 8 | * modify it under the terms of the GNU Lesser General Public 9 | * License as published by the Free Software Foundation; either 10 | * version 2.1 of the License, or (at your option) any later version. 11 | * 12 | * FFmpeg is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with FFmpeg; if not, write to the Free Software 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 20 | */ 21 | 22 | #ifndef AVUTIL_RIPEMD_H 23 | #define AVUTIL_RIPEMD_H 24 | 25 | #include 26 | 27 | #include "attributes.h" 28 | #include "version.h" 29 | 30 | /** 31 | * @defgroup lavu_ripemd RIPEMD 32 | * @ingroup lavu_crypto 33 | * @{ 34 | */ 35 | 36 | extern const int av_ripemd_size; 37 | 38 | struct AVRIPEMD; 39 | 40 | /** 41 | * Allocate an AVRIPEMD context. 42 | */ 43 | struct AVRIPEMD *av_ripemd_alloc(void); 44 | 45 | /** 46 | * Initialize RIPEMD hashing. 47 | * 48 | * @param context pointer to the function context (of size av_ripemd_size) 49 | * @param bits number of bits in digest (128, 160, 256 or 320 bits) 50 | * @return zero if initialization succeeded, -1 otherwise 51 | */ 52 | int av_ripemd_init(struct AVRIPEMD* context, int bits); 53 | 54 | /** 55 | * Update hash value. 56 | * 57 | * @param context hash function context 58 | * @param data input data to update hash with 59 | * @param len input data length 60 | */ 61 | void av_ripemd_update(struct AVRIPEMD* context, const uint8_t* data, unsigned int len); 62 | 63 | /** 64 | * Finish hashing and output digest value. 65 | * 66 | * @param context hash function context 67 | * @param digest buffer where output digest value is stored 68 | */ 69 | void av_ripemd_final(struct AVRIPEMD* context, uint8_t *digest); 70 | 71 | /** 72 | * @} 73 | */ 74 | 75 | #endif /* AVUTIL_RIPEMD_H */ 76 | -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/include/libavutil/sha.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2007 Michael Niedermayer 3 | * 4 | * This file is part of FFmpeg. 5 | * 6 | * FFmpeg is free software; you can redistribute it and/or 7 | * modify it under the terms of the GNU Lesser General Public 8 | * License as published by the Free Software Foundation; either 9 | * version 2.1 of the License, or (at your option) any later version. 10 | * 11 | * FFmpeg is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | * Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public 17 | * License along with FFmpeg; if not, write to the Free Software 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 | */ 20 | 21 | #ifndef AVUTIL_SHA_H 22 | #define AVUTIL_SHA_H 23 | 24 | #include 25 | 26 | #include "attributes.h" 27 | #include "version.h" 28 | 29 | /** 30 | * @defgroup lavu_sha SHA 31 | * @ingroup lavu_crypto 32 | * @{ 33 | */ 34 | 35 | extern const int av_sha_size; 36 | 37 | struct AVSHA; 38 | 39 | /** 40 | * Allocate an AVSHA context. 41 | */ 42 | struct AVSHA *av_sha_alloc(void); 43 | 44 | /** 45 | * Initialize SHA-1 or SHA-2 hashing. 46 | * 47 | * @param context pointer to the function context (of size av_sha_size) 48 | * @param bits number of bits in digest (SHA-1 - 160 bits, SHA-2 224 or 256 bits) 49 | * @return zero if initialization succeeded, -1 otherwise 50 | */ 51 | int av_sha_init(struct AVSHA* context, int bits); 52 | 53 | /** 54 | * Update hash value. 55 | * 56 | * @param context hash function context 57 | * @param data input data to update hash with 58 | * @param len input data length 59 | */ 60 | void av_sha_update(struct AVSHA* context, const uint8_t* data, unsigned int len); 61 | 62 | /** 63 | * Finish hashing and output digest value. 64 | * 65 | * @param context hash function context 66 | * @param digest buffer where output digest value is stored 67 | */ 68 | void av_sha_final(struct AVSHA* context, uint8_t *digest); 69 | 70 | /** 71 | * @} 72 | */ 73 | 74 | #endif /* AVUTIL_SHA_H */ 75 | -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/include/libavutil/sha512.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2007 Michael Niedermayer 3 | * Copyright (C) 2013 James Almer 4 | * 5 | * This file is part of FFmpeg. 6 | * 7 | * FFmpeg is free software; you can redistribute it and/or 8 | * modify it under the terms of the GNU Lesser General Public 9 | * License as published by the Free Software Foundation; either 10 | * version 2.1 of the License, or (at your option) any later version. 11 | * 12 | * FFmpeg is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with FFmpeg; if not, write to the Free Software 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 20 | */ 21 | 22 | #ifndef AVUTIL_SHA512_H 23 | #define AVUTIL_SHA512_H 24 | 25 | #include 26 | 27 | #include "attributes.h" 28 | #include "version.h" 29 | 30 | /** 31 | * @defgroup lavu_sha512 SHA512 32 | * @ingroup lavu_crypto 33 | * @{ 34 | */ 35 | 36 | extern const int av_sha512_size; 37 | 38 | struct AVSHA512; 39 | 40 | /** 41 | * Allocate an AVSHA512 context. 42 | */ 43 | struct AVSHA512 *av_sha512_alloc(void); 44 | 45 | /** 46 | * Initialize SHA-2 512 hashing. 47 | * 48 | * @param context pointer to the function context (of size av_sha512_size) 49 | * @param bits number of bits in digest (224, 256, 384 or 512 bits) 50 | * @return zero if initialization succeeded, -1 otherwise 51 | */ 52 | int av_sha512_init(struct AVSHA512* context, int bits); 53 | 54 | /** 55 | * Update hash value. 56 | * 57 | * @param context hash function context 58 | * @param data input data to update hash with 59 | * @param len input data length 60 | */ 61 | void av_sha512_update(struct AVSHA512* context, const uint8_t* data, unsigned int len); 62 | 63 | /** 64 | * Finish hashing and output digest value. 65 | * 66 | * @param context hash function context 67 | * @param digest buffer where output digest value is stored 68 | */ 69 | void av_sha512_final(struct AVSHA512* context, uint8_t *digest); 70 | 71 | /** 72 | * @} 73 | */ 74 | 75 | #endif /* AVUTIL_SHA512_H */ 76 | -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/include/libavutil/time.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2000-2003 Fabrice Bellard 3 | * 4 | * This file is part of FFmpeg. 5 | * 6 | * FFmpeg is free software; you can redistribute it and/or 7 | * modify it under the terms of the GNU Lesser General Public 8 | * License as published by the Free Software Foundation; either 9 | * version 2.1 of the License, or (at your option) any later version. 10 | * 11 | * FFmpeg is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | * Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public 17 | * License along with FFmpeg; if not, write to the Free Software 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 | */ 20 | 21 | #ifndef AVUTIL_TIME_H 22 | #define AVUTIL_TIME_H 23 | 24 | #include 25 | 26 | /** 27 | * Get the current time in microseconds. 28 | */ 29 | int64_t av_gettime(void); 30 | 31 | /** 32 | * Sleep for a period of time. Although the duration is expressed in 33 | * microseconds, the actual delay may be rounded to the precision of the 34 | * system timer. 35 | * 36 | * @param usec Number of microseconds to sleep. 37 | * @return zero on success or (negative) error code. 38 | */ 39 | int av_usleep(unsigned usec); 40 | 41 | #endif /* AVUTIL_TIME_H */ 42 | -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/include/libavutil/timestamp.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of FFmpeg. 3 | * 4 | * FFmpeg is free software; you can redistribute it and/or 5 | * modify it under the terms of the GNU Lesser General Public 6 | * License as published by the Free Software Foundation; either 7 | * version 2.1 of the License, or (at your option) any later version. 8 | * 9 | * FFmpeg is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public 15 | * License along with FFmpeg; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | /** 20 | * @file 21 | * timestamp utils, mostly useful for debugging/logging purposes 22 | */ 23 | 24 | #ifndef AVUTIL_TIMESTAMP_H 25 | #define AVUTIL_TIMESTAMP_H 26 | 27 | #include "common.h" 28 | 29 | #define AV_TS_MAX_STRING_SIZE 32 30 | 31 | /** 32 | * Fill the provided buffer with a string containing a timestamp 33 | * representation. 34 | * 35 | * @param buf a buffer with size in bytes of at least AV_TS_MAX_STRING_SIZE 36 | * @param ts the timestamp to represent 37 | * @return the buffer in input 38 | */ 39 | static inline char *av_ts_make_string(char *buf, int64_t ts) 40 | { 41 | if (ts == AV_NOPTS_VALUE) snprintf(buf, AV_TS_MAX_STRING_SIZE, "NOPTS"); 42 | else snprintf(buf, AV_TS_MAX_STRING_SIZE, "%"PRId64, ts); 43 | return buf; 44 | } 45 | 46 | /** 47 | * Convenience macro, the return value should be used only directly in 48 | * function arguments but never stand-alone. 49 | */ 50 | #define av_ts2str(ts) av_ts_make_string((char[AV_TS_MAX_STRING_SIZE]){0}, ts) 51 | 52 | /** 53 | * Fill the provided buffer with a string containing a timestamp time 54 | * representation. 55 | * 56 | * @param buf a buffer with size in bytes of at least AV_TS_MAX_STRING_SIZE 57 | * @param ts the timestamp to represent 58 | * @param tb the timebase of the timestamp 59 | * @return the buffer in input 60 | */ 61 | static inline char *av_ts_make_time_string(char *buf, int64_t ts, AVRational *tb) 62 | { 63 | if (ts == AV_NOPTS_VALUE) snprintf(buf, AV_TS_MAX_STRING_SIZE, "NOPTS"); 64 | else snprintf(buf, AV_TS_MAX_STRING_SIZE, "%.6g", av_q2d(*tb) * ts); 65 | return buf; 66 | } 67 | 68 | /** 69 | * Convenience macro, the return value should be used only directly in 70 | * function arguments but never stand-alone. 71 | */ 72 | #define av_ts2timestr(ts, tb) av_ts_make_time_string((char[AV_TS_MAX_STRING_SIZE]){0}, ts, tb) 73 | 74 | #endif /* AVUTIL_TIMESTAMP_H */ 75 | -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/include/libavutil/version.h: -------------------------------------------------------------------------------- 1 | /* 2 | * copyright (c) 2003 Fabrice Bellard 3 | * 4 | * This file is part of FFmpeg. 5 | * 6 | * FFmpeg is free software; you can redistribute it and/or 7 | * modify it under the terms of the GNU Lesser General Public 8 | * License as published by the Free Software Foundation; either 9 | * version 2.1 of the License, or (at your option) any later version. 10 | * 11 | * FFmpeg is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | * Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public 17 | * License along with FFmpeg; if not, write to the Free Software 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 | */ 20 | 21 | #ifndef AVUTIL_VERSION_H 22 | #define AVUTIL_VERSION_H 23 | 24 | /** 25 | * @defgroup preproc_misc Preprocessor String Macros 26 | * 27 | * String manipulation macros 28 | * 29 | * @{ 30 | */ 31 | 32 | #define AV_STRINGIFY(s) AV_TOSTRING(s) 33 | #define AV_TOSTRING(s) #s 34 | 35 | #define AV_GLUE(a, b) a ## b 36 | #define AV_JOIN(a, b) AV_GLUE(a, b) 37 | 38 | #define AV_PRAGMA(s) _Pragma(#s) 39 | 40 | /** 41 | * @} 42 | */ 43 | 44 | /** 45 | * @defgroup version_utils Library Version Macros 46 | * 47 | * Useful to check and match library version in order to maintain 48 | * backward compatibility. 49 | * 50 | * @{ 51 | */ 52 | 53 | #define AV_VERSION_INT(a, b, c) (a<<16 | b<<8 | c) 54 | #define AV_VERSION_DOT(a, b, c) a ##.## b ##.## c 55 | #define AV_VERSION(a, b, c) AV_VERSION_DOT(a, b, c) 56 | 57 | /** 58 | * @} 59 | */ 60 | 61 | 62 | /** 63 | * @file 64 | * @ingroup lavu 65 | * Libavutil version macros 66 | */ 67 | 68 | /** 69 | * @defgroup lavu_ver Version and Build diagnostics 70 | * 71 | * Macros and function useful to check at compiletime and at runtime 72 | * which version of libavutil is in use. 73 | * 74 | * @{ 75 | */ 76 | 77 | #define LIBAVUTIL_VERSION_MAJOR 52 78 | #define LIBAVUTIL_VERSION_MINOR 52 79 | #define LIBAVUTIL_VERSION_MICRO 100 80 | 81 | #define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \ 82 | LIBAVUTIL_VERSION_MINOR, \ 83 | LIBAVUTIL_VERSION_MICRO) 84 | #define LIBAVUTIL_VERSION AV_VERSION(LIBAVUTIL_VERSION_MAJOR, \ 85 | LIBAVUTIL_VERSION_MINOR, \ 86 | LIBAVUTIL_VERSION_MICRO) 87 | #define LIBAVUTIL_BUILD LIBAVUTIL_VERSION_INT 88 | 89 | #define LIBAVUTIL_IDENT "Lavu" AV_STRINGIFY(LIBAVUTIL_VERSION) 90 | 91 | /** 92 | * @} 93 | * 94 | * @defgroup depr_guards Deprecation guards 95 | * FF_API_* defines may be placed below to indicate public API that will be 96 | * dropped at a future version bump. The defines themselves are not part of 97 | * the public API and may change, break or disappear at any time. 98 | * 99 | * @{ 100 | */ 101 | 102 | #ifndef FF_API_GET_BITS_PER_SAMPLE_FMT 103 | #define FF_API_GET_BITS_PER_SAMPLE_FMT (LIBAVUTIL_VERSION_MAJOR < 53) 104 | #endif 105 | #ifndef FF_API_FIND_OPT 106 | #define FF_API_FIND_OPT (LIBAVUTIL_VERSION_MAJOR < 53) 107 | #endif 108 | #ifndef FF_API_OLD_AVOPTIONS 109 | #define FF_API_OLD_AVOPTIONS (LIBAVUTIL_VERSION_MAJOR < 53) 110 | #endif 111 | #ifndef FF_API_PIX_FMT 112 | #define FF_API_PIX_FMT (LIBAVUTIL_VERSION_MAJOR < 53) 113 | #endif 114 | #ifndef FF_API_CONTEXT_SIZE 115 | #define FF_API_CONTEXT_SIZE (LIBAVUTIL_VERSION_MAJOR < 53) 116 | #endif 117 | #ifndef FF_API_PIX_FMT_DESC 118 | #define FF_API_PIX_FMT_DESC (LIBAVUTIL_VERSION_MAJOR < 53) 119 | #endif 120 | #ifndef FF_API_AV_REVERSE 121 | #define FF_API_AV_REVERSE (LIBAVUTIL_VERSION_MAJOR < 53) 122 | #endif 123 | #ifndef FF_API_AUDIOCONVERT 124 | #define FF_API_AUDIOCONVERT (LIBAVUTIL_VERSION_MAJOR < 53) 125 | #endif 126 | #ifndef FF_API_CPU_FLAG_MMX2 127 | #define FF_API_CPU_FLAG_MMX2 (LIBAVUTIL_VERSION_MAJOR < 53) 128 | #endif 129 | #ifndef FF_API_SAMPLES_UTILS_RETURN_ZERO 130 | #define FF_API_SAMPLES_UTILS_RETURN_ZERO (LIBAVUTIL_VERSION_MAJOR < 53) 131 | #endif 132 | #ifndef FF_API_LLS_PRIVATE 133 | #define FF_API_LLS_PRIVATE (LIBAVUTIL_VERSION_MAJOR < 53) 134 | #endif 135 | #ifndef FF_API_AVFRAME_LAVC 136 | #define FF_API_AVFRAME_LAVC (LIBAVUTIL_VERSION_MAJOR < 53) 137 | #endif 138 | #ifndef FF_API_VDPAU 139 | #define FF_API_VDPAU (LIBAVUTIL_VERSION_MAJOR < 53) 140 | #endif 141 | #ifndef FF_API_GET_CHANNEL_LAYOUT_COMPAT 142 | #define FF_API_GET_CHANNEL_LAYOUT_COMPAT (LIBAVUTIL_VERSION_MAJOR < 53) 143 | #endif 144 | #ifndef FF_API_OLD_OPENCL 145 | #define FF_API_OLD_OPENCL (LIBAVUTIL_VERSION_MAJOR < 53) 146 | #endif 147 | 148 | /** 149 | * @} 150 | */ 151 | 152 | #endif /* AVUTIL_VERSION_H */ 153 | 154 | -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/include/libavutil/xtea.h: -------------------------------------------------------------------------------- 1 | /* 2 | * A 32-bit implementation of the XTEA algorithm 3 | * Copyright (c) 2012 Samuel Pitoiset 4 | * 5 | * This file is part of FFmpeg. 6 | * 7 | * FFmpeg is free software; you can redistribute it and/or 8 | * modify it under the terms of the GNU Lesser General Public 9 | * License as published by the Free Software Foundation; either 10 | * version 2.1 of the License, or (at your option) any later version. 11 | * 12 | * FFmpeg is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with FFmpeg; if not, write to the Free Software 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 20 | */ 21 | 22 | #ifndef AVUTIL_XTEA_H 23 | #define AVUTIL_XTEA_H 24 | 25 | #include 26 | 27 | /** 28 | * @file 29 | * @brief Public header for libavutil XTEA algorithm 30 | * @defgroup lavu_xtea XTEA 31 | * @ingroup lavu_crypto 32 | * @{ 33 | */ 34 | 35 | typedef struct AVXTEA { 36 | uint32_t key[16]; 37 | } AVXTEA; 38 | 39 | /** 40 | * Initialize an AVXTEA context. 41 | * 42 | * @param ctx an AVXTEA context 43 | * @param key a key of 16 bytes used for encryption/decryption 44 | */ 45 | void av_xtea_init(struct AVXTEA *ctx, const uint8_t key[16]); 46 | 47 | /** 48 | * Encrypt or decrypt a buffer using a previously initialized context. 49 | * 50 | * @param ctx an AVXTEA context 51 | * @param dst destination array, can be equal to src 52 | * @param src source array, can be equal to dst 53 | * @param count number of 8 byte blocks 54 | * @param iv initialization vector for CBC mode, if NULL then ECB will be used 55 | * @param decrypt 0 for encryption, 1 for decryption 56 | */ 57 | void av_xtea_crypt(struct AVXTEA *ctx, uint8_t *dst, const uint8_t *src, 58 | int count, uint8_t *iv, int decrypt); 59 | 60 | /** 61 | * @} 62 | */ 63 | 64 | #endif /* AVUTIL_XTEA_H */ 65 | -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/include/libpostproc/postprocess.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2001-2003 Michael Niedermayer (michaelni@gmx.at) 3 | * 4 | * This file is part of FFmpeg. 5 | * 6 | * FFmpeg is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * FFmpeg is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with FFmpeg; if not, write to the Free Software 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 | */ 20 | 21 | #ifndef POSTPROC_POSTPROCESS_H 22 | #define POSTPROC_POSTPROCESS_H 23 | 24 | /** 25 | * @file 26 | * @ingroup lpp 27 | * external API header 28 | */ 29 | 30 | /** 31 | * @defgroup lpp Libpostproc 32 | * @{ 33 | */ 34 | 35 | #include "libpostproc/version.h" 36 | 37 | /** 38 | * Return the LIBPOSTPROC_VERSION_INT constant. 39 | */ 40 | unsigned postproc_version(void); 41 | 42 | /** 43 | * Return the libpostproc build-time configuration. 44 | */ 45 | const char *postproc_configuration(void); 46 | 47 | /** 48 | * Return the libpostproc license. 49 | */ 50 | const char *postproc_license(void); 51 | 52 | #define PP_QUALITY_MAX 6 53 | 54 | #define QP_STORE_T int8_t 55 | 56 | #include 57 | 58 | typedef void pp_context; 59 | typedef void pp_mode; 60 | 61 | #if LIBPOSTPROC_VERSION_INT < (52<<16) 62 | typedef pp_context pp_context_t; 63 | typedef pp_mode pp_mode_t; 64 | extern const char *const pp_help; ///< a simple help text 65 | #else 66 | extern const char pp_help[]; ///< a simple help text 67 | #endif 68 | 69 | void pp_postprocess(const uint8_t * src[3], const int srcStride[3], 70 | uint8_t * dst[3], const int dstStride[3], 71 | int horizontalSize, int verticalSize, 72 | const QP_STORE_T *QP_store, int QP_stride, 73 | pp_mode *mode, pp_context *ppContext, int pict_type); 74 | 75 | 76 | /** 77 | * Return a pp_mode or NULL if an error occurred. 78 | * 79 | * @param name the string after "-pp" on the command line 80 | * @param quality a number from 0 to PP_QUALITY_MAX 81 | */ 82 | pp_mode *pp_get_mode_by_name_and_quality(const char *name, int quality); 83 | void pp_free_mode(pp_mode *mode); 84 | 85 | pp_context *pp_get_context(int width, int height, int flags); 86 | void pp_free_context(pp_context *ppContext); 87 | 88 | #define PP_CPU_CAPS_MMX 0x80000000 89 | #define PP_CPU_CAPS_MMX2 0x20000000 90 | #define PP_CPU_CAPS_3DNOW 0x40000000 91 | #define PP_CPU_CAPS_ALTIVEC 0x10000000 92 | #define PP_CPU_CAPS_AUTO 0x00080000 93 | 94 | #define PP_FORMAT 0x00000008 95 | #define PP_FORMAT_420 (0x00000011|PP_FORMAT) 96 | #define PP_FORMAT_422 (0x00000001|PP_FORMAT) 97 | #define PP_FORMAT_411 (0x00000002|PP_FORMAT) 98 | #define PP_FORMAT_444 (0x00000000|PP_FORMAT) 99 | 100 | #define PP_PICT_TYPE_QP2 0x00000010 ///< MPEG2 style QScale 101 | 102 | /** 103 | * @} 104 | */ 105 | 106 | #endif /* POSTPROC_POSTPROCESS_H */ 107 | -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/include/libpostproc/version.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Version macros. 3 | * 4 | * This file is part of FFmpeg. 5 | * 6 | * FFmpeg is free software; you can redistribute it and/or 7 | * modify it under the terms of the GNU Lesser General Public 8 | * License as published by the Free Software Foundation; either 9 | * version 2.1 of the License, or (at your option) any later version. 10 | * 11 | * FFmpeg is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | * Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public 17 | * License along with FFmpeg; if not, write to the Free Software 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 | */ 20 | 21 | #ifndef POSTPROC_POSTPROCESS_VERSION_H 22 | #define POSTPROC_POSTPROCESS_VERSION_H 23 | 24 | /** 25 | * @file 26 | * Libpostproc version macros 27 | */ 28 | 29 | #include "libavutil/avutil.h" 30 | 31 | #define LIBPOSTPROC_VERSION_MAJOR 52 32 | #define LIBPOSTPROC_VERSION_MINOR 3 33 | #define LIBPOSTPROC_VERSION_MICRO 100 34 | 35 | #define LIBPOSTPROC_VERSION_INT AV_VERSION_INT(LIBPOSTPROC_VERSION_MAJOR, \ 36 | LIBPOSTPROC_VERSION_MINOR, \ 37 | LIBPOSTPROC_VERSION_MICRO) 38 | #define LIBPOSTPROC_VERSION AV_VERSION(LIBPOSTPROC_VERSION_MAJOR, \ 39 | LIBPOSTPROC_VERSION_MINOR, \ 40 | LIBPOSTPROC_VERSION_MICRO) 41 | #define LIBPOSTPROC_BUILD LIBPOSTPROC_VERSION_INT 42 | 43 | #define LIBPOSTPROC_IDENT "postproc" AV_STRINGIFY(LIBPOSTPROC_VERSION) 44 | 45 | #endif /* POSTPROC_POSTPROCESS_VERSION_H */ 46 | -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/include/libswresample/version.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Version macros. 3 | * 4 | * This file is part of libswresample 5 | * 6 | * libswresample is free software; you can redistribute it and/or 7 | * modify it under the terms of the GNU Lesser General Public 8 | * License as published by the Free Software Foundation; either 9 | * version 2.1 of the License, or (at your option) any later version. 10 | * 11 | * libswresample is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | * Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public 17 | * License along with libswresample; if not, write to the Free Software 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 | */ 20 | 21 | #ifndef SWR_VERSION_H 22 | #define SWR_VERSION_H 23 | 24 | /** 25 | * @file 26 | * Libswresample version macros 27 | */ 28 | 29 | #include "libavutil/avutil.h" 30 | 31 | #define LIBSWRESAMPLE_VERSION_MAJOR 0 32 | #define LIBSWRESAMPLE_VERSION_MINOR 17 33 | #define LIBSWRESAMPLE_VERSION_MICRO 104 34 | 35 | #define LIBSWRESAMPLE_VERSION_INT AV_VERSION_INT(LIBSWRESAMPLE_VERSION_MAJOR, \ 36 | LIBSWRESAMPLE_VERSION_MINOR, \ 37 | LIBSWRESAMPLE_VERSION_MICRO) 38 | #define LIBSWRESAMPLE_VERSION AV_VERSION(LIBSWRESAMPLE_VERSION_MAJOR, \ 39 | LIBSWRESAMPLE_VERSION_MINOR, \ 40 | LIBSWRESAMPLE_VERSION_MICRO) 41 | #define LIBSWRESAMPLE_BUILD LIBSWRESAMPLE_VERSION_INT 42 | 43 | #define LIBSWRESAMPLE_IDENT "SwR" AV_STRINGIFY(LIBSWRESAMPLE_VERSION) 44 | 45 | #endif /* SWR_VERSION_H */ 46 | -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/include/libswscale/version.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of FFmpeg. 3 | * 4 | * FFmpeg is free software; you can redistribute it and/or 5 | * modify it under the terms of the GNU Lesser General Public 6 | * License as published by the Free Software Foundation; either 7 | * version 2.1 of the License, or (at your option) any later version. 8 | * 9 | * FFmpeg is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public 15 | * License along with FFmpeg; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #ifndef SWSCALE_VERSION_H 20 | #define SWSCALE_VERSION_H 21 | 22 | /** 23 | * @file 24 | * swscale version macros 25 | */ 26 | 27 | #include "libavutil/avutil.h" 28 | 29 | #define LIBSWSCALE_VERSION_MAJOR 2 30 | #define LIBSWSCALE_VERSION_MINOR 5 31 | #define LIBSWSCALE_VERSION_MICRO 101 32 | 33 | #define LIBSWSCALE_VERSION_INT AV_VERSION_INT(LIBSWSCALE_VERSION_MAJOR, \ 34 | LIBSWSCALE_VERSION_MINOR, \ 35 | LIBSWSCALE_VERSION_MICRO) 36 | #define LIBSWSCALE_VERSION AV_VERSION(LIBSWSCALE_VERSION_MAJOR, \ 37 | LIBSWSCALE_VERSION_MINOR, \ 38 | LIBSWSCALE_VERSION_MICRO) 39 | #define LIBSWSCALE_BUILD LIBSWSCALE_VERSION_INT 40 | 41 | #define LIBSWSCALE_IDENT "SwS" AV_STRINGIFY(LIBSWSCALE_VERSION) 42 | 43 | /** 44 | * FF_API_* defines may be placed below to indicate public API that will be 45 | * dropped at a future version bump. The defines themselves are not part of 46 | * the public API and may change, break or disappear at any time. 47 | */ 48 | 49 | #ifndef FF_API_SWS_GETCONTEXT 50 | #define FF_API_SWS_GETCONTEXT (LIBSWSCALE_VERSION_MAJOR < 3) 51 | #endif 52 | #ifndef FF_API_SWS_CPU_CAPS 53 | #define FF_API_SWS_CPU_CAPS (LIBSWSCALE_VERSION_MAJOR < 3) 54 | #endif 55 | #ifndef FF_API_SWS_FORMAT_NAME 56 | #define FF_API_SWS_FORMAT_NAME (LIBSWSCALE_VERSION_MAJOR < 3) 57 | #endif 58 | 59 | #endif /* SWSCALE_VERSION_H */ 60 | -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/lib/avcodec.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junjiexing/DxCap/769360619bd20d97af864272f3877d8a794eae27/ffmpeg-20131112-git-0062869-win32-dev/lib/avcodec.lib -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/lib/avdevice-55.def: -------------------------------------------------------------------------------- 1 | EXPORTS 2 | avdevice_configuration 3 | avdevice_license 4 | avdevice_register_all 5 | avdevice_version 6 | -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/lib/avdevice.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junjiexing/DxCap/769360619bd20d97af864272f3877d8a794eae27/ffmpeg-20131112-git-0062869-win32-dev/lib/avdevice.lib -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/lib/avfilter-3.def: -------------------------------------------------------------------------------- 1 | EXPORTS 2 | av_2_vs_pixel_format 3 | av_abuffersink_params_alloc 4 | av_buffersink_get_buffer_ref 5 | av_buffersink_get_frame 6 | av_buffersink_get_frame_flags 7 | av_buffersink_get_frame_rate 8 | av_buffersink_get_samples 9 | av_buffersink_params_alloc 10 | av_buffersink_poll_frame 11 | av_buffersink_read 12 | av_buffersink_read_samples 13 | av_buffersink_set_frame_size 14 | av_buffersrc_add_frame 15 | av_buffersrc_add_frame_flags 16 | av_buffersrc_add_ref 17 | av_buffersrc_buffer 18 | av_buffersrc_get_nb_failed_requests 19 | av_buffersrc_write_frame 20 | av_filter_next 21 | avfilter_add_matrix 22 | avfilter_all_channel_layouts DATA 23 | avfilter_config_links 24 | avfilter_configuration 25 | avfilter_copy_buf_props 26 | avfilter_copy_buffer_ref_props 27 | avfilter_copy_frame_props 28 | avfilter_fill_frame_from_audio_buffer_ref 29 | avfilter_fill_frame_from_buffer_ref 30 | avfilter_fill_frame_from_video_buffer_ref 31 | avfilter_free 32 | avfilter_get_audio_buffer_ref_from_arrays 33 | avfilter_get_audio_buffer_ref_from_arrays_channels 34 | avfilter_get_audio_buffer_ref_from_frame 35 | avfilter_get_buffer_ref_from_frame 36 | avfilter_get_by_name 37 | avfilter_get_class 38 | avfilter_get_matrix 39 | avfilter_get_video_buffer_ref_from_arrays 40 | avfilter_get_video_buffer_ref_from_frame 41 | avfilter_graph_add_filter 42 | avfilter_graph_alloc 43 | avfilter_graph_alloc_filter 44 | avfilter_graph_config 45 | avfilter_graph_create_filter 46 | avfilter_graph_dump 47 | avfilter_graph_free 48 | avfilter_graph_get_filter 49 | avfilter_graph_parse 50 | avfilter_graph_parse2 51 | avfilter_graph_parse_ptr 52 | avfilter_graph_queue_command 53 | avfilter_graph_request_oldest 54 | avfilter_graph_send_command 55 | avfilter_graph_set_auto_convert 56 | avfilter_init_dict 57 | avfilter_init_filter 58 | avfilter_init_str 59 | avfilter_inout_alloc 60 | avfilter_inout_free 61 | avfilter_insert_filter 62 | avfilter_license 63 | avfilter_link 64 | avfilter_link_free 65 | avfilter_link_get_channels 66 | avfilter_link_set_closed 67 | avfilter_make_format64_list 68 | avfilter_mul_matrix 69 | avfilter_next 70 | avfilter_open 71 | avfilter_pad_count 72 | avfilter_pad_get_name 73 | avfilter_pad_get_type 74 | avfilter_process_command 75 | avfilter_ref_buffer 76 | avfilter_ref_get_channels 77 | avfilter_register 78 | avfilter_register_all 79 | avfilter_sub_matrix 80 | avfilter_transform 81 | avfilter_uninit 82 | avfilter_unref_buffer 83 | avfilter_unref_bufferp 84 | avfilter_version 85 | ff_default_query_formats 86 | -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/lib/avfilter.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junjiexing/DxCap/769360619bd20d97af864272f3877d8a794eae27/ffmpeg-20131112-git-0062869-win32-dev/lib/avfilter.lib -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/lib/avformat-55.def: -------------------------------------------------------------------------------- 1 | EXPORTS 2 | av_add_index_entry 3 | av_append_packet 4 | av_close_input_file 5 | av_codec_get_id 6 | av_codec_get_tag 7 | av_codec_get_tag2 8 | av_convert_lang_to 9 | av_demuxer_open 10 | av_dump_format 11 | av_filename_number_test 12 | av_find_best_stream 13 | av_find_default_stream_index 14 | av_find_input_format 15 | av_find_program_from_stream 16 | av_find_stream_info 17 | av_fmt_ctx_get_duration_estimation_method 18 | av_format_get_audio_codec 19 | av_format_get_probe_score 20 | av_format_get_subtitle_codec 21 | av_format_get_video_codec 22 | av_format_set_audio_codec 23 | av_format_set_subtitle_codec 24 | av_format_set_video_codec 25 | av_get_frame_filename 26 | av_get_output_timestamp 27 | av_get_packet 28 | av_guess_codec 29 | av_guess_format 30 | av_guess_frame_rate 31 | av_guess_sample_aspect_ratio 32 | av_hex_dump 33 | av_hex_dump_log 34 | av_iformat_next 35 | av_index_search_timestamp 36 | av_interleaved_write_frame 37 | av_match_ext 38 | av_new_program 39 | av_new_stream 40 | av_oformat_next 41 | av_pkt_dump2 42 | av_pkt_dump_log2 43 | av_probe_input_buffer 44 | av_probe_input_buffer2 45 | av_probe_input_format 46 | av_probe_input_format2 47 | av_probe_input_format3 48 | av_read_frame 49 | av_read_packet 50 | av_read_pause 51 | av_read_play 52 | av_register_all 53 | av_register_input_format 54 | av_register_output_format 55 | av_sdp_create 56 | av_seek_frame 57 | av_set_pts_info 58 | av_stream_get_r_frame_rate 59 | av_stream_set_r_frame_rate 60 | av_url_split 61 | av_write_frame 62 | av_write_trailer 63 | avformat_alloc_context 64 | avformat_alloc_output_context 65 | avformat_alloc_output_context2 66 | avformat_close_input 67 | avformat_configuration 68 | avformat_find_stream_info 69 | avformat_free_context 70 | avformat_get_class 71 | avformat_get_riff_audio_tags 72 | avformat_get_riff_video_tags 73 | avformat_license 74 | avformat_match_stream_specifier 75 | avformat_network_deinit 76 | avformat_network_init 77 | avformat_new_stream 78 | avformat_open_input 79 | avformat_query_codec 80 | avformat_queue_attached_pictures 81 | avformat_seek_file 82 | avformat_version 83 | avformat_write_header 84 | avio_alloc_context 85 | avio_check 86 | avio_close 87 | avio_close_dyn_buf 88 | avio_closep 89 | avio_enum_protocols 90 | avio_flush 91 | avio_get_str 92 | avio_get_str16be 93 | avio_get_str16le 94 | avio_open 95 | avio_open2 96 | avio_open_dyn_buf 97 | avio_pause 98 | avio_printf 99 | avio_put_str 100 | avio_put_str16le 101 | avio_r8 102 | avio_rb16 103 | avio_rb24 104 | avio_rb32 105 | avio_rb64 106 | avio_read 107 | avio_rl16 108 | avio_rl24 109 | avio_rl32 110 | avio_rl64 111 | avio_seek 112 | avio_seek_time 113 | avio_size 114 | avio_skip 115 | avio_w8 116 | avio_wb16 117 | avio_wb24 118 | avio_wb32 119 | avio_wb64 120 | avio_wl16 121 | avio_wl24 122 | avio_wl32 123 | avio_wl64 124 | avio_write 125 | avpriv_dv_get_packet 126 | avpriv_dv_init_demux 127 | avpriv_dv_produce_packet 128 | avpriv_new_chapter 129 | avpriv_set_pts_info 130 | ff_codec_get_id 131 | ff_inet_aton 132 | ff_mpegts_parse_close 133 | ff_mpegts_parse_open 134 | ff_mpegts_parse_packet 135 | ff_rtp_get_local_rtcp_port 136 | ff_rtp_get_local_rtp_port 137 | ff_rtsp_parse_line 138 | ff_socket_nonblock 139 | ffio_open_dyn_packet_buf 140 | ffio_set_buf_size 141 | ffurl_close 142 | ffurl_open 143 | ffurl_protocol_next 144 | ffurl_read_complete 145 | ffurl_seek 146 | ffurl_size 147 | ffurl_write 148 | get_crc_table 149 | get_extension 150 | url_feof 151 | -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/lib/avformat.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junjiexing/DxCap/769360619bd20d97af864272f3877d8a794eae27/ffmpeg-20131112-git-0062869-win32-dev/lib/avformat.lib -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/lib/avutil.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junjiexing/DxCap/769360619bd20d97af864272f3877d8a794eae27/ffmpeg-20131112-git-0062869-win32-dev/lib/avutil.lib -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/lib/libavcodec.dll.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junjiexing/DxCap/769360619bd20d97af864272f3877d8a794eae27/ffmpeg-20131112-git-0062869-win32-dev/lib/libavcodec.dll.a -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/lib/libavdevice.dll.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junjiexing/DxCap/769360619bd20d97af864272f3877d8a794eae27/ffmpeg-20131112-git-0062869-win32-dev/lib/libavdevice.dll.a -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/lib/libavfilter.dll.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junjiexing/DxCap/769360619bd20d97af864272f3877d8a794eae27/ffmpeg-20131112-git-0062869-win32-dev/lib/libavfilter.dll.a -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/lib/libavformat.dll.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junjiexing/DxCap/769360619bd20d97af864272f3877d8a794eae27/ffmpeg-20131112-git-0062869-win32-dev/lib/libavformat.dll.a -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/lib/libavutil.dll.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junjiexing/DxCap/769360619bd20d97af864272f3877d8a794eae27/ffmpeg-20131112-git-0062869-win32-dev/lib/libavutil.dll.a -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/lib/libpostproc.dll.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junjiexing/DxCap/769360619bd20d97af864272f3877d8a794eae27/ffmpeg-20131112-git-0062869-win32-dev/lib/libpostproc.dll.a -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/lib/libswresample.dll.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junjiexing/DxCap/769360619bd20d97af864272f3877d8a794eae27/ffmpeg-20131112-git-0062869-win32-dev/lib/libswresample.dll.a -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/lib/libswscale.dll.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junjiexing/DxCap/769360619bd20d97af864272f3877d8a794eae27/ffmpeg-20131112-git-0062869-win32-dev/lib/libswscale.dll.a -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/lib/postproc-52.def: -------------------------------------------------------------------------------- 1 | EXPORTS 2 | postproc_configuration 3 | postproc_license 4 | postproc_version 5 | pp_free_context 6 | pp_free_mode 7 | pp_get_context 8 | pp_get_mode_by_name_and_quality 9 | pp_help DATA 10 | pp_postprocess 11 | -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/lib/postproc.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junjiexing/DxCap/769360619bd20d97af864272f3877d8a794eae27/ffmpeg-20131112-git-0062869-win32-dev/lib/postproc.lib -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/lib/swresample-0.def: -------------------------------------------------------------------------------- 1 | EXPORTS 2 | ff_float_to_int16_a_sse2 DATA 3 | ff_float_to_int16_u_sse2 DATA 4 | ff_float_to_int32_a_sse2 DATA 5 | ff_float_to_int32_u_sse2 DATA 6 | ff_int16_to_float_a_sse2 DATA 7 | ff_int16_to_float_u_sse2 DATA 8 | ff_int16_to_int32_a_mmx DATA 9 | ff_int16_to_int32_a_sse2 DATA 10 | ff_int16_to_int32_u_mmx DATA 11 | ff_int16_to_int32_u_sse2 DATA 12 | ff_int32_to_float_a_avx DATA 13 | ff_int32_to_float_a_sse2 DATA 14 | ff_int32_to_float_u_avx DATA 15 | ff_int32_to_float_u_sse2 DATA 16 | ff_int32_to_int16_a_mmx DATA 17 | ff_int32_to_int16_a_sse2 DATA 18 | ff_int32_to_int16_u_mmx DATA 19 | ff_int32_to_int16_u_sse2 DATA 20 | ff_log2_tab DATA 21 | ff_mix_1_1_a_float_avx DATA 22 | ff_mix_1_1_a_float_sse DATA 23 | ff_mix_1_1_a_int16_mmx DATA 24 | ff_mix_1_1_a_int16_sse2 DATA 25 | ff_mix_1_1_u_float_avx DATA 26 | ff_mix_1_1_u_float_sse DATA 27 | ff_mix_1_1_u_int16_mmx DATA 28 | ff_mix_1_1_u_int16_sse2 DATA 29 | ff_mix_2_1_a_float_avx DATA 30 | ff_mix_2_1_a_float_sse DATA 31 | ff_mix_2_1_a_int16_mmx DATA 32 | ff_mix_2_1_a_int16_sse2 DATA 33 | ff_mix_2_1_u_float_avx DATA 34 | ff_mix_2_1_u_float_sse DATA 35 | ff_mix_2_1_u_int16_mmx DATA 36 | ff_mix_2_1_u_int16_sse2 DATA 37 | ff_pack_2ch_float_to_int16_a_sse2 DATA 38 | ff_pack_2ch_float_to_int16_u_sse2 DATA 39 | ff_pack_2ch_float_to_int32_a_sse2 DATA 40 | ff_pack_2ch_float_to_int32_u_sse2 DATA 41 | ff_pack_2ch_int16_to_float_a_sse2 DATA 42 | ff_pack_2ch_int16_to_float_u_sse2 DATA 43 | ff_pack_2ch_int16_to_int16_a_sse2 DATA 44 | ff_pack_2ch_int16_to_int16_u_sse2 DATA 45 | ff_pack_2ch_int16_to_int32_a_sse2 DATA 46 | ff_pack_2ch_int16_to_int32_u_sse2 DATA 47 | ff_pack_2ch_int32_to_float_a_sse2 DATA 48 | ff_pack_2ch_int32_to_float_u_sse2 DATA 49 | ff_pack_2ch_int32_to_int16_a_sse2 DATA 50 | ff_pack_2ch_int32_to_int16_u_sse2 DATA 51 | ff_pack_2ch_int32_to_int32_a_sse2 DATA 52 | ff_pack_2ch_int32_to_int32_u_sse2 DATA 53 | ff_pack_6ch_float_to_float_a_avx DATA 54 | ff_pack_6ch_float_to_float_a_mmx DATA 55 | ff_pack_6ch_float_to_float_a_sse4 DATA 56 | ff_pack_6ch_float_to_float_u_avx DATA 57 | ff_pack_6ch_float_to_float_u_mmx DATA 58 | ff_pack_6ch_float_to_float_u_sse4 DATA 59 | ff_pack_6ch_float_to_int32_a_avx DATA 60 | ff_pack_6ch_float_to_int32_a_sse4 DATA 61 | ff_pack_6ch_float_to_int32_u_avx DATA 62 | ff_pack_6ch_float_to_int32_u_sse4 DATA 63 | ff_pack_6ch_int32_to_float_a_avx DATA 64 | ff_pack_6ch_int32_to_float_a_sse4 DATA 65 | ff_pack_6ch_int32_to_float_u_avx DATA 66 | ff_pack_6ch_int32_to_float_u_sse4 DATA 67 | ff_resample_int16_rounder DATA 68 | ff_unpack_2ch_float_to_int16_a_sse2 DATA 69 | ff_unpack_2ch_float_to_int16_u_sse2 DATA 70 | ff_unpack_2ch_float_to_int32_a_sse2 DATA 71 | ff_unpack_2ch_float_to_int32_u_sse2 DATA 72 | ff_unpack_2ch_int16_to_float_a_sse2 DATA 73 | ff_unpack_2ch_int16_to_float_a_ssse3 DATA 74 | ff_unpack_2ch_int16_to_float_u_sse2 DATA 75 | ff_unpack_2ch_int16_to_float_u_ssse3 DATA 76 | ff_unpack_2ch_int16_to_int16_a_sse2 DATA 77 | ff_unpack_2ch_int16_to_int16_a_ssse3 DATA 78 | ff_unpack_2ch_int16_to_int16_u_sse2 DATA 79 | ff_unpack_2ch_int16_to_int16_u_ssse3 DATA 80 | ff_unpack_2ch_int16_to_int32_a_sse2 DATA 81 | ff_unpack_2ch_int16_to_int32_a_ssse3 DATA 82 | ff_unpack_2ch_int16_to_int32_u_sse2 DATA 83 | ff_unpack_2ch_int16_to_int32_u_ssse3 DATA 84 | ff_unpack_2ch_int32_to_float_a_sse2 DATA 85 | ff_unpack_2ch_int32_to_float_u_sse2 DATA 86 | ff_unpack_2ch_int32_to_int16_a_sse2 DATA 87 | ff_unpack_2ch_int32_to_int16_u_sse2 DATA 88 | ff_unpack_2ch_int32_to_int32_a_sse2 DATA 89 | ff_unpack_2ch_int32_to_int32_u_sse2 DATA 90 | swr_alloc 91 | swr_alloc_set_opts 92 | swr_convert 93 | swr_drop_output 94 | swr_free 95 | swr_get_class 96 | swr_get_delay 97 | swr_init 98 | swr_inject_silence 99 | swr_next_pts 100 | swr_set_channel_mapping 101 | swr_set_compensation 102 | swr_set_matrix 103 | swresample_configuration 104 | swresample_license 105 | swresample_version 106 | -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/lib/swresample.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junjiexing/DxCap/769360619bd20d97af864272f3877d8a794eae27/ffmpeg-20131112-git-0062869-win32-dev/lib/swresample.lib -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/lib/swscale-2.def: -------------------------------------------------------------------------------- 1 | EXPORTS 2 | sws_addVec 3 | sws_allocVec 4 | sws_alloc_context 5 | sws_cloneVec 6 | sws_context_class DATA 7 | sws_convVec 8 | sws_convertPalette8ToPacked24 9 | sws_convertPalette8ToPacked32 10 | sws_format_name 11 | sws_freeContext 12 | sws_freeFilter 13 | sws_freeVec 14 | sws_getCachedContext 15 | sws_getCoefficients 16 | sws_getColorspaceDetails 17 | sws_getConstVec 18 | sws_getContext 19 | sws_getDefaultFilter 20 | sws_getGaussianVec 21 | sws_getIdentityVec 22 | sws_get_class 23 | sws_init_context 24 | sws_isSupportedEndiannessConversion 25 | sws_isSupportedInput 26 | sws_isSupportedOutput 27 | sws_normalizeVec 28 | sws_printVec2 29 | sws_rgb2rgb_init 30 | sws_scale 31 | sws_scaleVec 32 | sws_setColorspaceDetails 33 | sws_shiftVec 34 | sws_subVec 35 | swscale_configuration 36 | swscale_license 37 | swscale_version 38 | -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/lib/swscale.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junjiexing/DxCap/769360619bd20d97af864272f3877d8a794eae27/ffmpeg-20131112-git-0062869-win32-dev/lib/swscale.lib -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/licenses/bzip2.txt: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------- 3 | 4 | This program, "bzip2", the associated library "libbzip2", and all 5 | documentation, are copyright (C) 1996-2010 Julian R Seward. All 6 | rights reserved. 7 | 8 | Redistribution and use in source and binary forms, with or without 9 | modification, are permitted provided that the following conditions 10 | are met: 11 | 12 | 1. Redistributions of source code must retain the above copyright 13 | notice, this list of conditions and the following disclaimer. 14 | 15 | 2. The origin of this software must not be misrepresented; you must 16 | not claim that you wrote the original software. If you use this 17 | software in a product, an acknowledgment in the product 18 | documentation would be appreciated but is not required. 19 | 20 | 3. Altered source versions must be plainly marked as such, and must 21 | not be misrepresented as being the original software. 22 | 23 | 4. The name of the author may not be used to endorse or promote 24 | products derived from this software without specific prior written 25 | permission. 26 | 27 | THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS 28 | OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 29 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 30 | ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY 31 | DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 32 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE 33 | GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 34 | INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 35 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 36 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 37 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 38 | 39 | Julian Seward, jseward@bzip.org 40 | bzip2/libbzip2 version 1.0.6 of 6 September 2010 41 | 42 | -------------------------------------------------------------------------- 43 | -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/licenses/fontconfig.txt: -------------------------------------------------------------------------------- 1 | fontconfig/COPYING 2 | 3 | Copyright © 2000,2001,2002,2003,2004,2006,2007 Keith Packard 4 | Copyright © 2005 Patrick Lam 5 | Copyright © 2009 Roozbeh Pournader 6 | Copyright © 2008,2009 Red Hat, Inc. 7 | Copyright © 2008 Danilo Šegan 8 | 9 | 10 | Permission to use, copy, modify, distribute, and sell this software and its 11 | documentation for any purpose is hereby granted without fee, provided that 12 | the above copyright notice appear in all copies and that both that 13 | copyright notice and this permission notice appear in supporting 14 | documentation, and that the name of the author(s) not be used in 15 | advertising or publicity pertaining to distribution of the software without 16 | specific, written prior permission. The authors make no 17 | representations about the suitability of this software for any purpose. It 18 | is provided "as is" without express or implied warranty. 19 | 20 | THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 21 | INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO 22 | EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR 23 | CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, 24 | DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 25 | TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 26 | PERFORMANCE OF THIS SOFTWARE. 27 | 28 | -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/licenses/freetype.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junjiexing/DxCap/769360619bd20d97af864272f3877d8a794eae27/ffmpeg-20131112-git-0062869-win32-dev/licenses/freetype.txt -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/licenses/libass.txt: -------------------------------------------------------------------------------- 1 | Permission to use, copy, modify, and/or distribute this software for any 2 | purpose with or without fee is hereby granted, provided that the above 3 | copyright notice and this permission notice appear in all copies. 4 | 5 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 6 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 7 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 8 | ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 9 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 10 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 11 | OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 12 | -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/licenses/libcaca.txt: -------------------------------------------------------------------------------- 1 | DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE 2 | Version 2, December 2004 3 | 4 | Copyright (C) 2004 Sam Hocevar 5 | 14 rue de Plaisance, 75014 Paris, France 6 | Everyone is permitted to copy and distribute verbatim or modified 7 | copies of this license document, and changing it is allowed as long 8 | as the name is changed. 9 | 10 | DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE 11 | TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 12 | 13 | 0. You just DO WHAT THE FUCK YOU WANT TO. 14 | 15 | -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/licenses/libgsm.txt: -------------------------------------------------------------------------------- 1 | Copyright 1992, 1993, 1994 by Jutta Degener and Carsten Bormann, 2 | Technische Universitaet Berlin 3 | 4 | Any use of this software is permitted provided that this notice is not 5 | removed and that neither the authors nor the Technische Universitaet Berlin 6 | are deemed to have made any representations as to the suitability of this 7 | software for any purpose nor are held responsible for any defects of 8 | this software. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE. 9 | 10 | As a matter of courtesy, the authors request to be informed about uses 11 | this software has found, about bugs in this software, and about any 12 | improvements that may be of general interest. 13 | 14 | Berlin, 28.11.1994 15 | Jutta Degener 16 | Carsten Bormann 17 | 18 | oOo 19 | 20 | Since the original terms of 15 years ago maybe do not make our 21 | intentions completely clear given today's refined usage of the legal 22 | terms, we append this additional permission: 23 | 24 | Permission to use, copy, modify, and distribute this software 25 | for any purpose with or without fee is hereby granted, 26 | provided that this notice is not removed and that neither 27 | the authors nor the Technische Universitaet Berlin are 28 | deemed to have made any representations as to the suitability 29 | of this software for any purpose nor are held responsible 30 | for any defects of this software. THERE IS ABSOLUTELY NO 31 | WARRANTY FOR THIS SOFTWARE. 32 | 33 | Berkeley/Bremen, 05.04.2009 34 | Jutta Degener 35 | Carsten Bormann 36 | -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/licenses/libilbc.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 2011, The WebRTC project authors. All rights reserved. 2 | 3 | Redistribution and use in source and binary forms, with or without 4 | modification, are permitted provided that the following conditions are 5 | met: 6 | 7 | * Redistributions of source code must retain the above copyright 8 | notice, this list of conditions and the following disclaimer. 9 | 10 | * Redistributions in binary form must reproduce the above copyright 11 | notice, this list of conditions and the following disclaimer in 12 | the documentation and/or other materials provided with the 13 | distribution. 14 | 15 | * Neither the name of Google nor the names of its contributors may 16 | be used to endorse or promote products derived from this software 17 | without specific prior written permission. 18 | 19 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 20 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 21 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 22 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 23 | HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 24 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 25 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 26 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 27 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 29 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 | -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/licenses/libmodplug.txt: -------------------------------------------------------------------------------- 1 | ModPlug-XMMS and libmodplug are now in the public domain. 2 | -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/licenses/libtheora.txt: -------------------------------------------------------------------------------- 1 | Copyright (C) 2002-2009 Xiph.org Foundation 2 | 3 | Redistribution and use in source and binary forms, with or without 4 | modification, are permitted provided that the following conditions 5 | are met: 6 | 7 | - Redistributions of source code must retain the above copyright 8 | notice, this list of conditions and the following disclaimer. 9 | 10 | - Redistributions in binary form must reproduce the above copyright 11 | notice, this list of conditions and the following disclaimer in the 12 | documentation and/or other materials provided with the distribution. 13 | 14 | - Neither the name of the Xiph.org Foundation nor the names of its 15 | contributors may be used to endorse or promote products derived from 16 | this software without specific prior written permission. 17 | 18 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 19 | ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 20 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 21 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION 22 | OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 23 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 24 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 25 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 26 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 27 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 28 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 | -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/licenses/libvorbis.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 2002-2008 Xiph.org Foundation 2 | 3 | Redistribution and use in source and binary forms, with or without 4 | modification, are permitted provided that the following conditions 5 | are met: 6 | 7 | - Redistributions of source code must retain the above copyright 8 | notice, this list of conditions and the following disclaimer. 9 | 10 | - Redistributions in binary form must reproduce the above copyright 11 | notice, this list of conditions and the following disclaimer in the 12 | documentation and/or other materials provided with the distribution. 13 | 14 | - Neither the name of the Xiph.org Foundation nor the names of its 15 | contributors may be used to endorse or promote products derived from 16 | this software without specific prior written permission. 17 | 18 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 19 | ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 20 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 21 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION 22 | OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 23 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 24 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 25 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 26 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 27 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 28 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 | -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/licenses/libvpx.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 2010, The WebM Project authors. All rights reserved. 2 | 3 | Redistribution and use in source and binary forms, with or without 4 | modification, are permitted provided that the following conditions are 5 | met: 6 | 7 | * Redistributions of source code must retain the above copyright 8 | notice, this list of conditions and the following disclaimer. 9 | 10 | * Redistributions in binary form must reproduce the above copyright 11 | notice, this list of conditions and the following disclaimer in 12 | the documentation and/or other materials provided with the 13 | distribution. 14 | 15 | * Neither the name of Google, nor the WebM Project, nor the names 16 | of its contributors may be used to endorse or promote products 17 | derived from this software without specific prior written 18 | permission. 19 | 20 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 21 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 22 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 23 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 24 | HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 25 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 26 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 30 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31 | 32 | -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/licenses/openjpeg.txt: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2002-2012, Communications and Remote Sensing Laboratory, Universite catholique de Louvain (UCL), Belgium 3 | * Copyright (c) 2002-2012, Professor Benoit Macq 4 | * Copyright (c) 2003-2012, Antonin Descampe 5 | * Copyright (c) 2003-2009, Francois-Olivier Devaux 6 | * Copyright (c) 2005, Herve Drolon, FreeImage Team 7 | * Copyright (c) 2002-2003, Yannick Verschueren 8 | * Copyright (c) 2001-2003, David Janssens 9 | * Copyright (c) 2011-2012, Centre National d'Etudes Spatiales (CNES), France 10 | * Copyright (c) 2012, CS Systemes d'Information, France 11 | * 12 | * All rights reserved. 13 | * 14 | * Redistribution and use in source and binary forms, with or without 15 | * modification, are permitted provided that the following conditions 16 | * are met: 17 | * 1. Redistributions of source code must retain the above copyright 18 | * notice, this list of conditions and the following disclaimer. 19 | * 2. Redistributions in binary form must reproduce the above copyright 20 | * notice, this list of conditions and the following disclaimer in the 21 | * documentation and/or other materials provided with the distribution. 22 | * 23 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS `AS IS' 24 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 25 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 26 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 27 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 28 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 29 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 30 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 31 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 32 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 33 | * POSSIBILITY OF SUCH DAMAGE. 34 | */ 35 | -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/licenses/opus.txt: -------------------------------------------------------------------------------- 1 | Copyright 2001-2011 Xiph.Org, Skype Limited, Octasic, 2 | Jean-Marc Valin, Timothy B. Terriberry, 3 | CSIRO, Gregory Maxwell, Mark Borgerding, 4 | Erik de Castro Lopo 5 | 6 | Redistribution and use in source and binary forms, with or without 7 | modification, are permitted provided that the following conditions 8 | are met: 9 | 10 | - Redistributions of source code must retain the above copyright 11 | notice, this list of conditions and the following disclaimer. 12 | 13 | - Redistributions in binary form must reproduce the above copyright 14 | notice, this list of conditions and the following disclaimer in the 15 | documentation and/or other materials provided with the distribution. 16 | 17 | - Neither the name of Internet Society, IETF or IETF Trust, nor the 18 | names of specific contributors, may be used to endorse or promote 19 | products derived from this software without specific prior written 20 | permission. 21 | 22 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 23 | ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 24 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 25 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 26 | OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 27 | EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 28 | PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 29 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 30 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 31 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 32 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 33 | 34 | Opus is subject to the royalty-free patent licenses which are 35 | specified at: 36 | 37 | Xiph.Org Foundation: 38 | https://datatracker.ietf.org/ipr/1524/ 39 | 40 | Microsoft Corporation: 41 | https://datatracker.ietf.org/ipr/1914/ 42 | 43 | Broadcom Corporation: 44 | https://datatracker.ietf.org/ipr/1526/ 45 | -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/licenses/soxr.txt: -------------------------------------------------------------------------------- 1 | SoX Resampler Library Copyright (c) 2007-13 robs@users.sourceforge.net 2 | 3 | This library is free software; you can redistribute it and/or modify it 4 | under the terms of the GNU Lesser General Public License as published by 5 | the Free Software Foundation; either version 2.1 of the License, or (at 6 | your option) any later version. 7 | 8 | This library is distributed in the hope that it will be useful, but 9 | WITHOUT ANY WARRANTY; without even the implied warranty of 10 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser 11 | General Public License for more details. 12 | 13 | You should have received a copy of the GNU Lesser General Public License 14 | along with this library; if not, write to the Free Software Foundation, 15 | Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 16 | 17 | 18 | Notes 19 | 20 | 1. Re software in the `examples' directory: works that are not resampling 21 | examples but are based on the given examples -- for example, applications using 22 | the library -- shall not be considered to be derivative works of the examples. 23 | 24 | 2. If building with pffft.c, see the licence embedded in that file. 25 | -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/licenses/speex.txt: -------------------------------------------------------------------------------- 1 | Copyright 2002-2008 Xiph.org Foundation 2 | Copyright 2002-2008 Jean-Marc Valin 3 | Copyright 2005-2007 Analog Devices Inc. 4 | Copyright 2005-2008 Commonwealth Scientific and Industrial Research 5 | Organisation (CSIRO) 6 | Copyright 1993, 2002, 2006 David Rowe 7 | Copyright 2003 EpicGames 8 | Copyright 1992-1994 Jutta Degener, Carsten Bormann 9 | 10 | Redistribution and use in source and binary forms, with or without 11 | modification, are permitted provided that the following conditions 12 | are met: 13 | 14 | - Redistributions of source code must retain the above copyright 15 | notice, this list of conditions and the following disclaimer. 16 | 17 | - Redistributions in binary form must reproduce the above copyright 18 | notice, this list of conditions and the following disclaimer in the 19 | documentation and/or other materials provided with the distribution. 20 | 21 | - Neither the name of the Xiph.org Foundation nor the names of its 22 | contributors may be used to endorse or promote products derived from 23 | this software without specific prior written permission. 24 | 25 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 26 | ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 27 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 28 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR 29 | CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 30 | EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 31 | PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 32 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 33 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 34 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 35 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 36 | -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/licenses/vid.stab.txt: -------------------------------------------------------------------------------- 1 | In this project is open source in the sense of the GPL. 2 | 3 | * This program is free software; you can redistribute it and/or modify * 4 | * it under the terms of the GNU General Public License as published by * 5 | * the Free Software Foundation; either version 2 of the License, or * 6 | * (at your option) any later version. * 7 | * * 8 | * You should have received a copy of the GNU General Public License * 9 | * along with this program; if not, write to the * 10 | * Free Software Foundation, Inc., * 11 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * 12 | * * 13 | * This program is distributed in the hope that it will be useful, * 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of * 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 16 | * GNU General Public License for more details. * 17 | -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/licenses/wavpack.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 1998 - 2009 Conifer Software 2 | All rights reserved. 3 | 4 | Redistribution and use in source and binary forms, with or without 5 | modification, are permitted provided that the following conditions are met: 6 | 7 | * Redistributions of source code must retain the above copyright notice, 8 | this list of conditions and the following disclaimer. 9 | * Redistributions in binary form must reproduce the above copyright notice, 10 | this list of conditions and the following disclaimer in the 11 | documentation and/or other materials provided with the distribution. 12 | * Neither the name of Conifer Software nor the names of its contributors 13 | may be used to endorse or promote products derived from this software 14 | without specific prior written permission. 15 | 16 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 17 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 18 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 19 | ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR 20 | ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 21 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 22 | SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 23 | CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 24 | OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 25 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26 | -------------------------------------------------------------------------------- /ffmpeg-20131112-git-0062869-win32-dev/licenses/zlib.txt: -------------------------------------------------------------------------------- 1 | /* zlib.h -- interface of the 'zlib' general purpose compression library 2 | version 1.2.7, May 2nd, 2012 3 | 4 | Copyright (C) 1995-2012 Jean-loup Gailly and Mark Adler 5 | 6 | This software is provided 'as-is', without any express or implied 7 | warranty. In no event will the authors be held liable for any damages 8 | arising from the use of this software. 9 | 10 | Permission is granted to anyone to use this software for any purpose, 11 | including commercial applications, and to alter it and redistribute it 12 | freely, subject to the following restrictions: 13 | 14 | 1. The origin of this software must not be misrepresented; you must not 15 | claim that you wrote the original software. If you use this software 16 | in a product, an acknowledgment in the product documentation would be 17 | appreciated but is not required. 18 | 2. Altered source versions must be plainly marked as such, and must not be 19 | misrepresented as being the original software. 20 | 3. This notice may not be removed or altered from any source distribution. 21 | 22 | Jean-loup Gailly Mark Adler 23 | jloup@gzip.org madler@alumni.caltech.edu 24 | 25 | */ 26 | 27 | --------------------------------------------------------------------------------