ffmpeg.git
10 years agocheck for palette presence, fix crash with QT-BMP.mov, issue #1074
Baptiste Coudurier [Sun, 10 May 2009 19:10:37 +0000 (19:10 +0000)]
check for palette presence, fix crash with QT-BMP.mov, issue #1074

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

10 years agoRemove dead nested assignment found by CSA
Benjamin Larsson [Sun, 10 May 2009 14:44:09 +0000 (14:44 +0000)]
Remove dead nested assignment found by CSA

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

10 years agoRemove unused code found by CSA
Benjamin Larsson [Sun, 10 May 2009 14:33:40 +0000 (14:33 +0000)]
Remove unused code found by CSA

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

10 years agoAdd const qualifier to param argument of sws_getContext() and
Diego Biurrun [Sun, 10 May 2009 14:00:00 +0000 (14:00 +0000)]
Add const qualifier to param argument of sws_getContext() and
sws_getCachedContext().  Fixes the warning:
swscale.c:3408: warning: assignment discards qualifiers from pointer target type

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

10 years agoMove preprocessor condition before variable declaration, fixes the warning:
Diego Biurrun [Sun, 10 May 2009 11:37:04 +0000 (11:37 +0000)]
Move preprocessor condition before variable declaration, fixes the warning:
libswscale/swscale.c:1795: warning: unused variable 'flags'

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

10 years agoensure first pts is set, according to specs
Baptiste Coudurier [Sun, 10 May 2009 01:57:21 +0000 (01:57 +0000)]
ensure first pts is set, according to specs

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

10 years agoremove useless max_payload_size variable
Baptiste Coudurier [Sun, 10 May 2009 01:41:35 +0000 (01:41 +0000)]
remove useless max_payload_size variable

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

10 years agodo not write dts if pts is not set
Baptiste Coudurier [Sun, 10 May 2009 01:37:58 +0000 (01:37 +0000)]
do not write dts if pts is not set

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

10 years agofix total bitrate computation, based on patch by corp186, chasedouglas at gmail dot com
Baptiste Coudurier [Sun, 10 May 2009 01:02:18 +0000 (01:02 +0000)]
fix total bitrate computation, based on patch by corp186, chasedouglas at gmail dot com

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

10 years agoupdate comment for rgb 16 bit in .mov
Baptiste Coudurier [Sun, 10 May 2009 00:53:02 +0000 (00:53 +0000)]
update comment for rgb 16 bit in .mov

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

10 years agoAdd @code/@endcode commands to markup C code in av_tree_insert() doxy.
Stefano Sabatini [Sat, 9 May 2009 23:02:20 +0000 (23:02 +0000)]
Add @code/@endcode commands to markup C code in av_tree_insert() doxy.

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

10 years agoAdd missing '*' to av_tree_insert() doxy.
Stefano Sabatini [Sat, 9 May 2009 23:00:46 +0000 (23:00 +0000)]
Add missing '*' to av_tree_insert() doxy.

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

10 years agoAdd necessary header for CONFIG_RUNTIME_CPUDETECT preprocessor definition.
Diego Biurrun [Sat, 9 May 2009 12:26:05 +0000 (12:26 +0000)]
Add necessary header for CONFIG_RUNTIME_CPUDETECT preprocessor definition.

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

10 years agoAdd missing const qualifiers to AltiVec function parameters where appropriate.
Diego Biurrun [Sat, 9 May 2009 10:56:37 +0000 (10:56 +0000)]
Add missing const qualifiers to AltiVec function parameters where appropriate.
Fixes a couple of 'discards qualifiers from pointer target type' warnings.

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

10 years agodata parameter of dnxhd_encode_picture() should not be const.
Daniel Verkamp [Fri, 8 May 2009 19:41:21 +0000 (19:41 +0000)]
data parameter of dnxhd_encode_picture() should not be const.
Fixes "dnxhdenc.c:805: warning: initialization from incompatible pointer type".
patch by Daniel Verkamp, daniel drv nu

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

10 years ago"[" is a terminating char for the filter name. This fixes the parsing of
Vitor Sessak [Fri, 8 May 2009 19:14:21 +0000 (19:14 +0000)]
"[" is a terminating char for the filter name. This fixes the parsing of
things like

[in] vflip [out];

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

10 years agoCorrect x/ymin to avoid segfault due to out of picture reads.
Michael Niedermayer [Fri, 8 May 2009 15:14:36 +0000 (15:14 +0000)]
Correct x/ymin to avoid segfault due to out of picture reads.

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

10 years agoFix sliced yuv410 -> yuv420 conversion
Vitor Sessak [Thu, 7 May 2009 20:41:04 +0000 (20:41 +0000)]
Fix sliced yuv410 -> yuv420 conversion

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

10 years agoWarning fix: Make ogg_stream.codec const
Daniel Verkamp [Wed, 6 May 2009 23:02:26 +0000 (23:02 +0000)]
Warning fix: Make ogg_stream.codec const

This matches the return value of ogg_find_codec and fixes
"libavformat/oggdec.c:333: warning: assignment discards qualifiers from
pointer target type"

Patch by Daniel Verkamp (daniel - drv . nu)

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

10 years agoChange codec_id type to enum CodecID, fix warning.
Daniel Verkamp [Wed, 6 May 2009 22:38:21 +0000 (22:38 +0000)]
Change codec_id type to enum CodecID, fix warning.

Patch by Daniel Verkamp daniel @ drv @ nu.

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

10 years agoUpdate docs after the 8088flex TMV demuxer and decoder addition.
Daniel Verkamp [Wed, 6 May 2009 22:06:19 +0000 (22:06 +0000)]
Update docs after the 8088flex TMV demuxer and decoder addition.

Patch by Daniel Verkamp daniel AT drv + nu.

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

10 years agoAdd 8088flex TMV file demuxer.
Daniel Verkamp [Wed, 6 May 2009 22:01:54 +0000 (22:01 +0000)]
Add 8088flex TMV file demuxer.

Patch by Daniel Verkamp daniel|at|drv|nu.

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

10 years agoAdd 8088flex TMV video decoder.
Daniel Verkamp [Wed, 6 May 2009 21:57:20 +0000 (21:57 +0000)]
Add 8088flex TMV video decoder.

Patch by Daniel Verkamp name at drv ... nu.

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

10 years agoAdd CGA and palette data for 8088flex TMV decoder.
Daniel Verkamp [Wed, 6 May 2009 21:51:58 +0000 (21:51 +0000)]
Add CGA and palette data for 8088flex TMV decoder.

Patch by Daniel Verkamp  daniel _AT_ drv DOT nu.

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

10 years agomlpdec: Fix possible writing out of array bounds introduced by being
Ramiro Polla [Wed, 6 May 2009 16:01:28 +0000 (16:01 +0000)]
mlpdec: Fix possible writing out of array bounds introduced by being
under-paranoid in r18651.

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

10 years agomlpdec: Split sync word error and MLP sync word check.
Ramiro Polla [Wed, 6 May 2009 15:46:10 +0000 (15:46 +0000)]
mlpdec: Split sync word error and MLP sync word check.
The previous code would print the wrong error message for MLP streams with
TrueHD noise type.

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

10 years agomlpdec: Fix indentation that got mangled from copy&paste.
Ramiro Polla [Wed, 6 May 2009 15:37:25 +0000 (15:37 +0000)]
mlpdec: Fix indentation that got mangled from copy&paste.

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

10 years agoAccept "bikeshed" as a random color.
Ramiro Polla [Wed, 6 May 2009 15:25:30 +0000 (15:25 +0000)]
Accept "bikeshed" as a random color.

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

10 years agoAdd 32-bit RGB support to TIFF decoder and extend a bit 'unsupported format' message
Kostya Shishkov [Wed, 6 May 2009 06:49:04 +0000 (06:49 +0000)]
Add 32-bit RGB support to TIFF decoder and extend a bit 'unsupported format' message

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

10 years agoAdd floating point audio decoding to WavPack decoder.
Laurent Aimar [Wed, 6 May 2009 05:40:43 +0000 (05:40 +0000)]
Add floating point audio decoding to WavPack decoder.
Patch by Laurent Aimar (fenrir at `antonym of 'audio'+antonym of 'WAN'` dot org)

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

10 years agoPrepare WavPack decoder to support floating point output.
Laurent Aimar [Wed, 6 May 2009 05:28:06 +0000 (05:28 +0000)]
Prepare WavPack decoder to support floating point output.
Patch by Laurent Aimar (f-e-n-r-i-r .@.t. v=i=d=e=o=l=a=n .d.o.t. o=r=g)

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

10 years agocosmetics: line wrap and vertical alignment
Justin Ruggles [Wed, 6 May 2009 01:48:14 +0000 (01:48 +0000)]
cosmetics: line wrap and vertical alignment

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

10 years agoac3dec: Remove unneeded context variable, num_cpl_subbands. It is also
Justin Ruggles [Wed, 6 May 2009 01:47:34 +0000 (01:47 +0000)]
ac3dec: Remove unneeded context variable, num_cpl_subbands.  It is also
not needed for spectral extension or enhanced coupling since it is
redundant information, so I am removing it from decode_band_structure()
as well.

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

10 years agocosmetics: indentation after last commit
Justin Ruggles [Tue, 5 May 2009 23:39:10 +0000 (23:39 +0000)]
cosmetics: indentation after last commit

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

10 years agoac3dec: move channel remapping to outside of block loop
Justin Ruggles [Tue, 5 May 2009 23:38:12 +0000 (23:38 +0000)]
ac3dec: move channel remapping to outside of block loop

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

10 years agoImplement av_parse_color().
Stefano Sabatini [Tue, 5 May 2009 22:10:06 +0000 (22:10 +0000)]
Implement av_parse_color().

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

10 years agoExtract colorspace fields from MPEG1/2.
Michael Niedermayer [Tue, 5 May 2009 19:53:49 +0000 (19:53 +0000)]
Extract colorspace fields from MPEG1/2.

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

10 years agompegaudio: enclose SUM8() macro args in parens when used
Måns Rullgård [Tue, 5 May 2009 18:44:13 +0000 (18:44 +0000)]
mpegaudio: enclose SUM8() macro args in parens when used

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

10 years agompegaudio: avoid unnecessary copy in high-precision mode
Måns Rullgård [Tue, 5 May 2009 18:44:10 +0000 (18:44 +0000)]
mpegaudio: avoid unnecessary copy in high-precision mode

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

10 years agompegaudio: use av_clip()
Måns Rullgård [Tue, 5 May 2009 18:44:07 +0000 (18:44 +0000)]
mpegaudio: use av_clip()

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

10 years agoAdd colorspace fields to AVCodecContext.
Michael Niedermayer [Tue, 5 May 2009 18:25:20 +0000 (18:25 +0000)]
Add colorspace fields to AVCodecContext.

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

10 years agoCosmetics: Fix indentation after r18741.
Carl Eugen Hoyos [Tue, 5 May 2009 15:48:04 +0000 (15:48 +0000)]
Cosmetics: Fix indentation after r18741.

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

10 years agoDo not discard mp3 frames in the parser after a broken frame.
Michael Niedermayer [Tue, 5 May 2009 13:46:50 +0000 (13:46 +0000)]
Do not discard mp3 frames in the parser after a broken frame.
Fixes issue1044.
This may cause regressions with broken streams, if you find any, please report!

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

10 years agoFactorize out integer sample value decoding for WavPack.
Laurent Aimar [Tue, 5 May 2009 06:10:59 +0000 (06:10 +0000)]
Factorize out integer sample value decoding for WavPack.
This is slightly modified patch by Laurent Aimar.

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

10 years agodvh1 avi fourcc, dvh1_sample_truncated.avi, issue #1034
Baptiste Coudurier [Tue, 5 May 2009 04:30:08 +0000 (04:30 +0000)]
dvh1 avi fourcc, dvh1_sample_truncated.avi, issue #1034

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

10 years agomore dvcprohd .mov fourcc, see #1034
Baptiste Coudurier [Tue, 5 May 2009 04:27:24 +0000 (04:27 +0000)]
more dvcprohd .mov fourcc, see #1034

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

10 years agoChange VOFW for x86 to 5120, it allows larger images to be scaled and was
Michael Niedermayer [Tue, 5 May 2009 01:34:16 +0000 (01:34 +0000)]
Change VOFW for x86 to 5120, it allows larger images to be scaled and was
not slower. Other archs are not changed as the larger VOFW was slower on PPC.

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

10 years agoPPC: implement MULH() in assembler
Måns Rullgård [Mon, 4 May 2009 17:31:15 +0000 (17:31 +0000)]
PPC: implement MULH() in assembler

Left to its own devices, gcc calculates the full 64-bit product only to
discard the low 32 bits.  This forces it to do the right thing.

20% faster MP3 decoding on G4.

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

10 years agoDo not scan for MP3 header after the given buffer and return skipped
Zdenek Kabelac [Mon, 4 May 2009 14:23:48 +0000 (14:23 +0000)]
Do not scan for MP3 header after the given buffer and return skipped
bytes along with consumed bytes on successful decoding.
patch by Zdenek Kabelac, zdenek.kabelac gmail com

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

10 years agoAdd note about nonfree license of libfaac.
Diego Biurrun [Mon, 4 May 2009 11:37:25 +0000 (11:37 +0000)]
Add note about nonfree license of libfaac.

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

10 years agoProperly handle SILENCE frame. Patch by Kenan Gillet.
Kenan Gillet [Mon, 4 May 2009 03:25:57 +0000 (03:25 +0000)]
Properly handle SILENCE frame. Patch by Kenan Gillet.

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

10 years agoRemove dead assignments found by CSA
Benjamin Larsson [Sun, 3 May 2009 09:32:40 +0000 (09:32 +0000)]
Remove dead assignments found by CSA

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

10 years agoCheck whether extra bits block has enough data.
Laurent Aimar [Sun, 3 May 2009 05:42:51 +0000 (05:42 +0000)]
Check whether extra bits block has enough data.
Patch by Laurent Aimar "f\145nr\151r >at< vide\157lan <dot> o\162g"

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

10 years agoRemove dead assignments found by CSA
Benjamin Larsson [Sat, 2 May 2009 09:12:03 +0000 (09:12 +0000)]
Remove dead assignments found by CSA

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

10 years agoRemove dead assignments found by CSA
Benjamin Larsson [Sat, 2 May 2009 09:08:40 +0000 (09:08 +0000)]
Remove dead assignments found by CSA

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

10 years agoFix chroma shift when scaling from ARGB on LE and BGRA on BE
Cédric Schieli [Sat, 2 May 2009 08:40:53 +0000 (08:40 +0000)]
Fix chroma shift when scaling from ARGB on LE and BGRA on BE

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

10 years agoDecode extended bitstream for high-precision WavPack files.
Laurent Aimar [Sat, 2 May 2009 05:17:20 +0000 (05:17 +0000)]
Decode extended bitstream for high-precision WavPack files.
Patch by Laurent Aimar [(wolf, son of Loki) <at> (videolan) <dot> (org)]

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

10 years agoUse new packet reading API, fixes a memory leak.
Zdenek Kabelac [Fri, 1 May 2009 21:39:53 +0000 (21:39 +0000)]
Use new packet reading API, fixes a memory leak.
patch by Zdenek Kabelac, zdenek.kabelac gmail com

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

10 years agoPrefer (void) over () in function prototype.
Stefano Sabatini [Fri, 1 May 2009 21:35:01 +0000 (21:35 +0000)]
Prefer (void) over () in function prototype.

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

10 years agoMake graphparser.c use av_get_token().
Stefano Sabatini [Fri, 1 May 2009 18:17:59 +0000 (18:17 +0000)]
Make graphparser.c use av_get_token().
This also avoids the need for '\=' escaping.

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

10 years agoav_get_token()
Michael Niedermayer [Fri, 1 May 2009 14:38:07 +0000 (14:38 +0000)]
av_get_token()
based on a patch by Stefano Sabatini

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

10 years agoIgnore first entry of intra matrixes if it is invalid.
Michael Niedermayer [Fri, 1 May 2009 12:31:19 +0000 (12:31 +0000)]
Ignore first entry of intra matrixes if it is invalid.
Fixes pink.mpg / issue1046.

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

10 years agoFactorize quantization matrix loading code out.
Michael Niedermayer [Fri, 1 May 2009 12:17:25 +0000 (12:17 +0000)]
Factorize quantization matrix loading code out.

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

10 years agoDon't #if a function declaration and properly indent it.
Ramiro Polla [Thu, 30 Apr 2009 21:34:56 +0000 (21:34 +0000)]
Don't #if a function declaration and properly indent it.

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

10 years agomlpdec: Move MLP's filter_channel() to dsputils.
Ramiro Polla [Thu, 30 Apr 2009 12:30:05 +0000 (12:30 +0000)]
mlpdec: Move MLP's filter_channel() to dsputils.

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

10 years agoDocument change in r18719.
Ramiro Polla [Thu, 30 Apr 2009 12:08:35 +0000 (12:08 +0000)]
Document change in r18719.

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

10 years agoExport av_free_packet().
Ramiro Polla [Thu, 30 Apr 2009 12:06:34 +0000 (12:06 +0000)]
Export av_free_packet().

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

10 years agoAdd missing return statement to out-of-memory condition. Fixes the warning:
Diego Biurrun [Thu, 30 Apr 2009 10:21:22 +0000 (10:21 +0000)]
Add missing return statement to out-of-memory condition. Fixes the warning:
libavcodec/motionpixels.c:302: warning: statement with no effect

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

10 years agoconfigure: fix licence check function
Måns Rullgård [Wed, 29 Apr 2009 16:14:33 +0000 (16:14 +0000)]
configure: fix licence check function

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

10 years agoDrop unused libamr-nb fixed-point glue code.
Diego Biurrun [Wed, 29 Apr 2009 15:43:57 +0000 (15:43 +0000)]
Drop unused libamr-nb fixed-point glue code.

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

10 years agoRequire --enable-nonfree for turning on libfaac support.
Diego Biurrun [Wed, 29 Apr 2009 15:40:25 +0000 (15:40 +0000)]
Require --enable-nonfree for turning on libfaac support.
libfaac lies about being LGPL, when it really is not.

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

10 years agoFactorize GPL and nonfree license checks into a common function.
Diego Biurrun [Wed, 29 Apr 2009 15:32:40 +0000 (15:32 +0000)]
Factorize GPL and nonfree license checks into a common function.

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

10 years agoARM: Use fewer register in NEON put_pixels _y2 and _xy2
David Conrad [Wed, 29 Apr 2009 11:38:09 +0000 (11:38 +0000)]
ARM: Use fewer register in NEON put_pixels _y2 and _xy2
Approved by Mans on IRC

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

10 years agoARM: NEON put_pixels_clamped
David Conrad [Wed, 29 Apr 2009 11:31:43 +0000 (11:31 +0000)]
ARM: NEON put_pixels_clamped

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

10 years agoConvert names to the FFmpeg style.
Stefano Sabatini [Tue, 28 Apr 2009 19:51:50 +0000 (19:51 +0000)]
Convert names to the FFmpeg style.

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

10 years agoReset eof state on seeking.
Michael Niedermayer [Tue, 28 Apr 2009 18:02:21 +0000 (18:02 +0000)]
Reset eof state on seeking.
Fixes issue1005.

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

10 years agoImplement av_get_bits_per_pixel().
Stefano Sabatini [Mon, 27 Apr 2009 23:20:30 +0000 (23:20 +0000)]
Implement av_get_bits_per_pixel().

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

10 years agoRevert r18700, documentation of deprecated functions might be useful for
Vitor Sessak [Mon, 27 Apr 2009 18:35:54 +0000 (18:35 +0000)]
Revert r18700, documentation of deprecated functions might be useful for
people trying to update to the new API.

Log of r18700:
Remove documentation from deprecated fields, they should not be used,
thus there is no sense in documenting them.

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

10 years agoCheck if there is enough bytes before reading the buffer in the EA ADPCM
Vitor Sessak [Mon, 27 Apr 2009 16:06:01 +0000 (16:06 +0000)]
Check if there is enough bytes before reading the buffer in the EA ADPCM
decoder. Fix issue 990.

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

10 years agoSkip 0x0000 frame footer in EA ADPCM decoder.
Vitor Sessak [Mon, 27 Apr 2009 16:04:43 +0000 (16:04 +0000)]
Skip 0x0000 frame footer in EA ADPCM decoder.

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

10 years agoRemove useless duplicated code in yuv2rgb_c_32, yuva2rgba_c and yuva2argb_c
Cédric Schieli [Mon, 27 Apr 2009 14:25:44 +0000 (14:25 +0000)]
Remove useless duplicated code in yuv2rgb_c_32, yuva2rgba_c and yuva2argb_c

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

10 years agoRemove useless and outright wrong chatter from avcodec_encode_video().
Michael Niedermayer [Mon, 27 Apr 2009 12:41:41 +0000 (12:41 +0000)]
Remove useless and outright wrong chatter from avcodec_encode_video().

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

10 years agoRemove redundant chatter from avcodec_encode_audio()
Michael Niedermayer [Mon, 27 Apr 2009 12:39:30 +0000 (12:39 +0000)]
Remove redundant chatter from avcodec_encode_audio()

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

10 years agoNegative is error not -1, corrected in the doxy for avcodec_decode_subtitle2().
Michael Niedermayer [Mon, 27 Apr 2009 12:38:14 +0000 (12:38 +0000)]
Negative is error not -1, corrected in the doxy for avcodec_decode_subtitle2().

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

10 years agoAdd multiframe note to avcodec_decode_video() too.
Michael Niedermayer [Mon, 27 Apr 2009 12:36:23 +0000 (12:36 +0000)]
Add multiframe note to avcodec_decode_video() too.

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

10 years agoCleanup first paragraph of doxy of avcodec_decode_audio3().
Michael Niedermayer [Mon, 27 Apr 2009 12:34:25 +0000 (12:34 +0000)]
Cleanup first paragraph of doxy of avcodec_decode_audio3().

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

10 years agoRemove documentation from deprecated fields, they should not be used,
Michael Niedermayer [Mon, 27 Apr 2009 12:28:56 +0000 (12:28 +0000)]
Remove documentation from deprecated fields, they should not be used,
thus there is no sense in documenting them.

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

10 years agoRemove confusing and redundant engrish chatter from avcodec_decode_video2().
Michael Niedermayer [Mon, 27 Apr 2009 12:25:36 +0000 (12:25 +0000)]
Remove confusing and redundant engrish chatter from avcodec_decode_video2().

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

10 years agoAdd avlanguage helpers in libavformat.
Cyril Comparon [Mon, 27 Apr 2009 07:27:39 +0000 (07:27 +0000)]
Add avlanguage helpers in libavformat.
Patch by Cyril Comparon: standard_gmail_full_name_address
Original thread: Suggestion for a centralized language-tag facility in libavformat
Date: 04/10/2009 07:33 PM

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

10 years agoMake function pointer assignments consistent in option handling.
Benoit Fouet [Mon, 27 Apr 2009 07:13:50 +0000 (07:13 +0000)]
Make function pointer assignments consistent in option handling.

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

10 years agoRevert changing VLC initialization type for RV3/4 decoder.
Kostya Shishkov [Mon, 27 Apr 2009 05:30:22 +0000 (05:30 +0000)]
Revert changing VLC initialization type for RV3/4 decoder.
While using large static table is not good (especially for embedded devices and
CPUs with small cache), other alternatives are not very good either.

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

10 years agomlpdec: Simplify filtering code by using only one counter variable.
Ramiro Polla [Sun, 26 Apr 2009 20:37:40 +0000 (20:37 +0000)]
mlpdec: Simplify filtering code by using only one counter variable.

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

10 years agoCorrectly update output sample format in wavpack decoder.
Laurent Aimar [Sun, 26 Apr 2009 04:23:29 +0000 (04:23 +0000)]
Correctly update output sample format in wavpack decoder.
Patch by Laurent Aimar (at 'fenrir (cons 'videolan 'org))

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

10 years agoProper subpacket size check for cook multichannel files.
Benjamin Larsson [Sat, 25 Apr 2009 20:09:34 +0000 (20:09 +0000)]
Proper subpacket size check for cook multichannel files.

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

10 years agoRemove parentheses
Benjamin Larsson [Sat, 25 Apr 2009 19:47:18 +0000 (19:47 +0000)]
Remove parentheses

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

10 years agoSet the type of size in COOKSubpacket to unsigned
Benjamin Larsson [Sat, 25 Apr 2009 18:43:30 +0000 (18:43 +0000)]
Set the type of size in COOKSubpacket to unsigned

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

10 years agoAdd pixdescs definitions for planar YUV pixfmts with 16 bits per
Stefano Sabatini [Sat, 25 Apr 2009 18:29:31 +0000 (18:29 +0000)]
Add pixdescs definitions for planar YUV pixfmts with 16 bits per
component.

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

10 years agoMake sure we only parse max amount of subpackets (5) in the cook decoder.
Benjamin Larsson [Sat, 25 Apr 2009 17:46:27 +0000 (17:46 +0000)]
Make sure we only parse max amount of subpackets (5) in the cook decoder.

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

10 years agoIndent
Benjamin Larsson [Sat, 25 Apr 2009 17:35:21 +0000 (17:35 +0000)]
Indent

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

10 years agoRemove redundant code
Benjamin Larsson [Sat, 25 Apr 2009 17:33:36 +0000 (17:33 +0000)]
Remove redundant code

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