summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* log: Only include unistd.h if configure found itMartin Storsjö2012-06-24
| | | | | | | MSVC has isatty (in io.h), but not unistd.h. (isatty isn't called at all for windows, since there's a special case block for that.) Signed-off-by: Martin Storsjö <martin@martin.st>
* ape: create audio stream before reading tags.Anton Khirnov2012-06-24
| | | | | | | Tags may contain attached picture, which will be exported as video streams. This ensures that the audio stream is always the first.
* mov: make a length variable larger.Anton Khirnov2012-06-24
| | | | | Right now, it's uint16_t, but for itunes metadata a 32bit number is stored in it.
* image2: Add "start_number" private option to the demuxerMashiat Sarker Shakkhar2012-06-24
| | | | | | | Currently if a pattern is given we look for up to the fifth file name in the sequence. This option sets that limit to an arbitrary number. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* image2: Add "start_number" private option to the muxerMashiat Sarker Shakkhar2012-06-24
| | | | | | | | | This adds the capability to start counting file number from an arbitrary integer. This includes a few lines of trivial code from FFmpeg codebase. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avconv: remove a forgotten debugging printf.Anton Khirnov2012-06-24
|
* avconv: use more descriptive names for hardcoded filters.Anton Khirnov2012-06-24
| | | | | | Also ensure that all such filters get a non-NULL name. Should fix FATE failures on some architectures after 58b049f2fa4f192b00baadb5f1f32ca366f936ea.
* avconv: remove redundant handling of async.Anton Khirnov2012-06-24
| | | | | | Because of a mistake during merging the code for simple and complex filtergraphs, -async inserts an asyncts filter both on input and output. Remove the output hunk.
* doc/filters: fix typo.Anton Khirnov2012-06-24
|
* h264: use asm cabac reader under a generic conditionMans Rullgard2012-06-23
| | | | | | | | This removes a dependency on implementation details from generic code and allows easy addition of the equivalent optimisation for other architectures than x86. Signed-off-by: Mans Rullgard <mans@mansr.com>
* x86: Only use optimizations with cmov if the CPU supports the instructionDiego Biurrun2012-06-23
|
* x86: Add CPU flag for the i686 cmov instructionDiego Biurrun2012-06-23
|
* x86: remove unused inline asm macros from dsputil_mmx.hMans Rullgard2012-06-23
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* x86: move some inline asm macros to the only places they are usedMans Rullgard2012-06-23
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* lavfi: Add the af_channelmap audio channel mapping filter.Alex Converse2012-06-22
| | | | Inspired by MPlayer's af_channels filter and SoX's remix effect.
* lavfi: add join audio filter.Anton Khirnov2012-06-22
| | | | It joins multiple input streams into one multi-channel output.
* lavfi: allow audio filters to request a given number of samples.Anton Khirnov2012-06-22
| | | | This makes synchronization simpler for filters with multiple inputs.
* lavfi: support automatically inserting the fifo filter when needed.Anton Khirnov2012-06-22
| | | | This breaks libavfilter ABI.
* lavfi/audio: eliminate ff_default_filter_samples().Anton Khirnov2012-06-22
| | | | | | | | | | | | It currently does the following: 1) get a zeroed audio buffer 2) copy some properties (but not the data) of the input buffer to it 3) pass this buffer to the output filter This looks useless and is indeed not used by any filters, therefore delete it. Make ff_null_filter_samples() (just pass the buffer to the next filter) the new default.
* libspeexenc: add supported sample rates and channel layouts.Anton Khirnov2012-06-22
|
* Replace usleep() calls with av_usleep()Mans Rullgard2012-06-22
| | | | | | | This reduces the dependency on unistd.h which is not available on all systems. Signed-off-by: Mans Rullgard <mans@mansr.com>
* lavu: add av_usleep() functionMans Rullgard2012-06-22
| | | | | | | | | | | | | | | This function implements a delay using the first available of the following functions: - nanosleep() - usleep() - Sleep() (Windows) The conditional #includes in time.c are simplified by including unistd.h and windows.h whenever they are available rather than having these lines triggered by specific functions. Signed-off-by: Mans Rullgard <mans@mansr.com>
* utvideo: mark interlaced frames as suchHendrik Leppkes2012-06-22
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* utvideo: Fix interlaced prediction for RGB utvideo.Carl Eugen Hoyos2012-06-22
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* cosmetics: do not use full path for local headersDiego Biurrun2012-06-22
|
* lavu/file: include unistd.h only when availableMans Rullgard2012-06-21
| | | | | | | | The unistd.h header is only needed for the close() declaration. If this header is not available, the close() declaration may be provided by another header, e.g. io.h. Signed-off-by: Mans Rullgard <mans@mansr.com>
* configure: check for unistd.hMans Rullgard2012-06-21
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* log: include unistd.h only when neededMans Rullgard2012-06-21
| | | | | | | | | The only symbol this file uses from unistd.h is isatty(). By including the header only when this function is used, the file can be built on systems without unistd.h (which presumably also lack isatty). Signed-off-by: Mans Rullgard <mans@mansr.com>
* lavf: include libavutil/time.h instead of redeclaring av_gettime()Mans Rullgard2012-06-21
| | | | | | This avoids some warnings about redundant declarations. Signed-off-by: Mans Rullgard <mans@mansr.com>
* fix hardcoded tables compililation caused by missing math constantsJanne Grunau2012-06-21
| | | | | | Add -D_XOPEN_SOURCE=600 to host cflags to make the constants in math.h available. Include math.h where necessary and remove redundant M_PI defines.
* lavf: Make codec_tag arrays constantRonald S. Bultje2012-06-21
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* twinvq: give massive struct a name.Ronald S. Bultje2012-06-21
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* lavf, lavu: version bumps and APIchanges for av_gettime() moveMans Rullgard2012-06-21
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* lavfi/audio: don't set cur_buf in ff_filter_samples().Anton Khirnov2012-06-21
| | | | | | It's redundant, since the input buffer is passed as a parameter to the filter_samples() callback, and can lead to stale pointers remaining on the link.
* lavfi/fifo: add audio version of the fifo filter.Anton Khirnov2012-06-21
|
* fifo: fix parenthesis placement.Anton Khirnov2012-06-21
|
* lavfi: rename vf_fifo.c -> fifo.cAnton Khirnov2012-06-21
| | | | It will be used for audio too.
* lavc: remove stats_in from AVCodecContext options table.Anton Khirnov2012-06-21
| | | | | | | | | | | | Its documentation states that it is allocated/freed by the caller, but it is declared as an AV_OPT_TYPE_STRING AVOption. Since 367732832faaf1bac4ece37cf7fef8c911e16312 the AVOptions system frees strings automatically. This can be considered an API break, since it won't work when the caller doesn't use av_malloc() to allocate the memory or wants to use the string after closing the codec. Since there is not much value in this field being an AVOption, the best solution is to remove it from the options table.
* MS Screen 1 decoderKostya Shishkov2012-06-20
|
* aacdec: Fix popping channel layouts.Alex Converse2012-06-20
| | | | | 'channel_layout' not 'channels' from the stored configuration should go to AVCodecContext's 'channel_layout'.
* av_gettime: support Win32 without gettimeofday()Mans Rullgard2012-06-20
| | | | | | Based on patch by Ronald S. Bultje. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Use av_gettime() in various placesMans Rullgard2012-06-20
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Move av_gettime() to libavutilMans Rullgard2012-06-20
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* dct-test: use emms_c() from libavutil instead of duplicating itMans Rullgard2012-06-20
|
* mov: fix operator precedence bugRonald S. Bultje2012-06-20
|
* mathematics.h: remove a couple of math definesJanne Grunau2012-06-20
| | | | | | | | While these defines are not defined by the C standard they are standardized as X/Open System Interfaces Extension. We use the appropiate _XOPEN_SOURCE define to make them available. They seem to be available on all FATE configs since the constants are used in files where mathematics.h is not included.
* Remove unnecessary inclusions of [sys/]time.hMans Rullgard2012-06-20
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* lavf: remove unnecessary inclusions of unistd.hMans Rullgard2012-06-20
| | | | | | These files do not use anything provided by unistd.h. Signed-off-by: Mans Rullgard <mans@mansr.com>
* bfin: libswscale: add const where appropriate to fix warningsMans Rullgard2012-06-20
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* bfin: libswscale: remove unnecessary #includesMans Rullgard2012-06-20
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>