platform/upstream/libav.git
15 years agoremove useless include
Baptiste Coudurier [Sat, 23 May 2009 03:05:56 +0000 (03:05 +0000)]
remove useless include

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

15 years agoSet progressive_sequence before MPV_common_init which cares about it when
Baptiste Coudurier [Sat, 23 May 2009 01:22:43 +0000 (01:22 +0000)]
Set progressive_sequence before MPV_common_init which cares about it when
setting mb_height for interlaced mpeg-2 encoding.

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

15 years agoRevert part of r18903:
Ramiro Polla [Sat, 23 May 2009 01:20:42 +0000 (01:20 +0000)]
Revert part of r18903:
MLP DSP functions x86-optimized.
12.59% overall speedup in x86_32
 9.98% overall speedup in x86_64
compared to gcc 4.3.3

It breaks on x86_64 with PIC because the MANGLE macro appends (%%rip), which
is not wanted for labels.

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

15 years agoMLP DSP functions x86-optimized.
Ramiro Polla [Sat, 23 May 2009 00:23:30 +0000 (00:23 +0000)]
MLP DSP functions x86-optimized.
12.59% overall speedup in x86_32
 9.98% overall speedup in x86_64
compared to gcc 4.3.3

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

15 years agofix mouse seeking when start time is not set, fix #1083
Baptiste Coudurier [Fri, 22 May 2009 23:08:07 +0000 (23:08 +0000)]
fix mouse seeking when start time is not set, fix #1083

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

15 years agoRemove duplicated RGB_TO_[YUV] macros, use those included in
Stefano Sabatini [Fri, 22 May 2009 22:51:46 +0000 (22:51 +0000)]
Remove duplicated RGB_TO_[YUV] macros, use those included in
libavcodec/colorspace.h.

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

15 years agoFix grammar for avfilter_graph_parse() doxy.
Stefano Sabatini [Fri, 22 May 2009 22:38:41 +0000 (22:38 +0000)]
Fix grammar for avfilter_graph_parse() doxy.

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

15 years agoFix libtheora encoding for non-mod16 sizes
David Conrad [Fri, 22 May 2009 22:01:50 +0000 (22:01 +0000)]
Fix libtheora encoding for non-mod16 sizes

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

15 years agoMove ALIGN macro to libavutil/common.h and use it in various places
David Conrad [Fri, 22 May 2009 21:32:13 +0000 (21:32 +0000)]
Move ALIGN macro to libavutil/common.h and use it in various places

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

15 years agofail if stream fifo could not be allocated
Baptiste Coudurier [Fri, 22 May 2009 19:11:56 +0000 (19:11 +0000)]
fail if stream fifo could not be allocated

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

15 years agoMove eatgq blocks array from the stack to the codec context and make sure
Reimar Döffinger [Fri, 22 May 2009 18:39:00 +0000 (18:39 +0000)]
Move eatgq blocks array from the stack to the codec context and make sure
it is aligned as necessary for DSPContext's idct_put.
Just aligning it on the stack would have been possible but less reliable
and without any real benefit.

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

15 years agoSet speex frame_size in ogg demuxer
David Conrad [Fri, 22 May 2009 18:34:01 +0000 (18:34 +0000)]
Set speex frame_size in ogg demuxer

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

15 years agocosmetics: Fix some typos.
Diego Biurrun [Fri, 22 May 2009 17:14:22 +0000 (17:14 +0000)]
cosmetics: Fix some typos.

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

15 years agoPrint out more verbose licensing information.
Diego Biurrun [Fri, 22 May 2009 10:10:02 +0000 (10:10 +0000)]
Print out more verbose licensing information.

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

15 years agocheck av_fifo_alloc return
Baptiste Coudurier [Thu, 21 May 2009 23:12:41 +0000 (23:12 +0000)]
check av_fifo_alloc return

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

15 years agocorrectly check for audio streams in mpeg ps muxer, fix multiple audio tracks
Baptiste Coudurier [Thu, 21 May 2009 22:33:17 +0000 (22:33 +0000)]
correctly check for audio streams in mpeg ps muxer, fix multiple audio tracks

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

15 years ago10l: typing mistake in r18888
Justin Ruggles [Thu, 21 May 2009 00:28:23 +0000 (00:28 +0000)]
10l: typing mistake in r18888

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

15 years agoeac3dec: fix bug in GAQ dequantization. large mantissas should only be
Justin Ruggles [Thu, 21 May 2009 00:15:44 +0000 (00:15 +0000)]
eac3dec: fix bug in GAQ dequantization. large mantissas should only be
decoded when the gain value is 2 or 4.

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

15 years agoeac3dec: make GAQ dequantization 24-bit
Justin Ruggles [Thu, 21 May 2009 00:15:03 +0000 (00:15 +0000)]
eac3dec: make GAQ dequantization 24-bit

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

15 years agoeac3dec: revert commit r18860. keep the AHT IDCT 24-bit. will make AHT GAQ
Justin Ruggles [Thu, 21 May 2009 00:09:23 +0000 (00:09 +0000)]
eac3dec: revert commit r18860.  keep the AHT IDCT 24-bit.  will make AHT GAQ
dequantization 24-bit in a separate commit.

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

15 years agomathops: sort arch-specific #include lines
Måns Rullgård [Wed, 20 May 2009 18:49:55 +0000 (18:49 +0000)]
mathops: sort arch-specific #include lines

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

15 years agomathops: whitespace cosmetics
Måns Rullgård [Wed, 20 May 2009 18:49:52 +0000 (18:49 +0000)]
mathops: whitespace cosmetics

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

15 years agoCreate shared libs correctly, fix mingw build
Måns Rullgård [Wed, 20 May 2009 18:37:34 +0000 (18:37 +0000)]
Create shared libs correctly, fix mingw build

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

15 years agoAdd QCP demuxer.
Kenan Gillet [Wed, 20 May 2009 17:19:39 +0000 (17:19 +0000)]
Add QCP demuxer.

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

15 years agoMention LGPL AC-3 decoder in the changelog.
Diego Biurrun [Wed, 20 May 2009 16:30:56 +0000 (16:30 +0000)]
Mention LGPL AC-3 decoder in the changelog.

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

15 years agoFix building from within subdirs
Måns Rullgård [Wed, 20 May 2009 10:24:59 +0000 (10:24 +0000)]
Fix building from within subdirs

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

15 years agoUse IF1 frame sizes in AMR-WB.
Martin Storsjö [Wed, 20 May 2009 08:57:32 +0000 (08:57 +0000)]
Use IF1 frame sizes in AMR-WB.
Patch by Martin Storsjö: martin (remove that) at martin (oh and this too) st

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

15 years agoUse iMDCT output scaling to simplify ffvorbis and make it slightly faster.
Siarhei Siamashka [Wed, 20 May 2009 07:26:09 +0000 (07:26 +0000)]
Use iMDCT output scaling to simplify ffvorbis and make it slightly faster.

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

15 years agoFix for a problem with inverted sign of output data from ffvorbis decoder.
Siarhei Siamashka [Wed, 20 May 2009 07:24:38 +0000 (07:24 +0000)]
Fix for a problem with inverted sign of output data from ffvorbis decoder.

Now the sign of audio samples in ffvorbis output is the same as in original
uncompressed audio file and this also allows the use of tiny_psnr to compare
ffvorbis with libvorbis/tremor.

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

15 years agoSupport for testing (i)MDCT output scale factor in fft-test tool.
Siarhei Siamashka [Wed, 20 May 2009 07:23:09 +0000 (07:23 +0000)]
Support for testing (i)MDCT output scale factor in fft-test tool.

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

15 years agoThe AC-3 decoder is now LGPL. Exchange the license header and change references
Diego Biurrun [Tue, 19 May 2009 22:58:09 +0000 (22:58 +0000)]
The AC-3 decoder is now LGPL. Exchange the license header and change references
in the build system and documentation that mark it as GPL.

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

15 years agoLGPL version of ac3_decode_transform_coeffs_ch, ~12.4% faster.
Jason Garrett-Glaser [Tue, 19 May 2009 21:29:21 +0000 (21:29 +0000)]
LGPL version of ac3_decode_transform_coeffs_ch, ~12.4% faster.

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

15 years agoDefine ARCH_MIPS64 when building for MIPS64
Måns Rullgård [Tue, 19 May 2009 19:40:24 +0000 (19:40 +0000)]
Define ARCH_MIPS64 when building for MIPS64

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

15 years agoDefine HAVE_BIGENDIAN as 0 or 1 according to CPU type
Måns Rullgård [Tue, 19 May 2009 19:40:22 +0000 (19:40 +0000)]
Define HAVE_BIGENDIAN as 0 or 1 according to CPU type

This should replace the inconsistently named and defined
WORDS_BIGENDIAN.

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

15 years agoconfigure: add some MIPS CPUs
Måns Rullgård [Tue, 19 May 2009 19:38:44 +0000 (19:38 +0000)]
configure: add some MIPS CPUs

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

15 years agoAdd missing libavformat dependencies on mpeg4audio.o
Alex Converse [Tue, 19 May 2009 18:02:06 +0000 (18:02 +0000)]
Add missing libavformat dependencies on mpeg4audio.o

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

15 years agoLet SwScaler know that RGB48 BE/LE is 16-bits per component format.
Kostya Shishkov [Tue, 19 May 2009 17:37:58 +0000 (17:37 +0000)]
Let SwScaler know that RGB48 BE/LE is 16-bits per component format.

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

15 years agoMove AMR-WB-specific code to the AMR-WB section of the file.
Diego Biurrun [Tue, 19 May 2009 17:31:56 +0000 (17:31 +0000)]
Move AMR-WB-specific code to the AMR-WB section of the file.
Fixes compilation when AMR-NB #includes are not available on the system.

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

15 years agocosmetics: Move AMR-WB-specific code to the AMR-WB part of the file.
Diego Biurrun [Tue, 19 May 2009 17:30:27 +0000 (17:30 +0000)]
cosmetics: Move AMR-WB-specific code to the AMR-WB part of the file.

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

15 years agoMake SwScaler recognize RGB48 BE/LE colourspaces (not support though).
Kostya Shishkov [Tue, 19 May 2009 17:26:22 +0000 (17:26 +0000)]
Make SwScaler recognize RGB48 BE/LE colourspaces (not support though).

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

15 years agoLog with level AV_LOG_ERROR if av_parse_color() cannot recognize a
Stefano Sabatini [Mon, 18 May 2009 17:59:03 +0000 (17:59 +0000)]
Log with level AV_LOG_ERROR if av_parse_color() cannot recognize a
color.

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

15 years agoRemove useless casts of vec_ld() parameters.
Diego Biurrun [Mon, 18 May 2009 08:21:50 +0000 (08:21 +0000)]
Remove useless casts of vec_ld() parameters.
Gets rid of 'cast discards qualifiers from pointer target type' warnings.

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

15 years agoIndent
Benjamin Larsson [Sun, 17 May 2009 16:13:03 +0000 (16:13 +0000)]
Indent

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

15 years agoChange from INIT_VLC_USE_STATIC to INIT_VLC_USE_NEW_STATIC in atrac3
Benjamin Larsson [Sun, 17 May 2009 16:12:07 +0000 (16:12 +0000)]
Change from INIT_VLC_USE_STATIC to INIT_VLC_USE_NEW_STATIC in atrac3

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

15 years agoIndent
Benjamin Larsson [Sun, 17 May 2009 10:31:16 +0000 (10:31 +0000)]
Indent

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

15 years agoSwitch from INIT_VLC_USE_STATIC to INIT_VLC_USE_NEW_STATIC in qdm2.
Benjamin Larsson [Sun, 17 May 2009 10:29:40 +0000 (10:29 +0000)]
Switch from INIT_VLC_USE_STATIC to INIT_VLC_USE_NEW_STATIC in qdm2.

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

15 years agoMake TMV decoder check packet sizes before reading from it.
Vitor Sessak [Sun, 17 May 2009 09:48:12 +0000 (09:48 +0000)]
Make TMV decoder check packet sizes before reading from it.

FATE test 295 might need updating.

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

15 years agoAdd a forward declaration of mpeg1_decode_block_intra to fix compilation
Reimar Döffinger [Sun, 17 May 2009 09:09:07 +0000 (09:09 +0000)]
Add a forward declaration of mpeg1_decode_block_intra to fix compilation
broken by r18859 for e.g. all gcc 4 compilers.

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

15 years agoeac3dec: use 16-bit pre-mantissas instead of 24-bit in AHT decoding. it is
Justin Ruggles [Sun, 17 May 2009 06:53:24 +0000 (06:53 +0000)]
eac3dec: use 16-bit pre-mantissas instead of 24-bit in AHT decoding. it is
simpler and also fixes a bug in GAQ dequantization.

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

15 years agompeg12: fix non-standard use of "extern inline"
Måns Rullgård [Sun, 17 May 2009 00:54:29 +0000 (00:54 +0000)]
mpeg12: fix non-standard use of "extern inline"

Rename ff_mpeg1_decode_block_intra to mpeg1_decode_block_intra and
make it static.  Add ff_mpeg1_decode_block_intra as plain extern
function calling mpeg1_decode_block_intra.

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

15 years agoFix the M bit for multi-packet NALs.
Yao Peter [Sat, 16 May 2009 17:11:47 +0000 (17:11 +0000)]
Fix the M bit for multi-packet NALs.
Patch by Yao Peter (peter AT yuvad DOT com)

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

15 years agoac3dec: fix coupling range check. the start subband must be less than
Justin Ruggles [Sat, 16 May 2009 17:02:44 +0000 (17:02 +0000)]
ac3dec: fix coupling range check.  the start subband must be less than
the end subband.

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

15 years agooma: fix build if memcmp() is a macro
Måns Rullgård [Sat, 16 May 2009 15:09:30 +0000 (15:09 +0000)]
oma: fix build if memcmp() is a macro

Any C library function may be a macro, so compound literals
passed to memcmp() must be surrounded by parens to avoid being
split on commas.

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

15 years agoSupport for getting (i)MDCT output multiplied by a constant scaling factor.
Siarhei Siamashka [Sat, 16 May 2009 14:17:08 +0000 (14:17 +0000)]
Support for getting (i)MDCT output multiplied by a constant scaling factor.

Scaling (i)MDCT output has no runtime overhead and can be used to improve
performance of audio codecs. All the changes are only needed in
'ff_mdct_init' function and slow down initialization a bit.

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

15 years agoMove img_convert_ctx to VideoState and free it in stream_close().
Martin Storsjö [Sat, 16 May 2009 10:29:55 +0000 (10:29 +0000)]
Move img_convert_ctx to VideoState and free it in stream_close().

Patch by Martin Storsjö, martin martin st

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

15 years agoAdd missing frees to stream_close() and do_exit().
Martin Storsjö [Sat, 16 May 2009 10:26:41 +0000 (10:26 +0000)]
Add missing frees to stream_close() and do_exit().

Patch by Martin Storsjö, martin martin st

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

15 years agoFix off-by-one error in MS RLE decoder which may result into writing past
Kostya Shishkov [Sat, 16 May 2009 06:39:08 +0000 (06:39 +0000)]
Fix off-by-one error in MS RLE decoder which may result into writing past
picture buffer.

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

15 years agomove increment after debug print
Baptiste Coudurier [Sat, 16 May 2009 04:08:34 +0000 (04:08 +0000)]
move increment after debug print

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

15 years agocosmetics: K&R coding style, indent correctly, break overly long lines
Diego Biurrun [Fri, 15 May 2009 22:46:29 +0000 (22:46 +0000)]
cosmetics: K&R coding style, indent correctly, break overly long lines

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

15 years agoReplace 'x == 0' if conditions with '!x'.
Diego Biurrun [Fri, 15 May 2009 22:41:26 +0000 (22:41 +0000)]
Replace 'x == 0' if conditions with '!x'.

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

15 years agocosmetics: Remove pointless {}.
Diego Biurrun [Fri, 15 May 2009 20:12:45 +0000 (20:12 +0000)]
cosmetics: Remove pointless {}.

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

15 years agoSurround AMR_WB encoding code by appropriate #ifdefs.
Diego Biurrun [Fri, 15 May 2009 19:03:45 +0000 (19:03 +0000)]
Surround AMR_WB encoding code by appropriate #ifdefs.
This will help support the opencore AMR library.

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

15 years agocosmetics: Move some more code around to avoid #ifdeffery.
Diego Biurrun [Fri, 15 May 2009 18:54:36 +0000 (18:54 +0000)]
cosmetics: Move some more code around to avoid #ifdeffery.

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

15 years agocosmetics: Move functions around so that encoding and decoding functions are
Diego Biurrun [Fri, 15 May 2009 17:34:26 +0000 (17:34 +0000)]
cosmetics: Move functions around so that encoding and decoding functions are
grouped together. This will save some #ifdefs.

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

15 years agoRemove redundant #if condition. Two CONFIG_LIBAMR_NB blocks were right after
Diego Biurrun [Fri, 15 May 2009 17:22:41 +0000 (17:22 +0000)]
Remove redundant #if condition. Two CONFIG_LIBAMR_NB blocks were right after
each other so that the second check was pointless.

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

15 years agoAdd av_cold attribute to amr_nb decoding/encoding initialization functions.
Diego Biurrun [Fri, 15 May 2009 17:15:12 +0000 (17:15 +0000)]
Add av_cold attribute to amr_nb decoding/encoding initialization functions.

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

15 years agoBugfix for bug introduced in the multichannel cook patchset.
Benjamin Larsson [Fri, 15 May 2009 16:25:54 +0000 (16:25 +0000)]
Bugfix for bug introduced in the multichannel cook patchset.

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

15 years agomlp: Simplify adressing of state and coeffs arrays for both filters by making
Ramiro Polla [Fri, 15 May 2009 15:34:22 +0000 (15:34 +0000)]
mlp: Simplify adressing of state and coeffs arrays for both filters by making
the arrays sequential.

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

15 years agomlp: include mlp.h and use MAX_CHANNELS instead of hardcoding value 8.
Ramiro Polla [Fri, 15 May 2009 15:30:43 +0000 (15:30 +0000)]
mlp: include mlp.h and use MAX_CHANNELS instead of hardcoding value 8.

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

15 years agoEnsure that we don't read from invalid memory with B-frame qpel
David Conrad [Fri, 15 May 2009 07:49:59 +0000 (07:49 +0000)]
Ensure that we don't read from invalid memory with B-frame qpel

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

15 years agowrite 'stps' for mpeg-2 open gop in .mov
Baptiste Coudurier [Fri, 15 May 2009 06:11:53 +0000 (06:11 +0000)]
write 'stps' for mpeg-2 open gop in .mov

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

15 years agodecode mpeg-2 closed gop first b frames, fix issue #824
Baptiste Coudurier [Fri, 15 May 2009 05:39:44 +0000 (05:39 +0000)]
decode mpeg-2 closed gop first b frames, fix issue #824

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

15 years agofree Track and unset priv_data to avoid double free, fix memleak
Baptiste Coudurier [Fri, 15 May 2009 05:33:05 +0000 (05:33 +0000)]
free Track and unset priv_data to avoid double free, fix memleak

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

15 years agoreindent
Baptiste Coudurier [Fri, 15 May 2009 04:44:37 +0000 (04:44 +0000)]
reindent

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

15 years agoremove unneeded length checks
Baptiste Coudurier [Fri, 15 May 2009 04:43:44 +0000 (04:43 +0000)]
remove unneeded length checks

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

15 years agochange pic type to Picture* and remove casts
Baptiste Coudurier [Fri, 15 May 2009 02:01:53 +0000 (02:01 +0000)]
change pic type to Picture* and remove casts

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

15 years agoImplement av_set_options_string().
Stefano Sabatini [Thu, 14 May 2009 22:57:08 +0000 (22:57 +0000)]
Implement av_set_options_string().

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

15 years agouse flags field and remove key_frame field
Baptiste Coudurier [Thu, 14 May 2009 21:05:52 +0000 (21:05 +0000)]
use flags field and remove key_frame field

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

15 years agochange cts type to int, save some space
Baptiste Coudurier [Thu, 14 May 2009 20:54:19 +0000 (20:54 +0000)]
change cts type to int, save some space

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

15 years agoDocument av_set_string3() returned error codes.
Stefano Sabatini [Thu, 14 May 2009 19:03:22 +0000 (19:03 +0000)]
Document av_set_string3() returned error codes.

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

15 years agoAdd support in av_parse_color() to a "random" color name, which will
Stefano Sabatini [Thu, 14 May 2009 18:58:06 +0000 (18:58 +0000)]
Add support in av_parse_color() to a "random" color name, which will
result in a randomly choosen random color, as it is with the
"bikeshed" color.

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

15 years agoMake case insensitive the match for the color name in
Stefano Sabatini [Thu, 14 May 2009 18:54:25 +0000 (18:54 +0000)]
Make case insensitive the match for the color name in
av_parse_color().

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

15 years agoMake av_set_string3() print a message in case of unknown option.
Stefano Sabatini [Thu, 14 May 2009 18:50:58 +0000 (18:50 +0000)]
Make av_set_string3() print a message in case of unknown option.

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

15 years agoProvide a context to av_log() calls in av_set_number2() and
Stefano Sabatini [Thu, 14 May 2009 18:43:43 +0000 (18:43 +0000)]
Provide a context to av_log() calls in av_set_number2() and
av_set_string3().

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

15 years agoUse a single space after an ending period and the beginning of the
Stefano Sabatini [Thu, 14 May 2009 18:19:42 +0000 (18:19 +0000)]
Use a single space after an ending period and the beginning of the
next sentence, consistent with the FFmpeg documentation style.

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

15 years agoApply documentation fixes: use third person, fix grammar and remove
Stefano Sabatini [Thu, 14 May 2009 18:13:17 +0000 (18:13 +0000)]
Apply documentation fixes: use third person, fix grammar and remove
inconsistent '\p'.

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

15 years agoAdd gnu/kfreebsd to list of recognized operating systems.
Andres Mejia [Thu, 14 May 2009 11:45:41 +0000 (11:45 +0000)]
Add gnu/kfreebsd to list of recognized operating systems.
patch by Andres Mejia, mcitadel gmail com

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

15 years agoFix for issue #829 ("ffvorbis outputs crackling sound, libvorbis plays fine")
Siarhei Siamashka [Thu, 14 May 2009 06:38:49 +0000 (06:38 +0000)]
Fix for issue #829 ("ffvorbis outputs crackling sound, libvorbis plays fine")

This was off-by-one bug which affects floor0 encoded files. Tracked down
by valgrind (was reported as the use of uninitialized memory).

With this patch applied, tiny_psnr now reports the following when ffvorbis
is compared to libvorbis-1.0beta4 output for 'lsp-test.ogg' sample:
stddev:    0.76 PSNR: 98.69 bytes:  3498380/  3498452

Output from libvorbis-1.2 is substantially different:
stddev:  132.57 PSNR: 53.87 bytes:  3498424/  3498496

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

15 years agoFix VBV delay for mpeg1/2 CBR.
Michael Niedermayer [Thu, 14 May 2009 03:37:58 +0000 (03:37 +0000)]
Fix VBV delay for mpeg1/2 CBR.

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

15 years agoUse skip_bits_long() for large skips
David Conrad [Thu, 14 May 2009 00:02:07 +0000 (00:02 +0000)]
Use skip_bits_long() for large skips
This fixes ogg/theora on ARM (more generally the A32 bitstream reader)

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

15 years agoAdd PCE support to the ADTS muxer.
Alex Converse [Wed, 13 May 2009 22:59:58 +0000 (22:59 +0000)]
Add PCE support to the ADTS muxer.

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

15 years agoSubroutine to copy an AAC Program Config Element (PCE)
Alex Converse [Wed, 13 May 2009 22:57:30 +0000 (22:57 +0000)]
Subroutine to copy an AAC Program Config Element (PCE)

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

15 years agoCosmetics after last commit
Alex Converse [Wed, 13 May 2009 17:59:46 +0000 (17:59 +0000)]
Cosmetics after last commit

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

15 years agoAllow parsing and decoding of ADTS AAC files with channel config = 0
Alex Converse [Wed, 13 May 2009 17:57:58 +0000 (17:57 +0000)]
Allow parsing and decoding of ADTS AAC files with channel config = 0

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

15 years agoMove the ADTS header size to the parser's header file.
Alex Converse [Wed, 13 May 2009 14:11:11 +0000 (14:11 +0000)]
Move the ADTS header size to the parser's header file.

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

15 years agoparse 'stps' atom to set keyframe, partial sync sample for mpeg-2 open gop
Baptiste Coudurier [Wed, 13 May 2009 08:31:22 +0000 (08:31 +0000)]
parse 'stps' atom to set keyframe, partial sync sample for mpeg-2 open gop

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

15 years agoalign and update doxygen
Baptiste Coudurier [Wed, 13 May 2009 08:01:33 +0000 (08:01 +0000)]
align and update doxygen

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

15 years agoremove comment
Baptiste Coudurier [Wed, 13 May 2009 07:57:08 +0000 (07:57 +0000)]
remove comment

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

15 years agoParse 'cslg' atom to retrieve dts shift when 'ctts' duration is negative.
Baptiste Coudurier [Wed, 13 May 2009 07:55:03 +0000 (07:55 +0000)]
Parse 'cslg' atom to retrieve dts shift when 'ctts' duration is negative.
We have now dts <= pts, note that for some B frames dts+1 == pts can happen
if a crappy timebase is used instead of correct /1001.

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

15 years agoAdd a quick description to the H.264 BSF
Alex Converse [Wed, 13 May 2009 06:06:59 +0000 (06:06 +0000)]
Add a quick description to the H.264 BSF

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