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-09-16bprint: Remove custom vsnprintfDerek Buitenhuis
A proper implementation was introduced in ba537202801d71711f1ef9306a6248dd2d426fa0 for MSVC, and MinGW already has vsnprintf. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2012-09-16compat/vsnprintf: return number of bytes required on truncation.Ronald S. Bultje
This conforms to C99, but requires Windows >= XP.
2012-09-16msvc: Add a va_copy compatability macro for msvcDerek Buitenhuis
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2012-09-16msvc: Disable strippingDerek Buitenhuis
MSVC-built binaries should not be stripped. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2012-09-16lavf/segment: Use distinct IDs for list type ext & csvAlexander Strasser
Remove a bogus warning when using segment_list_type csv. The LIST_TYPE_EXT constant is only used internally, so it can be removed when the feature (segment_list_type ext) gets removed. Signed-off-by: Alexander Strasser <eclipse7@gmx.net>
2012-09-16lavf/segment: Rename variable in print_csv_escaped_str()Alexander Strasser
Rename a local variable to make the code more self-explanatory. Signed-off-by: Alexander Strasser <eclipse7@gmx.net>
2012-09-16lavf/segment: Simplify CSV field quoting codeAlexander Strasser
Should also be faster (though I doubt that hardly ever matters for the usage here). Also remove the pointer copy. Since we do not need to reset the pointer to the start of the string, it is not needed anymore. Signed-off-by: Alexander Strasser <eclipse7@gmx.net>
2012-09-16udp: pick params from AVOptions alsoAndrey Utkin
This updated version does not deviate from previous behavior on default value of 'buffer_size' I skipped porting 'sources', 'block' options for now as they're parsed seriously. So i added TODO remarks. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-16pngdec: av_log() zlib errorsMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-15Remove mt-work directoryDerek Buitenhuis
It is all dead and rotting code. Also, move yuvcmp.c to tools. Its license is non-existent, however, and should be clarified. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2012-09-15lavc/vp56: Re-indent functions affected by threading refactorBen Jackson
All whitespace plus a curly brace. Signed-off-by: Ben Jackson <ben@ben.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-15lavc/vp6: Implement "slice" threading for VP6A decodeBen Jackson
The YUV channels of VP6 are encoded in a highly linear fashion which does not have any slice-like concept to thread. The alpha channel of VP6A is fairly independent of the YUV and comprises 40% of the work. This patch uses the THREAD_SLICE capability to split the YUV and A decodes into separate threads. Two bugs are fixed by splitting YUV and alpha state: - qscale_table from VP6A decode was for alpha channel instead of YUV - alpha channel filtering settings were overwritten by YUV header parse Signed-off-by: Ben Jackson <ben@ben.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-15lavc/vp56: Simplify get/release_buffer codeBen Jackson
Rather than cleverly managing frame pointers with swaps to avoid re-using "golden" frames, just do brute-force management of the 4 AVFrames. New strategy is probably no more costly and is easier to adapt to threaded usage. Signed-off-by: Ben Jackson <ben@ben.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-15lavc/vp56: Move golden_frame into VP56ContextBen Jackson
Makes golden_frame more like other frame data, paves way for threading alpha channel decode. Signed-off-by: Ben Jackson <ben@ben.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-15lavc/vp6: Refactor vp6_decode_init into vp6_decode_init/vp6_decode_init_contextBen Jackson
Pave the way for per-thread context initialization. Signed-off-by: Ben Jackson <ben@ben.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-15lavc/vp56: Refactor ff_vp56_init into ff_vp56_init/ff_vp56_init_contextBen Jackson
Pave the way for per-thread context initialization. Signed-off-by: Ben Jackson <ben@ben.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-15x86/v210: fix xmm clobbersMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-15Document tcp proto 'timeout' parameter behaviorAndrey Utkin
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-15ffmpeg: use PTS from the AVSubtitle structure for sub2video.Nicolas George
2012-09-15ffplay: use PTS from the AVSubtitle structure.Nicolas George
2012-09-15ffmpeg: use PTS from the AVSubtitle structure.Nicolas George
2012-09-15lavc/pgssubdec: use the PTS from the presentation segment.Nicolas George
According to the sample for trac ticket #1722, PGS subtitles are decoded from several packets at the same DTS and varying PTS. The PTS from the presentation segment seem to be the valid one; in particular, clear subtitles are too early with the other PTS.
2012-09-15lavc: set AVSubtitle.pts if possible.Nicolas George
If the packet has a PTS and the corresponding time base is known, set the pts field of the decoded subtitle structure before the call to the decoder. The decoder is still allowed to change the PTS if necessary.
2012-09-15ffmpeg: call sub2video_update for end packets.Nicolas George
Without that change, all subtitles will stay until the next one.
2012-09-15Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: riff: Add SVQ3 fourcc fate: ac3: add 4.0 and downmix tests configure: x86: improve ebp availability check vorbisdec: ensure FASTDIV denominator is never 1 avformat: refactor avformat_close_input avformat: simplify avformat_close_input Conflicts: configure libavcodec/vorbisdec.c libavformat/utils.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-15bintext: mark hscroll() as unusedMichael Niedermayer
This fixes a warning about a unused function Alternatively the function could be removed Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-15aacdec: add support for dual mono in Japanese DTVAkihiro Tsukada
Japanese DTV uses some non standard extensions in AAC audio. One example is 'dual mono', which combines two independent audio into one stereo stream, storing them in left and right channels respectively. Historically, dual mono audio has been used for multi-lingual audio, one for local/native language, and another for english, and usually the "main" (local language) channel should be output without any user interactions. The frames of those dual mono audio are allowed to set ADTS channel_config field to 0, and just contain two SCE's *WITHOUT* PCE, which is a non standard extension by Japanese DTV standard. (ref. ARIB STD-B32 PartII 5.2.3) This patch adds an AVPacket side data, AV_PKT_DATA_JP_DUALMONO, which indicates that the AVPacket is likely to contain an audio frame with the above dual mono extension, and has the parameter to specify the desired channel selection in that case. It also makes aacdec to detect dual mono and output just the desired channel when this side data is attached. Signed-off-by: Akihiro Tsukada <atsukada@users.sourceforge.net> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-15lavfi/hue: add dynamic expression evaluation supportJérémy Tran
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
2012-09-15tools: move raw-test program to tools, with the name fourcc2pixfmtStefano Sabatini
2012-09-14riff: Add SVQ3 fourccDerek Buitenhuis
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2012-09-14riff: Add SVQ3 fourccDerek Buitenhuis
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-14lavf/compute_pkt_fields: only run pts by duration correction if reference ts ↵Michael Niedermayer
is available Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-14fate: ac3: add 4.0 and downmix testsMans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-09-14configure: x86: improve ebp availability checkMans Rullgard
Some compilers are extra strict about register usage in main(), disallowing ebp in inline asm there while allowing it elsewhere. This change makes the test better reflect actual usage. Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-09-14vorbisdec: ensure FASTDIV denominator is never 1Luca Barbato
In both usages of FASTDIV the denominator might be 1. Using a branch could make the function slower than using a normal division. Both denominator and numerator can be multiplied by 2 safely and using shifts is faster than using a branch.
2012-09-14avformat: refactor avformat_close_inputLuca Barbato
Do not crash if the input format is not allocated yet.
2012-09-14avformat: simplify avformat_close_inputLuca Barbato
avio_close checks by itself for NULL condition.
2012-09-14Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: x86: dsputil: Move Xvid IDCT put/add functions to a more suitable place trasher: Include all the necessary headers x86: Remove some leftover declarations for non-existent functions ARM: libavresample: NEON optimised generic fltp to s16 conversion ARM: libavresample: NEON optimised stereo fltp to s16 conversion ARM: libavresample: NEON optimised flat float to s16 conversion Conflicts: libavcodec/x86/dsputil_mmx.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-14tools/graphdot: unbreak syntaxStefano Sabatini
Fix regression introduced in f054dbee6cc5195ba8f37823a494dab2d26e7cca. +10.23l.
2012-09-14lavfi/avcodec: apply cosmetics style fixesStefano Sabatini
2012-09-14ffprobe: kill initializers with nested union field definitionStefano Sabatini
The c99-to-c89 converter (for MSVC support) doesn't currently handle designated initializers or compound literals with nested unions or structs. This is apparently the only place where this construct is used in the FFmpeg codebase.
2012-09-14ffprobe: avoid potentially lossy long long int -> double cast in value_string()Stefano Sabatini
Previously the cast long long int -> double was always performed (and then the double was converted back to long long int) even when it was avoidable.
2012-09-14pthread: Avoid crashes/odd behavior caused by spurious wakeupsBen Jackson
pthread_wait_cond can wake up for no reason (Wikipedia: Spurious_wakeup). The FF_THREAD_SLICE thread mechanism could spontaneously execute jobs or allow the caller of avctx->execute to return before all jobs were complete. This adds tests to both cases to ensure the wakeup is real. Signed-off-by: Ben Jackson <ben@ben.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-14mpegaudio_parser: reset state to prevent it to be randomMichael Niedermayer
Fixes Ticket1718 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-14aacpsy: psy_3gpp_analyze_channel() handle energy == 0Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-14aacpsy: calc_reduction_3gpp() handle active_lines = 0Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-14compute_pkt_fields2: dont interpret max_b_frames of <0 as there being b frames.Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-14x86: dsputil: Move Xvid IDCT put/add functions to a more suitable placeDiego Biurrun
2012-09-14mpegaudioenc: replace pow(2,.. by exp2(Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-14examples/decoding_encoding: clarify operations in the usage messageStefano Sabatini