1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00
Commit Graph

23361 Commits

Author SHA1 Message Date
David Conrad
73823cb941 oggdec: Save offset of the page needed to reconstruct the current packet
Originally committed as revision 22453 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-11 07:17:24 +00:00
Michael Niedermayer
d38c9e7a91 Implement framedrop.
Replace SDL timer by a seperate thread, more accurate and less annoying.
frame drop is enabled by default, bug reports welcome.
Fixes issue1191

Originally committed as revision 22452 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-11 02:35:04 +00:00
Måns Rullgård
5de91783bf indent
Originally committed as revision 22451 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-11 02:32:14 +00:00
Måns Rullgård
49e9287878 random_seed: try other alternatives if reading /dev/random fails
Originally committed as revision 22450 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-11 02:32:11 +00:00
Måns Rullgård
32f40ace25 sha: add missing include
Originally committed as revision 22449 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-11 02:32:08 +00:00
Måns Rullgård
cc1e807f4c snow: remove unused stub functions
w53_32_c() and w97_32_c() are defined as stubs when snow encoder is
disabled.  In this case, those functions are not referenced at all
and do thus not need to be defined.

Originally committed as revision 22448 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-11 02:32:05 +00:00
Måns Rullgård
8a3ceaf4f0 ffplay: use correct format specifiers in printf()
Originally committed as revision 22447 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-11 02:32:03 +00:00
Måns Rullgård
2023cfea0f Add some required casts
These casts are correct and safe.  The pointers are guaranteed to
have proper alignment, and aliasing is not a problem with character
types.

Originally committed as revision 22446 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-11 02:32:01 +00:00
Måns Rullgård
3952471da5 configure: remove stray semicolon
Originally committed as revision 22445 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-11 00:42:13 +00:00
Måns Rullgård
54a2ae3728 configure: use map() function in a couple of places
Originally committed as revision 22444 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-11 00:39:06 +00:00
Måns Rullgård
36e2dea032 configure: add --disable-everything option
This disables all codecs, formats, etc.  It saves some typing when
only a few components are desired.

Originally committed as revision 22443 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-11 00:39:02 +00:00
Michael Niedermayer
122dcdcb31 Fix some apparent +- errors in the audio vissualization.
The bugs become only vissible at higher time resolution than what is
used currently.

Originally committed as revision 22442 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-10 22:43:23 +00:00
Måns Rullgård
86decad652 sparc: fix a few pages of cast warnings
Originally committed as revision 22441 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-10 22:24:46 +00:00
Måns Rullgård
ad40380240 sparc: fix dsputil prototypes
Originally committed as revision 22440 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-10 22:24:42 +00:00
Måns Rullgård
47b1860eef configure: allow mips64el and powerpc64 as values for --arch
Originally committed as revision 22439 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-10 22:24:39 +00:00
Martin Storsjö
594a9aebbe Make the ntp_time function available to other parts of libavformat, as ff_ntp_time
Originally committed as revision 22438 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-10 22:21:39 +00:00
Martin Storsjö
18c31f6ff8 Only use .size in ARM assembly when targeting ELF
This fixes compilation on mingw32ce

Originally committed as revision 22437 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-10 21:39:58 +00:00
Michael Niedermayer
d9427e848e Only reschedule refresh if we successfully removed the scheduled one.
Fixes some spurious error messages.

Originally committed as revision 22435 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-10 16:11:02 +00:00
Michael Niedermayer
562f382cab Increase VIDEO_PICTURE_QUEUE_SIZE to 2.
this allows more asynchronous decoding and display thus improving
video smoothness.
It also seems to improve absolute video decoding speed for some reason

Originally committed as revision 22434 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-10 15:45:46 +00:00
Michael Niedermayer
d3d7b12edf Do not call SDL_SetVideoMode() with the same size as previously
as this blanks the window.

Originally committed as revision 22433 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-10 15:39:31 +00:00
Benoit Fouet
114a93c700 Fix ffm_close return type.
Originally committed as revision 22432 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-10 14:26:15 +00:00
Vitor Sessak
2dc22a64b4 Fix memory leak in FFM demuxer
Originally committed as revision 22431 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-10 13:17:50 +00:00
Måns Rullgård
9a894c48ae undef av_always_inline before redefining
Fixes numerous warnings with --enable-small or --disable-optimizations.

Originally committed as revision 22430 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-10 12:29:44 +00:00
Michael Niedermayer
9885284c22 Check level_prefix a bit (this just checks the max our bitreader can handle,
as i did nt find a limit in the spec)
This should stop cavlc_decode_residual() on a zero bitstream

Originally committed as revision 22429 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-10 09:55:03 +00:00
Baptiste Coudurier
83c2bc7abb In mpegts muxer, free adts context and temporary data
Originally committed as revision 22428 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-10 09:20:32 +00:00
Baptiste Coudurier
e3433702ae reindent
Originally committed as revision 22427 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-10 09:19:14 +00:00
Dave Yeo
cbfa66d0cf Include os_support.h which has a fallback declaration of socklen_t
This fixes compilation on some OSes

Patch by Dave Yeo, daveryeo at telus dot net

Originally committed as revision 22426 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-10 07:44:51 +00:00
Dave Yeo
611b17d79b Using struct timeval requires sys/time.h, fixes compilation on some OSes
Patch by Dave Yeo, daveryeo at telus dot net

Originally committed as revision 22425 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-10 07:43:56 +00:00
Ramiro Polla
e24080f00e vfwcap: Add support for UYVY pixel format.
Originally committed as revision 22424 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-10 05:25:06 +00:00
Måns Rullgård
0853a2b47e 10l: fix version.h generation
Note to self: always test in a clean directory

Originally committed as revision 22423 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-10 03:10:26 +00:00
Måns Rullgård
0680c40a25 Remove .SECONDARY directive
The presence of the .SECONDARY directive caused thing to not always
be correctly rebuilt.  Mentioning the object files explicitly as
targets gives the desired result of make not deleting them without
unpleasant side-effects.

Originally committed as revision 22422 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-10 02:57:01 +00:00
Måns Rullgård
f82bf85055 Make version.h depend on git changes
Originally committed as revision 22421 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-10 02:56:59 +00:00
Måns Rullgård
6a53fffd77 Improve version.h generation
Force version.sh to run whenever the version might have changed,
regardless of what is being built.  This is done by attaching the
dependencies to a dummy file (.version) which is included from the
makefile.  As make will always attempt to rebuild any included files
before considering other rules, this ensures that the real version.h
is (re-)created before it is required by any source file.

Originally committed as revision 22420 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-10 02:56:56 +00:00
Måns Rullgård
93bff1de77 Replace $(G) with more generic $(M) in silent make rules
Originally committed as revision 22419 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-10 02:56:52 +00:00
Måns Rullgård
86be2bc36f Prettify make output for documentation
Originally committed as revision 22418 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-10 02:56:50 +00:00
Måns Rullgård
b91cd80917 Change dir into doc/ when running texi2html
This silly program always writes its output to the current directory.
Changing directory is better than moving the file afterwards.

Originally committed as revision 22417 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-10 02:56:47 +00:00
David Conrad
f50dafa8fc vp3: avoid buffer overread in coeff decode
I couldn't measure it to be slower for normal interframe videos.
For the worst case, high-bitrate intra-only videos, it can be 0.7% slower.

Originally committed as revision 22416 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-10 00:59:32 +00:00
Carl Eugen Hoyos
2cbc1ec676 Fix indentation after r22414.
Originally committed as revision 22415 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-09 23:37:45 +00:00
Zhou Zongyi
d00261a34b SIMD optimization using float_to_int16_interleave.
Patch by Zhou Zongyi, zhouzy A os D pku D edu D cn

Originally committed as revision 22414 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-09 23:35:57 +00:00
Alex Converse
6ebc724060 aacsbr: Check that bs_num_env is valid before writing arrays with it as an offset.
Originally committed as revision 22413 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-09 21:50:10 +00:00
Alex Converse
134b8cbb9a aacsbr: Cleanup read_sbr_grid and copy_sbr_grid after the recent overhaul of those functions.
Originally committed as revision 22412 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-09 21:46:46 +00:00
Alex Converse
f7e7888b2a aacsbr: Factor out the common end border case from t_q setup.
Originally committed as revision 22411 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-09 21:35:55 +00:00
Alex Converse
ac8d655a79 aacsbr: read bs_rel_bord directly into t_env.
Originally committed as revision 22410 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-09 21:29:43 +00:00
Alex Converse
ecc1f8c3c8 aacsbr: Make the previous value of bs_num_env local to read_sbr_data().
Originally committed as revision 22409 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-09 20:46:41 +00:00
Alex Converse
46751a65e3 aacsbr: Initialize e_a[1] to -1.
This triggers lAPrev (e_a[0]) on the first SBR frame to be -1. The spec is
somewhat ambiguous to what this value should be but this increases the accuracy
of al_sbr_e_44_1 and similar streams from 14 bits to 15 bits.

Originally committed as revision 22408 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-09 20:16:14 +00:00
Måns Rullgård
2ed6f39944 Replace many includes of libavutil/common.h with what is actually needed
This reduces the number of false dependencies on header files and
speeds up compilation.

Originally committed as revision 22407 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-09 17:39:19 +00:00
Martin Storsjö
19fcd66c31 Docs: Place the vorbis comment properly, currently it's shown above the table
Originally committed as revision 22406 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-09 16:44:10 +00:00
Måns Rullgård
297bfb2fe6 libm.h needs attributes.h
Originally committed as revision 22405 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-09 16:17:59 +00:00
Måns Rullgård
a7e7d40c2e ARM: set size of asm functions in object files
Originally committed as revision 22404 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-09 16:17:56 +00:00
Martin Storsjö
db76ca7f35 Use rt->control_uri consequently instead of s->filename in all RTSP commands
Originally committed as revision 22403 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-09 16:04:41 +00:00