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-30Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: ARM: enable UAL syntax in asm.S v4l2: don't leak video standard string on error. swscale: Remove disabled code. avfilter: Surround function only used in debug mode by appropriate #ifdef. vf_crop: Replace #ifdef DEBUG + av_log() by av_dlog(). build: remove BUILD_ROOT variable vp8: use av_clip_uintp2() where possible Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-30Fix various unused variable warningsClément Bœsch
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-29ARM: enable UAL syntax in asm.SMans Rullgard
This enables UAL syntax for all asm files instead of only those which happen to be incompatible with the old, deprecated syntax. Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-05-29Merge remote-tracking branch 'qatar/master' into masterMichael Niedermayer
* qatar/master: (27 commits) ac3enc: fix LOCAL_ALIGNED usage in count_mantissa_bits() ac3dsp: do not use the ff_* prefix when referencing ff_ac3_bap_bits. ac3dsp: fix loop condition in ac3_update_bap_counts_c() ARM: unbreak build ac3enc: modify mantissa bit counting to keep bap counts for all values of bap instead of just 0 to 4. ac3enc: split mantissa bit counting into a separate function. ac3enc: store per-block/channel bap pointers by reference block in a 2D array rather than in the AC3Block struct. get_bits: add av_unused tag to cache variable sws: replace all long with int. ARM: aacdec: fix constraints on inline asm ARM: remove unnecessary volatile from inline asm ARM: add "cc" clobbers to inline asm where needed ARM: improve FASTDIV asm ac3enc: use LOCAL_ALIGNED macro APIchanges: fill in git hash for av_get_pix_fmt_name (0420bd7). lavu: add av_get_pix_fmt_name() convenience function cmdutils: remove OPT_FUNC2 swscale: fix crash in bilinear scaling. vpxenc: add VP8E_SET_STATIC_THRESHOLD mapping webm: support stereo videos in matroska/webm muxer ... Conflicts: Changelog cmdutils.c cmdutils.h doc/APIchanges doc/muxers.texi ffmpeg.c ffplay.c libavcodec/ac3enc.c libavcodec/ac3enc_float.c libavcodec/avcodec.h libavcodec/get_bits.h libavcodec/libvpxenc.c libavcodec/version.h libavdevice/libdc1394.c libavformat/matroskaenc.c libavutil/avutil.h libswscale/rgb2rgb.c libswscale/swscale.c libswscale/swscale_template.c libswscale/x86/swscale_template.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-29vp8: use av_clip_uintp2() where possibleMans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-05-29ac3enc: fix LOCAL_ALIGNED usage in count_mantissa_bits()Mans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-05-28ac3dsp: do not use the ff_* prefix when referencing ff_ac3_bap_bits.Justin Ruggles
this should fix the windows builds Signed-off-by: Martin Storsjö <martin@martin.st>
2011-05-28ac3dsp: fix loop condition in ac3_update_bap_counts_c()Justin Ruggles
2011-05-28ARM: unbreak buildMans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-05-28ac3enc: modify mantissa bit counting to keep bap counts for all values of bapJustin Ruggles
instead of just 0 to 4. This does all the actual bit counting as a final step.
2011-05-28ac3enc: split mantissa bit counting into a separate function.Justin Ruggles
No speed difference. This is to allow for more flexible bit counting.
2011-05-28ac3enc: store per-block/channel bap pointers by reference block in a 2D arrayJustin Ruggles
rather than in the AC3Block struct. This will make it easier to access the bap values without having to chase the reference block pointers each time.
2011-05-28lavu: add av_get_pix_fmt_name() convenience functionStefano Sabatini
Also deprecate avcodec_get_pix_fmt_name() in its favor.
2011-05-28get_bits: add av_unused tag to cache variableMans Rullgard
This silences numerous compiler warnings from skip_bits(), where the cache variable is not used. Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-05-28ARM: aacdec: fix constraints on inline asmMans Rullgard
This adds output operands for modified memory allowing the volatile qualifiers to be dropped. Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-05-28ARM: remove unnecessary volatile from inline asmMans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-05-28ARM: add "cc" clobbers to inline asm where neededMans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-05-28ac3enc: use LOCAL_ALIGNED macroMans Rullgard
Aligned local variables must use the LOCAL_ALIGNED macro to ensure correct alignment on all systems. The unusual size argument to memset is required since the implementation of LOCAL_ALIGNED may use a pointer to an array. 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-28vpxenc: add VP8E_SET_STATIC_THRESHOLD mappingJames Zern
via the equivalent AVCodecContext::mb_threshold Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-28Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: (29 commits) ARM: disable ff_vector_fmul_vfp on VFPv3 systems ARM: check for VFPv3 swscale: Remove unused variables in x86 code. doc: Drop DJGPP section, Libav now compiles out-of-the-box on FreeDOS. x86: Add appropriate ifdefs around certain AVX functions. cmdutils: use sws_freeContext() instead of av_freep(). swscale: delay allocation of formatConvBuffer(). swscale: fix build with --disable-swscale-alpha. movenc: Deprecate the global RTP hinting flag, use a private AVOption instead movenc: Add an AVClass for setting muxer specific options swscale: fix non-bitexact yuv2yuv[X2]() MMX/MMX2 functions. configure: report yasm/nasm presence properly tcp: make connect() timeout properly rawdec: factor video demuxer definitions into a macro. rtspdec: add initial_pause private option. lavf: deprecate AVFormatParameters.width/height. tty: add video_size private option. rawdec: add video_size private option. x11grab: add video_size private option. x11grab: factorize returning error codes. ... Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-28cosmetics: indentation and alignment after previous commitJustin Ruggles
2011-05-28ac3enc: add support for E-AC-3 encoding.Justin Ruggles
This adds basic stream format support and allows for arbitrary bit rates rather than just those supported in AC-3.
2011-05-28ac3enc: Move AC-3 AVOptions array to a separate file to make it easier toJustin Ruggles
use only selected options for the different AC-3 encoder types.
2011-05-27ARM: disable ff_vector_fmul_vfp on VFPv3 systemsMans Rullgard
This function uses old-style vector operations deprecated in VFPv3. Some implementations, e.g. Cortex-A9, support them only through slow software emulation. Cortex-A8 does have this functionality in hardware, but as it also has NEON, this function is not used there regardless. Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-05-27x86: Add appropriate ifdefs around certain AVX functions.Diego Biurrun
nasm versions prior to 2.09 have trouble assembling some of our AVX code. Protect these sections by preprocessor macros to allow compilation to pass.
2011-05-27Fix memleakEtienne Buira
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-27Fix typoEtienne Buira
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-27Remove specific note when not specificEtienne Buira
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-27Minor cleanup in libx264.cEtienne Buira
Not needed as overwritten later on (look for "// update AVCodecContext with x264 parameters"), and not accessed inbetween. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-27Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: (31 commits) ARM: add ARMv6 optimised av_clip_uintp2 ARM: remove volatile from asm statements in libavutil/intmath ARM: fix av_clipl_int32_arm() v4l: include avdevice.h ffserver: move close_connection() call to avoid a temporary string and copy. lavf: initialize demuxer private options. AVOptions: set string default values. lavdevice: mark v4l for removal on next major bump. swscale: fix compile on ppc. swscale: fix compile on x86-32. build: Remove generated .version file on distclean. configure: Add -D_GNU_SOURCE to CPPFLAGS on OS/2. doc: Drop hint at --enable-memalign-hack for MinGW, it is now autodetected. ffplay: Remove disabled code. Mark parameterless function declarations as 'void'. swscale: use av_clip_uint8() in yuv2yuv1_c(). swscale: remove VOF/VOFW. swscale: split chroma buffers into separate U/V planes. swscale: replace formatConvBuffer[VOF] by allocated array. rgb2rgb: remove duplicate mmx/mmx2/3dnow/sse2 functions. ... Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-27Fix 32bit rawvideo in avi on big-endian.Carl Eugen Hoyos
2011-05-27webm: Additional options/presets for VP8 encodes under FFmpegJames Zern
2011-05-26libx264: support aspect Ratio SwitchJULIAN GARDNER
2011-05-26Fix compilation with YASM/NASM versions not supporting AVX.Reimar Döffinger
2011-05-26Mark parameterless function declarations as 'void'.Diego Biurrun
2011-05-26Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: (32 commits) doc: create separate section for audio encoders swscale: Remove orphaned, commented-out function declaration. swscale: Eliminate rgb24toyv12_c() duplication. Remove h263_msmpeg4 from MpegEncContext. APIchanges: Fill in git hash for fps_probe_size (30315a8) avformat: Add fpsprobesize as an AVOption. avoptions: Return explicitly NAN or {0,0} if the option isn't found rtmp: Reindent rtmp: Don't try to do av_malloc(0) tty: replace AVFormatParameters.sample_rate abuse with a private option. Fix end time of last chapter in compute_chapters_end ffmpeg: get rid of useless AVInputStream.nb_streams. ffmpeg: simplify managing input files and streams ffmpeg: purge redundant AVInputStream.index. lavf: deprecate AVFormatParameters.channel. libdc1394: add a private option for channel. dv1394: add a private option for channel. v4l2: reindent. v4l2: add a private option for channel. lavf: deprecate AVFormatParameters.standard. ... Conflicts: doc/APIchanges doc/encoders.texi ffmpeg.c libavdevice/alsa-audio.h libavformat/version.h libavutil/opt.c libswscale/rgb2rgb.h libswscale/rgb2rgb_template.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-26ac3enc: initialize all coefficients to zero.Justin Ruggles
Uninitialized coefficients were being used to generate exponents, some of which actually ended up in the final stream. Even though, they were just extra exponents that are not used by any decoder, it is still better to have consistent output for testing. This also fixes valgrind errors.
2011-05-26ffv1: fix 16bits multithreadingMichael Niedermayer
fixes ticket237 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-26mpegvideo_enc: use AV_LOG_ERROR instead of AV_LOG_INFO for two error messagesami_stuff
use AV_LOG_ERROR instead of AV_LOG_INFO for two error messages Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-26Fail when lowres value is lower than 0ami_stuff
The attached patch fixes the crash which happens when user passes lowres value lower than 0 to FFplay. ffplay -lowres -1 test.mpg Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-26Remove h263_msmpeg4 from MpegEncContext.Alex Converse
It was long ago superseded by msmpeg4_version.
2011-05-25indeo3: add out-of-buffer write checkStefano Sabatini
Prevent out-of-buffer writes. In particular fix smclocki32.avi.1.1 crash, trac issue #114, roundup issue #1482.
2011-05-25Do not reset channel_layout to 0.Carl Eugen Hoyos
The channel_layout may have been set by the demuxer.
2011-05-25Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: (22 commits) configure: enable memalign_hack automatically when needed swscale: unbreak the build on non-x86 systems. swscale: remove if(bitexact) branch from functions. swscale: remove if(canMMX2BeUsed) conditional. swscale: remove swScale_{c,MMX,MMX2} duplication. swscale: use emms_c(). Move emms_c() from libavcodec to libavutil. tiff: set palette in the context when specified in TIFF_PAL tag rtsp: use strtoul to parse rtptime and seq values. pgssubdec: fix incorrect colors. dvdsubdec: fix incorrect colors. ape: Allow demuxing of files with metadata tags. swscale: remove dead macro WRITEBGR24OLD. swscale: remove AMD3DNOW "optimizations". swscale: remove duplicate code in ppc/ subdirectory. swscale: remove duplicated x86/ functions. swscale: force --enable-runtime-cpudetect and remove SWS_CPU_CAPS_*. vsrc_buffer.h: add file doxy vsrc_buffer: tweak error message in init() msmpeg4: reindent. ... Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-25rawdec: fix decoding of QT WRAW filesami_stuff
Fix decoding of QT WRAW files. From some tests it results that: 1. all of the AVI/MOV WRAW files (at least from the link posted to the trac ticket #108) need to be flipped 2. mov WRAW files need to use AVI color modes 3. assigning PAL8 mode by default to WRAW codec is not correct Fix decoding of file CarltonMovie2.mov, fix trac issue #108.
2011-05-25Fix register types for LOAD_AB arguments, fixes compilation with NASM.Reimar Döffinger
2011-05-24Move emms_c() from libavcodec to libavutil.Ronald S. Bultje
2011-05-24tiff: set palette in the context when specified in TIFF_PAL tagStefano Sabatini
Since image initialization was moved after tag parsing, the palette needs to be specified in the context and then copied to the allocated image in init_image(). Fixes a regression with TIFF images that have palette data, trac issue #230, file Test_Flate_8bpp.tif. Signed-off-by: Diego Biurrun <diego@biurrun.de>
2011-05-24pgssubdec: fix incorrect colors.Alexandre Colucci
On Blu-ray colors are stored in the order YCrCb (and not YCbCr) as mentioned in the specifications: see System Description Blu-ray Disc Read-Only Format, 9.14.4.2.2.1 Palette Definition Segment When decoding a Blu-ray subtitle, the colors were incorrectly set. Signed-off-by: Anton Khirnov <anton@khirnov.net>