platform/upstream/libav.git
14 years agoUse macros instead of inline functions to replace the following missing C99
Vitor Sessak [Sat, 16 Jan 2010 01:27:46 +0000 (01:27 +0000)]
Use macros instead of inline functions to replace the following missing C99
functions: exp2, exp2f, log2, log2f.

Should fix compilation in systems where these functions are defined in math.h
but not implemented.

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

14 years agoSupport 2Vuy in mov, fixes issue 1690.
ami_stuff [Sat, 16 Jan 2010 00:32:09 +0000 (00:32 +0000)]
Support 2Vuy in mov, fixes issue 1690.

Patch by ami_stuff, ami_stuff o2 pl

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

14 years agoExclude .svn and .git directories from doxygen documentation.
Ramiro Polla [Fri, 15 Jan 2010 21:49:10 +0000 (21:49 +0000)]
Exclude .svn and .git directories from doxygen documentation.

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

14 years agoFix out of tree build with hardcoded tables
Måns Rullgård [Fri, 15 Jan 2010 20:48:34 +0000 (20:48 +0000)]
Fix out of tree build with hardcoded tables

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

14 years agomingw32: Build for Windows XP by default. Add note about Win9x/2000 support.
Ramiro Polla [Fri, 15 Jan 2010 20:30:03 +0000 (20:30 +0000)]
mingw32: Build for Windows XP by default. Add note about Win9x/2000 support.

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

14 years agoDon't initialize normal horizontal filter if MMX2 filter is used.
Ramiro Polla [Fri, 15 Jan 2010 19:50:59 +0000 (19:50 +0000)]
Don't initialize normal horizontal filter if MMX2 filter is used.

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

14 years agoGet one step closer to world domination.
Ramiro Polla [Fri, 15 Jan 2010 19:16:28 +0000 (19:16 +0000)]
Get one step closer to world domination.
Remove "make uninstall".

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

14 years agoDo not print VDPAU upgrade notice when configure is invoked
Jai Menon [Fri, 15 Jan 2010 18:50:53 +0000 (18:50 +0000)]
Do not print VDPAU upgrade notice when configure is invoked
with `--disable-vdpau`.

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

14 years agoAAC: optimise bitstream reading in decode_spectrum_and_dequant()
Måns Rullgård [Fri, 15 Jan 2010 14:02:52 +0000 (14:02 +0000)]
AAC: optimise bitstream reading in decode_spectrum_and_dequant()

Using the low-level macros directly avoids redundant open/update/close
cycles.

2-3% faster on ARM, PPC, and Core i7.

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

14 years agoSupport decoding of Avid uncompressed mov files, fixes issue 1685.
Carl Eugen Hoyos [Fri, 15 Jan 2010 11:03:40 +0000 (11:03 +0000)]
Support decoding of Avid uncompressed mov files, fixes issue 1685.

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

14 years agoSupport decoding Avid 1:1x codec, (partially) fixes issue1684.
Carl Eugen Hoyos [Fri, 15 Jan 2010 10:55:31 +0000 (10:55 +0000)]
Support decoding Avid 1:1x codec, (partially) fixes issue1684.

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

14 years agoConst correctness for src pointer. Remove all constness related warnings in
Zuxy Meng [Fri, 15 Jan 2010 08:51:51 +0000 (08:51 +0000)]
Const correctness for src pointer. Remove all constness related warnings in
libswscale.

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

14 years agoAdd forgotten include of h264_mvpred.h to h264.h.
Michael Niedermayer [Fri, 15 Jan 2010 03:42:56 +0000 (03:42 +0000)]
Add forgotten include of h264_mvpred.h to h264.h.
This could have caused the linking failure of pred_pskip_motion() missing if
a compiler included never used static functions.

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

14 years agoAdd forgotton multiple inclusion guards to h264_mvpred.h.
Michael Niedermayer [Fri, 15 Jan 2010 03:41:28 +0000 (03:41 +0000)]
Add forgotton multiple inclusion guards to h264_mvpred.h.

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

14 years agoAAC: ARM/NEON asm for VMUL2/4 functions
Måns Rullgård [Fri, 15 Jan 2010 02:58:24 +0000 (02:58 +0000)]
AAC: ARM/NEON asm for VMUL2/4 functions

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

14 years agoDo not assign codec_tag to pix_fmt in rawdec.c, but in raw.c
Carl Eugen Hoyos [Fri, 15 Jan 2010 00:45:47 +0000 (00:45 +0000)]
Do not assign codec_tag to pix_fmt in rawdec.c, but in raw.c

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

14 years agoFix typo.
Stefano Sabatini [Fri, 15 Jan 2010 00:39:25 +0000 (00:39 +0000)]
Fix typo.

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

14 years agoOptimise av_log2 with clz when available
Måns Rullgård [Thu, 14 Jan 2010 19:58:12 +0000 (19:58 +0000)]
Optimise av_log2 with clz when available

10% faster flac decoding on x86 and ARM.

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

14 years agoSet HAVE_FAST_CLZ if CPU has a fast count leading zeros instruction
Måns Rullgård [Thu, 14 Jan 2010 19:58:09 +0000 (19:58 +0000)]
Set HAVE_FAST_CLZ if CPU has a fast count leading zeros instruction

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

14 years agoRemove unused clip_table code.
Ramiro Polla [Thu, 14 Jan 2010 19:12:42 +0000 (19:12 +0000)]
Remove unused clip_table code.

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

14 years agoconfigure: allow reverse auto-selection of options
Måns Rullgård [Thu, 14 Jan 2010 18:25:38 +0000 (18:25 +0000)]
configure: allow reverse auto-selection of options

This adds the possibility to set foo_if and foo_if_any variables,
causing foo to be enabled if all/any of the listed options are
enabled.

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

14 years agoChange code so it uses 2 adds instead of one FFABS.
Reimar Döffinger [Thu, 14 Jan 2010 17:50:33 +0000 (17:50 +0000)]
Change code so it uses 2 adds instead of one FFABS.
About 1% faster ff_ac3_bit_alloc_calc_psd on Intel Atom, overall speedup
not measurable though.
Should have a bigger effect on systems without cmov or with very slow cmov.

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

14 years agoLatent libavformat version bump and documentation update for Adobe Filmstrip muxer...
Peter Ross [Thu, 14 Jan 2010 14:02:06 +0000 (14:02 +0000)]
Latent libavformat version bump and documentation update for Adobe Filmstrip muxer and demuxer (r21212)

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

14 years agoAdobe Filmstrip muxer and demuxer
Peter Ross [Thu, 14 Jan 2010 12:55:44 +0000 (12:55 +0000)]
Adobe Filmstrip muxer and demuxer

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

14 years agoAdd const qualifier to rgb48 to YV12 functions' src.
Ramiro Polla [Thu, 14 Jan 2010 06:19:45 +0000 (06:19 +0000)]
Add const qualifier to rgb48 to YV12 functions' src.

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

14 years agoAdd missing parameter to rgb48 to YV12 functions.
Ramiro Polla [Thu, 14 Jan 2010 06:19:10 +0000 (06:19 +0000)]
Add missing parameter to rgb48 to YV12 functions.

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

14 years agoImplement alpha channel decoding for BGR HuffYUV.
Alexander Strange [Thu, 14 Jan 2010 01:32:49 +0000 (01:32 +0000)]
Implement alpha channel decoding for BGR HuffYUV.

Since BGR24 is decoded as BGR32, fill its alpha channel with 255
using the appropriate predictors.

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

14 years agoset stream aspect from mov tkhd width/height, patch by Andrew Wason, rectalogic at...
Andrew Wason [Thu, 14 Jan 2010 00:32:36 +0000 (00:32 +0000)]
set stream aspect from mov tkhd width/height, patch by Andrew Wason, rectalogic at rectalogic dot com
Fixes issue 671.

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

14 years agodo not skip mdat data if it's the last atom, avoids one seek
Baptiste Coudurier [Wed, 13 Jan 2010 23:33:29 +0000 (23:33 +0000)]
do not skip mdat data if it's the last atom, avoids one seek

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

14 years agorestore old buffer content when seek failed in http protocol, fix issue #1631
Baptiste Coudurier [Wed, 13 Jan 2010 23:27:52 +0000 (23:27 +0000)]
restore old buffer content when seek failed in http protocol, fix issue #1631

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

14 years agorevert wrongly commited hunk in r21205
Baptiste Coudurier [Wed, 13 Jan 2010 22:57:37 +0000 (22:57 +0000)]
revert wrongly commited hunk in r21205

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

14 years agoremove useless type declarations
Baptiste Coudurier [Wed, 13 Jan 2010 22:52:22 +0000 (22:52 +0000)]
remove useless type declarations

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

14 years agoremove useless declarations from mpegts.h
Baptiste Coudurier [Wed, 13 Jan 2010 22:50:26 +0000 (22:50 +0000)]
remove useless declarations from mpegts.h

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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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
<$firstname.$lastname()codemill,se>.

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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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
sample.

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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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ö
<$firstname()$firstname,st>.

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

14 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

14 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ö
<$firstname()$firstname,st>.

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

14 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ö
<$firstname()$firstname,st>.

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

14 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

14 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

14 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ö
<$firstname()$firstname,st>.

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

14 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

14 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

14 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

14 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