Stefano Sabatini
fd867ffd43
Add missing check on the result of a VIDIOCCAPTURE ioctl.
...
Originally committed as revision 16316 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-26 09:12:12 +00:00
Stefano Sabatini
c40432d30c
Cosmetics: put a space after each comma, improve consistency and
...
readability.
Originally committed as revision 16315 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-26 09:07:51 +00:00
Benoit Fouet
5163c0d9a2
s/FFmpeg-devel/ffmpeg-devel/
...
Originally committed as revision 16314 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-26 08:03:26 +00:00
Jason Garrett-Glaser
c1fc70362f
Fix compilation without optimization under 64-bit with x264 deblock asm enabled.
...
Originally committed as revision 16313 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-26 00:19:08 +00:00
Måns Rullgård
760badc1df
ARM: add new h264 idct functions
...
Originally committed as revision 16312 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-25 23:13:43 +00:00
Guillaume Poirier
337e3fd990
Disable usage of ff_h264_idct_add_altivec since AltiVec versions of h264_idct_add16,
...
h264_idct_add16intra, h264_idct_add8 need to be implemented.
Add C version of ff_h264_idct8_dc_add in AltiVec so that ff_h264_idct8_add_altivec
can be used.
Originally committed as revision 16311 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-25 18:27:49 +00:00
Diego Biurrun
0fa5f24c3b
Change mplayerhq.hu references to ffmpeg.org where appropriate.
...
Originally committed as revision 16310 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-25 15:49:50 +00:00
Diego Biurrun
ddaf298cee
Fix sample URL.
...
Originally committed as revision 16309 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-25 15:49:02 +00:00
avcoder
bb0bfcd5ac
The VC-1/WMV3 decoders depend on ENABLE_MSMPEG4_DECODER.
...
patch by avcoder, ffmpeg gmail com
Originally committed as revision 16308 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-25 13:26:18 +00:00
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
2008-12-25 01:20:37 +00:00
Michael Niedermayer
802e91466d
export refs
...
Originally committed as revision 16306 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-24 18:39:23 +00:00
Michael Niedermayer
53d55e9ea3
Allow decoders to set AVCodecContext.refs.
...
Originally committed as revision 16305 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-24 17:38:27 +00:00
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
2008-12-24 03:23:38 +00:00
Ben Littler
c26436ec46
add amr in avi riff tags
...
Originally committed as revision 16303 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-24 02:20:07 +00:00
Michael Niedermayer
ebfb0449d3
Indent
...
Originally committed as revision 16302 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-23 22:06:16 +00:00
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
2008-12-23 22:04:34 +00:00
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
2008-12-23 21:12:19 +00:00
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
2008-12-23 21:07:36 +00:00
Michael Niedermayer
0e921e97c1
Add get_ue_golomb_31()
...
Originally committed as revision 16298 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-23 21:05:47 +00:00
Víctor Paesa
be8497b0ac
Update again Cygwin Ports URL after my sloppy previous commit.
...
Originally committed as revision 16297 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-23 20:44:06 +00:00
Michael Niedermayer
2f2893ce9b
indent
...
Originally committed as revision 16296 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-23 19:12:50 +00:00
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
2008-12-23 19:10:46 +00:00
Michael Niedermayer
593af7cdda
Optimize esc removal code.
...
Originally committed as revision 16294 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-23 18:31:44 +00:00
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
2008-12-23 18:27:06 +00:00
Michael Niedermayer
2d76bf391a
Indent
...
Originally committed as revision 16292 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-23 17:50:36 +00:00
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
2008-12-23 17:49:38 +00:00
Víctor Paesa
5dd9799de8
Complete the list of external libraries.
...
Originally committed as revision 16290 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-23 10:29:32 +00:00
Víctor Paesa
666a1b348f
Advice on compiler versions
...
Originally committed as revision 16289 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-23 09:09:21 +00:00
Víctor Paesa
9f6bfe8034
Update Cygwin Ports URL.
...
Originally committed as revision 16288 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-23 08:57:28 +00:00
Víctor Paesa
8484503e87
Bring up to date the Cygwin docs.
...
Originally committed as revision 16287 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-23 08:53:37 +00:00
Michael Niedermayer
5cb5023c78
Make h264 parser 50% faster.
...
Originally committed as revision 16286 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-23 02:34:58 +00:00
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
2008-12-23 01:11:56 +00:00
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
2008-12-23 00:38:45 +00:00
Víctor Paesa
f496ab12e4
The diffutils package is also needed (for the 'cmp' command).
...
Spotted by Ramiro Polla.
Originally committed as revision 16283 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-22 23:30:33 +00:00
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
2008-12-22 22:39:55 +00:00
Carl Eugen Hoyos
9f2ace74ef
Fix two identical warnings when compiling riff.c and nuv.c with icc:
...
warning #188 : enumerated type mixed with another type
Originally committed as revision 16281 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-22 22:12:44 +00:00
Carl Eugen Hoyos
1c53290b67
Fix a warning when compiling with icc:
...
warning #188 : enumerated type mixed with another type
Originally committed as revision 16280 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-22 22:10:07 +00:00
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
2008-12-22 17:14:13 +00:00
Michael Niedermayer
26695973c7
Indent
...
Originally committed as revision 16278 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-22 16:56:05 +00:00
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
2008-12-22 16:46:17 +00:00
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
2008-12-22 16:20:13 +00:00
Michael Niedermayer
03a035e059
Simplify if/else, no speed change
...
Originally committed as revision 16275 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-22 16:14:06 +00:00
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
2008-12-22 16:10:35 +00:00
Michael Niedermayer
60c6ba7aea
Simplify ifs(), 8 cpu cycles faster on pentium dual
...
Originally committed as revision 16273 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-22 15:54:27 +00:00
Michael Niedermayer
127a20e3b8
Simplify if(), 3 cpu cycles faster in pentium dual.
...
Originally committed as revision 16272 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-22 15:53:00 +00:00
Aurelien Jacobs
9daa4ceaa3
Initialize s->opaque before calling url_resetbuf().
...
Fixes a regression test crash for icc 10.1 64 bit.
Patch by Aurelien.
Originally committed as revision 16271 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-22 11:23:00 +00:00
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
2008-12-22 09:12:42 +00:00
Wolfram Gloger
50e3477f0f
Offer an option (disabled by default) to enable the copy of the frames before
...
the first key frame in a stream.
Patch by Wolfram Gloger wmglo /!\ dent med uni (minus) muenchen de
Originally committed as revision 16269 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-22 08:22:22 +00:00
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
2008-12-22 06:50:18 +00:00
Kostya Shishkov
8eedffde31
Some TIFFs declare -1 for the single strip height
...
Originally committed as revision 16267 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-22 06:47:51 +00:00