]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/log
frescor/ffmpeg.git
15 years agoH.264: Simplify decode_residual()
alexc [Tue, 3 Mar 2009 05:26:39 +0000 (05:26 +0000)]
H.264: Simplify decode_residual()

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

15 years agocosmetics: remove a pointless comment
jbr [Tue, 3 Mar 2009 05:25:58 +0000 (05:25 +0000)]
cosmetics: remove a pointless comment

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

15 years agoflacdec: Remove unused variable, min_blocksize.
jbr [Tue, 3 Mar 2009 05:25:23 +0000 (05:25 +0000)]
flacdec: Remove unused variable, min_blocksize.

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

15 years agoflacdec: Return error when blocksize code of 0 is found. It is a
jbr [Tue, 3 Mar 2009 05:22:44 +0000 (05:22 +0000)]
flacdec: Return error when blocksize code of 0 is found. It is a
reserved value per the FLAC format documentation.

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

15 years agoEnable PB-frames decoding for H.263
kostya [Tue, 3 Mar 2009 05:18:39 +0000 (05:18 +0000)]
Enable PB-frames decoding for H.263

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

15 years agoAdd PB-frame decoding support for H.263/i263 (and enable it for i263)
kostya [Tue, 3 Mar 2009 05:17:22 +0000 (05:17 +0000)]
Add PB-frame decoding support for H.263/i263 (and enable it for i263)

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

15 years agoalacdec: Simplify reading of uncompressed samples by using
jbr [Tue, 3 Mar 2009 04:57:02 +0000 (04:57 +0000)]
alacdec: Simplify reading of uncompressed samples by using
get_sbits_long().

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

15 years agoflacdec: Avoid trying to read 33 bits. This occurs when the source
jbr [Tue, 3 Mar 2009 04:45:45 +0000 (04:45 +0000)]
flacdec: Avoid trying to read 33 bits.  This occurs when the source
is 32 bits-per-sample and channel decorrelation is used.  Such files
are valid, but not supported currently.

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

15 years agoflacdec: ALT_BITSTREAM_READER is no longer required.
jbr [Tue, 3 Mar 2009 02:53:11 +0000 (02:53 +0000)]
flacdec: ALT_BITSTREAM_READER is no longer required.

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

15 years agoflacdec: use get_sbits_long() where needed.
jbr [Tue, 3 Mar 2009 02:19:01 +0000 (02:19 +0000)]
flacdec: use get_sbits_long() where needed.

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

15 years agoAdd a get_sbits_long() function.
jbr [Tue, 3 Mar 2009 02:00:47 +0000 (02:00 +0000)]
Add a get_sbits_long() function.

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

15 years agoALAC: use sign_extend() from mathops.h
mru [Tue, 3 Mar 2009 01:53:54 +0000 (01:53 +0000)]
ALAC: use sign_extend() from mathops.h

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

15 years agoAdd sign_extend() function to mathops.h
mru [Tue, 3 Mar 2009 00:03:55 +0000 (00:03 +0000)]
Add sign_extend() function to mathops.h

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

15 years agoSimplify show_bits_long and copy the GetBitsContext around only once instead of twice.
reimar [Mon, 2 Mar 2009 19:42:31 +0000 (19:42 +0000)]
Simplify show_bits_long and copy the GetBitsContext around only once instead of twice.

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

15 years agoflacdec: Use get/skip_bits_long() for more than 17-bits and
jbr [Mon, 2 Mar 2009 17:32:53 +0000 (17:32 +0000)]
flacdec: Use get/skip_bits_long() for more than 17-bits and
get/skip_bits() for 17-bits or less.

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

15 years agoFactor out block decoding in ff_h263_decode_mb()
kostya [Mon, 2 Mar 2009 17:18:49 +0000 (17:18 +0000)]
Factor out block decoding in ff_h263_decode_mb()

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

15 years agoConsider all packets in the parser, not just ones with timestamps,
michael [Mon, 2 Mar 2009 15:13:58 +0000 (15:13 +0000)]
Consider all packets in the parser, not just ones with timestamps,
this should greatly simplify handling of packet pos.

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

15 years agoFavor container packets that end after the first byte of the access
michael [Mon, 2 Mar 2009 15:12:26 +0000 (15:12 +0000)]
Favor container packets that end after the first byte of the access
unit in fetch_timestamp(). This should make no difference for valid
streams but may help invalid ones, also its needed for future changes.

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

15 years agoCall ff_fetch_timestamp() for mpeg1/2 when a picture start code is found instead
michael [Mon, 2 Mar 2009 14:53:18 +0000 (14:53 +0000)]
Call ff_fetch_timestamp() for mpeg1/2 when a picture start code is found instead
of calling it at the end of a frame with a large negative offset.
This significantly reduces the maximal distance in container packets between
the point where the first byte of the "access unit" was stored and where
we call ff_fetch_timestamp() thus reducing the constraints on our parser.
Also change the parser from next_frame_offset to cur, this is needed
because now the reference is from container packet start instead of
frame start. (i previously misinterpreted this as bug)

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

15 years agoversion.h should depend on config.mak.
diego [Mon, 2 Mar 2009 09:33:57 +0000 (09:33 +0000)]
version.h should depend on config.mak.
The extra version string that is passed to configure is recorded in config.mak
and changes to config.mak can therefore make version.h rebuilds necessary.

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

15 years agoAdd context to some av_log() calls.
benoit [Mon, 2 Mar 2009 09:28:37 +0000 (09:28 +0000)]
Add context to some av_log() calls.

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

15 years agoMerge three conditions in a single 'if' instead of two.
benoit [Mon, 2 Mar 2009 09:22:17 +0000 (09:22 +0000)]
Merge three conditions in a single 'if' instead of two.

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

15 years agoMention non-recursive Makefiles in the changelog.
diego [Mon, 2 Mar 2009 07:57:04 +0000 (07:57 +0000)]
Mention non-recursive Makefiles in the changelog.

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

15 years agocosmetics: spelling/wording fixes
diego [Mon, 2 Mar 2009 07:52:47 +0000 (07:52 +0000)]
cosmetics: spelling/wording fixes

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

15 years agoAC-3 encoding is integer-only
jbr [Mon, 2 Mar 2009 06:31:28 +0000 (06:31 +0000)]
AC-3 encoding is integer-only

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

15 years agoRevert previous removal of PAM, PBM, PGM, PGMYUV and PPM from the list of
diego [Mon, 2 Mar 2009 06:13:54 +0000 (06:13 +0000)]
Revert previous removal of PAM, PBM, PGM, PGMYUV and PPM from the list of
supported image formats. Apparently decoding these formats is supported.

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

15 years agocosmetics: Reformat long_names so that "DPCM" comes first.
diego [Mon, 2 Mar 2009 06:01:32 +0000 (06:01 +0000)]
cosmetics: Reformat long_names so that "DPCM" comes first.

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

15 years agocosmetics: Reformat long_names so that "ADPCM" comes first.
diego [Mon, 2 Mar 2009 05:55:03 +0000 (05:55 +0000)]
cosmetics: Reformat long_names so that "ADPCM" comes first.

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

15 years agocosmetics: Reformat long_names so that "PCM" comes first.
diego [Mon, 2 Mar 2009 05:45:44 +0000 (05:45 +0000)]
cosmetics: Reformat long_names so that "PCM" comes first.

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

15 years agosmall spelling/grammar fixes
diego [Mon, 2 Mar 2009 05:41:55 +0000 (05:41 +0000)]
small spelling/grammar fixes

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

15 years agoxvmc works with MPEG-2 as well as MPEG-1, note this in the codec long_name.
diego [Mon, 2 Mar 2009 05:20:00 +0000 (05:20 +0000)]
xvmc works with MPEG-2 as well as MPEG-1, note this in the codec long_name.

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

15 years agoChange a bunch of codec long_names to be more consistent and descriptive.
diego [Mon, 2 Mar 2009 05:18:33 +0000 (05:18 +0000)]
Change a bunch of codec long_names to be more consistent and descriptive.

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

15 years agoDecoding of PAM, PBM, PGM, PGMYUV and PPM image formats is not supported.
diego [Mon, 2 Mar 2009 05:08:57 +0000 (05:08 +0000)]
Decoding of PAM, PBM, PGM, PGMYUV and PPM image formats is not supported.

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

15 years agofigure out which muxers support which codecs? new api required!
compn [Mon, 2 Mar 2009 04:37:46 +0000 (04:37 +0000)]
figure out which muxers support which codecs? new api required!

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

15 years agoThe Ogg muxer will handle Theora as well
superdump [Mon, 2 Mar 2009 04:19:59 +0000 (04:19 +0000)]
The Ogg muxer will handle Theora as well

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

15 years agoAnother round of missing codecs and name updates to match the codec long_name.
diego [Mon, 2 Mar 2009 03:52:40 +0000 (03:52 +0000)]
Another round of missing codecs and name updates to match the codec long_name.

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

15 years agoAdd some more missing codecs and update names to match the codec long_name.
jbr [Mon, 2 Mar 2009 03:41:58 +0000 (03:41 +0000)]
Add some more missing codecs and update names to match the codec long_name.

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

15 years agoAdd some more missing codecs and update names to match the codec long_name.
diego [Mon, 2 Mar 2009 03:30:53 +0000 (03:30 +0000)]
Add some more missing codecs and update names to match the codec long_name.

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

15 years agoMerge MP2, MP3 and MPEG audio demuxer entries.
diego [Mon, 2 Mar 2009 02:58:22 +0000 (02:58 +0000)]
Merge MP2, MP3 and MPEG audio demuxer entries.

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

15 years agovorbis and flac ogg muxer only
compn [Mon, 2 Mar 2009 02:48:30 +0000 (02:48 +0000)]
vorbis and flac ogg muxer only

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

15 years agoogg muxer is vorbis only
compn [Mon, 2 Mar 2009 02:31:46 +0000 (02:31 +0000)]
ogg muxer is vorbis only

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

15 years agoAdd some missing codecs and update names to match the codec long_name
jbr [Mon, 2 Mar 2009 02:25:31 +0000 (02:25 +0000)]
Add some missing codecs and update names to match the codec long_name
or vice-versa.

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

15 years agoAdd some missing codecs and update names to match the codec long_name.
diego [Mon, 2 Mar 2009 01:55:21 +0000 (01:55 +0000)]
Add some missing codecs and update names to match the codec long_name.

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

15 years agoadd some missing codecs and update some names to match AVCodec.long_name
jbr [Mon, 2 Mar 2009 01:40:21 +0000 (01:40 +0000)]
add some missing codecs and update some names to match AVCodec.long_name

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

15 years agoInteger-only decoding of AC-3 is not supported.
diego [Mon, 2 Mar 2009 00:55:43 +0000 (00:55 +0000)]
Integer-only decoding of AC-3 is not supported.

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

15 years agoSplit PGM and PPM in image formats section.
diego [Mon, 2 Mar 2009 00:34:34 +0000 (00:34 +0000)]
Split PGM and PPM in image formats section.
patch by Daniel Verkamp, daniel drv nu

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

15 years agoAdd missing image formats, patch by Daniel Verkamp, daniel drv nu.
diego [Mon, 2 Mar 2009 00:29:24 +0000 (00:29 +0000)]
Add missing image formats, patch by Daniel Verkamp, daniel drv nu.

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

15 years agoSplit PGM and PPM in image formats section.
diego [Mon, 2 Mar 2009 00:27:51 +0000 (00:27 +0000)]
Split PGM and PPM in image formats section.
patch by Daniel Verkamp, daniel drv nu

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

15 years agocosmetics: Break image format lines before comments.
diego [Mon, 2 Mar 2009 00:24:10 +0000 (00:24 +0000)]
cosmetics: Break image format lines before comments.
patch by Daniel Verkamp, daniel drv nu

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

15 years agoRA144: work around gcc bug/oddity on ARM
mru [Sun, 1 Mar 2009 23:41:39 +0000 (23:41 +0000)]
RA144: work around gcc bug/oddity on ARM

This should not make any difference, yet some gcc versions on ARM
produce incorrect output without this fix.

Approved by Vitor.

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

15 years agoadd an API changelog with a first entry for the new metadata API
aurel [Sun, 1 Mar 2009 18:20:26 +0000 (18:20 +0000)]
add an API changelog with a first entry for the new metadata API

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

15 years agoAdd release version number.
diego [Sun, 1 Mar 2009 18:12:06 +0000 (18:12 +0000)]
Add release version number.

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

15 years agoconfigure: fix return value from check_header
mru [Sun, 1 Mar 2009 17:57:14 +0000 (17:57 +0000)]
configure: fix return value from check_header

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

15 years agoDocument ffplay -ast, -vst, and -sst options.
stefano [Sun, 1 Mar 2009 17:13:33 +0000 (17:13 +0000)]
Document ffplay -ast, -vst, and -sst options.

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

15 years agoApply the same logic used for subtitle stream selection to audio and video
stefano [Sun, 1 Mar 2009 17:06:01 +0000 (17:06 +0000)]
Apply the same logic used for subtitle stream selection to audio and video
stream selection.

Make the counting starts from 0, and disable the corresponding playbck
when the selected stream number is negative.

See the thread:
" [FFmpeg-devel] [PATCH] Add documentation for -ast, -vst, -sst".

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

15 years agoSimplify the logic for the subtitle stream selection.
stefano [Sun, 1 Mar 2009 17:02:21 +0000 (17:02 +0000)]
Simplify the logic for the subtitle stream selection.

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

15 years agoFix subtitle selection logic, make ffplay select the subtitle stream N
stefano [Sun, 1 Mar 2009 16:58:59 +0000 (16:58 +0000)]
Fix subtitle selection logic, make ffplay select the subtitle stream N
rather than the subtitle stream N-1 when N is not zero.

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

15 years agodeprecate old metadata API
aurel [Sun, 1 Mar 2009 16:35:25 +0000 (16:35 +0000)]
deprecate old metadata API

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

15 years agofix missed usage of old metadata API in mov demuxer
aurel [Sun, 1 Mar 2009 16:06:26 +0000 (16:06 +0000)]
fix missed usage of old metadata API in mov demuxer

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

15 years agofix last usage of old metadata API in ffmpeg.c (handling of AVStream language)
aurel [Sun, 1 Mar 2009 15:58:57 +0000 (15:58 +0000)]
fix last usage of old metadata API in ffmpeg.c (handling of AVStream language)

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

15 years agouse new metadata API in libavformat/utils.c
aurel [Sun, 1 Mar 2009 15:38:06 +0000 (15:38 +0000)]
use new metadata API in libavformat/utils.c

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

15 years agouse new metadata API in r3d demuxer
aurel [Sun, 1 Mar 2009 15:28:56 +0000 (15:28 +0000)]
use new metadata API in r3d demuxer

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

15 years agoconvert ffserver to new metadata API
aurel [Sun, 1 Mar 2009 14:56:27 +0000 (14:56 +0000)]
convert ffserver to new metadata API

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

15 years agoconvert ffplay to new metadata API
aurel [Sun, 1 Mar 2009 14:55:21 +0000 (14:55 +0000)]
convert ffplay to new metadata API

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

15 years agoconvert ffmpeg to new metadata API
aurel [Sun, 1 Mar 2009 14:54:22 +0000 (14:54 +0000)]
convert ffmpeg to new metadata API

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

15 years agonew metadata API is now officially part of public API
aurel [Sun, 1 Mar 2009 14:50:03 +0000 (14:50 +0000)]
new metadata API is now officially part of public API

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

15 years agosimplify metadata conversion and fixes gcc-2.95 at the same time
aurel [Sun, 1 Mar 2009 14:29:30 +0000 (14:29 +0000)]
simplify metadata conversion and fixes gcc-2.95 at the same time

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

15 years agoSVQ3: Fix decoding with A32_BITSTREAM_READER
mru [Sun, 1 Mar 2009 12:11:07 +0000 (12:11 +0000)]
SVQ3: Fix decoding with A32_BITSTREAM_READER

svq3_decode_slice_header() modifies the buffer used by the bitstream
reader.  Some of the bitstream readers cache a few bytes of data, which
must be flushed after such a modification.  Calling skip_bits_long(gb, 0)
achieves this.

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

15 years agoARM: fix missing MUL16() return type
mru [Sun, 1 Mar 2009 12:11:02 +0000 (12:11 +0000)]
ARM: fix missing MUL16() return type

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

15 years agoReindent after last commit
vitor [Sun, 1 Mar 2009 11:16:57 +0000 (11:16 +0000)]
Reindent after last commit

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

15 years agoDo not read uninitialized buffer, no matter if it will be multiplied by
vitor [Sun, 1 Mar 2009 11:14:21 +0000 (11:14 +0000)]
Do not read uninitialized buffer, no matter if it will be multiplied by
zero later. This should fix some valgrind warnings and hopefully FATE
ra144 test on ARM.

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

15 years agoRemove unused variable in mpeg_mc_decode_init
reimar [Sun, 1 Mar 2009 09:14:20 +0000 (09:14 +0000)]
Remove unused variable in mpeg_mc_decode_init

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

15 years agoChange the timebase of the raw demuxer to one that can represent the ts of fields.
michael [Sun, 1 Mar 2009 03:48:35 +0000 (03:48 +0000)]
Change the timebase of the raw demuxer to one that can represent the ts of fields.

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

15 years agoDisable MPEG1/2 style timestamp calculation for H264 it still randomizes
michael [Sun, 1 Mar 2009 03:17:24 +0000 (03:17 +0000)]
Disable MPEG1/2 style timestamp calculation for H264 it still randomizes
the timestamps because delay is not known for the first few frames.

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

15 years agoDo not set low_delay if has_b_frames has been set before init()
michael [Sun, 1 Mar 2009 03:13:04 +0000 (03:13 +0000)]
Do not set low_delay if has_b_frames has been set before init()
this will be needed once the parser can figure out has_b_frames
in av_find_stream_info().

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

15 years agoAAC: Make the CPE function more consistent with the functions for other channel elements.
alexc [Sun, 1 Mar 2009 00:23:05 +0000 (00:23 +0000)]
AAC: Make the CPE function more consistent with the functions for other channel elements.

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

15 years agoadd missing const qualifiers for metadata_conv in AV{In|Out}putFormat
aurel [Sun, 1 Mar 2009 00:12:08 +0000 (00:12 +0000)]
add missing const qualifiers for metadata_conv in AV{In|Out}putFormat

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

15 years agoadd a metadata conversion API
aurel [Sat, 28 Feb 2009 23:34:16 +0000 (23:34 +0000)]
add a metadata conversion API

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

15 years agoAdjust time_base exactly when changing ticks_per_frame to 2 this is safer
michael [Sat, 28 Feb 2009 20:58:07 +0000 (20:58 +0000)]
Adjust time_base exactly when changing ticks_per_frame to 2 this is safer
and for some raw h264 we managed to change the timebase twice before.

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

15 years agoconfigure: check_func_headers should mark headers as found
mru [Sat, 28 Feb 2009 19:56:21 +0000 (19:56 +0000)]
configure: check_func_headers should mark headers as found

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

15 years agoconfigure: {enable,disable}_safe functions that sanitise arguments
mru [Sat, 28 Feb 2009 19:56:19 +0000 (19:56 +0000)]
configure: {enable,disable}_safe functions that sanitise arguments

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

15 years agoDocument ff_rtp_codec_id()
lucabe [Sat, 28 Feb 2009 19:34:50 +0000 (19:34 +0000)]
Document ff_rtp_codec_id()

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

15 years agoChange TS seeking so it returns position/timestamp of a key frame.
cehoyos [Sat, 28 Feb 2009 18:35:53 +0000 (18:35 +0000)]
Change TS seeking so it returns position/timestamp of a key frame.

Patch by Ivan Schreter, schreter gmx net

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

15 years agoFix typo in a comment
lucabe [Sat, 28 Feb 2009 18:23:19 +0000 (18:23 +0000)]
Fix typo in a comment

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

15 years agoDocument ff_rtp_enc_name()
lucabe [Sat, 28 Feb 2009 18:21:43 +0000 (18:21 +0000)]
Document ff_rtp_enc_name()

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

15 years agocosmetics: indentation
jbr [Sat, 28 Feb 2009 17:31:25 +0000 (17:31 +0000)]
cosmetics: indentation

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

15 years agoDocument ff_rtp_get_codec_info()
lucabe [Sat, 28 Feb 2009 17:24:56 +0000 (17:24 +0000)]
Document ff_rtp_get_codec_info()

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

15 years agoSeparate the raw FLAC demuxer from raw.c and put in a new file,
jbr [Sat, 28 Feb 2009 17:24:46 +0000 (17:24 +0000)]
Separate the raw FLAC demuxer from raw.c and put in a new file,
flacdec.c.

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

15 years agoRename movenc.c MOVContext to MOVMuxContext, since MOVContext is already used
rbultje [Sat, 28 Feb 2009 16:02:29 +0000 (16:02 +0000)]
Rename movenc.c MOVContext to MOVMuxContext, since MOVContext is already used
in mov.c for the demuxer. See "[PATCH] rename movenc.c MOVContext to
MOVMuxContext" thread on the mailinglist.

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

15 years agoRevert "Improve frame rate guessing for streams with two fields per frame."
mru [Sat, 28 Feb 2009 15:15:54 +0000 (15:15 +0000)]
Revert "Improve frame rate guessing for streams with two fields per frame."

This reverts r17656, which broke many tests.  Further investigation
is necessary.

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

15 years agoARM: fix corner-case overflow in H.264 weighted prediction
mru [Sat, 28 Feb 2009 13:48:54 +0000 (13:48 +0000)]
ARM: fix corner-case overflow in H.264 weighted prediction

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

15 years agoImprove frame rate guessing for streams with two fields per frame.
cehoyos [Sat, 28 Feb 2009 13:14:46 +0000 (13:14 +0000)]
Improve frame rate guessing for streams with two fields per frame.

Patch by Ivan Schreter, schreter gmx net

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

15 years agosub_mb_type[] needs to be 8-byte aligned because it is referenced
stefang [Sat, 28 Feb 2009 08:38:33 +0000 (08:38 +0000)]
sub_mb_type[] needs to be 8-byte aligned because it is referenced
as a uint64_t in get_dct8x8_allowed().
Patch by David S. Miller <davem at davemloft dot net>

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

15 years agoFix avpicture_layout to not chroma shift the alpha plane when outputting YUVA420P
sdrik [Sat, 28 Feb 2009 07:31:36 +0000 (07:31 +0000)]
Fix avpicture_layout to not chroma shift the alpha plane when outputting YUVA420P

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

15 years agouse new metadata API in nut muxer
aurel [Fri, 27 Feb 2009 23:12:14 +0000 (23:12 +0000)]
use new metadata API in nut muxer
This is only a straight conversion of current code, so for now, it won't
mux generic metadata. It will only mux Title, Author and Copyright.

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

15 years agouse new metadata API in nut demuxer
aurel [Fri, 27 Feb 2009 23:10:34 +0000 (23:10 +0000)]
use new metadata API in nut demuxer

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

15 years agoCorrectly reset SEI variables.
cehoyos [Fri, 27 Feb 2009 21:28:41 +0000 (21:28 +0000)]
Correctly reset SEI variables.

Patch by Ivan Schreter, schreter gmx net

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

15 years agoconfigure: remove redundant alsa/asoundlib.h check
mru [Fri, 27 Feb 2009 21:15:12 +0000 (21:15 +0000)]
configure: remove redundant alsa/asoundlib.h check

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

15 years agoDetect static prototypes.
michael [Fri, 27 Feb 2009 21:11:49 +0000 (21:11 +0000)]
Detect static prototypes.

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

15 years agoImprove detection of non doxy comments.
michael [Fri, 27 Feb 2009 21:08:32 +0000 (21:08 +0000)]
Improve detection of non doxy comments.

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