11 years agouse codec rc_max_rate if set and warn if bit rate is not set
Baptiste Coudurier [Wed, 13 Jan 2010 22:23:29 +0000 (22:23 +0000)]
use codec rc_max_rate if set and warn if bit rate is not set

Originally committed as revision 21204 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoDo not split audio frames accross pes packets.
Baptiste Coudurier [Wed, 13 Jan 2010 22:21:45 +0000 (22:21 +0000)]
Do not split audio frames accross pes packets.
This was not supported by some equipment and cisco analyzer.

Originally committed as revision 21203 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoSurprisingly enough, the RTP muxer does not depend on the RTP protocol
Luca Abeni [Wed, 13 Jan 2010 22:06:59 +0000 (22:06 +0000)]
Surprisingly enough, the RTP muxer does not depend on the RTP protocol
nor on network support.

Originally committed as revision 21202 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoprint more debug info about muxing parameters, patch by Mike Scheutzow, scheutzow...
Mike Scheutzow [Wed, 13 Jan 2010 21:42:55 +0000 (21:42 +0000)]
print more debug info about muxing parameters, patch by Mike Scheutzow, scheutzow at alcatel-lucent dot com

Originally committed as revision 21201 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoupdate mpegts_write_pes documentation, patch by Mike Scheutzow, scheutzow at alcatel...
Mike Scheutzow [Wed, 13 Jan 2010 21:40:37 +0000 (21:40 +0000)]
update mpegts_write_pes documentation, patch by Mike Scheutzow, scheutzow at alcatel-lucent dot com

Originally committed as revision 21200 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoInsert null packets to keep pcr values correct, patch by Mike Scheutzow,
Mike Scheutzow [Wed, 13 Jan 2010 20:44:56 +0000 (20:44 +0000)]
Insert null packets to keep pcr values correct, patch by Mike Scheutzow,
scheutzow at alcatel-lucent dot com and Niobos, niobos at dest-unreach dot be.

Originally committed as revision 21199 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agomove pcr/sdt/pat period computation after ts->mux_rate is set, patch by Mike Scheutzo...
Mike Scheutzow [Wed, 13 Jan 2010 20:30:55 +0000 (20:30 +0000)]
move pcr/sdt/pat period computation after ts->mux_rate is set, patch by Mike Scheutzow, scheutzow at alcatel-lucent dot com

Originally committed as revision 21198 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agooutput a pcr as soon as possible, patch by Mike Scheutzow, scheutzow at alcatel-lucen...
Mike Scheutzow [Wed, 13 Jan 2010 20:26:59 +0000 (20:26 +0000)]
output a pcr as soon as possible, patch by Mike Scheutzow, scheutzow at alcatel-lucent dot com

Originally committed as revision 21197 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agofix ts packet header size computation, patch by Niobos, niobos at dest-unreach dot be
Niobos [Wed, 13 Jan 2010 20:20:05 +0000 (20:20 +0000)]
fix ts packet header size computation, patch by Niobos, niobos at dest-unreach dot be

Originally committed as revision 21196 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agofix sdt, pat, pcr size computation, patch by Niobos, niobos at dest-unreach dot be
Niobos [Wed, 13 Jan 2010 20:14:53 +0000 (20:14 +0000)]
fix sdt, pat, pcr size computation, patch by Niobos, niobos at dest-unreach dot be

Originally committed as revision 21195 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoThe RTP muxer does not need rtp_asf.c
Luca Abeni [Wed, 13 Jan 2010 18:27:21 +0000 (18:27 +0000)]
The RTP muxer does not need rtp_asf.c

Originally committed as revision 21194 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoRemove the inclusion of unneeded headers
Luca Abeni [Wed, 13 Jan 2010 18:18:21 +0000 (18:18 +0000)]
Remove the inclusion of unneeded headers

Originally committed as revision 21193 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoDefine !CONFIG_FOO in config.make if feature disabled
Måns Rullgård [Wed, 13 Jan 2010 17:48:13 +0000 (17:48 +0000)]
Define !CONFIG_FOO in config.make if feature disabled

Originally committed as revision 21192 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoAAC: Reduce depth of vlc_spectral tables to 2
Måns Rullgård [Wed, 13 Jan 2010 16:46:39 +0000 (16:46 +0000)]
AAC: Reduce depth of vlc_spectral tables to 2

Up to 6% faster overall on i7, no change on A8.

Originally committed as revision 21191 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoAAC: Unswitch loop over window groups in decode_spectrum_and_dequant()
Måns Rullgård [Wed, 13 Jan 2010 16:46:35 +0000 (16:46 +0000)]
AAC: Unswitch loop over window groups in decode_spectrum_and_dequant()

GCC should be able to do this, but doesn't.  Slightly faster code.

Originally committed as revision 21190 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoAAC: simplify some calculations in decode_spectrum_and_dequant()
Måns Rullgård [Wed, 13 Jan 2010 16:46:32 +0000 (16:46 +0000)]
AAC: simplify some calculations in decode_spectrum_and_dequant()

Simplify cur_band_type, group_len, and coef/offset calculations.  This
makes the code easier to read and slightly faster.

Originally committed as revision 21189 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoAAC: Compress codebook tables and optimise sign bit handling
Måns Rullgård [Wed, 13 Jan 2010 16:46:28 +0000 (16:46 +0000)]
AAC: Compress codebook tables and optimise sign bit handling

The codebooks each consist of small number of values repeated in
groups of 2 or 4.  Storing the codebooks as a packed list of 2- or
4-bit indexes into a table reduces their size substantially (from 7.5k
to 1.5k), resulting in less cache pressure.

For the band types with sign bits in the bitstream, storing the number
and position of non-zero codebook values using a few bits avoids
multiple get_bits() calls and floating-point comparisons which gcc
handles miserably.

Some float/int type punning also avoids gcc brain damage.

Overall speedup 20-35% on Cortex-A8, 20% on Core i7.

Originally committed as revision 21188 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoFix issue1658 (trailing space in rtpmap descriptor).
Ronald S. Bultje [Wed, 13 Jan 2010 15:55:42 +0000 (15:55 +0000)]
Fix issue1658 (trailing space in rtpmap descriptor).

Originally committed as revision 21187 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoCheck there is a stream before writing header.
Tomas Härdin [Wed, 13 Jan 2010 14:32:48 +0000 (14:32 +0000)]
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

11 years agoRemove needless use of log2f()
Vitor Sessak [Wed, 13 Jan 2010 04:35:19 +0000 (04:35 +0000)]
Remove needless use of log2f()

Originally committed as revision 21185 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoRemove the struct SiprModeParam of the context. This will simplify splitting
Vitor Sessak [Wed, 13 Jan 2010 04:29:55 +0000 (04:29 +0000)]
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

11 years agoSIPR: kill variable-length arrays
Måns Rullgård [Wed, 13 Jan 2010 03:11:02 +0000 (03:11 +0000)]
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

11 years agoremove unused variable
Michael Niedermayer [Wed, 13 Jan 2010 02:44:38 +0000 (02:44 +0000)]
remove unused variable

Originally committed as revision 21182 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoSplit cabac decoding code out of h264.c.
Michael Niedermayer [Wed, 13 Jan 2010 02:35:36 +0000 (02:35 +0000)]
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

11 years agoMove golomb_to_int*cbp tables back to h264_data.h as svq3.c used them.
Michael Niedermayer [Wed, 13 Jan 2010 02:17:16 +0000 (02:17 +0000)]
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

11 years agoMore av_cold for infrequently called functions.
Zuxy Meng [Wed, 13 Jan 2010 02:16:00 +0000 (02:16 +0000)]
More av_cold for infrequently called functions.

Originally committed as revision 21179 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoSplit cavlc out of h264.c.
Michael Niedermayer [Wed, 13 Jan 2010 01:59:19 +0000 (01:59 +0000)]
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

11 years agoMake avfilter_insert_filter() log the names of the filters between
Stefano Sabatini [Wed, 13 Jan 2010 00:16:52 +0000 (00:16 +0000)]
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

11 years agoMake query_formats() print an error message if an auto-inserted scale
Stefano Sabatini [Wed, 13 Jan 2010 00:09:24 +0000 (00:09 +0000)]
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

11 years agoUse MULH instead of 64x64 multiplication, around 5% overall speedup on Intel Atom.
Reimar Döffinger [Tue, 12 Jan 2010 23:02:07 +0000 (23:02 +0000)]
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

11 years agoSplit motion vector prediction off h264.c/h.
Michael Niedermayer [Tue, 12 Jan 2010 21:36:26 +0000 (21:36 +0000)]
Split motion vector prediction off h264.c/h.

Originally committed as revision 21174 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoMove check_intra4x4_pred_mode() back from h264.h to h264.c, the function is just
Michael Niedermayer [Tue, 12 Jan 2010 21:17:26 +0000 (21:17 +0000)]
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

11 years agoSplit all the reference picture handling off h264.c.
Michael Niedermayer [Tue, 12 Jan 2010 20:59:00 +0000 (20:59 +0000)]
Split all the reference picture handling off h264.c.

Originally committed as revision 21172 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoReindent after last commit.
Thilo Borgmann [Tue, 12 Jan 2010 20:37:56 +0000 (20:37 +0000)]
Reindent after last commit.

Originally committed as revision 21171 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoReplace variable length array with an allocated buffer
Thilo Borgmann [Tue, 12 Jan 2010 20:35:22 +0000 (20:35 +0000)]
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

11 years agoSplit (picture|seq) parameter set decoding out of h264.c.
Michael Niedermayer [Tue, 12 Jan 2010 19:33:45 +0000 (19:33 +0000)]
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

11 years ago/nop is illegal with Apple's older version of gas, this was fixed elsewhere
David Conrad [Tue, 12 Jan 2010 19:03:09 +0000 (19:03 +0000)]
/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

11 years agoSplit SEI code off h264.c.
Michael Niedermayer [Tue, 12 Jan 2010 18:54:40 +0000 (18:54 +0000)]
Split SEI code off h264.c.

Originally committed as revision 21168 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoReindent after r21166.
Ronald S. Bultje [Tue, 12 Jan 2010 16:36:23 +0000 (16:36 +0000)]
Reindent after r21166.

Originally committed as revision 21167 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoUse chunked encoding for HTTP uploads. Patch by Tomas Härdin
Tomas Härdin [Tue, 12 Jan 2010 16:36:00 +0000 (16:36 +0000)]
Use chunked encoding for HTTP uploads. Patch by Tomas Härdin

Originally committed as revision 21166 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoSplit direct mode (macro)block decoding off h264.c.
Michael Niedermayer [Tue, 12 Jan 2010 14:32:58 +0000 (14:32 +0000)]
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

11 years agoAlign mb_bit_buffer and vs_bit_buffer as their alignment is checked by assert().
Michael Niedermayer [Tue, 12 Jan 2010 13:54:35 +0000 (13:54 +0000)]
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

11 years agoMake sure the destination address is written as an IP address in the SDP
Martin Storsjö [Tue, 12 Jan 2010 10:56:43 +0000 (10:56 +0000)]
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

11 years agoReduce stack usage in svq1_encode_plane(). Reuse context scratch buffer
Zuxy Meng [Tue, 12 Jan 2010 09:13:32 +0000 (09:13 +0000)]
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

11 years agoCorrect timestamps inside FLV data received by RTMP.
Sergiy [Tue, 12 Jan 2010 07:10:47 +0000 (07:10 +0000)]
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

11 years agoUse old-style RTMP handshake for old servers.
Art Clarke [Tue, 12 Jan 2010 06:44:49 +0000 (06:44 +0000)]
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

11 years agoSplit h264 loop filter off h264.c.
Michael Niedermayer [Tue, 12 Jan 2010 06:01:55 +0000 (06:01 +0000)]
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

11 years agoMove svq3.o to the correct spot.
Michael Niedermayer [Tue, 12 Jan 2010 05:34:10 +0000 (05:34 +0000)]
Move svq3.o to the correct spot.

Originally committed as revision 21158 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoGet rid of #include "svq3.c"
Michael Niedermayer [Tue, 12 Jan 2010 05:30:31 +0000 (05:30 +0000)]
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

Originally committed as revision 21157 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoBetter title for the file.
Michael Niedermayer [Tue, 12 Jan 2010 04:49:18 +0000 (04:49 +0000)]
Better title for the file.

Originally committed as revision 21156 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoMake sure that sfence is used after any non temporal stores.
Zuxy Meng [Tue, 12 Jan 2010 02:34:33 +0000 (02:34 +0000)]
Make sure that sfence is used after any non temporal stores.

Originally committed as revision 30287 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

11 years agoAdd replacements for log2f(), exp2() and exp2f() for platforms that lacks it.
Vitor Sessak [Tue, 12 Jan 2010 02:19:51 +0000 (02:19 +0000)]
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

11 years agoSupport uncompressed ("Resolution 1:1") Avid AVI Codec, (partially) fixes issue 1474.
Carl Eugen Hoyos [Tue, 12 Jan 2010 00:29:26 +0000 (00:29 +0000)]
Support uncompressed ("Resolution 1:1") Avid AVI Codec, (partially) fixes issue 1474.

Originally committed as revision 21154 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoAAC: use table for cbrtf(n)*n
Måns Rullgård [Mon, 11 Jan 2010 20:21:26 +0000 (20:21 +0000)]
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

11 years agoRemove the inclusion of unneeded headers
Luca Abeni [Mon, 11 Jan 2010 19:55:14 +0000 (19:55 +0000)]
Remove the inclusion of unneeded headers

Originally committed as revision 21152 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoAAC: escape_sequence is 21 bits max
Måns Rullgård [Mon, 11 Jan 2010 18:02:00 +0000 (18:02 +0000)]
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

11 years agoProvide a fallback for getnameinfo() also. Patch by Martin Storsjö
Martin Storsjö [Mon, 11 Jan 2010 17:45:17 +0000 (17:45 +0000)]
Provide a fallback for getnameinfo() also. Patch by Martin Storsjö

Originally committed as revision 21150 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoImplement a fallback for struct sockaddr_storage if not available.
Martin Storsjö [Mon, 11 Jan 2010 17:42:35 +0000 (17:42 +0000)]
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

11 years agoCheck for struct sockaddr_storage. Patch by Martin Storsjö
Martin Storsjö [Mon, 11 Jan 2010 17:42:15 +0000 (17:42 +0000)]
Check for struct sockaddr_storage. Patch by Martin Storsjö

Originally committed as revision 21148 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoUse getaddrinfo() instead of resolve_host(). Patch by Martin Storsjö
Martin Storsjö [Mon, 11 Jan 2010 17:32:40 +0000 (17:32 +0000)]
Use getaddrinfo() instead of resolve_host(). Patch by Martin Storsjö

Originally committed as revision 21147 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoDeprecate resolve_host(). Patch by Martin Storsjö <$firstname()$firstname,st>.
Martin Storsjö [Mon, 11 Jan 2010 17:28:55 +0000 (17:28 +0000)]
Deprecate resolve_host(). Patch by Martin Storsjö <$firstname()$firstname,st>.

Originally committed as revision 21146 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoProvide fallback implementations of getaddrinfo() and freeaddrinfo().
Martin Storsjö [Mon, 11 Jan 2010 17:27:07 +0000 (17:27 +0000)]
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

11 years agoCheck for struct addrinfo availability. Patch by Martin Storsjö
Martin Storsjö [Mon, 11 Jan 2010 17:17:01 +0000 (17:17 +0000)]
Check for struct addrinfo availability. Patch by Martin Storsjö

Originally committed as revision 21144 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoUse getaddrinfo(), if available, in resolve_host(). Patch by Martin
Ronald S. Bultje [Mon, 11 Jan 2010 17:14:16 +0000 (17:14 +0000)]
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

11 years agoCheck for getaddrinfo(), patch by Martin Storsjö <$firstname()$firstname,st>.
Martin Storsjö [Mon, 11 Jan 2010 17:01:56 +0000 (17:01 +0000)]
Check for getaddrinfo(), patch by Martin Storsjö <$firstname()$firstname,st>.

Originally committed as revision 21142 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agofft-test: Add RDFT/IRDFT support.
Alex Converse [Mon, 11 Jan 2010 16:41:03 +0000 (16:41 +0000)]
fft-test: Add RDFT/IRDFT support.

Originally committed as revision 21141 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agofft-test: Replace do_mdct with a tf_transform enum and switch on it.
Alex Converse [Mon, 11 Jan 2010 16:40:01 +0000 (16:40 +0000)]
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

11 years agoconfigure: Make check_type handle type names containing spaces
Martin Storsjö [Mon, 11 Jan 2010 14:22:29 +0000 (14:22 +0000)]
configure: Make check_type handle type names containing spaces

Patch by Martin Storsjö <martin at martin st>

Originally committed as revision 21139 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoFix two RLE buffer size calculations in TSCC decoder.
Kostya Shishkov [Mon, 11 Jan 2010 14:21:53 +0000 (14:21 +0000)]
Fix two RLE buffer size calculations in TSCC decoder.
Spotted by Zhongtuan Ma.

Originally committed as revision 21138 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoconfigure: allow names with spaces in enable/disable_safe
Måns Rullgård [Mon, 11 Jan 2010 13:36:58 +0000 (13:36 +0000)]
configure: allow names with spaces in enable/disable_safe

Originally committed as revision 21137 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoadd myself as the electronicarts demuxer maintainer
Peter Ross [Mon, 11 Jan 2010 12:08:42 +0000 (12:08 +0000)]
add myself as the electronicarts demuxer maintainer

Originally committed as revision 21136 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years ago10l: Fix forgotten variable rename from r14893 (fixes issue 1675).
Carl Eugen Hoyos [Mon, 11 Jan 2010 10:54:59 +0000 (10:54 +0000)]
10l: Fix forgotten variable rename from r14893 (fixes issue 1675).

Originally committed as revision 21135 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoAvoid redefinition of RGB_PLANAR2PACKED24 as the template is included for
Zuxy Meng [Mon, 11 Jan 2010 08:21:31 +0000 (08:21 +0000)]
Avoid redefinition of RGB_PLANAR2PACKED24 as the template is included for
multiple times.

Originally committed as revision 30273 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

11 years agocosmetics: {} placement.
Ramiro Polla [Mon, 11 Jan 2010 07:30:28 +0000 (07:30 +0000)]
cosmetics: {} placement.

Originally committed as revision 30272 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

11 years agooggdec: Set dts when known
David Conrad [Mon, 11 Jan 2010 05:51:09 +0000 (05:51 +0000)]
oggdec: Set dts when known

Originally committed as revision 21134 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoAdd missing internal.h to files calling ff_match_2uint16().
Alexander Strange [Mon, 11 Jan 2010 04:57:04 +0000 (04:57 +0000)]
Add missing internal.h to files calling ff_match_2uint16().

Fixes warnings:
libavcodec/mpegvideo_enc.c:574: warning: implicit declaration of function
libavcodec/ituh263enc.c:143: warning: implicit declaration of function
libavcodec/svq1enc.c:97: warning: implicit declaration of function

Originally committed as revision 21133 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoOptimize ff_snow_horizontal_compose97i.
Michael Niedermayer [Mon, 11 Jan 2010 02:52:50 +0000 (02:52 +0000)]
Optimize ff_snow_horizontal_compose97i.
this makes the 9/7 C wavelet at the decoder side 22% faster.
The old code is changed to match the new in terms of the order of operations
(which also makes it sligtly faster)

Originally committed as revision 21132 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoMerge vertical_compose53iL0*()
Michael Niedermayer [Mon, 11 Jan 2010 01:00:50 +0000 (01:00 +0000)]
Merge vertical_compose53iL0*()
8% faster C 5/3 wavelet at the decoder side.

Originally committed as revision 21131 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoOptimize horizontal_compose53i() by inlining inv_lift() and optimizing the
Michael Niedermayer [Mon, 11 Jan 2010 00:54:48 +0000 (00:54 +0000)]
Optimize horizontal_compose53i() by inlining inv_lift() and optimizing the
resulting code slightly. ~30% faster C 5/3 wavelet at the decoder side.

Originally committed as revision 21130 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agomkvdec: Avoid divide-by-zero crash on invalid real audio tracks
David Conrad [Mon, 11 Jan 2010 00:31:55 +0000 (00:31 +0000)]
mkvdec: Avoid divide-by-zero crash on invalid real audio tracks

Originally committed as revision 21129 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoAdd support for dirac in ogg
David Conrad [Mon, 11 Jan 2010 00:31:52 +0000 (00:31 +0000)]
Add support for dirac in ogg

Originally committed as revision 21128 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoAdd a function to parse Dirac's sequence header
David Conrad [Mon, 11 Jan 2010 00:31:44 +0000 (00:31 +0000)]
Add a function to parse Dirac's sequence header

Originally committed as revision 21127 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoExport fullrange flag and color information for h.264
David Conrad [Mon, 11 Jan 2010 00:31:39 +0000 (00:31 +0000)]
Export fullrange flag and color information for h.264

Originally committed as revision 21126 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoSIPR decoder for modes 8k5, 6k5 and 5k0.
Vladimir Voroshilov [Sun, 10 Jan 2010 21:38:15 +0000 (21:38 +0000)]
SIPR decoder for modes 8k5, 6k5 and 5k0.

Patch by Vladimir Voroshilov and myself.

Originally committed as revision 21125 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoMake query_formats() increment the scaler_count after each scaler
Stefano Sabatini [Sun, 10 Jan 2010 14:23:19 +0000 (14:23 +0000)]
Make query_formats() increment the scaler_count after each scaler

Originally committed as revision 21124 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoMake avfilter_insert_filter() print the instance name of the
Stefano Sabatini [Sun, 10 Jan 2010 13:45:55 +0000 (13:45 +0000)]
Make avfilter_insert_filter() print the instance name of the
auto-inserted scale filter, rather than the filter name, as this
provides more information.

Originally committed as revision 21123 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoAdd an entry for the addition of a parameter log_ctx to
Stefano Sabatini [Sun, 10 Jan 2010 13:42:50 +0000 (13:42 +0000)]
Add an entry for the addition of a parameter log_ctx to

Originally committed as revision 21122 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoAdd a log context to avfilter_graph_config_links().
Stefano Sabatini [Sun, 10 Jan 2010 13:39:56 +0000 (13:39 +0000)]
Add a log context to avfilter_graph_config_links().

Originally committed as revision 21121 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoRemove extra empty line.
Stefano Sabatini [Sun, 10 Jan 2010 10:40:45 +0000 (10:40 +0000)]
Remove extra empty line.

Originally committed as revision 21120 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoUse enum CodecID where appropriate.
Carl Eugen Hoyos [Sun, 10 Jan 2010 08:57:20 +0000 (08:57 +0000)]
Use enum CodecID where appropriate.

Originally committed as revision 21119 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoDeluxe Paint Animation demuxer
Peter Ross [Sun, 10 Jan 2010 05:47:50 +0000 (05:47 +0000)]
Deluxe Paint Animation demuxer

Originally committed as revision 21118 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoDeluxe Paint Animation decoder
Peter Ross [Sun, 10 Jan 2010 05:41:36 +0000 (05:41 +0000)]
Deluxe Paint Animation decoder

Originally committed as revision 21117 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agodo not create Electronic Arts audio stream when unsupported revision2 audio codec...
Peter Ross [Sun, 10 Jan 2010 05:08:42 +0000 (05:08 +0000)]
do not create Electronic Arts audio stream when unsupported revision2 audio codec is present [issue1516]

Originally committed as revision 21116 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoDoxy for ff_match_2uint16().
Michael Niedermayer [Sun, 10 Jan 2010 04:06:34 +0000 (04:06 +0000)]
Doxy for ff_match_2uint16().

Originally committed as revision 21115 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoFix implicit declaration warning.
Michael Niedermayer [Sun, 10 Jan 2010 04:04:51 +0000 (04:04 +0000)]
Fix implicit declaration warning.

Originally committed as revision 21114 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoAdd a function to match a 2 element vector of uint16_t and use it in h263 and svq1
Michael Niedermayer [Sat, 9 Jan 2010 18:33:21 +0000 (18:33 +0000)]
Add a function to match a 2 element vector of uint16_t and use it in h263 and svq1
instead of custom and bloated code to find an index into a w/h array.

Originally committed as revision 21113 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoMake inter_level/run global again, msmpeg4 uses them.
Michael Niedermayer [Sat, 9 Jan 2010 18:12:06 +0000 (18:12 +0000)]
Make inter_level/run global again, msmpeg4 uses them.
... I did test but it wasnt recompiled ...

Originally committed as revision 21112 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoMake some tables static again, i mistakely thought they would be used in several
Michael Niedermayer [Sat, 9 Jan 2010 17:22:37 +0000 (17:22 +0000)]
Make some tables static again, i mistakely thought they would be used in several

Originally committed as revision 21111 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoMMX(2) accelerated yuv420->rgb24 routine, trivial as essentially as it just
Zuxy Meng [Sat, 9 Jan 2010 17:20:49 +0000 (17:20 +0000)]
MMX(2) accelerated yuv420->rgb24 routine, trivial as essentially as it just
swaps R and B inputs for the existing yuv420->bgr24 routine.

Originally committed as revision 30254 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

11 years agoExport get_slice_type() as ff_h264_get_slice_type().
Laurent Aimar [Sat, 9 Jan 2010 16:20:41 +0000 (16:20 +0000)]
Export get_slice_type() as ff_h264_get_slice_type().
Patch by Laurent Aimar <fenrir at videolan dot org>.

Originally committed as revision 21110 to svn://svn.ffmpeg.org/ffmpeg/trunk