Michael Niedermayer
d3e7c5c35b
1 instruction less
...
Originally committed as revision 6743 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Guillaume Poirier
e7768fc512
Add x86 conditionnal mov (CMOV) "detection" (based on the cpu passed by --cpu=xx)
...
Sets HAVE_CMOV define so we can protect relevant code with #ifdef HAVE_CMOV
Originally committed as revision 6742 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
a616db285a
reordering instructions a little in decode_significance_x86() -> 2 instructions less / 1% faster decode_residual on P3
...
Originally committed as revision 6741 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
13404b2e98
factorize get_cabac asm (0.5% slower but its much cleaner)
...
Originally committed as revision 6740 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Alex Beregszaszi
1e4051aaa0
correct signaling of palette change
...
Originally committed as revision 6739 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Bernhard Rosenkränzer
ba9fb5da3a
Fix PIC compilation, some defines were under #ifdef !PIC but used
...
in the PIC case nevertheless.
patch by Bernhard Rosenkranzer, bero arklinux org
Originally committed as revision 6738 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
d72bc32389
unused variable
...
Originally committed as revision 6737 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Guillaume Poirier
1c5d830c25
10l: Revert bogus use of GCC's -march=xx:
...
Almost all CPU targets use -mcpu=xx to set architecture type,
register usage, choice of mnemonics, and instruction
scheduling parameters, except x86, MIPS, HPPA which uses -march=xx
Originally committed as revision 6736 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
f624f029f0
slightly faster decode_cabac_mb_mvd()
...
Originally committed as revision 6735 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
aa1da263aa
1 variable less in decode_cabac_residual() no speed change (but less vars means less things gcc can load and store redundantly)
...
Originally committed as revision 6734 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
143bf7d7c3
dont mess with ByteIOContext internal variables (fixes showdown2.mov)
...
Originally committed as revision 6733 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
ebd624b662
optimize sign decoding code in decode_residual()
...
x86 is 4% faster on P3
C sign stuff + x86 code for everything else is also faster then before (sorry forgot to test pure C)
... and if i replace the second occurance of the sign decoding in decode_residual by the asm too then everything gets slower iam starting to think that it might be best to write the whole function in asm, playing this avoid random deoptimizations game with gcc is not fun at all
Originally committed as revision 6732 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Baptiste Coudurier
99fd05cbdd
use AVFormatContext to log
...
Originally committed as revision 6731 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
3d1eed611b
Fix license header error notice by Steve LHomme.
...
Originally committed as revision 6730 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Guillaume Poirier
38d0a8aad8
rename --tune to --cpu and make --cpu pass the apropriate -march=xx option to the compiler.
...
Note that previous implementation (--tune) wasn't consistent with regards to setting -march/-mcpu/-mtune whereas current --cpu now is
Original thread:
Date: Oct 17, 2006 3:20 PM (patch) || Date: Oct 13, 2006 12:03 PM (suggestion of configure clean-up)
Subject: Re: [Ffmpeg-devel] [PATH] test if cpu supports CMOV
Originally committed as revision 6729 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Baptiste Coudurier
708e3e7d2d
simplify pcm read seek, use av_get_bits_per_sample
...
Originally committed as revision 6728 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
ca6127352f
Don't run libavtest if CONFIG_GPL is not set.
...
Originally committed as revision 6727 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Jindřich Makovička
a0f2c6ba38
Kill a warning with MSVC
...
Patch by Jindrich Makovicka makovick A gmail P com
Original thread:
Date: 08:21 AM
Subject Re: [Ffmpeg-devel] Weird line in cabac.h
Originally committed as revision 6726 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
30865e2aa1
copy cabac context onto the stack for the c code in decode_cabac_residual() (15% faster on P3 but still slower then the current asm)
...
Originally committed as revision 6725 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
eb73bf723d
x86 asm version of the decode significance loop (not 8x8) of decode_residual() 5% faster decode_residual() on P3
...
Originally committed as revision 6724 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Baptiste Coudurier
5b9d79bd77
avoid overwriting pkt
...
Originally committed as revision 6723 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Aurelien Jacobs
595da759de
10l inverted condition check generated an endless loop
...
Originally committed as revision 6722 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Baptiste Coudurier
4d6ac1a47b
skip packet if no stream index is found, fix proxy_pal030926.mxf
...
Originally committed as revision 6721 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Baptiste Coudurier
ee71ef5cf4
skip run in sequence, fix C0023S01.mxf
...
Originally committed as revision 6720 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Guillaume Poirier
cc6a90dd49
rename --cpu (and related variables) to --arch as this option always
...
allowed to select an architecture, not a specific cpu
Originally committed as revision 6719 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Luca Abeni
96db380836
Implement sws_getCachedContext() in swscale emulation
...
Originally committed as revision 6718 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
4041a495a8
cosmetic (%%eax->%0)
...
Originally committed as revision 6717 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Roman Shaposhnik
d1bc38f34a
* Simplifying the setting of STYPE for AAUX AS
...
* Fixing a bug in how SPEED was encoded for AAUX ASC
Originally committed as revision 6716 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
8dda3e796b
Fix crash with illegal instruction, cmov is available on 686 and later only.
...
Originally committed as revision 6715 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
e962604f1c
Expand some #endif comments.
...
Originally committed as revision 6714 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
2c409cc7af
fix -a^b which was interpreted as (-a)^b
...
Originally committed as revision 6713 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
cacb17b47f
asin() acos() atan()
...
Originally committed as revision 6712 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Luca Barbato
9f1c1c9985
Make ffmpeg work with x264 r592
...
Originally committed as revision 6711 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
212d84881a
mod()
...
Originally committed as revision 6710 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
c45b5de03a
Fix #endif comments.
...
Originally committed as revision 6709 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
39051d5d6e
Replace FLAC FourCC by TwoCC.
...
Originally committed as revision 6708 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
165c5f0909
fix !CMOV_IS_FAST case (iam not really happy with the fix but i didnt come up with a better one quickly)
...
Originally committed as revision 6707 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
89ae0e620d
Add libswscale to the include path when enabled.
...
Originally committed as revision 6706 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
8c9d49f266
Don't mix declarations and statements.
...
Originally committed as revision 6705 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
1d7c111856
10l
...
Originally committed as revision 6704 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
faff3a7ad0
this code will not work with PIC as it needs 7 registers and gcc doesnt support that in PIC
...
Originally committed as revision 6703 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
f24a515931
shift CABACContext.range right, this reduces the number of shifts needed in get_cabac() and is slightly faster on P3 (and should be much faster on P4 as the P4 except the more recent variants lacks an integer shifter and so shifts have ~10 times longer latency then simple operations like adds)
...
Originally committed as revision 6702 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Ramiro Polla
aa770811a3
Have xvid encoder wrapper honnor -vtag option
...
Patch by Ramiro Polla angustia A arrozcru P no-ip P org
Original thread:
Date: 14.10.2006 05:44
Subject: [Ffmpeg-devel] xvid ignores -vtag
Originally committed as revision 6701 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
14f29f795d
Revert putting EXTRALIBS in common.mak, linking fails on MinGW.
...
Originally committed as revision 6700 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
84471efd91
Consistently use $(BUILD_ROOT).
...
Originally committed as revision 6699 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
41ada6e515
Warn about --enable-gpl.
...
Originally committed as revision 6698 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
9fd353e9b5
0.pgm is now 00.pgm.
...
Originally committed as revision 6697 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
827f056124
Remove unused variable.
...
Originally committed as revision 6696 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
07a1b05e66
Consistently use $(BUILD_ROOT).
...
Originally committed as revision 6695 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Kostya Shishkov
a8789714ba
Ignore blocks with no samples and flags (but usually with MD5 sum)
...
Originally committed as revision 6694 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago