9 years agoClarify logic and feedback of the init() function.
Stefano Sabatini [Wed, 21 Jul 2010 17:14:13 +0000 (17:14 +0000)]
Clarify logic and feedback of the init() function.

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

9 years agoAdd description to the buffer source.
Stefano Sabatini [Wed, 21 Jul 2010 17:14:08 +0000 (17:14 +0000)]
Add description to the buffer source.

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

9 years agodarwin: allow 64-bit darwin to allocate executable memory
Ramiro Polla [Wed, 21 Jul 2010 13:29:55 +0000 (13:29 +0000)]
darwin: allow 64-bit darwin to allocate executable memory

darwin requires _DARWIN_C_SOURCE to be defined for MAP_ANON, which is used by
swscale to determine whether to use malloc() or mmap(). 64-bit darwin does not
have an executable heap, so mmap() must be used instead of malloc(), and
therefore _DARWIN_C_SOURCE must be defined.

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

9 years agoMake ff_inverse stay with libavutil, and optional copy it to libavcodec.
Diego Pettenò [Wed, 21 Jul 2010 12:37:37 +0000 (12:37 +0000)]
Make ff_inverse stay with libavutil, and optional copy it to libavcodec.

The ff_inverse table is used by FASTDIV macro, defined in libavutil, but up
to now the table was defined only in libavcodec.

After this change, the main copy of ff_inverse is part of libavutil (just
like FASTDIV), but if CONFIG_SMALL is unset, then a different copy is made
available to libavcodec, to avoid the performance penalty of using an
external look up table.

Dynamic linking works, because the libraries are linked with -Bsymbolic, so
the local copy of the symbol has priority over the external; static linking
works because the table is on a standalone object file in both libraries,
so the linker is able to discard one of the two.

Tested on Linux/x86-64 and Mac OS X/x86-64.

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

9 years agoEnable lavfi test in "make test"
Måns Rullgård [Wed, 21 Jul 2010 10:06:24 +0000 (10:06 +0000)]
Enable lavfi test in "make test"

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

9 years agoAdd header declarations for mmx/sse constants missing them
David Conrad [Wed, 21 Jul 2010 10:02:07 +0000 (10:02 +0000)]
Add header declarations for mmx/sse constants missing them

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

9 years agoMove ff_pw_* from vc1dsp_mmx.c to dsputil_mmx.c
David Conrad [Wed, 21 Jul 2010 10:02:03 +0000 (10:02 +0000)]
Move ff_pw_* from vc1dsp_mmx.c to dsputil_mmx.c

Should fix compilation with icc and should help prevent any future duplicates

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

9 years agogxfenc: Fix ES name in the UMF media description, by using strlen instead of sizeof
Thierry Foucu [Wed, 21 Jul 2010 07:46:02 +0000 (07:46 +0000)]
gxfenc: Fix ES name in the UMF media description, by using strlen instead of sizeof

Patch by Thierry Foucu, tfoucu at gmail

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

9 years agoVP8 MBedge loopfilter MMX/MMX2/SSE2 functions for both luma (width=16)
Ronald S. Bultje [Tue, 20 Jul 2010 22:58:56 +0000 (22:58 +0000)]
VP8 MBedge loopfilter MMX/MMX2/SSE2 functions for both luma (width=16)
and chroma (width=8).

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

9 years agoswscale-test: use av_pix_fmt_descriptors[].name directly
Ramiro Polla [Tue, 20 Jul 2010 22:20:23 +0000 (22:20 +0000)]
swscale-test: use av_pix_fmt_descriptors[].name directly

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

9 years agoChroma (width=8) inner loopfilter MMX/MMX2/SSE2 for VP8 decoder.
Ronald S. Bultje [Tue, 20 Jul 2010 22:04:18 +0000 (22:04 +0000)]
Chroma (width=8) inner loopfilter MMX/MMX2/SSE2 for VP8 decoder.

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

9 years agoconfigure: make sh_quote() more robust
Måns Rullgård [Tue, 20 Jul 2010 22:02:16 +0000 (22:02 +0000)]
configure: make sh_quote() more robust

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

9 years agoremove an unneeded av_realloc()
Pascal Massimino [Tue, 20 Jul 2010 21:54:46 +0000 (21:54 +0000)]
remove an unneeded av_realloc()

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

9 years agoWMAVoice regtests
Vitor Sessak [Tue, 20 Jul 2010 20:47:47 +0000 (20:47 +0000)]
WMAVoice regtests

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

9 years agoconfigure: create .config file where I intended
Måns Rullgård [Tue, 20 Jul 2010 19:42:35 +0000 (19:42 +0000)]
configure: create .config file where I intended

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

9 years agoconfigure: create .config file in configure to avoid needless reruns
Måns Rullgård [Tue, 20 Jul 2010 19:05:44 +0000 (19:05 +0000)]
configure: create .config file in configure to avoid needless reruns

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

9 years agoRerun configure when all*.c files have changed
Måns Rullgård [Tue, 20 Jul 2010 18:10:27 +0000 (18:10 +0000)]
Rerun configure when all*.c files have changed

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

9 years agoChange message tag for tests to simply TEST
Måns Rullgård [Tue, 20 Jul 2010 18:10:24 +0000 (18:10 +0000)]
Change message tag for tests to simply TEST

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

9 years agovp8: indent
Måns Rullgård [Tue, 20 Jul 2010 17:54:28 +0000 (17:54 +0000)]
vp8: indent

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

9 years agovp8: add do { } while(0) around XCHG() macro to avoid confusing if/else
Måns Rullgård [Tue, 20 Jul 2010 17:54:25 +0000 (17:54 +0000)]
vp8: add do { } while(0) around XCHG() macro to avoid confusing if/else

This is the correct solution to the warning "fixed" in the previous

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

9 years agoAdd some braces to silence the warning:
Diego Biurrun [Tue, 20 Jul 2010 17:45:54 +0000 (17:45 +0000)]
Add some braces to silence the warning:
libavcodec/vp8.c:892: warning: suggest explicit braces to avoid ambiguous `else'

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

9 years agoApply misc cosmetical style fixes.
Stefano Sabatini [Tue, 20 Jul 2010 16:23:25 +0000 (16:23 +0000)]
Apply misc cosmetical style fixes.

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

9 years agoAdd @file doxy.
Stefano Sabatini [Tue, 20 Jul 2010 16:23:18 +0000 (16:23 +0000)]
Add @file doxy.

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

9 years agoAllow the ASF header to be transferred split over multiple packets, as some
Zhentan Feng [Tue, 20 Jul 2010 15:14:15 +0000 (15:14 +0000)]
Allow the ASF header to be transferred split over multiple packets, as some
servers happen to do. For this, we also move several header-size-related
variables to the MMSTContext.

Patch by Zhentan Feng <spyfeng gmail com>.

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

9 years agoExplicitely set the size of the "ff_asf_head1_guid" header chunk, this is
Zhentan Feng [Tue, 20 Jul 2010 15:11:44 +0000 (15:11 +0000)]
Explicitely set the size of the "ff_asf_head1_guid" header chunk, this is
part of the spec and causes problems otherwise.

Patch by Zhentan Feng <spyfeng gmail com>.

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

9 years agoFix memory leak in ATRAC3 decoder
Vitor Sessak [Tue, 20 Jul 2010 15:08:54 +0000 (15:08 +0000)]
Fix memory leak in ATRAC3 decoder

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

9 years agoAlign outgoing messages to 8 bytes, this is required to interact with
Zhentan Feng [Tue, 20 Jul 2010 15:07:31 +0000 (15:07 +0000)]
Align outgoing messages to 8 bytes, this is required to interact with
most servers. Also remove a case where we manually aligned to 8 bytes,
since this is now no longer needed.

Patch by Zhentan Feng <spyfeng gmail com>.

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

9 years agoFix a compile warning when compiling with DEBUG=1. The warning was:
Zhentan Feng [Tue, 20 Jul 2010 15:05:45 +0000 (15:05 +0000)]
Fix a compile warning when compiling with DEBUG=1. The warning was:
format ‘%d’ expects type ‘int’, but argument 3 has type ‘uint64_t’

Patch by Zhentan Feng <spyfeng gmail com>.

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

9 years agoCheck the status code of each server responses, and fail if it indicates
Zhentan Feng [Tue, 20 Jul 2010 15:01:06 +0000 (15:01 +0000)]
Check the status code of each server responses, and fail if it indicates
a problem.

Patch by Zhentan Feng <spyfeng gmail com>.

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

9 years agoSend a time test to the server, as the spec recommends.
Zhentan Feng [Tue, 20 Jul 2010 14:59:23 +0000 (14:59 +0000)]
Send a time test to the server, as the spec recommends.

Patch by Zhentan Feng <spyfeng gmail com>.

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

9 years agoFFmpeg never supported msmpeg4v1 encoding.
Carl Eugen Hoyos [Tue, 20 Jul 2010 14:15:23 +0000 (14:15 +0000)]
FFmpeg never supported msmpeg4v1 encoding.

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

9 years agoLego Mindstorms RSO muxer and demuxer.
Rafaël Carré [Tue, 20 Jul 2010 14:13:24 +0000 (14:13 +0000)]
Lego Mindstorms RSO muxer and demuxer.

Patch by Rafaël Carré, rafael d carre a gmail

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

9 years agoasfdec: 10l, fix the minimum asf video stream header size
Martin Storsjö [Tue, 20 Jul 2010 13:08:10 +0000 (13:08 +0000)]
asfdec: 10l, fix the minimum asf video stream header size

This fixes the regression test breakage.

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

9 years agofate: run diff even if command fails
Måns Rullgård [Tue, 20 Jul 2010 12:54:43 +0000 (12:54 +0000)]
fate: run diff even if command fails

The diff may provide useful information even if the command was
unsuccessful.  The test is still treated as failed in this case.

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

9 years agoasfdec: Don't read the video stream header if there isn't enough data
Martin Storsjö [Tue, 20 Jul 2010 11:52:29 +0000 (11:52 +0000)]
asfdec: Don't read the video stream header if there isn't enough data

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

9 years agoasfdec: Handle asf_jfif_media
Martin Storsjö [Tue, 20 Jul 2010 11:50:57 +0000 (11:50 +0000)]
asfdec: Handle asf_jfif_media

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

9 years agoasf: Add asf_jfif_media guid
Martin Storsjö [Tue, 20 Jul 2010 11:50:22 +0000 (11:50 +0000)]
asf: Add asf_jfif_media guid

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

9 years agoRemove unused seek-regression.sh script
Måns Rullgård [Tue, 20 Jul 2010 10:19:35 +0000 (10:19 +0000)]
Remove unused seek-regression.sh script

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

9 years agoRemove old regtest make rules redirecting to fate-based ones
Måns Rullgård [Tue, 20 Jul 2010 10:19:31 +0000 (10:19 +0000)]
Remove old regtest make rules redirecting to fate-based ones

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

9 years agofate: allow running regtests through fate frontend
Måns Rullgård [Tue, 20 Jul 2010 10:19:28 +0000 (10:19 +0000)]
fate: allow running regtests through fate frontend

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

9 years agoCollect list of seek tests in configure
Måns Rullgård [Tue, 20 Jul 2010 10:19:26 +0000 (10:19 +0000)]
Collect list of seek tests in configure

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

9 years agoregtest: rename seektest ref files using alphanumeric chars only
Måns Rullgård [Tue, 20 Jul 2010 10:09:54 +0000 (10:09 +0000)]
regtest: rename seektest ref files using alphanumeric chars only

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

9 years agoRemove an assert that was no longer correct nor relevant
Martin Storsjö [Tue, 20 Jul 2010 09:58:30 +0000 (09:58 +0000)]
Remove an assert that was no longer correct nor relevant

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

9 years agoMake MP43 the default fourcc for msmpeg4v3:
Carl Eugen Hoyos [Tue, 20 Jul 2010 09:44:21 +0000 (09:44 +0000)]
Make MP43 the default fourcc for msmpeg4v3:
DIV3 is not supported on default XP and Vista installations (MP43 is).

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

9 years agomovenc: Free the buffer returned by url_close_dyn_buffer, regardless of the size
Martin Storsjö [Tue, 20 Jul 2010 05:23:28 +0000 (05:23 +0000)]
movenc: Free the buffer returned by url_close_dyn_buffer, regardless of the size

This fixes a leak introduced in rev 23942, since we write padding to the
buffer unconditionally.

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

9 years agoRestore vertical alignment in some defines
Ramiro Polla [Tue, 20 Jul 2010 01:45:25 +0000 (01:45 +0000)]
Restore vertical alignment in some defines

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

9 years agoRevert r24339 (it causes fate failures on x86-64) - I'll figure out what's
Ronald S. Bultje [Mon, 19 Jul 2010 23:57:09 +0000 (23:57 +0000)]
Revert r24339 (it causes fate failures on x86-64) - I'll figure out what's
wrong with it tomorrow or so, then re-submit.

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

9 years agoRemove FF_MM_SSE2/3 flags for CPUs where this is generally not faster than
Ronald S. Bultje [Mon, 19 Jul 2010 22:38:23 +0000 (22:38 +0000)]
Remove FF_MM_SSE2/3 flags for CPUs where this is generally not faster than
regular MMX code. Examples of this are the Core1 CPU. Instead, set a new flag,
FF_MM_SSE2/3SLOW, which can be checked for particular SSE2/3 functions that
have been checked specifically on such CPUs and are actually faster than
their MMX counterparts.

In addition, use this flag to enable particular VP8 and LPC SSE2 functions
that are faster than their MMX counterparts.

Based on a patch by Loren Merritt <lorenm AT u washington edu>.

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

9 years agoImplement chroma (width=8) inner loopfilter MMX/MMX2/SSE2 functions.
Ronald S. Bultje [Mon, 19 Jul 2010 21:53:28 +0000 (21:53 +0000)]
Implement chroma (width=8) inner loopfilter MMX/MMX2/SSE2 functions.

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

9 years agoBe more efficient with registers or stack memory. Saves 8/16 bytes stack
Ronald S. Bultje [Mon, 19 Jul 2010 21:45:36 +0000 (21:45 +0000)]
Be more efficient with registers or stack memory. Saves 8/16 bytes stack
for x86-32, or 2 MM registers on x86-64.

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

9 years agoChange function prototypes for width=8 inner and mbedge loopfilter functions
Ronald S. Bultje [Mon, 19 Jul 2010 21:18:04 +0000 (21:18 +0000)]
Change function prototypes for width=8 inner and mbedge loopfilter functions
so that it does both U and V planes at the same time. This will have speed
advantages when using SSE2 (or higher) optimizations, since we can do both
the U and V rows together in a single xmm register.

This also renames filter16 to filter16y and filter8 to filter8uv so that it's
more obvious what each function is used for.

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

9 years agoaacenc: Convert if () abort() to assert().
Alex Converse [Mon, 19 Jul 2010 20:53:58 +0000 (20:53 +0000)]
aacenc: Convert if () abort() to assert().

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

9 years agortpdec_xiph: Avoid extra memcpy in Xiph RTP depacketizer
Josh Allmann [Mon, 19 Jul 2010 18:43:20 +0000 (18:43 +0000)]
rtpdec_xiph: Avoid extra memcpy in Xiph RTP depacketizer

Patch by Josh Allmann, joshua dot allmann at gmail

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

9 years agoCosmetics: Whitespace
Alex Converse [Mon, 19 Jul 2010 18:37:45 +0000 (18:37 +0000)]
Cosmetics: Whitespace

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

9 years agoaacenc: Adjust array offsets for the current channel before calling ff_psy_suggest_wi...
Nathan Caldwell [Mon, 19 Jul 2010 18:22:44 +0000 (18:22 +0000)]
aacenc: Adjust array offsets for the current channel before calling ff_psy_suggest_window().

Patch by Nathan Caldwell <saintdev@gmail.com>

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

9 years agoaacenc: Refactor apply_window_and_mdct() so it no longer takes an offset channel.
Nathan Caldwell [Mon, 19 Jul 2010 18:19:53 +0000 (18:19 +0000)]
aacenc: Refactor apply_window_and_mdct() so it no longer takes an offset channel.

Patch by Nathan Caldwell <saintdev@gmail.com>

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

9 years agoFix lavfi pixdesc test
Måns Rullgård [Mon, 19 Jul 2010 17:17:49 +0000 (17:17 +0000)]
Fix lavfi pixdesc test

This test verifies the pixdesc code by comparing the output with and
without a filter which should have no effect on the image.  Since the
available pixel formats depend on the byte order of the machine, a
simple reference checksum is not possible.

The test originally tried to solve this by generating a reference file
on the fly.  The problem with this is that the test framework expects
the reference file in the source tree, and writing to the source tree
is not allowed.

To avoid complicating the test framework, we instead provide two
reference files and select which to use based on the byte order.

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

9 years agoGenerate list of lavfi tests in configure
Måns Rullgård [Mon, 19 Jul 2010 17:17:43 +0000 (17:17 +0000)]
Generate list of lavfi tests in configure

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

9 years agofate: echo fate-run command with V=1
Måns Rullgård [Mon, 19 Jul 2010 17:17:39 +0000 (17:17 +0000)]
fate: echo fate-run command with V=1

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

9 years agofix av_seek_frame_binary() documentation
Aurelien Jacobs [Mon, 19 Jul 2010 14:58:37 +0000 (14:58 +0000)]
fix av_seek_frame_binary() documentation
read_timestamp() is part of AVInputFormat, not AVCodec

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

9 years agoAdd doxygen @file comment block
Peter Ross [Mon, 19 Jul 2010 11:50:07 +0000 (11:50 +0000)]
Add doxygen @file comment block

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

9 years agortpdec_asf: Include lavu headers using quotes instead of angle brackets
Martin Storsjö [Mon, 19 Jul 2010 11:43:33 +0000 (11:43 +0000)]
rtpdec_asf: Include lavu headers using quotes instead of angle brackets

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

9 years agoRemove outdated entries about bt8x8 capture on Linux 2.4 kernels.
Diego Biurrun [Mon, 19 Jul 2010 09:13:56 +0000 (09:13 +0000)]
Remove outdated entries about bt8x8 capture on Linux 2.4 kernels.

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

9 years agoMark URL as such with texinfo markup.
Diego Biurrun [Mon, 19 Jul 2010 08:56:55 +0000 (08:56 +0000)]
Mark URL as such with texinfo markup.

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

9 years agoClarify bug reporting policy with regard to releases.
Diego Biurrun [Mon, 19 Jul 2010 08:41:47 +0000 (08:41 +0000)]
Clarify bug reporting policy with regard to releases.

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

9 years agoMark file references as such with texinfo markup.
Diego Biurrun [Mon, 19 Jul 2010 08:34:38 +0000 (08:34 +0000)]
Mark file references as such with texinfo markup.

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

9 years agoRemove duplicate RTP depacketization entry.
Diego Biurrun [Mon, 19 Jul 2010 07:52:12 +0000 (07:52 +0000)]
Remove duplicate RTP depacketization entry.
Two questions below there is the same Q+A, slightly rephrased.

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

9 years agoCosmetics: reindent and unify whitespace
Martin Storsjö [Mon, 19 Jul 2010 07:06:14 +0000 (07:06 +0000)]
Cosmetics: reindent and unify whitespace

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

9 years agoDo planar copy with a single memcpy only if the stride is equal to the length
Martin Storsjö [Mon, 19 Jul 2010 07:02:31 +0000 (07:02 +0000)]
Do planar copy with a single memcpy only if the stride is equal to the length

This avoids writing outside of the designated rectangle.

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

9 years agoMake avfilter.c dprintf* functions internal and declare them in an
Stefano Sabatini [Sun, 18 Jul 2010 22:37:39 +0000 (22:37 +0000)]
Make avfilter.c dprintf* functions internal and declare them in an
internal.h header, so they can be easily used from other files.

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

9 years agoAnother try at fixing swscale on win64, as per r31153.
Anton Mitrofanov [Sun, 18 Jul 2010 21:39:57 +0000 (21:39 +0000)]
Another try at fixing swscale on win64, as per r31153.

Don't change paramater passing, but instead use casts.
Shouldn't affect asm output on anything other than win64.
libswscale should work on win64 now.
The rest of ffmpeg still isn't win64 compatible due to the issue of xmm
clobbers, but swscale doesn't use any SSE.

Patch by Anton Mitrofanov <BugMaster AT narod DOT ru>.

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

9 years agofate: ensure all imported rules are handled by helpers
Måns Rullgård [Sun, 18 Jul 2010 20:50:03 +0000 (20:50 +0000)]
fate: ensure all imported rules are handled by helpers

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

9 years agofate: simplify test runner slightly
Måns Rullgård [Sun, 18 Jul 2010 20:46:44 +0000 (20:46 +0000)]
fate: simplify test runner slightly

All tests use the provided helper functions so prepending $target_exec
and using eval is no longer required.

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

9 years agofate: use helper functions in test rules
Måns Rullgård [Sun, 18 Jul 2010 20:46:42 +0000 (20:46 +0000)]
fate: use helper functions in test rules

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

9 years agoInclude lavu headers using quotes instead of angle brackets
Martin Storsjö [Sun, 18 Jul 2010 20:30:33 +0000 (20:30 +0000)]
Include lavu headers using quotes instead of angle brackets

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

9 years agofate: add some helper functions to simplify test rules
Måns Rullgård [Sun, 18 Jul 2010 20:19:30 +0000 (20:19 +0000)]
fate: add some helper functions to simplify test rules

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

9 years agofate: apply TARGET_EXEC only to commands starting with absolute path
Måns Rullgård [Sun, 18 Jul 2010 20:19:25 +0000 (20:19 +0000)]
fate: apply TARGET_EXEC only to commands starting with absolute path

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

9 years agofate: use our variable names in test rules imported from Mike's db
Måns Rullgård [Sun, 18 Jul 2010 20:19:21 +0000 (20:19 +0000)]
fate: use our variable names in test rules imported from Mike's db

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

9 years agofate-run: rename some variables consistently with other files
Måns Rullgård [Sun, 18 Jul 2010 20:19:16 +0000 (20:19 +0000)]
fate-run: rename some variables consistently with other files

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

9 years agofate: do not delete ref files when updating tests from db
Måns Rullgård [Sun, 18 Jul 2010 20:19:12 +0000 (20:19 +0000)]
fate: do not delete ref files when updating tests from db

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

9 years agoAdd MD5 protocol
Måns Rullgård [Sun, 18 Jul 2010 20:19:08 +0000 (20:19 +0000)]
Add MD5 protocol

This is a write-only protocol which computes the md5sum of data written,
and on close writes this to the designated output or stdout if none
is specified.  It can be used to test muxers without writing an actual

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

9 years agomore credits to D. J. Bernstein for fft
Loren Merritt [Sun, 18 Jul 2010 20:06:42 +0000 (20:06 +0000)]
more credits to D. J. Bernstein for fft

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

9 years agoFix memleak when using mp*float decoder.
flybird2k@gmail.com [Sun, 18 Jul 2010 19:53:24 +0000 (19:53 +0000)]
Fix memleak when using mp*float decoder.

Patch by flybird2k at gmail

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

9 years agoAllow all valid (and only valid) characters in URL scheme for url_open()
Måns Rullgård [Sun, 18 Jul 2010 18:38:23 +0000 (18:38 +0000)]
Allow all valid (and only valid) characters in URL scheme for url_open()

The URL specification allows letters, numbers, plus, hyphen, and period
in the scheme part.  The isalpha() test would allow additional characters
depending on locale settings while rejecting numbers and punctuation.

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

9 years agoFFmpeg : Replace some av_exit calls in av_transcode with branches to the
Jai Menon [Sun, 18 Jul 2010 18:20:41 +0000 (18:20 +0000)]
FFmpeg : Replace some av_exit calls in av_transcode with branches to the
cleanup code.

This plugs a bunch of memleaks.

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

9 years agoFix URL for ffv1, msmpeg4, asv1, 4xm docs.
Diego Biurrun [Sun, 18 Jul 2010 14:01:33 +0000 (14:01 +0000)]
Fix URL for ffv1, msmpeg4, asv1, 4xm docs.

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

9 years agoRemove trailing linefeed
Peter Ross [Sun, 18 Jul 2010 08:15:45 +0000 (08:15 +0000)]
Remove trailing linefeed

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

9 years agoUse correct doxygen syntax
Peter Ross [Sun, 18 Jul 2010 08:13:11 +0000 (08:13 +0000)]
Use correct doxygen syntax

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

9 years agoTele-typewriter demuxer
Peter Ross [Sun, 18 Jul 2010 08:06:55 +0000 (08:06 +0000)]
Tele-typewriter demuxer

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

9 years agoAdd ff_sauce_read()
Peter Ross [Sun, 18 Jul 2010 08:05:04 +0000 (08:05 +0000)]
Add ff_sauce_read()

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

9 years agoASCII/ANSI art decoder
Peter Ross [Sun, 18 Jul 2010 08:03:35 +0000 (08:03 +0000)]
ASCII/ANSI art decoder

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

9 years agoAdd @file documentation tag
Peter Ross [Sun, 18 Jul 2010 07:52:47 +0000 (07:52 +0000)]
Add @file documentation tag

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

9 years ago8088flex TMV video decoder now uses ff_draw_pc_font()
Peter Ross [Sun, 18 Jul 2010 07:46:29 +0000 (07:46 +0000)]
8088flex TMV video decoder now uses ff_draw_pc_font()

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

9 years agoAdd ff_draw_pc_font()
Peter Ross [Sun, 18 Jul 2010 07:44:38 +0000 (07:44 +0000)]
Add ff_draw_pc_font()

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

9 years agoAdd ff_vga16_font
Peter Ross [Sun, 18 Jul 2010 07:42:15 +0000 (07:42 +0000)]
Add ff_vga16_font

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

9 years agoMove the AV_PERM_* flags definition outside the AVFilterPicRef
S.N. Hemanth Meenakshisundaram [Sat, 17 Jul 2010 18:55:56 +0000 (18:55 +0000)]
Move the AV_PERM_* flags definition outside the AVFilterPicRef

This way it is easier to reference them in other structures, for
example in the pending AVFilterSamplesRef struct.

Patch by S.N. Hemanth Meenakshisundaram smeenaks AT ucsd DOT edu.

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

9 years agoClarify AVFilterBuffer documentation, make it clear that it is not
Stefano Sabatini [Sat, 17 Jul 2010 18:27:11 +0000 (18:27 +0000)]
Clarify AVFilterBuffer documentation, make it clear that it is not
necessarily video-related.

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

9 years agoAdd APIchanges entry after AVFilterBuffer w and h fields removal.
Stefano Sabatini [Sat, 17 Jul 2010 18:17:02 +0000 (18:17 +0000)]
Add APIchanges entry after AVFilterBuffer w and h fields removal.

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

9 years agoRemove AVFilterBuffer w and h fields.
S.N. Hemanth Meenakshisundaram [Sat, 17 Jul 2010 18:13:17 +0000 (18:13 +0000)]
Remove AVFilterBuffer w and h fields.

These fields are never used, and they do not seem to belong to
AVFilterBuffer anymore, now that it is now a media-independent
structure and these fields are video-related.

Patch by S.N. Hemanth Meenakshisundaram smeenaks ! ucsd ! edu.

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

9 years agoUse attribute force_align_arg_pointer only on x86_32.
Carl Eugen Hoyos [Sat, 17 Jul 2010 16:35:01 +0000 (16:35 +0000)]
Use attribute force_align_arg_pointer only on x86_32.

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