Ronald S. Bultje
9d50d39629
Fix issue1658 (trailing space in rtpmap descriptor).
...
Originally committed as revision 21187 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-13 15:55:42 +00:00
Tomas Härdin
094a63f1f6
Check there is a stream before writing header.
...
Patch by Tomas Härdin: $(name) punto hardin chez codemill dot se
Originally committed as revision 21186 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-13 14:32:48 +00:00
Vitor Sessak
ef5e7fb253
Remove needless use of log2f()
...
Originally committed as revision 21185 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-13 04:35:19 +00:00
Vitor Sessak
1c3c129b8f
Remove the struct SiprModeParam of the context. This will simplify splitting
...
the file for future 16k mode decoder code.
Originally committed as revision 21184 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-13 04:29:55 +00:00
Måns Rullgård
f3da24c4c3
SIPR: kill variable-length arrays
...
Two of these are in fact constant size, so use the constant instead of
a variable in the declarations. The remaining one is small enough
that always using the maximum size is acceptable.
Originally committed as revision 21183 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-13 03:11:02 +00:00
Michael Niedermayer
0cd73b6c30
remove unused variable
...
Originally committed as revision 21182 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-13 02:44:38 +00:00
Michael Niedermayer
cc51b28299
Split cabac decoding code out of h264.c.
...
not slower according to benchmarks.
Originally committed as revision 21181 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-13 02:35:36 +00:00
Michael Niedermayer
8e71d89a7b
Move golomb_to_int*cbp tables back to h264_data.h as svq3.c used them.
...
Yes i did compile&test, no svq3.c was not recompiled.
Originally committed as revision 21180 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-13 02:17:16 +00:00
Zuxy Meng
0752cd39d2
More av_cold for infrequently called functions.
...
Originally committed as revision 21179 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-13 02:16:00 +00:00
Michael Niedermayer
e1e949026e
Split cavlc out of h264.c.
...
Seems to speed the code up a little...
The placement of many generic functions between h264.c and h264.h is still open
Currently they are a little randomly placed between them.
Originally committed as revision 21178 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-13 01:59:19 +00:00
Stefano Sabatini
08f8b51f69
Make avfilter_insert_filter() log the names of the filters between
...
which it inserts the new filter.
Originally committed as revision 21177 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-13 00:16:52 +00:00
Stefano Sabatini
f37c934d20
Make query_formats() print an error message if an auto-inserted scale
...
filter cannot convert between input and output formats.
Originally committed as revision 21176 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-13 00:09:24 +00:00
Reimar Döffinger
1460c79097
Use MULH instead of 64x64 multiplication, around 5% overall speedup on Intel Atom.
...
Patch by myself and Yuriy Kaminskiy [yumkam mail ru]
Originally committed as revision 21175 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-12 23:02:07 +00:00
Michael Niedermayer
188d3c510d
Split motion vector prediction off h264.c/h.
...
Originally committed as revision 21174 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-12 21:36:26 +00:00
Michael Niedermayer
2bedc0e854
Move check_intra4x4_pred_mode() back from h264.h to h264.c, the function is just
...
called once per MB in worst case and doesnt seem to benefit from static inline.
Actually the code might be a hair faster now (0.1% according to my benchmark but
this could be random noise)
Originally committed as revision 21173 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-12 21:17:26 +00:00
Michael Niedermayer
ea6f00c448
Split all the reference picture handling off h264.c.
...
Originally committed as revision 21172 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-12 20:59:00 +00:00
Thilo Borgmann
099809d19b
Reindent after last commit.
...
Originally committed as revision 21171 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-12 20:37:56 +00:00
Thilo Borgmann
ff9ea0b7cc
Replace variable length array with an allocated buffer
...
in the context to increase compatibility.
Originally committed as revision 21170 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-12 20:35:22 +00:00
Michael Niedermayer
889fce8e30
Split (picture|seq) parameter set decoding out of h264.c.
...
no speedloss meassured, also its really not touching anything that is speed relevant.
Originally committed as revision 21169 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-12 19:33:45 +00:00
David Conrad
28b2866f45
/nop is illegal with Apple's older version of gas, this was fixed elsewhere
...
but not here since it was unused before now.
Originally committed as revision 30289 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2010-01-12 19:03:09 +00:00
Michael Niedermayer
9c09546352
Split SEI code off h264.c.
...
Originally committed as revision 21168 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-12 18:54:40 +00:00
Ronald S. Bultje
2edabfdfdb
Reindent after r21166.
...
Originally committed as revision 21167 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-12 16:36:23 +00:00
Tomas Härdin
08f7a8ac32
Use chunked encoding for HTTP uploads. Patch by Tomas Härdin
...
<$firstname.$lastname()codemill,se>.
Originally committed as revision 21166 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-12 16:36:00 +00:00
Michael Niedermayer
943f69a6ea
Split direct mode (macro)block decoding off h264.c.
...
No speedloss meassured (its slightly faster here but that may be random fluctuations)
Originally committed as revision 21165 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-12 14:32:58 +00:00
Michael Niedermayer
9514a0841a
Align mb_bit_buffer and vs_bit_buffer as their alignment is checked by assert().
...
Originally committed as revision 21164 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-12 13:54:35 +00:00
Martin Storsjö
51a269cd97
Make sure the destination address is written as an IP address in the SDP
...
Patch by Martin Storsjo (martin AT martin DOT st)
Originally committed as revision 21163 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-12 10:56:43 +00:00
Zuxy Meng
a7494872d5
Reduce stack usage in svq1_encode_plane(). Reuse context scratch buffer
...
instead. Avoid a crash on MinGW.
Originally committed as revision 21162 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-12 09:13:32 +00:00
Sergiy
56e29bf2c9
Correct timestamps inside FLV data received by RTMP.
...
Patch by Sergiy (gmail(piratfm))
Originally committed as revision 21161 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-12 07:10:47 +00:00
Art Clarke
e2ee11e868
Use old-style RTMP handshake for old servers.
...
This fixes issue streaming from Red5 server.
Patch by Art Clarke (aclarke@`echo xyzzy|sed s/y/u/|sed s/y/le/|tr z g`.com)
Originally committed as revision 21160 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-12 06:44:49 +00:00
Michael Niedermayer
082cf97106
Split h264 loop filter off h264.c.
...
No meassureable speed difference on pentium dual & cathedral sample.
Originally committed as revision 21159 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-12 06:01:55 +00:00
Michael Niedermayer
419276c50d
Move svq3.o to the correct spot.
...
Originally committed as revision 21158 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-12 05:34:10 +00:00
Michael Niedermayer
903d58f631
Get rid of #include "svq3.c"
...
functions called more than per mb are moved into the header, scan8 is also
as it must be known at compiletime.
The code after this patch duplicates h264data.h, this has been done to minimize
the changes in this step and allow more fine grained benchmarking.
Speedwise this is 1% faster on my pentium dual core with diegos cursed cathedral
sample.
Originally committed as revision 21157 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-12 05:30:31 +00:00
Michael Niedermayer
a683681336
Better title for the file.
...
Originally committed as revision 21156 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-12 04:49:18 +00:00
Zuxy Meng
845e37e770
Make sure that sfence is used after any non temporal stores.
...
Originally committed as revision 30287 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2010-01-12 02:34:33 +00:00
Vitor Sessak
6b7c7703f4
Add replacements for log2f(), exp2() and exp2f() for platforms that lacks it.
...
Should fix build breakage on some platforms introduced in r21125.
Originally committed as revision 21155 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-12 02:19:51 +00:00
Carl Eugen Hoyos
0941ee0fa6
Support uncompressed ("Resolution 1:1") Avid AVI Codec, (partially) fixes issue 1474.
...
Originally committed as revision 21154 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-12 00:29:26 +00:00
Måns Rullgård
dc0d86face
AAC: use table for cbrtf(n)*n
...
The maximum length of escape_sequence is 21 bits, so adjust limit in
code to match this.
Up to 10% faster on Cortex-A8.
Originally committed as revision 21153 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-11 20:21:26 +00:00
Luca Abeni
4bf0faaafe
Remove the inclusion of unneeded headers
...
Originally committed as revision 21152 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-11 19:55:14 +00:00
Måns Rullgård
7c8af53f87
AAC: escape_sequence is 21 bits max
...
The maximum length of escape_sequence is 21 bits, so adjust limit in
code to match this. Also fix the comment.
Originally committed as revision 21151 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-11 18:02:00 +00:00
Martin Storsjö
5d629b72cb
Provide a fallback for getnameinfo() also. Patch by Martin Storsjö
...
<$firstname()$firstname,st>.
Originally committed as revision 21150 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-11 17:45:17 +00:00
Martin Storsjö
34a65f1fdd
Implement a fallback for struct sockaddr_storage if not available.
...
Patch by Martin Storsjö <$firstname()$firstname,st>.
Originally committed as revision 21149 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-11 17:42:35 +00:00
Martin Storsjö
33a4dbdd03
Check for struct sockaddr_storage. Patch by Martin Storsjö
...
<$firstname()$firstname,st>.
Originally committed as revision 21148 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-11 17:42:15 +00:00
Martin Storsjö
fdcdd5396e
Use getaddrinfo() instead of resolve_host(). Patch by Martin Storsjö
...
<$firstname()$firstname,st>.
Originally committed as revision 21147 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-11 17:32:40 +00:00
Martin Storsjö
f1888474fa
Deprecate resolve_host(). Patch by Martin Storsjö <$firstname()$firstname,st>.
...
Originally committed as revision 21146 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-11 17:28:55 +00:00
Martin Storsjö
fa053ca725
Provide fallback implementations of getaddrinfo() and freeaddrinfo().
...
Patch by Martin Storsjö <$firstname()$firstname,st>.
Originally committed as revision 21145 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-11 17:27:07 +00:00
Martin Storsjö
c001861351
Check for struct addrinfo availability. Patch by Martin Storsjö
...
<$firstname()$firstname,st>.
Originally committed as revision 21144 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-11 17:17:01 +00:00
Ronald S. Bultje
7e43f74a37
Use getaddrinfo(), if available, in resolve_host(). Patch by Martin
...
Storsjö <$firstname()$firstname,st>.
Originally committed as revision 21143 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-11 17:14:16 +00:00
Martin Storsjö
84882df62b
Check for getaddrinfo(), patch by Martin Storsjö <$firstname()$firstname,st>.
...
Originally committed as revision 21142 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-11 17:01:56 +00:00
Alex Converse
c460833d76
fft-test: Add RDFT/IRDFT support.
...
Originally committed as revision 21141 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-11 16:41:03 +00:00
Alex Converse
5b37ef8e43
fft-test: Replace do_mdct with a tf_transform enum and switch on it.
...
Originally committed as revision 21140 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-11 16:40:01 +00:00