platform/upstream/libav.git
13 years agocosmetics: rename 2 functions
Justin Ruggles [Tue, 14 Dec 2010 14:51:50 +0000 (14:51 +0000)]
cosmetics: rename 2 functions

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

13 years agocosmetics: use some size macros in ac3tab.c/h
Justin Ruggles [Tue, 14 Dec 2010 14:51:47 +0000 (14:51 +0000)]
cosmetics: use some size macros in ac3tab.c/h

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

13 years agoUse AC3_MAX_COEFS instead of 256 in a couple places in ac3.c
Justin Ruggles [Tue, 14 Dec 2010 14:51:43 +0000 (14:51 +0000)]
Use AC3_MAX_COEFS instead of 256 in a couple places in ac3.c

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

13 years agodefine AC3_CRITICAL_BANDS and use it in the AC-3 encoder and decoder.
Justin Ruggles [Tue, 14 Dec 2010 14:51:40 +0000 (14:51 +0000)]
define AC3_CRITICAL_BANDS and use it in the AC-3 encoder and decoder.

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

13 years agoUse sizeof(array value) instead of sizeof(int16_t).
Justin Ruggles [Tue, 14 Dec 2010 14:51:36 +0000 (14:51 +0000)]
Use sizeof(array value) instead of sizeof(int16_t).

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

13 years agocosmetics: use lowercase letters for function names
Justin Ruggles [Tue, 14 Dec 2010 14:51:33 +0000 (14:51 +0000)]
cosmetics: use lowercase letters for function names

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

13 years agocosmetics: add new function documentation and clean up existing documentation
Justin Ruggles [Tue, 14 Dec 2010 14:51:30 +0000 (14:51 +0000)]
cosmetics: add new function documentation and clean up existing documentation

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

13 years agocosmetics: add more space between functions
Justin Ruggles [Tue, 14 Dec 2010 14:51:26 +0000 (14:51 +0000)]
cosmetics: add more space between functions

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

13 years agocosmetics: rearrange some functions/typedefs/macros
Justin Ruggles [Tue, 14 Dec 2010 14:51:23 +0000 (14:51 +0000)]
cosmetics: rearrange some functions/typedefs/macros

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

13 years agoSimplify group size calculation in 2 places.
Justin Ruggles [Tue, 14 Dec 2010 14:51:20 +0000 (14:51 +0000)]
Simplify group size calculation in 2 places.

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

13 years agocosmetics: make a switch/case more compact
Justin Ruggles [Tue, 14 Dec 2010 14:51:17 +0000 (14:51 +0000)]
cosmetics: make a switch/case more compact

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

13 years agoClean up fft_init() and mdct_init()
Justin Ruggles [Tue, 14 Dec 2010 14:51:12 +0000 (14:51 +0000)]
Clean up fft_init() and mdct_init()

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

13 years agocosmetics: pretty-printing, alignment, etc...
Justin Ruggles [Tue, 14 Dec 2010 14:51:09 +0000 (14:51 +0000)]
cosmetics: pretty-printing, alignment, etc...

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

13 years agoRemove unneeded #include
Justin Ruggles [Tue, 14 Dec 2010 14:51:05 +0000 (14:51 +0000)]
Remove unneeded #include

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

13 years agoSimplify fix15().
Justin Ruggles [Tue, 14 Dec 2010 14:51:02 +0000 (14:51 +0000)]
Simplify fix15().
Turn it into 2 macros, and use av_clip_int16() and lrintf().
This matches the int16 to float sample conversion in audioconvert.c.
The regression test output is different due to lrintf() rounding.

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

13 years agoFix the fixed-point MDCT and FFT tests so that they actually compile and work.
Justin Ruggles [Tue, 14 Dec 2010 14:50:58 +0000 (14:50 +0000)]
Fix the fixed-point MDCT and FFT tests so that they actually compile and work.

Also, use LFG from libavutil instead of random().

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

13 years agoSplit out initialization of MDCT tables into a separate function.
Justin Ruggles [Tue, 14 Dec 2010 14:50:54 +0000 (14:50 +0000)]
Split out initialization of MDCT tables into a separate function.

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

13 years agocosmetics: Document AC3EncodeContext fields.
Justin Ruggles [Tue, 14 Dec 2010 14:50:49 +0000 (14:50 +0000)]
cosmetics: Document AC3EncodeContext fields.

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

13 years agoRemove unneeded debugging messages.
Justin Ruggles [Tue, 14 Dec 2010 14:50:45 +0000 (14:50 +0000)]
Remove unneeded debugging messages.

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

13 years agocosmetics: Define AC3_WINDOW_SIZE and use it instead of AC3_BLOCK_SIZE*2.
Justin Ruggles [Tue, 14 Dec 2010 14:50:40 +0000 (14:50 +0000)]
cosmetics: Define AC3_WINDOW_SIZE and use it instead of AC3_BLOCK_SIZE*2.

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

13 years agocosmetics: use better (and shared) macro names for some constant values
Justin Ruggles [Tue, 14 Dec 2010 14:50:34 +0000 (14:50 +0000)]
cosmetics: use better (and shared) macro names for some constant values

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

13 years agoRemove duplicate AC3EncodeContext fields, sr_shift and sr_code.
Justin Ruggles [Tue, 14 Dec 2010 14:50:30 +0000 (14:50 +0000)]
Remove duplicate AC3EncodeContext fields, sr_shift and sr_code.

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

13 years agocosmetics: rename some fields in AC3EncodeContext
Justin Ruggles [Tue, 14 Dec 2010 14:50:27 +0000 (14:50 +0000)]
cosmetics: rename some fields in AC3EncodeContext

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

13 years agocosmetics: change all short to int16_t
Justin Ruggles [Tue, 14 Dec 2010 14:50:23 +0000 (14:50 +0000)]
cosmetics: change all short to int16_t

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

13 years agoChange some unsigned types to signed types in AC3EncodeContext
Justin Ruggles [Tue, 14 Dec 2010 14:50:20 +0000 (14:50 +0000)]
Change some unsigned types to signed types in AC3EncodeContext

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

13 years agocosmetics: rearrange AC3EncodeContext fields
Justin Ruggles [Tue, 14 Dec 2010 14:50:15 +0000 (14:50 +0000)]
cosmetics: rearrange AC3EncodeContext fields

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

13 years agoconfigure: Allow disabling symbol versioning via --disable-symver
Martin Storsjö [Tue, 14 Dec 2010 08:34:57 +0000 (08:34 +0000)]
configure: Allow disabling symbol versioning via --disable-symver

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

13 years agoReturn the amount of input data actually used in the qdm2 decoder,
Reimar Döffinger [Mon, 13 Dec 2010 17:54:00 +0000 (17:54 +0000)]
Return the amount of input data actually used in the qdm2 decoder,
allows playback of files where multiple qdm2 packets have been merged.

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

13 years agoAdd gradfun filter, ported from MPlayer.
Nolan L [Sun, 12 Dec 2010 17:59:10 +0000 (17:59 +0000)]
Add gradfun filter, ported from MPlayer.

Patch by Nolan L nol888 <=> gmail >=< com.

See thread:
Subject: [FFmpeg-devel] [PATCH] Port gradfun to libavfilter (GCI)
Date: Mon, 29 Nov 2010 07:18:14 -0500

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

13 years agoAvoid rollover in settings conversion.
James Zern [Sun, 12 Dec 2010 16:27:32 +0000 (16:27 +0000)]
Avoid rollover in settings conversion.

Patch by James Zern, jzern google

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

13 years agoReindent.
Stefano Sabatini [Sun, 12 Dec 2010 16:19:40 +0000 (16:19 +0000)]
Reindent.

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

13 years agoFix encoding when the input audio format/rate/channels changes during
Stefano Sabatini [Sun, 12 Dec 2010 16:18:50 +0000 (16:18 +0000)]
Fix encoding when the input audio format/rate/channels changes during
transcoding.

Fix issue #2292.

Patch sponsored by KIM Keep In Mind GmbH, srl.

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

13 years agoFix avpicture_alloc(), which was aligning the linesizes with 0 and thus
Stefano Sabatini [Sun, 12 Dec 2010 15:31:49 +0000 (15:31 +0000)]
Fix avpicture_alloc(), which was aligning the linesizes with 0 and thus
causing a wrong allocation.

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

13 years agoAdd section describing the filtergraph.
Stefano Sabatini [Sun, 12 Dec 2010 13:39:21 +0000 (13:39 +0000)]
Add section describing the filtergraph.

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

13 years agoMake avfilter_parse_graph() output a more meaningful message when an
Stefano Sabatini [Sun, 12 Dec 2010 13:39:16 +0000 (13:39 +0000)]
Make avfilter_parse_graph() output a more meaningful message when an
invalid filterchain is detected.

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

13 years agoFix indention of one forgotten line in ffv1.c
Michael Niedermayer [Sun, 12 Dec 2010 02:54:21 +0000 (02:54 +0000)]
Fix indention of one forgotten line in ffv1.c

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

13 years agocosmetics: vertical alignment after last commit
Justin Ruggles [Sun, 12 Dec 2010 00:53:01 +0000 (00:53 +0000)]
cosmetics: vertical alignment after last commit

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

13 years agoflac_parser: only buffer the estimated amount of input needed.
Michael Chinen [Sun, 12 Dec 2010 00:52:57 +0000 (00:52 +0000)]
flac_parser: only buffer the estimated amount of input needed.
Patch by Michael Chinen [mchinen at gmail]

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

13 years agoMake FLAC parser return frames when it has the required amount
Michael Chinen [Sun, 12 Dec 2010 00:52:54 +0000 (00:52 +0000)]
Make FLAC parser return frames when it has the required amount
(without buffering extra input).
Patch by Michael Chinen [mchinen at gmail]

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

13 years agoReturn an error when get_buffer reads none or only partial data instead
Reimar Döffinger [Sat, 11 Dec 2010 21:41:47 +0000 (21:41 +0000)]
Return an error when get_buffer reads none or only partial data instead
of returning packets with uninitialized data.
Returning partial packets as for other demuxers is problematice due to
packet scrambling and thus is not done.

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

13 years agoEnsure that packets returned from ASF demuxer are properly 0-padded.
Reimar Döffinger [Sat, 11 Dec 2010 21:39:08 +0000 (21:39 +0000)]
Ensure that packets returned from ASF demuxer are properly 0-padded.

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

13 years agoRemove hack in MP3 probe that was meant as a work-around for large
Reimar Döffinger [Sat, 11 Dec 2010 21:34:50 +0000 (21:34 +0000)]
Remove hack in MP3 probe that was meant as a work-around for large
ID3v2 tags which no longer works since ID3v2 handling was moved to
generic code.
In addition, in caused false-positives for all files starting with
one or more 0-bytes.

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

13 years agoDefine PODPAGES in Makefile, and make them depend on
Stefano Sabatini [Sat, 11 Dec 2010 12:00:41 +0000 (12:00 +0000)]
Define PODPAGES in Makefile, and make them depend on
fftools-common-opts.texi.

Fix pod files updating when fftools-common-opts.texi is changed.

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

13 years agoShow per-codec options on FFmpeg commandline help.
Justin Ruggles [Fri, 10 Dec 2010 18:25:02 +0000 (18:25 +0000)]
Show per-codec options on FFmpeg commandline help.

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

13 years agoid3v2: skip data length indicator
Anton Khirnov [Fri, 10 Dec 2010 15:48:56 +0000 (15:48 +0000)]
id3v2: skip data length indicator

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

13 years agoadd my GPG fingerprint
Anton Khirnov [Fri, 10 Dec 2010 15:41:23 +0000 (15:41 +0000)]
add my GPG fingerprint

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

13 years agoFix typo.
Stefano Sabatini [Thu, 9 Dec 2010 17:34:44 +0000 (17:34 +0000)]
Fix typo.

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

13 years agoMove AV_NOPTS_VALUE, AV_TIME_BASE, AV_TIME_BASE_Q symbols from
Stefano Sabatini [Thu, 9 Dec 2010 17:27:33 +0000 (17:27 +0000)]
Move AV_NOPTS_VALUE, AV_TIME_BASE, AV_TIME_BASE_Q symbols from
libavcodec to libavcore.

Remove another compile-time dependancy of libavfilter on libavcodec.

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

13 years agoMake avpicture_alloc() return meaningful values.
Stefano Sabatini [Wed, 8 Dec 2010 10:24:09 +0000 (10:24 +0000)]
Make avpicture_alloc() return meaningful values.

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

13 years agoReindent.
Stefano Sabatini [Wed, 8 Dec 2010 10:24:07 +0000 (10:24 +0000)]
Reindent.

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

13 years agoUse av_image_alloc() in avpicture_alloc(), simplify.
Stefano Sabatini [Wed, 8 Dec 2010 10:24:02 +0000 (10:24 +0000)]
Use av_image_alloc() in avpicture_alloc(), simplify.

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

13 years agoDon't try to demux WavPack files with >2 channels until we can support them
Kostya Shishkov [Tue, 7 Dec 2010 18:15:06 +0000 (18:15 +0000)]
Don't try to demux WavPack files with >2 channels until we can support them

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

13 years agofix building test programs with gnu make 3.82
Ramiro Polla [Tue, 7 Dec 2010 16:42:25 +0000 (16:42 +0000)]
fix building test programs with gnu make 3.82

Test programs may be named either %.c or %-test.c. In some cases (ie. fft),
both files exist and make has to choose which rule to use. Up to gnu make
3.81, rules were applied in definition order, in this case favouring the
generic %.c rule from common.mak. gnu make 3.82 uses a shortest stem first
order, applying definition order for same length stems. In this case,
%-test.c must come first in order for make to pick the proper source file.

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

13 years agocolorspace-test: fix build
Ramiro Polla [Tue, 7 Dec 2010 15:27:11 +0000 (15:27 +0000)]
colorspace-test: fix build

rgb32tobgr32() has been removed in favour of shuffle_bytes_2103() in r32190

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

13 years agofix building of cpu-test by including required header
Ramiro Polla [Tue, 7 Dec 2010 15:25:44 +0000 (15:25 +0000)]
fix building of cpu-test by including required header

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

13 years agoDefine FLAC_MIN_FRAME_SIZE and use it in the FLAC decoder.
Michael Chinen [Tue, 7 Dec 2010 14:58:34 +0000 (14:58 +0000)]
Define FLAC_MIN_FRAME_SIZE and use it in the FLAC decoder.
Patch by Michael Chinen [mchinen at gmail]

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

13 years agoSimplify the FLAC decoder now that it no longer has to parse arbitrary raw FLAC
Michael Chinen [Tue, 7 Dec 2010 14:57:02 +0000 (14:57 +0000)]
Simplify the FLAC decoder now that it no longer has to parse arbitrary raw FLAC
data thanks to the recently added FLAC parser.
Patch by Michael Chinen [mchinen at gmail]

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

13 years agoAdd a FLAC parser.
Michael Chinen [Tue, 7 Dec 2010 14:50:50 +0000 (14:50 +0000)]
Add a FLAC parser.
Seek test reference updated because FLAC seeking now works properly.
Fixes roundup issue 1150.

Patch by Michael Chinen [mchinen at gmail]

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

13 years agocosmetics: line wrap after last commit
Justin Ruggles [Tue, 7 Dec 2010 14:02:42 +0000 (14:02 +0000)]
cosmetics: line wrap after last commit

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

13 years agoAdd log_level_offset parameter to ff_flac_decode_frame_header(). It will be used
Michael Chinen [Tue, 7 Dec 2010 14:00:38 +0000 (14:00 +0000)]
Add log_level_offset parameter to ff_flac_decode_frame_header(). It will be used
to optionally silence the error messages.
Patch by Michael Chinen [mchinen at gmail]

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

13 years agoAdd is_var_size and frame_or_sample_num to FLACFrameInfo and read them in
Michael Chinen [Tue, 7 Dec 2010 13:50:13 +0000 (13:50 +0000)]
Add is_var_size and frame_or_sample_num to FLACFrameInfo and read them in
ff_flac_decode_frame_header().
Patch by Michael Chinen [mchinen at gmail]

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

13 years agoCheck validity of the frame sync code in ff_flac_decode_frame_header().
Michael Chinen [Tue, 7 Dec 2010 13:42:52 +0000 (13:42 +0000)]
Check validity of the frame sync code in ff_flac_decode_frame_header().
Patch by Michael Chinen [mchinen at gmail]

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

13 years agoMove decode_frame_header() from flacdec.c to flac.c/h to share with the
Michael Chinen [Tue, 7 Dec 2010 13:30:18 +0000 (13:30 +0000)]
Move decode_frame_header() from flacdec.c to flac.c/h to share with the
forthcoming FLAC parser.
Patch by Michael Chinen [mchinen at gmail]

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

13 years agortsp/rtpdec: Set the AVStream time_base directly in rtsp when it is known
Martin Storsjö [Tue, 7 Dec 2010 13:29:44 +0000 (13:29 +0000)]
rtsp/rtpdec: Set the AVStream time_base directly in rtsp when it is known

This fixes cases where the RTP time base and the sample rate of the stream
differ. Previously, the AVStream time_base was unconditionally set to
the sample rate (which initially was set to one value when parsing the
rtpmap field in the SDP, but later overridden by an a=SampleRate field).

Additionally, this makes the code actually use the stream time base set
in rtpmap for video codecs, instead of hardcoding it to always be 90 kHz.

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

13 years agortsp: Parse RealRTSP sample rate declarations from the SDP
Martin Storsjö [Tue, 7 Dec 2010 13:28:45 +0000 (13:28 +0000)]
rtsp: Parse RealRTSP sample rate declarations from the SDP

The RTP time base can be different from the actual content sample rate.

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

13 years agortpdec: Handle MP3 in RealRTSP
Martin Storsjö [Tue, 7 Dec 2010 13:28:13 +0000 (13:28 +0000)]
rtpdec: Handle MP3 in RealRTSP

This fixes playback of a RealRTSP/MP3 URL from the RTSP samples on
MultimediaWiki.

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

13 years agoFix building of object files in tools/
Ramiro Polla [Tue, 7 Dec 2010 11:42:19 +0000 (11:42 +0000)]
Fix building of object files in tools/

Fixes issue issue2408.

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

13 years agoAdd fullrange support to libx264.c x264 interface
Jason Garrett-Glaser [Tue, 7 Dec 2010 09:51:27 +0000 (09:51 +0000)]
Add fullrange support to libx264.c x264 interface

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

13 years agoid3v2: skip encrypted/compressed frames
Anton Khirnov [Tue, 7 Dec 2010 07:52:54 +0000 (07:52 +0000)]
id3v2: skip encrypted/compressed frames

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

13 years agoid3v2: use a named constant instead of 0x02
Anton Khirnov [Tue, 7 Dec 2010 07:52:50 +0000 (07:52 +0000)]
id3v2: use a named constant instead of 0x02

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

13 years agoIn mov demuxer, read alac sample from extradata, fix #2406
Baptiste Coudurier [Tue, 7 Dec 2010 01:38:26 +0000 (01:38 +0000)]
In mov demuxer, read alac sample from extradata, fix #2406

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

13 years agoDeprecate the use of the NO_COLOR environment variable.
Stefano Sabatini [Mon, 6 Dec 2010 22:24:21 +0000 (22:24 +0000)]
Deprecate the use of the NO_COLOR environment variable.

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

13 years agoIntroduce FFMPEG_FORCE_NOCOLOR, with the same meaning and use of
Stefano Sabatini [Mon, 6 Dec 2010 21:47:10 +0000 (21:47 +0000)]
Introduce FFMPEG_FORCE_NOCOLOR, with the same meaning and use of
NO_COLOR (but properly prefixed for avoiding namespace conflicts).

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

13 years agoalsdec: Correct the ALS decoder by storing some parameters per-channel rather
Sprezz [Mon, 6 Dec 2010 15:18:50 +0000 (15:18 +0000)]
alsdec: Correct the ALS decoder by storing some parameters per-channel rather
than just per-block. Patch by Sprezz [sprezzatura gmx com]. Fixes Issue 2387.

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

13 years agortpdec_h264: Pass NAL type 0 through
Martin Storsjö [Mon, 6 Dec 2010 12:44:09 +0000 (12:44 +0000)]
rtpdec_h264: Pass NAL type 0 through

According to the spec, this type shouldn't ever be used. Nevertheless,
passing it through enables decoding streams which otherwise aren't
decodeable.

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

13 years agortpdec: Skip padding bytes at the end of packets
Martin Storsjö [Mon, 6 Dec 2010 12:43:38 +0000 (12:43 +0000)]
rtpdec: Skip padding bytes at the end of packets

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

13 years agoIn yadif filter, declare asm constants directly to avoid dependency on libavcodec
Baptiste Coudurier [Mon, 6 Dec 2010 00:14:15 +0000 (00:14 +0000)]
In yadif filter, declare asm constants directly to avoid dependency on libavcodec

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

13 years agortpdec_qcelp: Use the depacketizer for static payload types, too
Martin Storsjö [Sun, 5 Dec 2010 19:42:14 +0000 (19:42 +0000)]
rtpdec_qcelp: Use the depacketizer for static payload types, too

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

13 years agortsp: Look for RTP payload handlers for static payload types, too
Martin Storsjö [Sun, 5 Dec 2010 19:41:44 +0000 (19:41 +0000)]
rtsp: Look for RTP payload handlers for static payload types, too

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

13 years agortsp: Factorize code for initializing the rtp payload handler
Martin Storsjö [Sun, 5 Dec 2010 19:41:09 +0000 (19:41 +0000)]
rtsp: Factorize code for initializing the rtp payload handler

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

13 years agortpdec: Add functions for finding depacketizers by name or payload id
Martin Storsjö [Sun, 5 Dec 2010 19:39:50 +0000 (19:39 +0000)]
rtpdec: Add functions for finding depacketizers by name or payload id

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

13 years agortpdec: Allow dynamic payload handlers to handle static payload types, too
Martin Storsjö [Sun, 5 Dec 2010 19:38:55 +0000 (19:38 +0000)]
rtpdec: Allow dynamic payload handlers to handle static payload types, too

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

13 years agortpdec: Add a dynamic payload handler for the x-Purevoice format, RFC 2658
Martin Storsjö [Sun, 5 Dec 2010 19:37:45 +0000 (19:37 +0000)]
rtpdec: Add a dynamic payload handler for the x-Purevoice format, RFC 2658

This fixes roundup issue 2390.

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

13 years agoAllow to force colored output.
Etienne Buira [Sun, 5 Dec 2010 13:56:49 +0000 (13:56 +0000)]
Allow to force colored output.

Patch by Etienne Buira, etienne d buira d lists a free d fr

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

13 years agoRTP/VP8: Update the warning about the VP8 payload
Martin Storsjö [Sun, 5 Dec 2010 11:45:57 +0000 (11:45 +0000)]
RTP/VP8: Update the warning about the VP8 payload

The current implementation is incompatible with the latest spec drafts,
this should be communicated clearly to the user.

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

13 years agoAdd CODEC_CAP_NEG_LINESIZES.
Stefano Sabatini [Sat, 4 Dec 2010 19:06:45 +0000 (19:06 +0000)]
Add CODEC_CAP_NEG_LINESIZES.

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

13 years agocosmetic: indentation
Aurelien Jacobs [Sat, 4 Dec 2010 14:47:13 +0000 (14:47 +0000)]
cosmetic: indentation

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

13 years agoadd subtitle codec autodetection
Aurelien Jacobs [Sat, 4 Dec 2010 14:46:13 +0000 (14:46 +0000)]
add subtitle codec autodetection

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

13 years agoAdd forgotten deprecation to avcodec_pix_fmt_string().
Stefano Sabatini [Sat, 4 Dec 2010 14:14:12 +0000 (14:14 +0000)]
Add forgotten deprecation to avcodec_pix_fmt_string().

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

13 years agoCosmetics: add empty line which was previously removed.
Stefano Sabatini [Sat, 4 Dec 2010 13:13:46 +0000 (13:13 +0000)]
Cosmetics: add empty line which was previously removed.

Improve readability.

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

13 years ago10l, add ff_pw_1 to dsputil_mmx for yadif sse2
Baptiste Coudurier [Sat, 4 Dec 2010 13:06:06 +0000 (13:06 +0000)]
10l, add ff_pw_1 to dsputil_mmx for yadif sse2

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

13 years agoPort libmpcodecs hqdn3d filter.
Baptiste Coudurier [Sat, 4 Dec 2010 13:03:42 +0000 (13:03 +0000)]
Port libmpcodecs hqdn3d filter.

Patch by Baptiste with some fixes by me.

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

13 years agoDeprecate avcodec_pix_fmt_string() in favor of
Stefano Sabatini [Sat, 4 Dec 2010 12:56:21 +0000 (12:56 +0000)]
Deprecate avcodec_pix_fmt_string() in favor of
av_get_pix_fmt_string(), added to libavutil/pixdesc.h.

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

13 years agoImplement av_image_alloc() and use it in
Stefano Sabatini [Sat, 4 Dec 2010 12:56:16 +0000 (12:56 +0000)]
Implement av_image_alloc() and use it in
avfilter_default_get_video_buffer().

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

13 years agoDeclare sse2 and ssse2 function in yadif header
Baptiste Coudurier [Sat, 4 Dec 2010 05:50:28 +0000 (05:50 +0000)]
Declare sse2 and ssse2 function in yadif header

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

13 years agoTry to improve reordered_opaque doxy.
Michael Niedermayer [Sat, 4 Dec 2010 05:44:29 +0000 (05:44 +0000)]
Try to improve reordered_opaque doxy.

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

13 years agoDetect incorrect padding with wrong stuffing codes used by NEC N-02B.
Michael Niedermayer [Sat, 4 Dec 2010 05:44:18 +0000 (05:44 +0000)]
Detect incorrect padding with wrong stuffing codes used by NEC N-02B.
I dont know if this is the best way to handle it. But it fixes http://kuwatan.jp/temp/n-02b.3gp

Fixes issue 2373.

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

13 years agoyadif sse2/ssse3 optimizations
Baptiste Coudurier [Sat, 4 Dec 2010 05:23:44 +0000 (05:23 +0000)]
yadif sse2/ssse3 optimizations

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

13 years agoCount non-header data towards intra block bit count in MJPEG encoder
Bobby Bingham [Sat, 4 Dec 2010 05:21:03 +0000 (05:21 +0000)]
Count non-header data towards intra block bit count in MJPEG encoder

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

13 years agoChange the argument of memory allocation functions from unsigned int to size_t
Michael Niedermayer [Sat, 4 Dec 2010 04:00:21 +0000 (04:00 +0000)]
Change the argument of memory allocation functions from unsigned int to size_t
with the next major bump in libavcodec.

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