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
2012-12-08opt: Add support to query rangesMichael Niedermayer
Reviewed-by: Stefano Sabatini <stefasab@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-12-05av_assert should use AV_LOG_PANIC.Reimar Döffinger
The description of AV_LOG_PANIC 100% matches what av_assert does, while AV_LOG_FATAL does not really. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
2012-12-02lavu/parseutils: accept %J for hours >= 24.Nicolas George
Allow to parse durations >= 24:00:00.
2012-12-01lavu/opt: allow to set sample and pixel format with av_opt_set_int()Stefano Sabatini
This change requires the user to specify min and max value, and makes possible to prevent the user to set AV_{SAMPLE,PIX}_FMT_NONE if forbidden. Add required ifdeffery in case of mixed libraries, when libavutil is updated but not the other libraries. This is a followup of 08d0969c1402ccec4dce44bd430128fb59d7b790.
2012-11-30lavu/opt: change the way default pixel and sample format value is setStefano Sabatini
Use the i64 field rather than the string value. Using a string to set a default sample/pixel format is weird, also the new interface is more consistent with the rest of the API. This is technically an API break, but hopefully there are no applications using this feature outside of FFmpeg. In order to save backward compatibility with mixed libraries in case libavutil is updated but not the other libraries, some ifdeffery hacks are added. Note that the version check is only performed when class->version != 0, since if it is not defined then we assume that no version was defined and the class is not affected by the change. We will luckily get rid of the hack at the next major bump.
2012-11-26lavu/samplefmt: return the size of the allocated samples buffer at the next bumpStefano Sabatini
Make the functions av_samples_fill_arrays, av_samples_alloc, and avcodec_fill_audio_frame return a buffer size rather than 0 in case of success. This will be enabled at the next libavutil major bump, in order to preserve backward compatibility. Returning the size allows to simplify the code, avoiding a few function calls.
2012-11-25lavu/opt: add support for reading pixel and sample format through av_get_int()Stefano Sabatini
Simplify backward compatibility, when switching from AV_OPT_TYPE_INT to AV_OPT_TYPE_SAMPLE/PIXEL_FMT.
2012-11-25lavu/imgutils: add consistency checks to av_image_copy_plane()Stefano Sabatini
Add assertions and abort in case of invalid |dst_linesize| < bytewidth or |src_linesize| < bytewidth. Avoid to silently corrupt memory.
2012-11-25lavu/opt: add av_opt_ accessors for pixel/format/image size optionsStefano Sabatini
The interface is implemented against the style of the other options accessors. Possibly simplify programmatic setting of options.
2012-11-17lavu/bprint: implement av_bprint_strftime().Nicolas George
2012-11-17Merge commit '8f5587c3d0bc4b5f075e4282215bda91a21fc12e'Michael Niedermayer
* commit '8f5587c3d0bc4b5f075e4282215bda91a21fc12e': cpu.h: define AV_CPU_FLAG_MMX2 for libavutil major 52 h264: Fix parameters to ff_er_add_slice() call h264: always check ref_count for validity Conflicts: libavcodec/h264.c libavutil/cpu.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-16cpu.h: define AV_CPU_FLAG_MMX2 for libavutil major 52Janne Grunau
2012-11-16lavu/opt: fix av_opt_get_key_value() API.Nicolas George
Do not skip the end delimiter. Reserve positive return values. This is an API break, but the function was introduced less than two weeks ago.
2012-11-12Merge commit '97bf7c03b1338a867da52c159a2afecbdedcfa88'Michael Niedermayer
* commit '97bf7c03b1338a867da52c159a2afecbdedcfa88': doc: git-howto: Leave reviewers time to react before pushing patches Include libavutil/channel_layout.h instead of libavutil/audioconvert.h lavu: rename audioconvert.* to channel_layout.* and deprecate audioconvert.h Conflicts: doc/APIchanges doc/examples/decoding_encoding.c doc/git-howto.texi ffmpeg_filter.c libavcodec/flacdec.c libavcodec/imc.c libavcodec/mpegaudiodec.c libavcodec/utils.c libavfilter/asrc_anullsrc.c libavfilter/audio.c libavfilter/avfilter.c libavfilter/avfilter.h libavfilter/avfiltergraph.c libavfilter/buffer.c libavutil/Makefile libavutil/audioconvert.h libavutil/channel_layout.c libavutil/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-11lavu: rename audioconvert.* to channel_layout.* and deprecate audioconvert.hJustin Ruggles
2012-11-08lavu: remove disabled FF_API_OLD_EVAL_NAMES codeStefano Sabatini
2012-11-06Merge commit '5ff998a233d759d0de83ea6f95c383d03d25d88e'Michael Niedermayer
* commit '5ff998a233d759d0de83ea6f95c383d03d25d88e': flacenc: use uint64_t for bit counts flacenc: remove wasted trailing 0 bits lavu: add av_ctz() for trailing zero bit count flacenc: use a separate buffer for byte-swapping for MD5 checksum on big-endian fate: aac: Place LATM tests and general AAC tests in different groups build: The A64 muxer depends on rawenc.o for ff_raw_write_packet() Conflicts: doc/APIchanges libavutil/version.h tests/fate/aac.mak Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-06lavu: add av_ctz() for trailing zero bit countJustin Ruggles
2012-11-04lavu: drop disabled FF_API_OLD_TC_ADJUST_FRAMENUM codeStefano Sabatini
2012-11-04lavu/opt: implement av_opt_get_key_value().Nicolas George
This function does the low-level work of av_opt_set_from_string() but can be used when there is no option context or when a generic handling of unknown keys is needed. av_opt_set_from_string() is changed to make use of it.
2012-11-03lavu/opt: add AV_OPT_SAMPLE_FMT optionStefano Sabatini
2012-11-02lavu/bprint: add av_bprint_get_buffer().Nicolas George
It is useful to use bprint to handle a growing buffer used with another API.
2012-10-27lavu: add av_clip64()Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-23Merge commit '8b8899ac3233b4f7af83ded0dc032fad8902d714'Michael Niedermayer
* commit '8b8899ac3233b4f7af83ded0dc032fad8902d714': fate: Declare avcodec/avformat deps in the respective Makefile snippets fate: Add dependencies for WMA and WavPack tests Improve wording and spelling of av_log_missing_feature messages. lavu: remove disabled FF_API_AV_FIFO_PEEK cruft Conflicts: libavcodec/aacsbr.c libavutil/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-23Merge commit 'c692957c4edd119920cd7f2121628dd183589e6a'Michael Niedermayer
* commit 'c692957c4edd119920cd7f2121628dd183589e6a': lavu: remove disabled avoptions cruft lavu: remove disabled FF_API_GET_BITS_PER_SAMPLE_FMT cruft Conflicts: libavutil/opt.c libavutil/opt.h libavutil/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-23Merge commit 'add3a6902ea4d459f36655656a1f8daa409118a7'Michael Niedermayer
* commit 'add3a6902ea4d459f36655656a1f8daa409118a7': lavu: bump major to 52 Conflicts: libavutil/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-23Merge commit '2b8dd371e4d276ca0d342e82b8b4cc281be0630a'Michael Niedermayer
* commit '2b8dd371e4d276ca0d342e82b8b4cc281be0630a': lavu: postpone recent deprecations until the next major bump APIchanges: update lavr bump date avconv: only apply presets when we have an encoder. atrac3: replace a calculation with FFALIGN() atrac3: remove unused ATRAC3Context field, sample_rate atrac3: use sizeof(variable) instead of sizeof(type) atrac3: simplify MDCT window calculation Conflicts: doc/APIchanges Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-23lavu: remove disabled avoptions cruftAnton Khirnov
2012-10-23lavu: bump major to 52Anton Khirnov
In addition to the recent tables mess, the AVOption defaults behavior changed, so an old lavc used with a new lavu will get completely messed up defaults.
2012-10-23lavu: postpone recent deprecations until the next major bumpAnton Khirnov
2012-10-23lavu: remove disabled FF_API_AV_FIFO_PEEK cruftAnton Khirnov
2012-10-23lavu: remove disabled FF_API_GET_BITS_PER_SAMPLE_FMT cruftAnton Khirnov
2012-10-22Merge commit 'c3e15f7b39aac2012f09ee4ca86d2bc674ffdbd4'Michael Niedermayer
* commit 'c3e15f7b39aac2012f09ee4ca86d2bc674ffdbd4': rtpdec: Don't pass a non-AVClass pointer as log context rtsp: Update a comment to the current filename scheme avcodec: handle AVERROR_EXPERIMENTAL avutil: Add AVERROR_EXPERIMENTAL avcodec: prefer decoders without CODEC_CAP_EXPERIMENTAL Conflicts: doc/APIchanges ffmpeg.c libavcodec/utils.c libavformat/rtpdec.c libavutil/error.c libavutil/error.h libavutil/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-22avutil: Add AVERROR_EXPERIMENTALNathan Caldwell
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2012-10-20lavu/parseutils: rework rational reduction logic in av_parse_ratio()Stefano Sabatini
Avoid to divide num and den by gcd in case of a parsed expression, since that is already done in av_d2q(), and force reduction in case of "a:b" form, allowing to honour the max parameter. The latter change is consistent with the a/b case, and with the documentation.
2012-10-13libavutil: loose idiotic circular dependancies between version and avutil.hMichael Niedermayer
This fixes the recently appearing PIX_FMT warnings Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-13Merge commit 'd5c62122a7b26704bf867a1262df358623bf5edf'Michael Niedermayer
* commit 'd5c62122a7b26704bf867a1262df358623bf5edf': Move av_reverse table to libavcodec Conflicts: libavcodec/asvenc.c libavcodec/vble.c libavutil/common.h libavutil/mathematics.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-12Move av_reverse table to libavcodecDiego Biurrun
It is only used in that library.
2012-10-12Merge commit 'b7f1010c8fce09096057528f7cd29589ea1ae7df'Michael Niedermayer
* commit 'b7f1010c8fce09096057528f7cd29589ea1ae7df': tools: do not use av_pix_fmt_descriptors directly. pixdesc: add functions for accessing pixel format descriptors. build: add support for Tru64 (OSF/1) md5: Allocate a normal private context for the opaque md5 context pointer Conflicts: cmdutils.c doc/APIchanges ffprobe.c libavformat/md5enc.c libavutil/version.h tools/graph2dot.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-12Merge commit 'e002e3291e6dc7953f843abf56fc14f08f238b21'Michael Niedermayer
* commit 'e002e3291e6dc7953f843abf56fc14f08f238b21': Use the new aes/md5/sha/tree allocation functions avutil: Add functions for allocating opaque contexts for algorithms svq3: fix pointer type warning svq3: replace unsafe pointer casting with intreadwrite macros parseutils-test: various cleanups Conflicts: doc/APIchanges libavcodec/svq3.c libavutil/parseutils.c libavutil/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-12pixdesc: add functions for accessing pixel format descriptors.Anton Khirnov
Make av_pix_fmt_descriptors table static on next major bump. Making the table public is dangerous, since the caller has no way to know how large it actually is. It also prevents adding new fields to AVPixFmtDescriptor without a major bump.
2012-10-12avutil: Add functions for allocating opaque contexts for algorithmsMartin Storsjö
The current API where the plain size is exposed is not of much use - in most cases it is allocated dynamically anyway. If allocated e.g. on the stack via an uint8_t array, there's no guarantee that the struct's members are aligned properly (unless the array is overallocated and the opaque pointer within it manually aligned to some unspecified alignment). Signed-off-by: Martin Storsjö <martin@martin.st>
2012-10-08Merge commit '78071a1420b425dfb787ac739048f523007b8139'Michael Niedermayer
* commit '78071a1420b425dfb787ac739048f523007b8139': pixfmt: add AV_ prefixes to PIX_FMT_* Conflicts: doc/APIchanges libavutil/pixfmt.h libavutil/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-08pixfmt: add AV_ prefixes to PIX_FMT_*Anton Khirnov
2012-10-04Merge commit 'ab35ec29a4071871934856c00da7d6ebcc0c095b'Michael Niedermayer
* commit 'ab35ec29a4071871934856c00da7d6ebcc0c095b': vf_overlay: get rid of pointless messing with timebase. samplefmt: make av_samples_alloc() initialize the data to silence. libspeexdec: handle NULL return value from speex_packet_to_header() h264probe: Don't error out on bits that no longer are reserved mpegvideo: set extended_data in ff_update_duplicate_context() libspeexdec: properly handle DTX for multiple frames-per-packet libspeexdec: move the SpeexHeader from LibSpeexContext to where it is used libspeexdec: simplify setting of frame_size libspeexdec: set channel_layout Conflicts: libavfilter/vf_overlay.c libavformat/h264dec.c libavutil/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-04samplefmt: make av_samples_alloc() initialize the data to silence.Anton Khirnov
Right now the buffer is zeroed, which does not represent silence for U8(P).
2012-09-17lavu/parseutils: fix av_small_strptime() whitespace directive parsingStefano Sabatini
According to POSIX, strptime() should consume whitespaces in the date string everytime a whitespace conversion specification is found in the date format specification. Make av_small_strptime() conform with this behavior. In particular, should fix trac ticket #1739.
2012-09-13Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: os_support: Choose between direct.h and io.h using a configure check os_support: Include io.h instead of direct.h on mingw32ce x86: ac3dsp: Only refer to the ac3_downmix_sse symbol if it has been declared swscale: Remove two bogus asserts ac3: move ac3_downmix() from dsputil to ac3dsp lavr/audio_mix_matrix: acknowledge the existence of LFE2. mlp_parser: avoid mapping multiple disctinct TrueHD channels to the same Libav channel. lavu/audioconvert: add a second low frequency channel. Conflicts: doc/APIchanges libavcodec/ac3dsp.c libavcodec/ac3dsp.h libavcodec/mlp_parser.c libavutil/audioconvert.c libavutil/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-13lavu/audioconvert: add a second low frequency channel.Tim Walker
Can be used by DTS-HD, TrueHD and E-AC-3, among others. Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
2012-09-06lavu/parseutils: add av_small_strptime()Stefano Sabatini
Make internal small_strptime() function public, and use it in place of strptime(). This allows to avoid a dependency on strptime() on systems which do not support it. In particular, fix trac ticket #992.