ffmpeg.git
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
file.

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
definition.

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

9 years agofate: add stddev comparator
Måns Rullgård [Sat, 17 Jul 2010 15:02:34 +0000 (15:02 +0000)]
fate: add stddev comparator

This allows CMP=stddev in test rules.  The test passes if the reported
stddev is <= the FUZZ value (default 1).

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

9 years agofate: whitespace cosmetics
Måns Rullgård [Sat, 17 Jul 2010 15:02:32 +0000 (15:02 +0000)]
fate: whitespace cosmetics

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

9 years agoFix documentation syntax for the color source, the third parameter is
Stefano Sabatini [Sat, 17 Jul 2010 10:57:02 +0000 (10:57 +0000)]
Fix documentation syntax for the color source, the third parameter is
frame_rate, not frame_width. Thanks elenril for spotting it.

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

9 years agoUndo my revert at r24260.
Vitor Sessak [Sat, 17 Jul 2010 10:50:25 +0000 (10:50 +0000)]
Undo my revert at r24260.

This is the only way by now to test this codec.

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

9 years agoAdd APIchanges entry for AVFilterPic -> AVFilterBuffer rename.
Stefano Sabatini [Sat, 17 Jul 2010 10:47:27 +0000 (10:47 +0000)]
Add APIchanges entry for AVFilterPic -> AVFilterBuffer rename.

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

9 years agoRename AVFilterPic to AVFilterBuffer.
S.N. Hemanth Meenakshisundaram [Sat, 17 Jul 2010 10:44:14 +0000 (10:44 +0000)]
Rename AVFilterPic to AVFilterBuffer.

The struct is going to be used for audio data as well, so the new name
is less misleading.

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

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

9 years agoFix Doxygen @param command attribute syntax.
Diego Biurrun [Sat, 17 Jul 2010 10:43:42 +0000 (10:43 +0000)]
Fix Doxygen @param command attribute syntax.
The [in] and [out] attributes have to be appended to the @param command.

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

9 years agoAdd color source.
Stefano Sabatini [Sat, 17 Jul 2010 10:14:52 +0000 (10:14 +0000)]
Add color source.

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

9 years agoavidec : Free packet if dv_produce_packet fails.
Jai Menon [Sat, 17 Jul 2010 05:40:18 +0000 (05:40 +0000)]
avidec : Free packet if dv_produce_packet fails.

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

9 years agoaviobuf: Do short seeks forward by reading and skipping data instead of a proper...
Martin Storsjö [Sat, 17 Jul 2010 05:26:30 +0000 (05:26 +0000)]
aviobuf: Do short seeks forward by reading and skipping data instead of a proper seek

This improves performance on e.g. seekable http.

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

9 years agoavidec : Free codec context before initializing the chained DV demuxer.
Jai Menon [Sat, 17 Jul 2010 05:08:01 +0000 (05:08 +0000)]
avidec : Free codec context before initializing the chained DV demuxer.

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

9 years agoBump minor and add APIchanges entry for url_fskip return value change.
Martin Storsjö [Fri, 16 Jul 2010 23:31:30 +0000 (23:31 +0000)]
Bump minor and add APIchanges entry for url_fskip return value change.

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

9 years agourl_fskip: Return an error code if the url_fseek failed
Martin Storsjö [Fri, 16 Jul 2010 23:20:03 +0000 (23:20 +0000)]
url_fskip: Return an error code if the url_fseek failed

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

9 years agoIn ogg muxer, free dyn allocated buffer, fix memleak
Baptiste Coudurier [Fri, 16 Jul 2010 22:36:01 +0000 (22:36 +0000)]
In ogg muxer, free dyn allocated buffer, fix memleak

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

9 years agoAttempt to fix x86-64 testsuite on fate.
Ronald S. Bultje [Fri, 16 Jul 2010 21:35:30 +0000 (21:35 +0000)]
Attempt to fix x86-64 testsuite on fate.

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

9 years ago10l: Add a missing const.
Alex Converse [Fri, 16 Jul 2010 20:28:55 +0000 (20:28 +0000)]
10l: Add a missing const.

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

9 years agoaacenc: Template quantize_and_encode_band_cost().
Alex Converse [Fri, 16 Jul 2010 20:02:46 +0000 (20:02 +0000)]
aacenc: Template quantize_and_encode_band_cost().

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

9 years agoRemove duplicate define.
Ronald S. Bultje [Fri, 16 Jul 2010 19:54:47 +0000 (19:54 +0000)]
Remove duplicate define.

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

9 years agoRevert 24270, it contained some stuff that shouldn't have been in there.
Ronald S. Bultje [Fri, 16 Jul 2010 19:54:25 +0000 (19:54 +0000)]
Revert 24270, it contained some stuff that shouldn't have been in there.

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

9 years agoRemove duplicate define.
Ronald S. Bultje [Fri, 16 Jul 2010 19:42:32 +0000 (19:42 +0000)]
Remove duplicate define.

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

9 years agoGive x86 r%d registers names, this will simplify implementation of the chroma
Ronald S. Bultje [Fri, 16 Jul 2010 19:38:10 +0000 (19:38 +0000)]
Give x86 r%d registers names, this will simplify implementation of the chroma
inner loopfilter, and it also allows us to save one register on x86-64/sse2.

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

9 years agoChange return statement, the REP_RET is a mistake since the else case (x86-64,
Ronald S. Bultje [Fri, 16 Jul 2010 18:29:14 +0000 (18:29 +0000)]
Change return statement, the REP_RET is a mistake since the else case (x86-64,
sse2) doesn't actually loop, so REP_RET isn't necessary.

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

9 years agoIn planarCopyWrapper, Only copy length, not stride of the last line in the plane
Martin Storsjö [Fri, 16 Jul 2010 17:45:50 +0000 (17:45 +0000)]
In planarCopyWrapper, Only copy length, not stride of the last line in the plane

If the destination planes are offset within the destination buffer,
writing the extra bytes at the end may write outside of the destination
buffer.

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

9 years agoMake Intel Music Coder output SAMPLE_FMT_FLT
Vitor Sessak [Fri, 16 Jul 2010 16:50:56 +0000 (16:50 +0000)]
Make Intel Music Coder output SAMPLE_FMT_FLT

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

9 years agohttp: Log a warning when receiving an error code
Martin Storsjö [Fri, 16 Jul 2010 14:15:37 +0000 (14:15 +0000)]
http: Log a warning when receiving an error code

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

9 years agoMove SPACE_CHARS back to libavformat/internal.h
Martin Storsjö [Fri, 16 Jul 2010 14:12:52 +0000 (14:12 +0000)]
Move SPACE_CHARS back to libavformat/internal.h

It will be used by other parts of lavf now. This reverts svn rev 23846.

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

9 years agoUse designated initialisers for pcm codec struct
Peter Ross [Fri, 16 Jul 2010 13:02:48 +0000 (13:02 +0000)]
Use designated initialisers for pcm codec struct

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

9 years agofate: update vc1 reference
Måns Rullgård [Fri, 16 Jul 2010 12:37:09 +0000 (12:37 +0000)]
fate: update vc1 reference

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

9 years agoVorbis regtests
Vitor Sessak [Fri, 16 Jul 2010 12:32:14 +0000 (12:32 +0000)]
Vorbis regtests

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

9 years agoFix dependencies for msmpeg4v3 regression test
Måns Rullgård [Fri, 16 Jul 2010 10:39:37 +0000 (10:39 +0000)]
Fix dependencies for msmpeg4v3 regression test

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

9 years agoRevert r24258:
Vitor Sessak [Fri, 16 Jul 2010 10:19:21 +0000 (10:19 +0000)]
Revert r24258:

Log:
Add msmpeg4v1 regtest

Added:
   trunk/tests/ref/fate/msmpeg4v1
Modified:
   trunk/tests/fate2.mak

According to Mans, "make test" tests already msmpeg4v1.

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

9 years agoNit: fix alphabetical order
Vitor Sessak [Fri, 16 Jul 2010 10:08:26 +0000 (10:08 +0000)]
Nit: fix alphabetical order

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

9 years agoAdd msmpeg4v1 regtest
Vitor Sessak [Fri, 16 Jul 2010 10:06:33 +0000 (10:06 +0000)]
Add msmpeg4v1 regtest

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

9 years agoAdd MS-GSM regtest
Vitor Sessak [Fri, 16 Jul 2010 09:58:17 +0000 (09:58 +0000)]
Add MS-GSM regtest

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

9 years agoATRAC3 regtests
Vitor Sessak [Fri, 16 Jul 2010 09:41:53 +0000 (09:41 +0000)]
ATRAC3 regtests

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

9 years agoAdd ATRAC1 regtest
Vitor Sessak [Fri, 16 Jul 2010 09:35:26 +0000 (09:35 +0000)]
Add ATRAC1 regtest

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

9 years agoAdd EAC3 regtests
Vitor Sessak [Fri, 16 Jul 2010 09:24:09 +0000 (09:24 +0000)]
Add EAC3 regtests

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

9 years agoAdd AC3 regtests
Vitor Sessak [Fri, 16 Jul 2010 09:09:53 +0000 (09:09 +0000)]
Add AC3 regtests

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

9 years agovp8: Save mb border needed for intra prediction so that loop filter can run
David Conrad [Fri, 16 Jul 2010 07:20:35 +0000 (07:20 +0000)]
vp8: Save mb border needed for intra prediction so that loop filter can run
immediately after a mb row is decoded

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

9 years agovp8: Check for malloc failure
David Conrad [Fri, 16 Jul 2010 07:20:31 +0000 (07:20 +0000)]
vp8: Check for malloc failure

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

9 years agoVP8 H/V inner loopfilter MMX/MMXEXT/SSE2 optimizations.
Ronald S. Bultje [Thu, 15 Jul 2010 23:02:34 +0000 (23:02 +0000)]
VP8 H/V inner loopfilter MMX/MMXEXT/SSE2 optimizations.

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

9 years agoARM: NEON H264 chroma loop filter 3 cycles faster
Måns Rullgård [Thu, 15 Jul 2010 21:59:27 +0000 (21:59 +0000)]
ARM: NEON H264 chroma loop filter 3 cycles faster

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

9 years agogrep Changelog entry from unified diffs
Rafaël Carré [Thu, 15 Jul 2010 12:05:53 +0000 (12:05 +0000)]
grep Changelog entry from unified diffs

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

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

9 years agoFFmpeg : Close input file and free any related memory if
Jai Menon [Thu, 15 Jul 2010 11:53:34 +0000 (11:53 +0000)]
FFmpeg : Close input file and free any related memory if
av_find_stream_info fails.

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

9 years agoremove redundant text and whitespaces from iff demuxer av_log() statements
Peter Ross [Thu, 15 Jul 2010 11:43:09 +0000 (11:43 +0000)]
remove redundant text and whitespaces from iff demuxer av_log() statements

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