Michael Niedermayer
5ed0d67da5
-1 is a valid return value in ratecontrol_1pass() -> 100l for takis
...
Originally committed as revision 6677 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Dominik Mierzejewski
61b769871f
Fixes:
...
xvmcvideo.c: In function ‘XVMC_decode_mb’:
xvmcvideo.c:141: warning: ‘return’ with a value, in function returning void
Approved by Ivan.
Originally committed as revision 6676 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
de1013e1ca
10l int vs uint8_t
...
Originally committed as revision 6675 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
851ded8918
prevent "mb level" get_cabac() calls from being inlined (3% faster decode_mb_cabac() on P3)
...
Originally committed as revision 6674 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
1f6049f515
int->uint8_t for 2 tables
...
Originally committed as revision 6673 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Baptiste Coudurier
29f86228a0
support for Tiertex .seq files demuxing/video decoding, by Gregory Montoir %cyx A users P sourceforge P net%
...
Originally committed as revision 6672 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Gregory Montoir
7da4d4cdec
fix SHOW_SBITS for ALT_BITSTREAM_READER_LE, patch by Gregory Montoir %cyx A users P sourceforge P net%
...
Originally committed as revision 6671 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
cb690cadaf
Rename internal.h --> xvid_internal.h, it clashes with libavutil/internal.h.
...
Originally committed as revision 6670 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Luca Barbato
a5db5bda07
ppc generic prefetch
...
Originally committed as revision 6669 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Guillaume Poirier
a0490b324a
adds some useful comments after some of the #else, #elseif,
...
#endif preprocessor directives to make it clearer which code
block depends on which #define xx
Originally committed as revision 6668 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
c26abfa541
Rename ABS macro to FFABS.
...
Originally committed as revision 6666 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Loren Merritt
a957c27b03
more prefetches, 2% faster h264
...
Originally committed as revision 6664 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
1f4d5e9f69
slightly faster on P3 slightly slower on athlon and probably faster on P4
...
Originally committed as revision 6663 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Baptiste Coudurier
dc56e0de1d
update doc, changelog, and increase libavcodec version for .cin files support
...
Originally committed as revision 6660 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Baptiste Coudurier
72450e50a5
support for Delphine Software .cin files demuxing / audio and video decoding, by Gregory Montoir %cyx A users P sourceforge P net%
...
Originally committed as revision 6659 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
2b5269b51c
moving lps state transition code a little up in the branched asm code (1% faster on P3)
...
Originally committed as revision 6658 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
b99f3cabed
write cabac low and range variables as early as possible to prevent stalls from reading them before they where written, the P4 is said to disslike that alot, on P3 its 2% faster (START/STOP_TIMER over decode_residual)
...
Originally committed as revision 6657 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
d17faef011
use ecx instead of cl (no speed change on P3 but might avoid partial register stalls on some cpus)
...
Originally committed as revision 6656 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
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
18 years ago
Michael Niedermayer
5f3eca121e
10l
...
Originally committed as revision 6654 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
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
18 years ago
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
18 years ago
Michael Niedermayer
6ab312daa2
doxy
...
Originally committed as revision 6647 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
dadb850a50
Move CFLAGS handling to common.mak.
...
Originally committed as revision 6642 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
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
18 years ago
Kostya Shishkov
3689cf1649
Targa image decoder
...
Originally committed as revision 6640 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
15e35274d8
Rename SIGN macro to the more fitting UNFOLD.
...
Originally committed as revision 6626 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
0bc2e7f081
BRANCHLESS_CABAD --> BRANCHLESS_CABAC_DECODER
...
Originally committed as revision 6623 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
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
18 years ago
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
18 years ago
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
18 years ago
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
18 years ago
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
18 years ago
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
18 years ago
Michael Niedermayer
2ee9dc65be
10l
...
Originally committed as revision 6610 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
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
18 years ago
Michael Niedermayer
ef0090a998
x86 branchless cabac decoder
...
slightly faster on P3
Originally committed as revision 6608 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
2e1aee80f4
optimize branchless C CABAC decoder
...
Originally committed as revision 6607 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Luca Barbato
b420448e38
removing ALTIVEC_USE_REFERENCE_C_CODE, since has no use anymore
...
Originally committed as revision 6606 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
1c2a417f6a
move outcommented START/STOP_TIMER to a hopefully better place for benchmarking ...
...
Originally committed as revision 6605 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
30dc5f56ad
drop failed attempt to optimize *state= c->mps_state[s];
...
Originally committed as revision 6604 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
c56d23dacf
10l bugfix for some disabled code
...
Originally committed as revision 6603 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
f7d0b68361
first try of a handwritten get_cabac() for x86, this is 10-20% faster on P3 depening on if you try to subtract the START/STOP_TIMER overhead
...
Originally committed as revision 6602 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Luca Barbato
441e8fe9c9
add_bytes passes tests
...
Originally committed as revision 6600 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
5bbe2a5292
remove bytestream_end checks, seems to work fine without them and the bitstream reader doesnt check for the end either
...
Originally committed as revision 6599 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Andrea Gianarro
462209fe10
fix AC3 5.1 being decoded as mono
...
patch by Andrea Gianarro % giandrea AH gmail P com %
Original thread:
Date: Oct 9, 2006 11:55 AM
Subject: [Ffmpeg-devel] AC3 5:1 decoding as mono
Originally committed as revision 6598 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
bca519e0f6
Fix GPL/LGPL license version mismatch.
...
Originally committed as revision 6597 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
c010d69a75
decrease ff_h264_norm_shift[] size
...
Originally committed as revision 6596 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Dominik Mierzejewski
158256a13a
Fixes:
...
rv10.c:494: warning: implicit declaration of function ‘ff_mpeg4_init_direct_mv’
Approved by Michael.
Originally committed as revision 6595 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
6ff042699f
cleanup
...
Originally committed as revision 6594 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago