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

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-06-28avutil: Remove unused arbitrary precision integer code.Diego Biurrun
2011-06-25build: Remove redundant config.mak includes from subdirectory Makefiles.Diego Biurrun
Calling Make from subdirectories is not supported and config.mak has multiple inclusion guards anyway, so the top-level include is enough.
2011-06-24doxygen: Consistently use '@' instead of '\' for Doxygen markup.Diego Biurrun
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2011-06-23Use av_printf_format to check the usage of printf style functionsMartin Storsjö
This helps catching cases where the format string doesn't match what is passed in, or injection bugs where user data is passed in as format string. Signed-off-by: Martin Storsjö <martin@martin.st>
2011-06-23Add av_printf_format, for marking printf style format strings and their ↵Martin Storsjö
parameters Signed-off-by: Martin Storsjö <martin@martin.st>
2011-06-23ARM: allow building in Thumb2 modeMans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-06-16intreadwrite.h: fix AV_RL32/AV_RB32 signedness.Uoti Urpala
The output type of the AV_RL32/AV_RB32 macros was signed int. The resulting overflow broke at least some ASF streams with large timestamps. Fix by adding a cast to uint32_t. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-06-16Add minor bumps and APIChanges entries for lavf private options.Anton Khirnov
2011-06-16dict: add AV_DICT_APPEND flag.Anton Khirnov
2011-06-16AVOptions: add av_opt_find() as a replacement for av_find_opt.Anton Khirnov
2011-06-16AVOptions: add av_opt_set_dict() mapping a dictionary struct to a context.Anton Khirnov
This way the caller can pass all the options in one nice package.
2011-06-10libavutil/swscale: YUV444P10/YUV444P9 support.Ronald S. Bultje
Also add missing glue code for recently added YUV422P10 formats to swscale. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-06-10avoptions: Add an av_opt_flag_is_set function for inspecting flag fieldsMartin Storsjö
Signed-off-by: Martin Storsjö <martin@martin.st>
2011-06-08Move metadata API from lavf to lavu.Anton Khirnov
Rename it to AVDictionary, since it will be used as such. Tags documentation and metadata conversion API is lavf-specific, so remains there.
2011-06-07samplefmt: add av_get_bytes_per_sample()Stefano Sabatini
Deprecate av_get_bits_per_sample_fmt(), which was a misnamed function. For the moment we don't have sample formats with a non-integer number of bytes, in that case we may need to create a new av_get_bits_per_sample() function. In the meanwhile we prefer to adopt this variant, since avoids divisions by 8 all over the place.
2011-06-07inverse.c: Replace unnecessary intmath.h header by necessary stdint.h.Diego Biurrun
2011-06-07Drop unnecessary directory prefixes from #include directives.Diego Biurrun
2011-06-05Remove unnecessary LIBAVFORMAT_BUILD #ifdef.Diego Biurrun
2011-06-05AVOptions: add av_opt_free convenience function.Anton Khirnov
2011-06-05Fix build of eval-test programMans Rullgard
eval.c has moved to libavutil, move the TESTPROGS entry too. Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-06-04Fix error check in av_file_map()Mans Rullgard
On failure, mmap() returns MAP_FAILED, which may or may not be -1. Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-05-31ARM: simplify inline asm with 64-bit operandsMans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-05-28ARM: improve FASTDIV asmMans Rullgard
This uses one register less. Also add missing "cc" clobber. Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-05-28lavu: add av_get_pix_fmt_name() convenience functionStefano Sabatini
Also deprecate avcodec_get_pix_fmt_name() in its favor. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-05-26ARM: add ARMv6 optimised av_clip_uintp2Mans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-05-26ARM: remove volatile from asm statements in libavutil/intmathMans Rullgard
The volatile qualifiers are not needed on these statements as their effects are fully specified by constraints. Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-05-26ARM: fix av_clipl_int32_arm()Mans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-05-26AVOptions: set string default values.Anton Khirnov
2011-05-25avoptions: Return explicitly NAN or {0,0} if the option isn't foundMartin Storsjö
This actually matches what av_get_double did earlier, the 0.0/0.0 division was intentional, for producing NAN. Still keeping the check for the return value from av_get_number, for clarity. Signed-off-by: Martin Storsjö <martin@martin.st>
2011-05-24Move emms_c() from libavcodec to libavutil.Ronald S. Bultje
2011-05-22avoptions: Check the return value from av_get_numberMartin Storsjö
This avoids doing a division by zero if the option wasn't found, or wasn't an option of an appropriate type. Signed-off-by: Martin Storsjö <martin@martin.st>
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>