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-08-07Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: nuv: K&R formatting cosmetics build: generalise rules and variable settings for av* programs nuv: check RTjpeg header for validity Revert "nuv: check per-frame header for validity." imc: remove unused field IMCContext.one_div_log2 imc: fix size of a memset() imc: remove empty if() block fate: simplify variable setting filter.mak lavf: Declare an AVRational struct without a struct literal Conflicts: Makefile configure libavcodec/nuv.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-08-06msrle: fix extradata palette handlingMichael Niedermayer
Fixes Ticket1273 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-08-06nuv: K&R formatting cosmeticsDiego Biurrun
2012-08-06mpegvideo: remove last_picture_ptr / h264 assert.Michael Niedermayer
This assert is no longer true since h264 error concealment needs last_picture_ptr to be set. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-08-06mpegvideo.c: convert some asserts to av_assertMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-08-06svq1enc: set picture_structure correctlyMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-08-06mpegvideo_enc: switch some assert to av_assertMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-08-06mpegvideo_enc: remove assert that has become obsolete with the new APIMichael Niedermayer
it now just checks uninitialized and unused data. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-08-06nuv: check RTjpeg header for validityJanne Grunau
CC: libav-stable@libav.org
2012-08-06Revert "nuv: check per-frame header for validity."Janne Grunau
The check is bogus since the nuv frameheader is already skipped and the (decompressed) RTjpeg header is checked. This reverts commit f6afacdb3b708720c9fb85984b4f7fdbca2b2036. CC: libav-stable@libav.org
2012-08-06imc: remove unused field IMCContext.one_div_log2Mans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-08-06imc: fix size of a memset()Mans Rullgard
IMCContext was changed from an array to a pointer in 66b84e4, but this memset() was not updated. Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-08-06imc: remove empty if() blockMans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-08-06shorten: fix cmd typeMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-08-06mpc7: remove duplicated definitionsPaul B Mahol
They are available in mpc.h Signed-off-by: Paul B Mahol <onemda@gmail.com>
2012-08-06Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: x86: h264_idct: Rename x264_add8x4_idct_sse2 --> h264_add8x4_idct_sse2 rational: add av_inv_q() returning the inverse of an AVRational dpx: Make start offset unsigned lavfi: properly signal out-of-memory error in ff_filter_samples cosmetics: Fix a few switched periods and linebreaks zerocodec: Fix memleak in decode_frame zerocodec: Cosmetics Conflicts: ffmpeg.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-08-05x86: h264_idct: Rename x264_add8x4_idct_sse2 --> h264_add8x4_idct_sse2Diego Biurrun
2012-08-05libtwolame MP2 encoding supportPaul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2012-08-05dpx: Make start offset unsignedDerek Buitenhuis
Some corrupted files would end up with a negative offset, and segfault. Fixes bug #177. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2012-08-05ass subtitles: Fix valgrind warnings.Philip Langdale
We're now running some of this code through valgrind for the first time, and a few warnings showed up stemming from two problems. 1) The ASS code assumes the subtitle header is null terminated, but it wasn't, and passing the size down doesn't look like fun, so I added a terminator 2) The code wasn't freeing all of its state. Signed-off-by: Philip Langdale <philipl@overt.org>
2012-08-05libavcodec/options_table: mark flags as also for subtitlesMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-08-05Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: lavr: fix handling of custom mix matrices fate: force pix_fmt in lagarith-rgb32 test fate: add tests for lagarith lossless video codec. ARMv6: vp8: fix stack allocation with Apple's assembler ARM: vp56: allow inline asm to build with clang fft: 3dnow: fix register name typo in DECL_IMDCT macro x86: dct32: port to cpuflags x86: build: replace mmx2 by mmxext Revert "wmapro: prevent division by zero when sample rate is unspecified" wmapro: prevent division by zero when sample rate is unspecified lagarith: fix color plane inversion for YUY2 output. lagarith: pad RGB buffer by 1 byte. dsputil: make add_hfyu_left_prediction_sse4() support unaligned src. Conflicts: doc/APIchanges libavcodec/lagarith.c libavfilter/x86/gradfun.c libavutil/cpu.h libavutil/version.h libswscale/utils.c libswscale/version.h libswscale/x86/yuv2rgb.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-08-05cosmetics: Fix a few switched periods and linebreaksDerek Buitenhuis
Based on a patch by Piotr Bandurski. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2012-08-04Merge remote-tracking branch 'dwbuiten/master'Michael Niedermayer
* dwbuiten/master: zerocodec: Fix memleak in decode_frame zerocodec: Cosmetics Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-08-04movtextenc: Remove dangling reference to movtext.hPhilip Langdale
This is a reference that leaked in from my future work to support styling. Signed-off-by: Philip Langdale <philipl@overt.org>
2012-08-04zerocodec: Fix memleak in decode_frameDerek Buitenhuis
If there was a failure inflating, or reinitializing the zstream, the current frame's buffer would be lost. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2012-08-04zerocodec: CosmeticsDerek Buitenhuis
Be consistent with error messages and code formatting. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2012-08-04zerocodec: Fix memleak in decode_frameDerek Buitenhuis
If there was a failure inflating, or reinitializing the zstream, the current frame's buffer would be lost. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2012-08-04zerocodec: CosmeticsDerek Buitenhuis
Be consistent with error messages and code formatting. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2012-08-04movtextenc: 3GPP TS 26.245 Timed Text Encoder.Philip Langdale
This change introduces a basic encoder for 3GPP Timed Text subtitles, also known as TX3G, Quicktime subtitles, or "movtext" in the existing code. This initial change doesn't attempt to write styling information, and just writes the plain text of the subtitles. I intend to add support for styles eventually, but it's challenging due to a lack of existing players that support them. Note that an additional change is required to the mov/mp4 muxer to write empty subtitle packets to indicate subtitle duration. Signed-off-by: Philip Langdale <philipl@overt.org>
2012-08-04h264: print num_reorder_frames in debug outputMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-08-04ARMv6: vp8: fix stack allocation with Apple's assemblerMans Rullgard
In the GNU assembler, a relational expression, bizarrely, has the value -1 if true, whereas in Apple's it is +1. This patch makes sure the correct expression is used in both cases. Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-08-04ARM: vp56: allow inline asm to build with clangMans Rullgard
The clang integrated assembler does not support pre-UAL syntax, while gcc requires pre-UAL syntax for ARM code. A patch[1] for clang to support the old syntax as well has been ignored since January. This patch chooses the syntax appropriate for each compiler, allowing both to build the code. Notably, this change allows building for iphone with the latest Apple Xcode update. [1] http://llvm.org/bugs/show_bug.cgi?id=11855 Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-08-04fft: 3dnow: fix register name typo in DECL_IMDCT macroRonald S. Bultje
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2012-08-04motion_est_template: switch to av_assertMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-08-04dvdec: switch to av_assertMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-08-04g732_1: reduce difference to qatarMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-08-04Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: vc1dec: Remove separate scaling function for interlaced field MVs vc1dec: Invoke edge_emulation regardless of MV precision x86: Use consistent 3dnowext function and macro name suffixes g723_1: scale output as supposed for the case with postfilter disabled g723_1: increase excitation storage by 4 g723_1: fix upper bound parameter from inverse maximum autocorrelation g723_1: make scale_vector() behave like the reference g723_1: fix off-by-one error in normalize_bits() g723_1: save/restore excitation with offset to store LPC history wmapro: prevent division by zero when sample rate is unspecified x86: proresdsp: improve SIGNEXTEND macro comments x86: h264dsp: K&R formatting cosmetics LICENSE: Document all GPL files Conflicts: libavcodec/g723_1.c libavcodec/wmaprodec.c libavcodec/x86/h264dsp_mmx.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-08-04x86: dct32: port to cpuflagsDiego Biurrun
2012-08-04x86: build: replace mmx2 by mmxextDiego Biurrun
Refactoring mmx2/mmxext YASM code with cpuflags will force renames. So switching to a consistent naming scheme beforehand is sensible. The name "mmxext" is more official and widespread and also the name of the CPU flag, as reported e.g. by the Linux kernel.
2012-08-03libopenjpegdec: increase max lowres from 5 to 31Michael Bradshaw
OpenJPEG doesn't have a particular limit Signed-off-by: Michael Bradshaw <mbradshaw@sorensonmedia.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-08-03Revert "wmapro: prevent division by zero when sample rate is unspecified"Ronald S. Bultje
This reverts commit 36936080239ba9e162f9f5d0f722ce579cb606cf. It was already applied; no idea why it didn't error out while re-applying it.
2012-08-03wmapro: prevent division by zero when sample rate is unspecifiedSean McGovern
This fixes Bugzilla #327: Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2012-08-03lagarith: fix color plane inversion for YUY2 output.Ronald S. Bultje
2012-08-03lagarith: pad RGB buffer by 1 byte.Ronald S. Bultje
For left HFYU prediction, we predict from the buffer buf+1 using 8- or 16-byte reads. This means that aligning the buffer by 16 bytes is in itself not sufficient, because if the width itself is 16- or 8-byte aligned, the buffer will not be padded, and thus a read of size 16 at buf+1 will overflow boundaries at the right edge. Padding the buffer by 1 byte is sufficient to not overflow its boundaries. Fixes bug 342.
2012-08-03dsputil: make add_hfyu_left_prediction_sse4() support unaligned src.Ronald S. Bultje
This makes add_hfyu_left_prediction_sse4() handle sources that are not 16-byte aligned in its own function rather than by proxying the call to add_hfyu_left_prediction_ssse3(). This fixes a crash on Win64, since the sse4 version clobberes xmm6, but the ssse3 version (which uses MMX regs) does not restore it, thus leading to XMM clobbering and RSP being off. Fixes bug 342.
2012-08-03vc1dec: Remove separate scaling function for interlaced field MVsMashiat Sarker Shakkhar
The scaling process for obtaining direct MVs from co-located field MVs is the same for interlaced field and progressive pictures. Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
2012-08-03vc1dec: Invoke edge_emulation regardless of MV precisionMashiat Sarker Shakkhar
In VC-1 interlaced field pictures, chroma motion vectors can extend beyond picture boundary even if luma vectors are bounded. The problem shows up only for hpel interpolated MVs, and may be due to the way motion vectors are scaled / cropped. Thanks to Konstantin Shishkov for suggesting the fix. This fixes long-known segfaults in MC-VC1.ts from videolan streams archive. Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
2012-08-03lavc/utils: rename ff_init_buffer_info() pic parameter to frameStefano Sabatini
The new name is more expressive, given that the frame is not necessarily a picture but may be an audio frame.
2012-08-03lavc/utils: generalize ff_init_buffer_info() and use it when seems feasibleStefano Sabatini
Extend ff_init_buffer_info() to init audio frames as well as video frames. Avoid code duplication.