Michael Niedermayer
b49638928b
more factoriztaion and a FIXME note
...
Originally committed as revision 6636 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
d84fd5d153
factorze another 2 lines
...
Originally committed as revision 6635 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
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
18 years ago
Michael Niedermayer
b1bf48aa91
factorize (untested)
...
Originally committed as revision 6633 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
effdc8ef2a
return cleanup
...
Originally committed as revision 6632 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Baptiste Coudurier
c74915cda4
fix d-10 mapping detection
...
Originally committed as revision 6631 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Baptiste Coudurier
e395e2865c
assign myself to aiff maintainer
...
Originally committed as revision 6630 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Baptiste Coudurier
de9fe002f8
rewind completely if sample time is negative
...
Originally committed as revision 6629 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
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
18 years ago
Guillaume Poirier
c2095a8f5c
Add pentium-m to the list of tuning targets
...
Originally committed as revision 6627 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
6b6b5003de
Remove unused variables.
...
Originally committed as revision 6625 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Baptiste Coudurier
31903634b6
quiet gcc about enum value not handled in switch
...
Originally committed as revision 6624 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
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
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
Diego Biurrun
a22b7322cc
Move sign macro to libavutil.
...
Originally committed as revision 6620 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
e0296b9a2e
Use ABS macro from libavutil.
...
Originally committed as revision 6619 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
Kostya Shishkov
ee56f2c020
10l: remove alien seek function from demuxer
...
Originally committed as revision 6617 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
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
18 years ago
Diego Biurrun
ef85972ba5
Fix default license header.
...
Originally committed as revision 6613 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
Michael Niedermayer
2a1a6b64a1
always add -fomit-frame-pointer if optimizations are enabled
...
Originally committed as revision 6601 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
Dominik Mierzejewski
a10c779f76
Fixes:
...
opt.c:327: warning: no return statement in function returning non-void
opt_list return value is never checked.
Approved by Michael.
Originally committed as revision 6593 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Dominik Mierzejewski
69261768d3
Fixes:
...
parser.c:555: warning: implicit declaration of function ‘ff_cavs_find_frame_end’
Approved by Michael.
Originally committed as revision 6592 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Dominik Mierzejewski
621d92940e
Fixes:
...
mpegvideo.h:777: warning: ‘inline’ is not at beginning of declaration
motion_est_template.c:236: warning: ‘inline’ is not at beginning of declaration
Approved by Diego.
Originally committed as revision 6591 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Reimar Döffinger
214019ed32
Avoid void *-arithmetic
...
Originally committed as revision 6590 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Víctor Paesa
76808d6e7e
Quote names individually, since otherwise the whole list was understood
...
as a single long filename by the shell.
patch by Víctor Paesa, wzrlpy arsystel com
Originally committed as revision 6589 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Luca Barbato
75336fc885
Non Altivec optimizations already present at the top
...
Originally committed as revision 6588 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
260ceb6322
branchless renormalization (1% faster get_cabac) old branchless renormalization wasnt faster because gcc was scared of the shift variable (missusing bit variable now)
...
Originally committed as revision 6587 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago