libav.git
10 years agoMove Parametric Stereo related ps* files to aacps*.
Alex Converse [Tue, 22 Jun 2010 19:29:03 +0000 (19:29 +0000)]
Move Parametric Stereo related ps* files to aacps*.

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

10 years agoNative VP8 decoder.
David Conrad [Tue, 22 Jun 2010 19:24:09 +0000 (19:24 +0000)]
Native VP8 decoder.

Patch by David Conrad <lessen42 gmail com> and myself.

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

10 years agoChange a / 256 into a >> 8.
Ronald S. Bultje [Tue, 22 Jun 2010 19:19:13 +0000 (19:19 +0000)]
Change a / 256 into a >> 8.

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

10 years agoReindent after r23716.
Ronald S. Bultje [Tue, 22 Jun 2010 19:17:41 +0000 (19:17 +0000)]
Reindent after r23716.

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

10 years agoAdd intra prediction functions for VP8.
David Conrad [Tue, 22 Jun 2010 19:17:09 +0000 (19:17 +0000)]
Add intra prediction functions for VP8.

Patch by David Conrad <lessen42 gmail com> and myself.

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

10 years agoAdd a macro to pack 4 bytes into native byte-order so they can be written
Ronald S. Bultje [Tue, 22 Jun 2010 19:15:27 +0000 (19:15 +0000)]
Add a macro to pack 4 bytes into native byte-order so they can be written
at once using a single 32-bit store.

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

10 years agoMake "topright" argument to pred4x4() const.
David Conrad [Tue, 22 Jun 2010 19:12:54 +0000 (19:12 +0000)]
Make "topright" argument to pred4x4() const.

Patch by David Conrad <lessen42 gmail com>.

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

10 years agoAdd av_clip_int8(), used in the upcoming VP8 decoder.
Ronald S. Bultje [Tue, 22 Jun 2010 19:11:33 +0000 (19:11 +0000)]
Add av_clip_int8(), used in the upcoming VP8 decoder.

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

10 years agoCosmetics whitespace.
Alex Converse [Tue, 22 Jun 2010 19:06:35 +0000 (19:06 +0000)]
Cosmetics whitespace.

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

10 years agoAdd missing parentheses in MKTAG and MKBETAG macros.
Benoit Fouet [Tue, 22 Jun 2010 15:02:09 +0000 (15:02 +0000)]
Add missing parentheses in MKTAG and MKBETAG macros.

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

10 years agoMake the http protocol open the connection immediately in http_open again
Martin Storsjö [Tue, 22 Jun 2010 14:15:00 +0000 (14:15 +0000)]
Make the http protocol open the connection immediately in http_open again

Also make the RTSP protocol use url_alloc and url_connect instead of relying
on the delay open behaviour.

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

10 years agoAdd an AVClass to the HTTPContext
Martin Storsjö [Tue, 22 Jun 2010 14:13:55 +0000 (14:13 +0000)]
Add an AVClass to the HTTPContext

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

10 years agoAllocate the HTTPContext through URLProtocol.priv_data_size
Martin Storsjö [Tue, 22 Jun 2010 14:12:34 +0000 (14:12 +0000)]
Allocate the HTTPContext through URLProtocol.priv_data_size

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

10 years agoAdd an APIchanges entry for priv_data_size and priv_data_class
Martin Storsjö [Tue, 22 Jun 2010 14:10:56 +0000 (14:10 +0000)]
Add an APIchanges entry for priv_data_size and priv_data_class

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

10 years agoAdd priv_data_size and priv_data_class to URLProtocol
Martin Storsjö [Tue, 22 Jun 2010 14:09:08 +0000 (14:09 +0000)]
Add priv_data_size and priv_data_class to URLProtocol

This allows url_alloc to allocate and initialize the priv_data.

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

10 years agoAdd an APIchanges entry for url_alloc() and url_connect()
Martin Storsjö [Tue, 22 Jun 2010 14:05:10 +0000 (14:05 +0000)]
Add an APIchanges entry for url_alloc() and url_connect()

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

10 years agoSplit url_open and url_open_protocol into url_alloc and url_connect
Martin Storsjö [Tue, 22 Jun 2010 14:03:37 +0000 (14:03 +0000)]
Split url_open and url_open_protocol into url_alloc and url_connect

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

10 years agoAdd an APIchanges entry for av_register_protocol2
Martin Storsjö [Tue, 22 Jun 2010 14:00:13 +0000 (14:00 +0000)]
Add an APIchanges entry for av_register_protocol2

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

10 years agoAdd an av_register_protocol2 function that takes a size parameter
Martin Storsjö [Tue, 22 Jun 2010 13:58:48 +0000 (13:58 +0000)]
Add an av_register_protocol2 function that takes a size parameter

This allows extending the URLProtocol struct without breaking binary
compatibility with code compiled with older definitions of the struct.

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

10 years agoIFF PBM decoder: Add a pad byte if image width is odd <aleksi dot nurmi at gmail...
Peter Ross [Tue, 22 Jun 2010 12:41:17 +0000 (12:41 +0000)]
IFF PBM decoder: Add a pad byte if image width is odd <aleksi dot nurmi at gmail dot com>

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

10 years agoBump micro version, add changelog entry for DTS-ES extension decoding support
Martin Storsjö [Tue, 22 Jun 2010 09:22:21 +0000 (09:22 +0000)]
Bump micro version, add changelog entry for DTS-ES extension decoding support

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

10 years agoFix failure in av_read_frame on timestamp rollover.
Stephen Dredge [Tue, 22 Jun 2010 08:48:28 +0000 (08:48 +0000)]
Fix failure in av_read_frame on timestamp rollover.

Patch by Stephen Dredge, sdredge A tpg com au

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

10 years agoSupport DTS-ES extension (XCh) in dca: Cosmetic cleanup
Nick Brereton [Tue, 22 Jun 2010 08:35:44 +0000 (08:35 +0000)]
Support DTS-ES extension (XCh) in dca: Cosmetic cleanup

Patch by Nick Brereton, nick at nbrereton dot net

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

10 years agoSupport DTS-ES extension (XCh) in dca: add code to handle DTS-ES extension
Nick Brereton [Tue, 22 Jun 2010 08:34:51 +0000 (08:34 +0000)]
Support DTS-ES extension (XCh) in dca: add code to handle DTS-ES extension

Patch by Nick Brereton, nick at nbrereton dot net

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

10 years agoSupport DTS-ES extension (XCh) in dca: update and add channel mapping tables for...
Nick Brereton [Tue, 22 Jun 2010 08:34:02 +0000 (08:34 +0000)]
Support DTS-ES extension (XCh) in dca: update and add channel mapping tables for DTS-ES mappings

Patch by Nick Brereton, nick at nbrereton dot net

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

10 years agoSupport DTS-ES extension (XCh) in dca: move original code around to allow reused...
Nick Brereton [Tue, 22 Jun 2010 08:33:00 +0000 (08:33 +0000)]
Support DTS-ES extension (XCh) in dca: move original code around to allow reused by DTS-ES code

Patch by Nick Brereton, nick at nbrereton dot net

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

10 years agoSupport DTS-ES extension (XCh) in dca: move subband_samples into context structure
Nick Brereton [Tue, 22 Jun 2010 08:32:01 +0000 (08:32 +0000)]
Support DTS-ES extension (XCh) in dca: move subband_samples into context structure

Patch by Nick Brereton, nick at nbrereton dot net

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

10 years agolibvorbis: Only drop 1-byte packets at end of stream
Martin Storsjö [Tue, 22 Jun 2010 06:53:06 +0000 (06:53 +0000)]
libvorbis: Only drop 1-byte packets at end of stream

This fixes handling of totally silent packets during the encoding, that
also are 1 byte in size.

This fixes issue 2013

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

10 years agoffserver: Use avcodec_copy_context instead of manually copying an AVCodecContext
Martin Storsjö [Tue, 22 Jun 2010 06:45:05 +0000 (06:45 +0000)]
ffserver: Use avcodec_copy_context instead of manually copying an AVCodecContext

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

10 years agoRemove stray semicolon.
Carl Eugen Hoyos [Mon, 21 Jun 2010 22:54:53 +0000 (22:54 +0000)]
Remove stray semicolon.

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

10 years agoRe-add the list of parameters for the unsharp filter, I somehow lost
Stefano Sabatini [Mon, 21 Jun 2010 22:49:03 +0000 (22:49 +0000)]
Re-add the list of parameters for the unsharp filter, I somehow lost
it in the previous commit.

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

10 years agoMake the ffmpeg and ffplay man pages show the list of lavfi filters,
Stefano Sabatini [Mon, 21 Jun 2010 22:09:07 +0000 (22:09 +0000)]
Make the ffmpeg and ffplay man pages show the list of lavfi filters,
sinks and sources, and document the -vf option.

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

10 years agoReplace multitable for the unsharp filter option table with a simple
Stefano Sabatini [Mon, 21 Jun 2010 21:38:21 +0000 (21:38 +0000)]
Replace multitable for the unsharp filter option table with a simple
@table @option.

Allow pod rendering, as texinfo multitables are not supported by
texi2pod.pl, also improve plain texinfo file readability.

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

10 years agoUpdate documentation dependencies, make ff* tools manpages and HTML
Stefano Sabatini [Mon, 21 Jun 2010 21:38:19 +0000 (21:38 +0000)]
Update documentation dependencies, make ff* tools manpages and HTML
pages depend of fftools-common-opts.texi.

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

10 years agoRTSP: Use the same authentication for the HTTP POST session as for the GET
Martin Storsjö [Mon, 21 Jun 2010 19:41:02 +0000 (19:41 +0000)]
RTSP: Use the same authentication for the HTTP POST session as for the GET

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

10 years agoHTTP: Add a method for initializing the authentication state from another connection
Martin Storsjö [Mon, 21 Jun 2010 19:40:30 +0000 (19:40 +0000)]
HTTP: Add a method for initializing the authentication state from another connection

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

10 years agoReindent
Martin Storsjö [Mon, 21 Jun 2010 19:02:35 +0000 (19:02 +0000)]
Reindent

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

10 years agoHTTP: Compact the code for writing chunked post data
Martin Storsjö [Mon, 21 Jun 2010 19:02:05 +0000 (19:02 +0000)]
HTTP: Compact the code for writing chunked post data

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

10 years agoHTTP: Get rid of the is_chunked variable, use the chunksize variable instead
Martin Storsjö [Mon, 21 Jun 2010 19:01:32 +0000 (19:01 +0000)]
HTTP: Get rid of the is_chunked variable, use the chunksize variable instead

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

10 years agoHTTP: Clarify a comment
Martin Storsjö [Mon, 21 Jun 2010 18:40:53 +0000 (18:40 +0000)]
HTTP: Clarify a comment

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

10 years agomathematics.h no longer needs config.h, so update tablegen code and
Reimar Döffinger [Mon, 21 Jun 2010 17:01:22 +0000 (17:01 +0000)]
mathematics.h no longer needs config.h, so update tablegen code and
documentation to use it where appropriate.

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

10 years agoffmpeg: cosmetics: combine two variable declarations
Alexander Strange [Mon, 21 Jun 2010 04:15:18 +0000 (04:15 +0000)]
ffmpeg: cosmetics: combine two variable declarations

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

10 years agoaacdec: cosmetics: (more) whitespace
Alex Converse [Mon, 21 Jun 2010 04:14:20 +0000 (04:14 +0000)]
aacdec: cosmetics: (more) whitespace

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

10 years agoaacdec: cosmetics: whitespace
Alex Converse [Mon, 21 Jun 2010 04:10:18 +0000 (04:10 +0000)]
aacdec: cosmetics: whitespace

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

10 years agoaacdec: Factorize if (elem_type < TYPE_DSE).
Alex Converse [Mon, 21 Jun 2010 04:07:19 +0000 (04:07 +0000)]
aacdec: Factorize if (elem_type < TYPE_DSE).

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

10 years agoaacdec: Handle the first frame being empty case.
Alex Converse [Mon, 21 Jun 2010 04:05:09 +0000 (04:05 +0000)]
aacdec: Handle the first frame being empty case.

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

10 years agofail if input and output are the same
Baptiste Coudurier [Mon, 21 Jun 2010 01:05:30 +0000 (01:05 +0000)]
fail if input and output are the same

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

10 years agoaacsbr: Make dk signed. There is no point in it being unsigned.
Alex Converse [Sun, 20 Jun 2010 23:03:32 +0000 (23:03 +0000)]
aacsbr: Make dk signed. There is no point in it being unsigned.

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

10 years agopsdec: IPD/OPD reset is no longer needed by the context initializer.
Alex Converse [Sun, 20 Jun 2010 22:13:43 +0000 (22:13 +0000)]
psdec: IPD/OPD reset is no longer needed by the context initializer.

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

10 years agopsdec: Simplify filter addressing by incrementing the "in" pointer.
Alex Converse [Sun, 20 Jun 2010 22:08:33 +0000 (22:08 +0000)]
psdec: Simplify filter addressing by incrementing the "in" pointer.

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

10 years agoFix typo in macro name.
Nick Brereton [Sun, 20 Jun 2010 22:07:32 +0000 (22:07 +0000)]
Fix typo in macro name.

Patch by Nick Brereton, nick nbrereton net

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

10 years agopsdec: Replace a division with a shift.
Alex Converse [Sun, 20 Jun 2010 22:03:00 +0000 (22:03 +0000)]
psdec: Replace a division with a shift.

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

10 years agoRename PS bitstream reading functions to have a read_ prefix.
Alex Converse [Sun, 20 Jun 2010 21:53:51 +0000 (21:53 +0000)]
Rename PS bitstream reading functions to have a read_ prefix.

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

10 years agoReset chunksize back to zero (= no chunked encoding) after each new open
Ronald S. Bultje [Sun, 20 Jun 2010 21:41:02 +0000 (21:41 +0000)]
Reset chunksize back to zero (= no chunked encoding) after each new open
connection (e.g. a seek). This fixes the theoretical case where a server
sends a file first using chunked encoding, and then using non-chunked
encoding.

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

10 years agoUse url_write(), not http_write(), for sending the HTTP headers. This prevents
Ronald S. Bultje [Sun, 20 Jun 2010 21:38:16 +0000 (21:38 +0000)]
Use url_write(), not http_write(), for sending the HTTP headers. This prevents
them from being sent using chunked encoding (I don't think this ever happened,
but either way it would be wrong).

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

10 years agoCosmetics: whitespace.
Alex Converse [Sun, 20 Jun 2010 20:13:11 +0000 (20:13 +0000)]
Cosmetics: whitespace.

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

10 years agoUse memcpy() where appropriate in PS stereo processing remapping.
Alex Converse [Sun, 20 Jun 2010 20:06:41 +0000 (20:06 +0000)]
Use memcpy() where appropriate in PS stereo processing remapping.

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

10 years agoAllow PS envelope fixup when ps->num_env_old <= 1.
Alex Converse [Sun, 20 Jun 2010 19:38:08 +0000 (19:38 +0000)]
Allow PS envelope fixup when ps->num_env_old <= 1.

It is already rejected by the "source >= 0 && source != ps->num_env" 0 envelope
case and is perfectly legally for the suppressed final envelope case.

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

10 years ago10l: aacsbr: Fix f_master[2] calculation when k2diff == -1.
Alex Converse [Sun, 20 Jun 2010 19:24:18 +0000 (19:24 +0000)]
10l: aacsbr: Fix f_master[2] calculation when k2diff == -1.

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

10 years agoDocument the PS_BASELINE define.
Alex Converse [Sun, 20 Jun 2010 17:28:52 +0000 (17:28 +0000)]
Document the PS_BASELINE define.

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

10 years agoRemove iid_mode from the PS context.
Alex Converse [Sun, 20 Jun 2010 17:15:28 +0000 (17:15 +0000)]
Remove iid_mode from the PS context.

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

10 years agoconfigure: preserve cross-prefix for strip on darwin
Ramiro Polla [Sun, 20 Jun 2010 16:58:44 +0000 (16:58 +0000)]
configure: preserve cross-prefix for strip on darwin

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

10 years agoFix breakage in compilation with --disable-mpegaudio-hp introduced in
Vitor Sessak [Sun, 20 Jun 2010 13:00:24 +0000 (13:00 +0000)]
Fix breakage in compilation with --disable-mpegaudio-hp introduced in
r23646.

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

10 years agoAdd IEC958 data_types for DTS-HD (data burst described in IEC 61937-5),
Carl Eugen Hoyos [Sun, 20 Jun 2010 11:40:41 +0000 (11:40 +0000)]
Add IEC958 data_types for DTS-HD (data burst described in IEC 61937-5),
E-AC-3 (61937-3 Edition 2) and TrueHD (61937-9).

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

10 years agoChangeLog: note libfaad wrapper removal
Måns Rullgård [Sun, 20 Jun 2010 10:31:53 +0000 (10:31 +0000)]
ChangeLog: note libfaad wrapper removal

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

10 years agoRemove libfaad wrapper
Måns Rullgård [Sun, 20 Jun 2010 10:24:05 +0000 (10:24 +0000)]
Remove libfaad wrapper

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

10 years agopsdec: Factorize iid/icc/ipd/opd parameter bitstream reading.
Alex Converse [Sat, 19 Jun 2010 23:53:21 +0000 (23:53 +0000)]
psdec: Factorize iid/icc/ipd/opd parameter bitstream reading.

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

10 years agoRTSP: Add the auth credentials to the HTTP tunnel URL, too
Martin Storsjö [Sat, 19 Jun 2010 21:57:45 +0000 (21:57 +0000)]
RTSP: Add the auth credentials to the HTTP tunnel URL, too

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

10 years agoff_url_join: Don't add any at-char if the auth is an empty string
Martin Storsjö [Sat, 19 Jun 2010 21:56:50 +0000 (21:56 +0000)]
ff_url_join: Don't add any at-char if the auth is an empty string

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

10 years agoRTSP: Set the connection handles to null after closing them
Martin Storsjö [Sat, 19 Jun 2010 21:46:39 +0000 (21:46 +0000)]
RTSP: Set the connection handles to null after closing them

This fixes a potential issue when doing redirects.

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

10 years agoRTSP: Don't store the connection handles in local variables
Josh Allmann [Sat, 19 Jun 2010 21:36:13 +0000 (21:36 +0000)]
RTSP: Don't store the connection handles in local variables

This removes some useless copying of handles, and simplifies error handling.

Patch by Josh Allmann, joshua dot allmann at gmail

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

10 years agoAdd HE-AAC v2 support to the AAC decoder.
Alex Converse [Sat, 19 Jun 2010 14:14:51 +0000 (14:14 +0000)]
Add HE-AAC v2 support to the AAC decoder.

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

10 years agoFactorize the mpegaudio windowing code in a function and call it by a
Vitor Sessak [Sat, 19 Jun 2010 09:56:05 +0000 (09:56 +0000)]
Factorize the mpegaudio windowing code in a function and call it by a
function pointer. Should allow for ASM optimizations.

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

10 years agoImprove h263_probe()
Michael Niedermayer [Fri, 18 Jun 2010 23:17:20 +0000 (23:17 +0000)]
Improve h263_probe()
Fixes issue2015

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

10 years agoMPEG-2 DXVA2 implementation
Laurent Aimar [Fri, 18 Jun 2010 20:07:43 +0000 (20:07 +0000)]
MPEG-2 DXVA2 implementation

 It allows VLD MPEG-2 decoding using DXVA2 (GPU assisted decoding API under
VISTA and Windows 7).
 It is implemented by using AVHWAccel API.

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

10 years agoRTSP: Clean up rtsp_hd on failure
Martin Storsjö [Fri, 18 Jun 2010 17:54:56 +0000 (17:54 +0000)]
RTSP: Clean up rtsp_hd on failure

Since rtsp_hd isn't assigned to rt->rtsp_hd until after the setup phase,
the initialized URLContext could be leaked on failures.

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

10 years agoRTMP: Return from rtmp_read as soon as some data is available
Martin Storsjö [Fri, 18 Jun 2010 12:02:51 +0000 (12:02 +0000)]
RTMP: Return from rtmp_read as soon as some data is available

Earlier, the function only returned when the enough data to fill the
requested buffer was available. This lead to high latency when receiving
low-bandwidth streams.

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

10 years agoAdd IEC958 data_types for Atrac* and WMA Pro.
Carl Eugen Hoyos [Fri, 18 Jun 2010 07:54:45 +0000 (07:54 +0000)]
Add IEC958 data_types for Atrac* and WMA Pro.
Data-burst is described in IEC 61937-7 (Atrac) and IEC 61937-8 (WMA Pro).

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

10 years agoUse enum PixelFormat to silence one icc warning:
Carl Eugen Hoyos [Thu, 17 Jun 2010 22:33:42 +0000 (22:33 +0000)]
Use enum PixelFormat to silence one icc warning:

warning #188: enumerated type mixed with another type
      enum PixelFormat pix_fmts[] = { c->pix_fmt, PIX_FMT_NONE };
                                      ^

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

10 years agoAdd metadata support. Patch by Michael Karcher.
Michael Karcher [Thu, 17 Jun 2010 10:59:49 +0000 (10:59 +0000)]
Add metadata support. Patch by Michael Karcher.

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

10 years agoSimplify (no need to check for st->codec->extradata) and correct
Luca Abeni [Thu, 17 Jun 2010 10:30:52 +0000 (10:30 +0000)]
Simplify (no need to check for st->codec->extradata) and correct
(extradata_size must be at least 5 bytes) the H.264 MP4 syntax check
in rtpenc.c

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

10 years agoadd #include so make checkheaders passes
Michael Niedermayer [Thu, 17 Jun 2010 10:13:11 +0000 (10:13 +0000)]
add #include so make checkheaders passes

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

10 years agoAdd the necessary includes, add an extra empty line for cosmetics
Martin Storsjö [Thu, 17 Jun 2010 09:39:42 +0000 (09:39 +0000)]
Add the necessary includes, add an extra empty line for cosmetics

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

10 years agoAdd more tests to eval, help detecting some of the more apparent
Stefano Sabatini [Wed, 16 Jun 2010 22:36:52 +0000 (22:36 +0000)]
Add more tests to eval, help detecting some of the more apparent
errors, far from being a complete test system.

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

10 years agoMarking what should be removed in relation to MAX_STREAMS.
Michael Niedermayer [Wed, 16 Jun 2010 19:31:05 +0000 (19:31 +0000)]
Marking what should be removed in relation to MAX_STREAMS.

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

10 years agoDocument terminal coloring in the -loglevel option.
Stefano Sabatini [Wed, 16 Jun 2010 19:16:23 +0000 (19:16 +0000)]
Document terminal coloring in the -loglevel option.

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

10 years agoDocument how to set boolean options.
Stefano Sabatini [Wed, 16 Jun 2010 19:16:20 +0000 (19:16 +0000)]
Document how to set boolean options.

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

10 years agolibvorbis: Use memmove instead of memcpy for shifting data
Martin Storsjö [Wed, 16 Jun 2010 19:03:54 +0000 (19:03 +0000)]
libvorbis: Use memmove instead of memcpy for shifting data

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

10 years agoName the default configure log filename as "config.log" rather than
Stefano Sabatini [Wed, 16 Jun 2010 18:41:26 +0000 (18:41 +0000)]
Name the default configure log filename as "config.log" rather than
"config.err". The former name was misleading, as the file contains
useful information not necessarily related to errors.

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

10 years agoMake av_parse_expr() fail if there are trailing chars at the end of
Stefano Sabatini [Wed, 16 Jun 2010 18:27:55 +0000 (18:27 +0000)]
Make av_parse_expr() fail if there are trailing chars at the end of
the provided expression.

Allow detection of mistyped expressions.

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

10 years agoRemove the "b" from "Mb" in -b values for the dnxhd tests.
Stefano Sabatini [Wed, 16 Jun 2010 18:27:52 +0000 (18:27 +0000)]
Remove the "b" from "Mb" in -b values for the dnxhd tests.

They are just ignored, and tend to confuse both machines and humans.

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

10 years agoImprove av_parse_eval() error reporting.
Stefano Sabatini [Wed, 16 Jun 2010 18:27:46 +0000 (18:27 +0000)]
Improve av_parse_eval() error reporting.

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

10 years agodvbsub: parse display definition segment
Janne Grunau [Wed, 16 Jun 2010 13:07:12 +0000 (13:07 +0000)]
dvbsub: parse display definition segment

The display definition segment is used to properly display SD DVB subtitles in
HD video streams.

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

10 years agoIf the video stream is H.264 with MP4 syntax, store the NAL lenght size in
Luca Abeni [Wed, 16 Jun 2010 12:59:47 +0000 (12:59 +0000)]
If the video stream is H.264 with MP4 syntax, store the NAL lenght size in
the RTP muxer context (it will be used later for splitting frames in NALs)

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

10 years agoicc 12 finally fixed attribute(used) so gcc's DECLARE_ASM_CONST can be used.
Carl Eugen Hoyos [Wed, 16 Jun 2010 10:35:56 +0000 (10:35 +0000)]
icc 12 finally fixed attribute(used) so gcc's DECLARE_ASM_CONST can be used.

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

10 years agoDocument FF_SYMVER and attribute_used
Michael Niedermayer [Wed, 16 Jun 2010 04:53:09 +0000 (04:53 +0000)]
Document FF_SYMVER and attribute_used

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

10 years agoWhen reading a stream, should retry on EAGAIN instead of just failing. Also,
Howard Chu [Wed, 16 Jun 2010 01:12:26 +0000 (01:12 +0000)]
When reading a stream, should retry on EAGAIN instead of just failing. Also,
when reading a live feed, should retry regardless of whether any client has
opened the stream.

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

10 years agoFix svq3 watermark log uncompress on 64bit, probably fixes issue 1263
Baptiste Coudurier [Tue, 15 Jun 2010 22:38:16 +0000 (22:38 +0000)]
Fix svq3 watermark log uncompress on 64bit, probably fixes issue 1263

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

10 years agomatroskadec : propagate AVERROR to the caller
Aurelien Jacobs [Tue, 15 Jun 2010 19:53:15 +0000 (19:53 +0000)]
matroskadec : propagate AVERROR to the caller
based on a patch by Jai Menon

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

10 years agoconfigure: fix symver detection with icc 10
Måns Rullgård [Tue, 15 Jun 2010 18:06:28 +0000 (18:06 +0000)]
configure: fix symver detection with icc 10

Apparently the compiler sometimes bypasses the normal assembler, in
which case the asm label variant works.  If the file contains any
inline asm, this bypassing is not done, and the assembler chokes on
invalid syntax.  Inserting a dummy asm() statement in the test when
the compiler supports it makes sure no shortcuts are taken and the
test fails as it should.

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