ffmpeg.git
10 years agoOptimize partition mv decoding in VP8
Jason Garrett-Glaser [Thu, 22 Jul 2010 06:29:26 +0000 (06:29 +0000)]
Optimize partition mv decoding in VP8

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

10 years agoTake shortcuts for mv0 case in VP8 MC
Jason Garrett-Glaser [Thu, 22 Jul 2010 05:49:09 +0000 (05:49 +0000)]
Take shortcuts for mv0 case in VP8 MC
Avoid edge emulation -- it isn't needed if there isn't any subpel.

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

10 years agoMuch faster VP8 mv and mode prediction
Jason Garrett-Glaser [Thu, 22 Jul 2010 04:26:41 +0000 (04:26 +0000)]
Much faster VP8 mv and mode prediction

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

10 years agoConvert vp56_mv to 16-bit.
Jason Garrett-Glaser [Thu, 22 Jul 2010 03:33:29 +0000 (03:33 +0000)]
Convert vp56_mv to 16-bit.
Saves nothing except a bit of memory/cache now, but will allow future
optimizations.

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

10 years agoAdd prefetching to VP8 decoder
Jason Garrett-Glaser [Thu, 22 Jul 2010 03:09:10 +0000 (03:09 +0000)]
Add prefetching to VP8 decoder
~5% faster overall, probably depends on CPU and resolution.

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

10 years agoFix and enable horizontal >=SSE2 mbedge loopfilter.
Ronald S. Bultje [Thu, 22 Jul 2010 01:35:26 +0000 (01:35 +0000)]
Fix and enable horizontal >=SSE2 mbedge loopfilter.

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

10 years agorelicense h264 deblock sse2 to lgpl
Loren Merritt [Thu, 22 Jul 2010 00:39:49 +0000 (00:39 +0000)]
relicense h264 deblock sse2 to lgpl

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

10 years agoAdd APIchanges entry after libavcore addition.
Stefano Sabatini [Wed, 21 Jul 2010 22:59:28 +0000 (22:59 +0000)]
Add APIchanges entry after libavcore addition.

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

10 years agosync yasm macros from x264
Loren Merritt [Wed, 21 Jul 2010 22:45:16 +0000 (22:45 +0000)]
sync yasm macros from x264

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

10 years agoEliminate one instruction in VP8 dc_add_sse4
Jason Garrett-Glaser [Wed, 21 Jul 2010 22:41:37 +0000 (22:41 +0000)]
Eliminate one instruction in VP8 dc_add_sse4

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

10 years agoAdd WMAPro regtests
Vitor Sessak [Wed, 21 Jul 2010 22:33:06 +0000 (22:33 +0000)]
Add WMAPro regtests

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

10 years agoVarious VP8 x86 deblocking speedups
Jason Garrett-Glaser [Wed, 21 Jul 2010 22:11:03 +0000 (22:11 +0000)]
Various VP8 x86 deblocking speedups
SSSE3 versions, improve SSE2 versions a bit.
SSE2/SSSE3 mbedge h functions are currently broken, so explicitly disable them.

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

10 years agouse return value of ff_get_line()
Aurelien Jacobs [Wed, 21 Jul 2010 21:41:46 +0000 (21:41 +0000)]
use return value of ff_get_line()

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

10 years agodocument ff_get_line()
Aurelien Jacobs [Wed, 21 Jul 2010 21:40:50 +0000 (21:40 +0000)]
document ff_get_line()

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

10 years agoimprove ff_get_line to return line length
Aurelien Jacobs [Wed, 21 Jul 2010 21:40:10 +0000 (21:40 +0000)]
improve ff_get_line to return line length

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

10 years agomove ff_get_line to aviobuf.c
Aurelien Jacobs [Wed, 21 Jul 2010 21:39:01 +0000 (21:39 +0000)]
move ff_get_line to aviobuf.c

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

10 years agorename get_line to ff_get_line
Aurelien Jacobs [Wed, 21 Jul 2010 21:35:44 +0000 (21:35 +0000)]
rename get_line to ff_get_line

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

10 years agoMake mmx VP8 WHT faster
Jason Garrett-Glaser [Wed, 21 Jul 2010 20:51:01 +0000 (20:51 +0000)]
Make mmx VP8 WHT faster
Avoid pextrw, since it's slow on many older CPUs.
Now it doesn't require mmxext either.

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

10 years agoregtest: simplify cleanup after each test
Måns Rullgård [Wed, 21 Jul 2010 20:49:41 +0000 (20:49 +0000)]
regtest: simplify cleanup after each test

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

10 years agofate: delete useless artifacts after running each test
Måns Rullgård [Wed, 21 Jul 2010 20:49:36 +0000 (20:49 +0000)]
fate: delete useless artifacts after running each test

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

10 years agofate: keep stderr from failing tests
Måns Rullgård [Wed, 21 Jul 2010 20:49:34 +0000 (20:49 +0000)]
fate: keep stderr from failing tests

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

10 years agoAdd libavcore.
Stefano Sabatini [Wed, 21 Jul 2010 18:28:42 +0000 (18:28 +0000)]
Add libavcore.

The new library is meant to contain the core multimedia utilities for
FFmpeg, to make them shareable between more libav* libraries.

See thread:
Subject: [FFmpeg-devel] [RFC] New library for shared non-generic libav* utils
Date: Fri, 9 Jul 2010 01:07:40 +0200

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

10 years agoTypo.
Víctor Paesa [Wed, 21 Jul 2010 17:31:37 +0000 (17:31 +0000)]
Typo.

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

10 years agoZero-initialize structs/arrays with {0} instead of {}, which isn't proper C99
Axel Holzinger [Wed, 21 Jul 2010 17:27:28 +0000 (17:27 +0000)]
Zero-initialize structs/arrays with {0} instead of {}, which isn't proper C99

Patch by Axel Holzinger, aholzinger at gmx dot de

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

10 years agoReindent, rewrap long comment lines to keep line length below 80 chars
Martin Storsjö [Wed, 21 Jul 2010 17:25:09 +0000 (17:25 +0000)]
Reindent, rewrap long comment lines to keep line length below 80 chars

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

10 years agortpdec_asf: Handle RTSP-MS packet splitting
Martin Storsjö [Wed, 21 Jul 2010 17:17:35 +0000 (17:17 +0000)]
rtpdec_asf: Handle RTSP-MS packet splitting

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

10 years agoDocument the buffer source.
Stefano Sabatini [Wed, 21 Jul 2010 17:14:22 +0000 (17:14 +0000)]
Document the buffer source.

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

10 years agoExtend buffer source syntax.
Stefano Sabatini [Wed, 21 Jul 2010 17:14:19 +0000 (17:14 +0000)]
Extend buffer source syntax.

Make the buffer source accept a string for specifying the input pixel
format.

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

10 years agoAdd an informational trace in init().
Stefano Sabatini [Wed, 21 Jul 2010 17:14:15 +0000 (17:14 +0000)]
Add an informational trace in init().

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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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
commit.

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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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