Loren Merritt
1cca8d2423
flatten an array, since gcc fails at optimizing multidimensional arrays
...
h264_idct8_add_c: 780 -> 735 cycles on conroe
Originally committed as revision 16307 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
802e91466d
export refs
...
Originally committed as revision 16306 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
53d55e9ea3
Allow decoders to set AVCodecContext.refs.
...
Originally committed as revision 16305 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
62ea19c061
Optimize pred_pskip_motion()
...
7 cpu cycles faster on pentium dual.
Originally committed as revision 16304 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
ebfb0449d3
Indent
...
Originally committed as revision 16302 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
05d3fd44d7
Integrate get_te0_golomb() calls into the code, this allows some checks
...
to be avoided and the function is pretty small.
3% speedup, though this is probably due to changed inlining and not directly
this change.
Originally committed as revision 16301 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
9963b332d1
Use get_ue_golomb_31() where possible, almost all are just in headers
...
though.
Originally committed as revision 16300 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
0be514625a
Update golomb decoding tables so that get_*_golomb_31() return some
...
larger values for too large values.
Originally committed as revision 16299 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
0e921e97c1
Add get_ue_golomb_31()
...
Originally committed as revision 16298 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
2f2893ce9b
indent
...
Originally committed as revision 16296 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
d42fc4a8ca
Use the new VLC table for the first non trailing coeff too.
...
Sadly only 5 cycles faster here on pentium dual. So maybe the
complexity is not worth it and this should be reverted ...
Originally committed as revision 16295 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
593af7cdda
Optimize esc removal code.
...
Originally committed as revision 16294 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
ffedb5c19a
352l: correct calculating number of bits for storing macroblock offset in RV3/4
...
Originally committed as revision 16293 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
2d76bf391a
Indent
...
Originally committed as revision 16292 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
8140955d39
unified CAVLC level decoding LUT.
...
Quite a bit faster (HPCVMOLQ_BRCM_B.264 was 3% faster here)
Originally committed as revision 16291 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
5cb5023c78
Make h264 parser 50% faster.
...
Originally committed as revision 16286 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
abb27cfb24
100l, I broke H.264 again, forgot one hunk.
...
Thanks to FATE for finding it.
Originally committed as revision 16285 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
e08715d391
Optimize 0 0 0-3 search, 45% faster on pentium dual.
...
Originally committed as revision 16284 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Andreas Öman
11c23b64ac
Revert r16257:
...
Include "libavutil/common.h" where we use llrint() in case ffmpeg's
own llrint() is to be used.
Originally committed as revision 16282 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
ec3686e889
Simplify decode_cabac_mb_ref() a little bit, 2 cpu cycles faster on
...
pentium dual.
Originally committed as revision 16279 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
26695973c7
Indent
...
Originally committed as revision 16278 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
b68a455313
inline decode_cabac_mb_type for I & P frames, 9 cycles faster on pentium dual.
...
Originally committed as revision 16277 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
1952ac3713
Negate 2 more variables, 1 cpu cycle faster on pentium dual.
...
Originally committed as revision 16276 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
03a035e059
Simplify if/else, no speed change
...
Originally committed as revision 16275 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
6f3c50f2f9
Negate a few variables, this simplifies the code and makes it 5 cycles faster
...
on pentium dual.
Originally committed as revision 16274 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
60c6ba7aea
Simplify ifs(), 8 cpu cycles faster on pentium dual
...
Originally committed as revision 16273 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
127a20e3b8
Simplify if(), 3 cpu cycles faster in pentium dual.
...
Originally committed as revision 16272 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
a6493a8fbd
Rename libavcodec/i386/ --> libavcodec/x86/.
...
It contains optimizations that are not specific to i386 and
libavutil uses this naming scheme already.
Originally committed as revision 16270 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
108c96d5e7
Decode TIFF image only after all tags have been decoded
...
Originally committed as revision 16268 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
8eedffde31
Some TIFFs declare -1 for the single strip height
...
Originally committed as revision 16267 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
89b4ec5c33
Add monochrome TIFF support
...
Originally committed as revision 16266 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
4386ed6922
Calculate line size variable correctly for lower bitdepths and use it for raw data copying
...
Originally committed as revision 16265 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
4a2f51de34
Register TIFF tags for CCITT Group 3 and 4 compression options
...
Originally committed as revision 16264 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
bef05f05e4
Remove a bunch of unused variables.
...
Originally committed as revision 16263 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
ebb160a0b0
Use ARCH_X86_32 instead of !ARCH_X86_64, it is more straightforward.
...
Originally committed as revision 16262 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Anuradha Suraparaju
64bfc5845b
Fix incorrectly constructed Dirac parse units that caused A/V sync loss.
...
Fixes issue 694.
patch by Anuradha Suraparaju, anuradha rd.bbc.co uk
Originally committed as revision 16261 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
c4ff7c53e0
Do not use full include path for headers in the same directory.
...
Originally committed as revision 16260 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
c96bd21227
Change mpeg audio parser so it only sets frame_size, channels and bit_rate
...
after it has a few valid frames.
Fixes issue762
Originally committed as revision 16259 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Andreas Öman
1af34f094e
Include "libavutil/common.h" where we use llrint() in case ffmpeg's
...
own llrint() is to be used.
Originally committed as revision 16257 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
ed4c638a07
Fix PTS returned by the demuxers for mpeg4 without a decoder.
...
More precissely fix has_b_frames.
Fixes issue757
Originally committed as revision 16256 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
c62da7972b
Move CODEC_FLAG_LOW_DELAY into ff_mpeg4_decode_picture_header().
...
Originally committed as revision 16255 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
befc8fe086
Remove useless code.
...
Originally committed as revision 16253 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
c212fb0cb1
Only execute clear_blocks() when needed.
...
+0.3% speedup for both aladin & cathedral.
Originally committed as revision 16252 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Robert Swain
897c1703d0
AAC: Reindent after last commit
...
Originally committed as revision 16251 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Alex Converse
aab5413323
AAC: Fix AAC prediction when used in conjunction with the CPE
...
Patch by Alex Converse (alex converse gmail com)
Originally committed as revision 16250 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Alex Converse
99665a21f4
AAC: Don't write an illegal sampling_index in a PCE to the MPEG4AudioConfig
...
member
Patch by Alex Converse (alex converse gmail com)
Originally committed as revision 16249 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
66c07ca96f
Optimize get_dct8x8_allowed().
...
30 cpu cycles faster on pentium dual.
Originally committed as revision 16248 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
6beb8b2612
RV30 decoder
...
Originally committed as revision 16247 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
541e8f3bec
RV30 loop filter
...
Originally committed as revision 16245 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reynaldo H. Verdejo Pinochet
3f16ed15df
Cosmetics by Kenan Gillet. Part 1 of 3 of his 'qcelp: silence handling'
...
changeset.
Originally committed as revision 16244 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago