ffmpeg:r5xscns-ffmpeg-android.git
8 years agolibavutil: Disable bswap_32 assembly for arm < v6.
Chia-I Wu [Tue, 19 May 2009 03:06:16 +0000 (11:06 +0800)]
libavutil: Disable bswap_32 assembly for arm < v6.

8 years agoconfig: Add arm support.
Chia-I Wu [Tue, 19 May 2009 03:02:34 +0000 (11:02 +0800)]
config: Add arm support.

8 years agolibavformat, libavcodec: Add libz dependency.
Chia-I Wu [Tue, 19 May 2009 03:24:17 +0000 (11:24 +0800)]
libavformat, libavcodec: Add libz dependency.

8 years agoconfig: No HAVE_INLINE_ASM and XVMC.
Chia-I Wu [Tue, 19 May 2009 04:54:15 +0000 (12:54 +0800)]
config: No HAVE_INLINE_ASM and XVMC.

8 years agoav: Clear variables before include.
Chia-I Wu [Tue, 19 May 2009 05:51:28 +0000 (13:51 +0800)]
av: Clear variables before include.

8 years agoav: Move bionic workaround to libavformat.
Chia-I Wu [Tue, 19 May 2009 04:26:02 +0000 (12:26 +0800)]
av: Move bionic workaround to libavformat.

8 years agoav: Use wildcard to determine ALL_S_FILES.
Chia-I Wu [Tue, 19 May 2009 04:18:22 +0000 (12:18 +0800)]
av: Use wildcard to determine ALL_S_FILES.

8 years agoconfig: Move x86 specifics to its own file.
Chia-I Wu [Tue, 19 May 2009 02:56:58 +0000 (10:56 +0800)]
config: Move x86 specifics to its own file.

8 years agoBuild libavutil, libavcodec, and libavformat.
Chia-I Wu [Mon, 18 May 2009 15:35:41 +0000 (23:35 +0800)]
Build libavutil, libavcodec, and libavformat.

8 years agoAdd av.mk.
Chia-I Wu [Mon, 18 May 2009 16:39:23 +0000 (00:39 +0800)]
Add av.mk.

8 years agoCleanup config.mak and config.h.
Chia-I Wu [Mon, 18 May 2009 15:45:30 +0000 (23:45 +0800)]
Cleanup config.mak and config.h.

8 years agoAdd (x86) config.h and config.mak.
Chia-I Wu [Mon, 18 May 2009 14:46:38 +0000 (22:46 +0800)]
Add (x86) config.h and config.mak.

8 years agoRemove useless casts of vec_ld() parameters.
diego [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18867 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

8 years agoIndent
banan [Sun, 17 May 2009 16:13:03 +0000 (16:13 +0000)]
Indent

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18866 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

8 years agoChange from INIT_VLC_USE_STATIC to INIT_VLC_USE_NEW_STATIC in atrac3
banan [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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18865 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

8 years agoIndent
banan [Sun, 17 May 2009 10:31:16 +0000 (10:31 +0000)]
Indent

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18864 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

8 years agoSwitch from INIT_VLC_USE_STATIC to INIT_VLC_USE_NEW_STATIC in qdm2.
banan [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18863 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

8 years agoMake TMV decoder check packet sizes before reading from it.
vitor [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18862 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

8 years agoAdd a forward declaration of mpeg1_decode_block_intra to fix compilation
reimar [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18861 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

8 years agoeac3dec: use 16-bit pre-mantissas instead of 24-bit in AHT decoding. it is
jbr [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18860 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

8 years agompeg12: fix non-standard use of "extern inline"
mru [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18859 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

8 years agoFix the M bit for multi-packet NALs.
lucabe [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)

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18858 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

8 years agoac3dec: fix coupling range check. the start subband must be less than
jbr [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18857 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

8 years agooma: fix build if memcmp() is a macro
mru [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18856 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

8 years agoSupport for getting (i)MDCT output multiplied by a constant scaling factor.
serge [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18855 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

8 years agoMove img_convert_ctx to VideoState and free it in stream_close().
cehoyos [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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18854 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

8 years agoAdd missing frees to stream_close() and do_exit().
cehoyos [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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18853 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

8 years agoFix off-by-one error in MS RLE decoder which may result into writing past
kostya [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18852 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18851 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18850 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18849 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18848 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

8 years agoSurround AMR_WB encoding code by appropriate #ifdefs.
diego [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18847 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18846 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

8 years agocosmetics: Move functions around so that encoding and decoding functions are
diego [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18845 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

8 years agoRemove redundant #if condition. Two CONFIG_LIBAMR_NB blocks were right after each...
diego [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18844 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18843 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18842 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

8 years agomlp: Simplify adressing of state and coeffs arrays for both filters by making
ramiro [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18841 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18840 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

8 years agoEnsure that we don't read from invalid memory with B-frame qpel
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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18839 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18838 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18837 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18836 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18835 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18834 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18833 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18832 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18831 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18830 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18829 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

8 years agoAdd support in av_parse_color() to a "random" color name, which will
stefano [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18828 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18827 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18826 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

8 years agoProvide a context to av_log() calls in av_set_number2() and
stefano [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().

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18825 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

8 years agoUse a single space after an ending period and the beginning of the
stefano [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18824 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18823 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

8 years agoAdd gnu/kfreebsd to list of recognized operating systems.
diego [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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18822 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

8 years agoFix for issue #829 ("ffvorbis outputs crackling sound, libvorbis plays fine")
serge [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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18821 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18820 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

8 years agoUse skip_bits_long() for large skips
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)

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18819 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18818 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18817 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18816 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18815 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18814 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

8 years agoparse 'stps' atom to set keyframe, partial sync sample for mpeg-2 open gop
bcoudurier [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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18813 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18812 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

8 years agoremove comment
bcoudurier [Wed, 13 May 2009 07:57:08 +0000 (07:57 +0000)]
remove comment

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18811 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

8 years agoParse 'cslg' atom to retrieve dts shift when 'ctts' duration is negative.
bcoudurier [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18810 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18809 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

8 years agofactorize av_set_pts_info
bcoudurier [Wed, 13 May 2009 04:22:53 +0000 (04:22 +0000)]
factorize av_set_pts_info

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18808 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

8 years agocosmetics, alignment
bcoudurier [Wed, 13 May 2009 04:20:23 +0000 (04:20 +0000)]
cosmetics, alignment

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18807 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

8 years agoadd casts to silence gcc warnings
bcoudurier [Wed, 13 May 2009 00:32:46 +0000 (00:32 +0000)]
add casts to silence gcc warnings

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18806 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

8 years agoadd casts to silence gcc warnings
bcoudurier [Wed, 13 May 2009 00:27:11 +0000 (00:27 +0000)]
add casts to silence gcc warnings

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18805 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

8 years agoFix bandwith vs. bandwiDth typo.
diego [Tue, 12 May 2009 23:40:22 +0000 (23:40 +0000)]
Fix bandwith vs. bandwiDth typo.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18804 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

8 years agov210 mov fourcc
bcoudurier [Tue, 12 May 2009 20:00:11 +0000 (20:00 +0000)]
v210 mov fourcc

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18803 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

8 years agov210 avi fourcc, v210_720p.avi
bcoudurier [Tue, 12 May 2009 19:58:13 +0000 (19:58 +0000)]
v210 avi fourcc, v210_720p.avi

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18802 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

8 years agoV210 Uncompressed 4:2:2 10-bit encoder and decoder
bcoudurier [Tue, 12 May 2009 19:56:48 +0000 (19:56 +0000)]
V210 Uncompressed 4:2:2 10-bit encoder and decoder

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18801 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

8 years agoPer-stream language-tags extraction in asfdec.
benoit [Tue, 12 May 2009 12:35:46 +0000 (12:35 +0000)]
Per-stream language-tags extraction in asfdec.
Patch by Cyril Comparon: gmail(name, surname);
Original thread: Suggestion for a centralized language-tag facility in libavformat
Date: 04/10/2009 07:33 PM

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18800 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

8 years agoCopy input codec's chroma_sample_location to output codec when transcoding.
conrad [Tue, 12 May 2009 00:47:19 +0000 (00:47 +0000)]
Copy input codec's chroma_sample_location to output codec when transcoding.
Currently only used by yuv4mpeg.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18799 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

8 years agoSupport 16K samplerate in Nellymoser.
diego [Mon, 11 May 2009 19:21:49 +0000 (19:21 +0000)]
Support 16K samplerate in Nellymoser.
patch by Alexander Chemeris, ipse.ffmpeg gmail.com

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18798 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

8 years agoUpdate regression tests for y4m after r18796
conrad [Mon, 11 May 2009 08:45:20 +0000 (08:45 +0000)]
Update regression tests for y4m after r18796
The default changed from 420mpeg2 to 420jpeg

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18797 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

8 years agoUse chroma_sample_location in reading/writing yuv4mpeg
conrad [Mon, 11 May 2009 04:35:15 +0000 (04:35 +0000)]
Use chroma_sample_location in reading/writing yuv4mpeg

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18796 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

8 years agoAdd a chroma_sample_location field to define positioning of chroma samples
conrad [Mon, 11 May 2009 04:34:23 +0000 (04:34 +0000)]
Add a chroma_sample_location field to define positioning of chroma samples

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18795 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

8 years agoPPC: 32-bit asm for MAC64 and MLS64
mru [Mon, 11 May 2009 02:41:50 +0000 (02:41 +0000)]
PPC: 32-bit asm for MAC64 and MLS64

GCC makes a mess of these operations, so give it a hand.

55% faster MP3 decoding on G4.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18794 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

8 years agomove free data in the video case
bcoudurier [Mon, 11 May 2009 02:36:57 +0000 (02:36 +0000)]
move free data in the video case

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18793 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

8 years agowrite a single pes for video frames, some proprietary player needs it
bcoudurier [Mon, 11 May 2009 02:30:29 +0000 (02:30 +0000)]
write a single pes for video frames, some proprietary player needs it

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18792 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

8 years agosgi encoder does not support pal8
bcoudurier [Sun, 10 May 2009 22:36:16 +0000 (22:36 +0000)]
sgi encoder does not support pal8

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18791 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

8 years agorgb555le, rgb565le, rgb565be, bgr24 in .mov muxing
bcoudurier [Sun, 10 May 2009 20:41:01 +0000 (20:41 +0000)]
rgb555le, rgb565le, rgb565be, bgr24 in .mov muxing

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18790 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

8 years agobgra in .mov muxing
bcoudurier [Sun, 10 May 2009 20:14:42 +0000 (20:14 +0000)]
bgra in .mov muxing

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18789 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

8 years agocorrect pixfmt for argb
bcoudurier [Sun, 10 May 2009 20:12:36 +0000 (20:12 +0000)]
correct pixfmt for argb

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18788 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

8 years agorgba in .mov muxing
bcoudurier [Sun, 10 May 2009 20:11:11 +0000 (20:11 +0000)]
rgba in .mov muxing

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18787 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

8 years agoreindent
bcoudurier [Sun, 10 May 2009 19:11:06 +0000 (19:11 +0000)]
reindent

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18786 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18785 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18784 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18783 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18781 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18780 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18779 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b