Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-05-21multiple inclusion guard cleanupDiego Biurrun
Add missing multiple inclusion guards; clean up #endif comments; add missing library prefixes; keep guard names consistent.
2011-05-14Add av_clip_uintp2() functionMans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-05-12configure: Do not unconditionally add -D_POSIX_C_SOURCE to CPPFLAGS.Diego Biurrun
Adding _POSIX_C_SOURCE to CPPFLAGS globally produces all sorts of problems since it causes certain system functions to be hidden on some (BSD) systems. The solution is to only add the flag on systems that really require it, i.e. glibc-based ones. This change makes BSD systems compile out-of-the-box without the need for adding specific flags manually. It also allows dropping a number of flags set manually on a file-per-file basis, but were only present to work around breakage introduced by the presence of _POSIX_C_SOURCE. Also add _XOPEN_SOURCE to CPPFLAGS for glibc systems. We use XSI extensions in several places already, so it is preferable to define it globally instead of littering source files with individual #defines only needed for glibc.
2011-05-12swscale: fix YUV420P 9/10bit support.Ronald S. Bultje
Fix handling of input if not in native endianness, and add support for 9/10-bit output. This allows us to force endianness of YUV420P 9/10bit in the H264/10bit fate tests, which should fix them on big-endian systems.
2011-05-11swscale: extend YUV422p support to 10bits depthBaptiste Coudurier
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-11Remove unused softfloat implementation.Diego Biurrun
The softfloat functionality is unused, not installed and incomplete. On platforms without floating point units, the compiler provides a softfloat implementation so there is no point in carrying this code around locally.
2011-05-10AVOptions: make default_val a union, as proposed in AVOption2.Anton Khirnov
This breaks API and ABI.
2011-05-10Add pixel formats for 9- and 10-bit yuv420p.Oskar Arvidsson
Also add support for these formats in libswscale. Needed for high bit depth h264 decoding. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-05-09log: Fix an oob array read.Alex Converse
2011-05-08Ban strncpy() it's too easy to misuse.Alex Converse
2011-05-04Replace strncpy() with av_strlcpy().Alex Converse
2011-04-30Fix races in default av_log handlerReinhard Tartler
Prevent competing threads from overwriting (shared) buffers. Original patch by: Michael Niedermayer <michaelni@gmx.at>
2011-04-29bswap.h: Remove disabled code.Diego Biurrun
2011-04-26Eliminate pointless '#if 1' statements without matching '#else'.Diego Biurrun
2011-04-26Increase alignment of av_malloc() as needed by AVX ASM.Vitor Sessak
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
2011-04-26lavc: deprecate FF_*_TYPE macros in favor of AV_PICTURE_TYPE_* enumsStefano Sabatini
Also deprecate av_get_pict_type_char() in favor of av_get_picture_type_char(). The new enum and av_get_picture_type_char() are defined in libavutil. This allows the use in libavfilter without the need to link against libavcodec. Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it> Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-04-23bswap: use native types for av_bwap16().Jason Garrett-Glaser
This prevents a call to bytestream_get_be16() using a movzwl both before and after the ror instruction, which is obviously inefficient. Arm uses the same trick also. Sintel decoding goes from (avg+SD) 9.856 +/- 0.003 to 9.797 +/- 0.003 sec. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-04-21error: sort, pack, and align error code and string definitionsStefano Sabatini
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2011-04-21Provide a fallback version of the libm function truncMartin Storsjö
This fixes compilation on DOS. Signed-off-by: Martin Storsjö <martin@martin.st>
2011-04-21error: change AVERROR_EOF valueAnton Khirnov
The current value is masking the POSIX error code EPIPE, which has a different semantics. This breaks API. Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it> Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-04-21error: remove AVERROR_NUMEXPECTEDStefano Sabatini
AVERROR_NUMEXPECTED is used only in the image muxer and demuxer, and has a too much specific meaning, which is better explained through a log message. Thus it can be replaced by AVERROR(EINVAL). This breaks API. Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it> Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-04-21error: add error code AVERROR_OPTION_NOT_FOUND, and use it in opt.cStefano Sabatini
The new error code is better than AVERROR(ENOENT), which has a completely different semantics ("No such file or directory"). Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it> Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-04-20Remove a version check in av_log made unnecessary by the big bump.Diego Biurrun
2011-04-19lavu: remove disabled ff_random_get_seed cruft.Anton Khirnov
2011-04-19lavu: remove disabled sha1 cruft.Anton Khirnov
2011-04-19lavu: remove misc disabled cruftAnton Khirnov
2011-04-19lavu: remove FF_API_OLD_IMAGE_NAMES cruftAnton Khirnov
2011-04-19lavu: remove FF_API_OLD_EVAL_NAMES cruftAnton Khirnov
2011-04-18Bump major versions of all libraries.Anton Khirnov
They've accumulated enough new APIs and corresponding deprecated cruft. This breaks API and ABI.
2011-04-17Replace more FFmpeg references by Libav.Diego Biurrun
2011-04-15avutil: make aes and sha api publicAlexis Ballier
The functions are already av_ prefixed and sha1 header is already provided. Install libavutil/{aes,sha}.h Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2011-04-10eval: add support for trunc, ceil, and floor functionsStefano Sabatini
Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it> Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-04-10os: fix OpenBSD/PowerPC compilationBrad
When attempting to re-enable the AltiVec support it was noticed that we need to undefine _POSIX_C_SOURCE to appease the headers for ff_get_cpu_flags_ppc() to be able to compile. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2011-04-10pixfmt: add PIX_FMT_BGR48LE and PIX_FMT_BGR48BEPeter Ross
PIX_FMT_BGR48LE is used by PhantomCINE demuxer. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2011-03-23Remove unnecessary icc version checksMans Rullgard
With unknown attribute warnings disabled, these checks are no longer needed. Removing them improves readability while having no effect on generated code. Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-03-22cosmetics: indentationJustin Ruggles
2011-03-22Add a CPU flag for the Atom processor.Justin Ruggles
The Atom has SSSE3 support, which is useful in many cases, but sometimes the SSSE3 version is slower than the SSE2 equivalent on the Atom, but is generally faster on other processors supporting SSSE3. This flag allows for selectively disabling certain SSSE3 functions on the Atom.
2011-03-19Replace FFmpeg with Libav in licence headersMans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-03-16use LIBAV_LICENSE and LIBAV_VERSION instead of FFMPEG_*Janne Grunau
2011-03-16replace FFMPEG with LIBAV in FFMPEG_CONFIGURATIONJanne Grunau
also update the multiple inclusion guards in config.h|mak
2011-03-15Add AVERROR_EXIT.Nicolas George
This is different from AVERROR(EINTR) because calls that fail with EINTR should usually be restarted. Signed-off-by: Nicolas George <nicolas.george@normalesup.org> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-02-20x86: use raw opcode for xgetbv instructionMans Rullgard
This allows the CPU detection to work with assemblers not supporting the xgetbv mnemonic. These include clang and some BSD versions. All AVX code will be written for yasm, where the main assembler is not involved. Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-02-20x86: check for AVX supportMans Rullgard
This adds configure and runtime checks for AVX support on x86 CPUs. Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-02-18Force inlining of avutil common routinesJason Garrett-Glaser
On some versions of gcc, these weren't always getting inlined due to hitting the inline cap limit in some files. This is generally bad, as most of these functions are smaller inlined than not.
2011-02-17lavf, lavu: bump minor versions and add an APIChanges entry for av_ prefixesAnton Khirnov
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
2011-02-17Move find_info_tag to lavu and add av_ prefix to itAnton Khirnov
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
2011-02-17Deprecate parse_date() in favor of av_parse_time().Stefano Sabatini
The new av_parse_time() is created in libavutil/parseutils.h, all the internal functions used by parse_date are moved to libavutil/parseutils.c and made static. Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-02-15Merge libavcore into libavutilReinhard Tartler
It is pretty hopeless that other considerable projects will adopt libavutil alone in other projects. Projects that need small footprint are better off with more specialized libraries such as gnulib or rather just copy the necessary parts that they need. With this in mind, nobody is helped by having libavutil and libavcore split. In order to ease maintenance inside and around FFmpeg and to reduce confusion where to put common code, avcore's functionality is merged (back) to avutil. Signed-off-by: Reinhard Tartler <siretart@tauware.de>
2011-02-12Add check for Athlon64 and similar AMD processors with slow SSE2.Justin Ruggles
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-02-09Frame-based multithreading framework using pthreadsAlexander Strange
See doc/multithreading.txt for details on use in codecs. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>