Kostya Shishkov
b381a823cd
10l trocadero: now return value of ff_rtmp_packet_read() has different meaning
...
Originally committed as revision 21534 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Kostya Shishkov
0b6b10d9da
Make RTMP send/receive packet functions report number of bytes read or sent.
...
Originally committed as revision 21533 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Kostya Shishkov
09b67cc4bd
cosmetics: add an empty line between variable declarations and code
...
Originally committed as revision 21532 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Kostya Shishkov
1cf3168516
Indeo Video Interactive 4 and 5 common code and DSP functions.
...
Reviewed and corrected by myself because there were no other volunteers in the
last weeks.
Originally committed as revision 21531 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ramiro Polla
b0f36ee1cd
Revert commits 21227, 21441, and 21442. None of this is necessary now that we
...
load the getaddrinfo family of functions through GetProcAddress. Also, there
is currently no feature that gets fixed in Win98 through the use of KernelEx.
Originally committed as revision 21530 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
800274f871
Make VP5 and VP6 decoders output a qscale table to allow for more automatic
...
post-processing, and add a new FF_QSCALE_TYPE_VP56 for this.
Originally committed as revision 21529 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ronald S. Bultje
5e4e9042c4
Add no_repeat_mask option, so that single-pulse vectors can also be
...
expressed in a AMRFixed structure and handled by ff_set_fixed_vector().
Originally committed as revision 21528 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Robert Swain
4a27f326c5
Add support for vorbis 6.1 and 7.1 channel configurations as per the new spec
...
http://xiph.org/vorbis/doc/Vorbis_I_spec.html#x1-800004.3.9
Originally committed as revision 21527 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Baptiste Coudurier
012dc2c426
Remove MAX_STREAMS usage in ogg and mxf muxers
...
Originally committed as revision 21526 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
402d55eef1
Set target_path to $(PWD) by default
...
This simplifies configuring for the most common remote testing
setup.
Originally committed as revision 21525 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
6c88973a75
Add AV_COPY32
...
Originally committed as revision 21524 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
788627dea6
Define av_alias if supported by compiler
...
Originally committed as revision 21523 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
dffb41b953
Check for may_alias gcc attribute support
...
Originally committed as revision 21522 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Laurent Aimar
68a4d3498f
vp56: check buffer size to fix a potential segfault
...
patch by Laurent Aimar fenrir _at_ videolan _dot_ org
Originally committed as revision 21521 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
8be0a5c384
Move ECFLAGS so it doesn't get added multiple times
...
Originally committed as revision 21520 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Justin Ruggles
2c2cdc0bfb
Simplify error handling by processing header errors separate from CRC and
...
buffer size vs. frame size errors.
Originally committed as revision 21519 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
836fc77785
Move variable declaration to block where it is used and simplify code.
...
Avoids a (incorrect) "possibly used uninitialized" warning, no measurable
speed difference.
Originally committed as revision 21518 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Rafaël Carré
dd0cd3d273
Export H264 profile and level in AVCodecContext.
...
Patch by Rafaël Carré, rafael D carre A gmail
Originally committed as revision 21517 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
88517e9f9d
Extract duplicated code into a separate function.
...
5% faster on Intel Atom with gcc 4.4.1 (performance is unchanged
if using av_always_inline).
Originally committed as revision 21516 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
604b2f5276
Append ECFLAGS to CFLAGS
...
This makes it easy to supply extra flags on the make command line
for testing purposes.
Originally committed as revision 21515 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
34032e26ab
factorize first filter call out, this makes the code somewhat
...
smaller without any speed loss.
Originally committed as revision 21514 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Jai Menon
ecc544debd
ffmpeg.c : Don't set AVFormatParameters::[audio|video]_codec_id
...
since it is no longer required.
Originally committed as revision 21513 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ronald S. Bultje
45aa90807f
Add RTP/H.263 depacketizer by Martin Storsjö <$firstname () $firstname st>.
...
Originally committed as revision 21512 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Jai Menon
90d0379f5e
Avoid using deprecated AVFormatParameters::[audio|video]_codec_id field.
...
Originally committed as revision 21511 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ronald S. Bultje
52ed8d0efe
Simplify. See "[PATCH] simplify ff_set_fixed_vector()" thread on mailinglist.
...
Originally committed as revision 21510 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
4ae406856f
Add --malloc-prefix to apply a prefix to malloc, free etc
...
This makes it easy to use a replacement allocator instead of the
system default one.
Originally committed as revision 21509 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Rafaël Carré
e9ca315dd1
Initialize thread_context[0] with h264 parser context.
...
This allows freeing the parser memory in the thread_context freeing loop.
Patch by Rafaël Carré gmailify(rafael, carre)
Originally committed as revision 21508 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
592e03a8da
Change wraper functions to always inline, they are faster now that way.
...
1% faster MBAFF decoding overall, maybe ~0.1% faster for the cathedral sample.
Originally committed as revision 21507 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
5364db2893
indent
...
Originally committed as revision 21506 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
2cf0d46d4c
Restructure check_mv()
...
~20 cpu cycles faster loopfilter
Originally committed as revision 21505 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
fabd704b37
Restructure if() in check_mv()
...
quite a bit faster
Originally committed as revision 21504 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
ca7c784fdf
Unroll loops in check_mv()
...
~6% faster (slow path) loopfilter (should be ~2% overall)
Originally committed as revision 21503 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
e814817b74
Factor mv/ref compare code out.
...
This is a hair slower (0.15% maybe) but i really dont want to have the
identical code duplicated 3 times because gcc adds odd threaded jumps with
register reshuffling and register safe/restore.
Originally committed as revision 21502 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Daniel Kristjansson
31277aebd9
Use av_mallocz in url_open_protocol for URLContext.
...
Patch by Daniel Kristjansson: danielk cuymedia net
Originally committed as revision 21501 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
12f1b1fec4
Remove last MAX_STREAMS from avienc.c
...
Originally committed as revision 21500 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
14ca9cd0b0
configure: consolidate compiler-specific optimisation settings
...
In the main per-compiler section, set speed_cflags and size_cflags
with suitable values. Later one or the other is added to CFLAGS.
Originally committed as revision 21499 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
b4f0e04c99
Introduce AVIStream struct and move stream based variables to it.
...
This removes all but one MAX_STREAM from avienc.c.
Originally committed as revision 21498 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
3b84924516
Simplify first edge filter condition.
...
Originally committed as revision 21497 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
b6302d0c55
Cosmetics, mostly indention, 2 or so new fixme comments that i was to lazy
...
to split out
Originally committed as revision 21496 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
0a32508d90
Make the fast loop filter path work with unavailable left MBs.
...
This prevents the issue with having to switch between slow and
fast code paths in each row.
0.5% faster loopfilter for cathedral
Originally committed as revision 21495 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
b304767301
get rid of the start variable.
...
a few cycles faster
Originally committed as revision 21494 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
980bcc554d
Unroll main loop so the edge==0 case is seperate.
...
This allows many things to be simplified away.
h264 decoder is overall 1% faster with a mbaff sample and
0.1% slower with the cathedral sample, probably because the slow loop
filter code must be loaded into the code cache for each first MB of each
row but isnt used for the following MBs.
Originally committed as revision 21493 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
695f7de6a4
Declare variable "version" in the PRINT_LIB_VERSION() macro if block,
...
slightly simpler and more robust.
Originally committed as revision 21492 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Carl Eugen Hoyos
39c6b3f54c
Support demuxing Blu-ray subtitles in matroska files.
...
Patch sent to mailing list by Taylor Ralph, taylor D ralph A gmail
Originally committed as revision 21491 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ronald S. Bultje
88248b76af
Fix BSD compile (PF_UNSPEC is not a standard define, AF_UNSPEC is).
...
Originally committed as revision 21490 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Rafaël Carré
881b5b80da
Fix svq3_* function declarations.
...
Patch by Rafaël Carré, rafael D carre A gmail
Originally committed as revision 21489 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
e3d8807315
SVQ1: 4-byte-align codebook tables
...
These tables are accessed as uint32 so they must be suitably aligned.
Originally committed as revision 21488 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
7e2ef1b9e1
Fix possible crashes in mlp parser, it tries to go back 7 bytes after
...
finding the 4-byte signature.
Add a check that ignores the signature if we do not have enough previous
data to go back at least 7 bytes.
Originally committed as revision 21487 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
d780511b94
Reduce log level of "Extracting .. channel downmix" to AV_LOG_DEBUG, the
...
message is pointless to ordinary users and is printed once per frame.
Originally committed as revision 21486 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
d30a8beb99
Fix duration calculation in the presence of a single wraping of the timeline.
...
Fixes issue1714.
Originally committed as revision 21485 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago