Michael Niedermayer
d61c4e731e
make state transition tables global as they are constant and the code is slightly faster that way
...
Originally committed as revision 6655 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-11 14:44:17 +00:00
Michael Niedermayer
5f3eca121e
10l
...
Originally committed as revision 6654 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-11 13:25:29 +00:00
Michael Niedermayer
0fa352c7e6
make lps_range a global table its constant anyway (saves 1 addition for accessing it)
...
Originally committed as revision 6653 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-11 13:21:42 +00:00
Michael Niedermayer
3650b43959
enable CMOV_IS_FAST as its faster or equal speed on every cpu (duron, athlon, PM, P3) from which ive seen benchmarks, it might be slower on P4 but noone has posted benchmarks ...
...
Originally committed as revision 6652 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-11 12:23:40 +00:00
Víctor Paesa
a8824a790f
simplifies null vhook by using sws_getCachedContext()
...
Patch by Victor Paesa %wzrlpy A arsystel P com%
Original thread:
Date: Sep 15, 2006 6:21 PM
Subject: Re: [Ffmpeg-devel] [PATCH] enable libswscale
Originally committed as revision 6651 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-11 12:16:07 +00:00
Víctor Paesa
df117196d3
simplifies fish vhook by using sws_getCachedContext()
...
Patch by Victor Paesa %wzrlpy A arsystel P com%
Original thread:
Date: Sep 15, 2006 6:21 PM
Subject: Re: [Ffmpeg-devel] [PATCH] enable libswscale
Originally committed as revision 6650 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-11 12:14:37 +00:00
Víctor Paesa
2d7490fcf4
port watermark vhook to swscaler
...
Patch by Victor Paesa %wzrlpy A arsystel P com%
Original thread + testcase:
Date: Sep 12, 2006 5:29 PM
Subject: Re: [Ffmpeg-devel] [PATCH] enable libswscale
Originally committed as revision 6649 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-11 12:11:30 +00:00
Víctor Paesa
67d0436c8d
port imlib2 vhook to swscaler
...
Patch by Victor Paesa %wzrlpy A arsystel P com%
Original thread + testcase:
Date: Sep 13, 2006 11:06 PM
Subject: Re: [Ffmpeg-devel] [PATCH] enable libswscale
Originally committed as revision 6648 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-11 12:08:36 +00:00
Michael Niedermayer
6ab312daa2
doxy
...
Originally committed as revision 6647 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-11 10:29:00 +00:00
Baptiste Coudurier
777f46493d
fix bit rate
...
Originally committed as revision 6646 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-11 10:22:21 +00:00
Baptiste Coudurier
d50756cdf9
use av_get_bits_per_sample
...
Originally committed as revision 6645 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-11 10:17:18 +00:00
Baptiste Coudurier
e27d92773e
use av_get_bits_per_sample, compute block align if not set
...
Originally committed as revision 6644 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-11 10:15:05 +00:00
Baptiste Coudurier
8d41fe285b
simplify by not writing unneeded codec name to fix segfault when stream copy
...
Originally committed as revision 6643 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-11 10:09:45 +00:00
Diego Biurrun
086b05cdad
Move CFLAGS handling to common.mak.
...
Originally committed as revision 20154 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-10-11 08:30:22 +00:00
Diego Biurrun
dadb850a50
Move CFLAGS handling to common.mak.
...
Originally committed as revision 6642 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-11 08:30:13 +00:00
Diego Biurrun
a33fe57287
Switch to the LGPL as agreed to by the author according to the
...
initial commit log message.
Originally committed as revision 6641 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-11 07:47:59 +00:00
Kostya Shishkov
3689cf1649
Targa image decoder
...
Originally committed as revision 6640 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-11 04:15:04 +00:00
Diego Biurrun
e7becfb25f
printf --> av_log with some help from Oded
...
Originally committed as revision 6639 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-11 00:18:33 +00:00
Michael Niedermayer
d95442c03e
unused #define
...
Originally committed as revision 6638 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-10 23:59:08 +00:00
Michael Niedermayer
ab2c12ec90
remove dummy amr_read_close()
...
Originally committed as revision 6637 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-10 23:57:44 +00:00
Michael Niedermayer
b49638928b
more factoriztaion and a FIXME note
...
Originally committed as revision 6636 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-10 23:56:49 +00:00
Michael Niedermayer
d84fd5d153
factorze another 2 lines
...
Originally committed as revision 6635 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-10 23:53:14 +00:00
Michael Niedermayer
ce2f3c8b0c
set duration and timebase (based on a patch by Simon Morlat simon.morlat linphone org)
...
Originally committed as revision 6634 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-10 23:49:45 +00:00
Michael Niedermayer
b1bf48aa91
factorize (untested)
...
Originally committed as revision 6633 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-10 23:45:12 +00:00
Michael Niedermayer
effdc8ef2a
return cleanup
...
Originally committed as revision 6632 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-10 23:28:27 +00:00
Baptiste Coudurier
c74915cda4
fix d-10 mapping detection
...
Originally committed as revision 6631 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-10 14:29:03 +00:00
Baptiste Coudurier
e395e2865c
assign myself to aiff maintainer
...
Originally committed as revision 6630 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-10 13:27:41 +00:00
Baptiste Coudurier
de9fe002f8
rewind completely if sample time is negative
...
Originally committed as revision 6629 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-10 13:00:50 +00:00
Baptiste Coudurier
4a775c19cd
dont seek back if no sync to let eof happen
...
Originally committed as revision 6628 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-10 12:58:34 +00:00
Guillaume Poirier
c2095a8f5c
Add pentium-m to the list of tuning targets
...
Originally committed as revision 6627 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-10 12:33:03 +00:00
Diego Biurrun
15e35274d8
Rename SIGN macro to the more fitting UNFOLD.
...
Originally committed as revision 6626 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-10 12:07:25 +00:00
Diego Biurrun
6b6b5003de
Remove unused variables.
...
Originally committed as revision 6625 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-10 11:59:10 +00:00
Baptiste Coudurier
31903634b6
quiet gcc about enum value not handled in switch
...
Originally committed as revision 6624 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-10 09:17:51 +00:00
Diego Biurrun
0bc2e7f081
BRANCHLESS_CABAD --> BRANCHLESS_CABAC_DECODER
...
Originally committed as revision 6623 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-10 08:16:41 +00:00
Diego Biurrun
8925915fcc
Change libpostproc to use the FFMIN/FFMAX macros from libavutil.
...
Originally committed as revision 6622 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-10 08:09:12 +00:00
Guillaume Poirier
ab5a1435ec
Move TRANSPOSE8 macro to dsputil_altivec.h.
...
(was duplicated in libavcodec/ppc/vc1dsp_altivec.c
nd libavcodec/ppc/mpegvideo_altivec.c, and will be
used in upcoming routines for h264_altivec.c)
Originally committed as revision 6621 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-10 08:01:19 +00:00
Diego Biurrun
a22b7322cc
Move sign macro to libavutil.
...
Originally committed as revision 6620 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-10 07:49:10 +00:00
Diego Biurrun
e0296b9a2e
Use ABS macro from libavutil.
...
Originally committed as revision 6619 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-10 07:46:41 +00:00
Michael Niedermayer
9ed92c65f1
moving another bit&1 out, this is as fast as with it in there, but it makes more sense with it outside of the loop
...
Originally committed as revision 6618 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-10 06:56:51 +00:00
Kostya Shishkov
ee56f2c020
10l: remove alien seek function from demuxer
...
Originally committed as revision 6617 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-10 04:10:53 +00:00
Michael Niedermayer
f1b37db48d
move the &1 out of the asm so gcc can optimize it away in inlined cases (yes this is slightly faster)
...
Originally committed as revision 6616 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-10 01:17:39 +00:00
Michael Niedermayer
ab0151d163
replace a few and/sub/... by cmov
...
this is faster on P3, should be faster on AMD, and should be slower on P4
its disabled by default (benchmarks welcome so we know when to enable it)
Originally committed as revision 6615 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-10 01:08:39 +00:00
Diego Biurrun
c6a9271c56
Remove gcc-workaround that is already present in libavutil/common.h.
...
Originally committed as revision 6614 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-09 22:36:38 +00:00
Diego Biurrun
ef85972ba5
Fix default license header.
...
Originally committed as revision 6613 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-09 22:24:35 +00:00
Michael Niedermayer
a6672acf45
reading 8bit mem into a 8bit register needs 2 uops on P4, 8bit->32bit with zero extension needs just 1
...
Originally committed as revision 6612 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-09 21:57:10 +00:00
Michael Niedermayer
2d3df05ca0
on the P4 inc needs twice as much time a add
...
Originally committed as revision 6611 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-09 21:39:07 +00:00
Michael Niedermayer
2ee9dc65be
10l
...
Originally committed as revision 6610 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-09 21:21:10 +00:00
Michael Niedermayer
7822e1c1ff
reverse remainder of the failed attempt to optimize *state=c->mps_state[s]
...
Originally committed as revision 6609 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-09 21:14:16 +00:00
Michael Niedermayer
ef0090a998
x86 branchless cabac decoder
...
slightly faster on P3
Originally committed as revision 6608 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-09 20:51:33 +00:00
Michael Niedermayer
2e1aee80f4
optimize branchless C CABAC decoder
...
Originally committed as revision 6607 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-09 20:44:11 +00:00