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-06-05swscale: override the lack of the accurate rounding flag when needed for dither.Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-06-05swscale: factor should_dither outMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-06-04Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: (21 commits) build: simplify commands for clean target swscale: split swscale.c in unscaled and generic conversion routines. swscale: cosmetics. swscale: integrate (literally) swscale_template.c in swscale.c. swscale: split out x86/swscale_template.c from swscale.c. swscale: enable hScale_altivec_real. swscale: split out ppc _template.c files from main swscale.c. swscale: remove indirections in ppc/swscale_template.c. swscale: split out unscaled altivec YUV converters in their own file. mpegvideoenc: fix multislice fate tests with threading disabled. mpegts: Wrap #ifdef DEBUG and av_hex_dump_log() combination in a macro. build: Simplify texi2html invocation through the --output option. Mark some variables with av_unused Replace avcodec_get_pix_fmt_name() by av_get_pix_fmt_name(). svq3: Check negative mb_type to fix potential crash. svq3: Move svq3-specific fields to their own context. rawdec: initialize return value to 0. Remove unused get_psnr() prototype rawdec: don't leak option strings. bktr: get default framerate from video standard. ... Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-06-03swscale: split swscale.c in unscaled and generic conversion routines.Ronald S. Bultje
This duplicates the function fillPlane().
2011-06-03swscale: cosmetics.Ronald S. Bultje
Remove duplicate "inC" and "_c" functions that do the same thing; give each function that handles data and acts as a function pointer a "_c" suffix; remove "_c" suffix from functions that are inherently not optimizable. Remove inline keyword from functions that are only used through function pointers.
2011-06-03swscale: integrate (literally) swscale_template.c in swscale.c.Ronald S. Bultje
2011-06-03swscale: split out x86/swscale_template.c from swscale.c.Ronald S. Bultje
2011-06-03swscale: enable hScale_altivec_real.Ronald S. Bultje
2011-06-03swscale: split out ppc _template.c files from main swscale.c.Ronald S. Bultje
2011-06-03swscale: remove indirections in ppc/swscale_template.c.Ronald S. Bultje
2011-06-03swscale: split out unscaled altivec YUV converters in their own file.Ronald S. Bultje
2011-06-03swscale: remove unused COMPILE_TEMPLATE_ALTIVEC.Ronald S. Bultje
2011-06-03In libswscale, use all lines when converting from 422p to rgb with mmx, ↵Baptiste Coudurier
improve quality. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-06-03swscale: reintroduce sws_format_name() symbolStefano Sabatini
Reintroduce the internal symbol which was removed in: commit e1197b9e1746c03b1d13d816d1569aeaf1b71ecc Author: Stefano Sabatini <stefano.sabatini-lala@poste.it> Date: Sun May 29 17:57:40 2011 +0200 swscale: remove sws_format_name() Use av_get_pix_fmt_name() instead. The symbol is used by some external libs (hi libx264!), this gives time to them to use the recently added av_get_pix_fmt_name() rather than an internal symbol.
2011-06-02swscale: dither for planar yuv outputsMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-06-02swscale: Fix use of uninitialized valuesMichael Niedermayer
(bug probably introduced from a marge of libav) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-06-02swscale: allocate larger buffer to handle altivec overreads.Ronald S. Bultje
Altivec sws code intentionally overreads buffers for better performance, so we need to allocate larger buffers to handle that.
2011-06-02Replace "vector const" by "const vector" otherwise gcc 4.6.0 fails.Reimar Döffinger
Given that this compiles fine with the Apple compiler that is probably a gcc bug, but "const vector" is nicer anyway.
2011-06-01swscale: fix compilation of bfin due to missing pixdesc.h headerStefano Sabatini
This is required after sws_format_name() was replaced by av_get_pix_fmt(), which is declared in libavutil/pixdesc.h.
2011-06-01swscale: More accurate rounding in YSCALE_YUV_2_PACKEDX_FULL_C()Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-31swscale: Remove unused variable.Diego Biurrun
2011-05-30Add "const" to avoid "initialization discards qualifiers" warning.Reimar Döffinger
2011-05-30Add const to fix "cast discards qualifiers" warnings.Reimar Döffinger
2011-05-30Include pixdesc.h for av_get_pix_fmt_name.Reimar Döffinger
Fixes compilation on PPC with Altivec enabled.
2011-05-30swscale: remove sws_format_name()Stefano Sabatini
Use av_get_pix_fmt_name() instead.
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-29Add const to vector types for input in altivec code.Reimar Döffinger
Avoids a large amount of warnings about cast discarding qualifiers.
2011-05-29Remove unused variable, avoiding compiler warning.Reimar Döffinger
2011-05-29Cast pointers to uintptr_t rather than unsigned int.Reimar Döffinger
Avoids potential warnings on PPC64 systems.
2011-05-29swscale: Remove disabled code.Diego Biurrun
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-29swscale: Commits that could not be pulled earlier due to bugs #2Michael Niedermayer
commit 5a5a0f161359ca6c3fd03eac88a57bd026b8bc1d Author: Diego Biurrun <diego@biurrun.de> Date: Fri May 27 19:46:39 2011 +0200 swscale: Remove unused variables in x86 code. libswscale/x86/swscale_template.c:2072: warning: unused variable ‘canMMX2BeUsed’ libswscale/x86/swscale_template.c:2145: warning: unused variable ‘canMMX2BeUsed’ libswscale/x86/swscale_template.c:2209: warning: unused variable ‘chrVPixBuf’ libswscale/x86/swscale_template.c:2237: warning: unused variable ‘chrVSrcPtr’ commit 389e2000ebc299b9da24f7e5faf9a68a88f9ee7c Author: Ronald S. Bultje <rsbultje@gmail.com> Date: Fri May 27 12:23:32 2011 -0400 swscale: delay allocation of formatConvBuffer(). That means it won't be allocated when not needed. Alongside this, it fixes valgrind/fate-detected memory leaks. commit f327bfa6dcdbce4593213c30a328d8aaf7a4b86b Author: Ronald S. Bultje <rsbultje@gmail.com> Date: Fri May 27 11:36:43 2011 -0400 swscale: fix build with --disable-swscale-alpha. commit 9f5d45025e8df9d5f39832caad16b94cb6ac11c5 Author: Ronald S. Bultje <rsbultje@gmail.com> Date: Fri May 27 09:28:38 2011 -0400 swscale: fix non-bitexact yuv2yuv[X2]() MMX/MMX2 functions.
2011-05-29Commits that could not be pulled earlier due to bugs.Michael Niedermayer
commit 93681fbd5082a3af896b7a730dacdd27a3052406 Author: Ronald S. Bultje <rsbultje@gmail.com> Date: Thu May 26 11:32:32 2011 -0400 swscale: fix compile on ppc. commit e758573a887cfb1155e81499ca54f433127cf24e Author: Ronald S. Bultje <rsbultje@gmail.com> Date: Thu May 26 10:36:47 2011 -0400 swscale: fix compile on x86-32. commit 0f4eb8b04341081591bf401eaa2c07d6bc3ff52e Author: Ronald S. Bultje <rsbultje@gmail.com> Date: Thu May 26 09:17:52 2011 -0400 swscale: remove VOF/VOFW. commit b4a224c5e4109cb2cca8bac38628673d685fe763 Author: Ronald S. Bultje <rsbultje@gmail.com> Date: Wed May 25 14:30:09 2011 -0400 swscale: split chroma buffers into separate U/V planes. Preparatory step to implement support for sizes > VOFW.
2011-05-28swscale: use av_clip_uint8() in yuv2yuv1_c().Ronald S. Bultje
2011-05-28swscale: replace formatConvBuffer[VOF] by allocated array.Ronald S. Bultje
This allows to convert between formats of arbitrary width, regardless of the value of VOF/VOFW.
2011-05-28sws: replace all long with int.Anton Khirnov
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-05-28swscale: fix crash in bilinear scaling.Ronald S. Bultje
2011-05-28rgb2rgb: remove duplicate mmx/mmx2/3dnow/sse2 functions.Ronald S. Bultje
Many functions have such a prefix, but do not actually use any instructions or features from that set, thus giving the false impression that swscale is highly optimized for a particular system, whereas in reality it is not.
2011-05-28swscale: reindent h[cy]scale_fast() and updateDitherTables().Ronald S. Bultje
2011-05-28swscale: reformat x86/swscale_template.c.Ronald S. Bultje
Interleave macros and code so that it's easier to find the actual code that belongs to a function. Also reindent where appropriate and remove dead code.
2011-05-28swscale: remove duplicate mmx/mmx2 functions if they are identical.Ronald S. Bultje
2011-05-28swscale: remove if (c->dstFormat) branch from yuv2packed[12X]().Ronald S. Bultje
This allows cutting up the function in much smaller and easier- to-maintain chunks.
2011-05-28swscale: remove if(full_chr_int) from yuv2packed1().Ronald S. Bultje
If that flag is set, swScale() already proxies the call to yuv2rgbXinC_full(). Therefore, this flag is never set when yuv2packed1() is called.
2011-05-28swscale: remove if(accurate_rnd) branch from functions.Ronald S. Bultje
2011-05-28swscale: revive SWS_CPU_CAPS until next major bump.Anton Khirnov
2011-05-28swscale: Remove commented-out printf cruft.Diego Biurrun
2011-05-27swscale: Remove unused variables in x86 code.Diego Biurrun
libswscale/x86/swscale_template.c:2072: warning: unused variable ‘canMMX2BeUsed’ libswscale/x86/swscale_template.c:2145: warning: unused variable ‘canMMX2BeUsed’ libswscale/x86/swscale_template.c:2209: warning: unused variable ‘chrVPixBuf’ libswscale/x86/swscale_template.c:2237: warning: unused variable ‘chrVSrcPtr’
2011-05-27swscale: delay allocation of formatConvBuffer().Ronald S. Bultje
That means it won't be allocated when not needed. Alongside this, it fixes valgrind/fate-detected memory leaks.
2011-05-27swscale: fix build with --disable-swscale-alpha.Ronald S. Bultje
2011-05-27swscale: fix non-bitexact yuv2yuv[X2]() MMX/MMX2 functions.Ronald S. Bultje