ffmpeg.git
10 years agoAdd some more missing codecs and update names to match the codec long_name.
Justin Ruggles [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.

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

10 years agoAdd some more missing codecs and update names to match the codec long_name.
Diego Biurrun [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.

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

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

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

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

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

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

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

10 years agoAdd some missing codecs and update names to match the codec long_name
Justin Ruggles [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.

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

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

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

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

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

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

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

10 years agoTarga encoding is supported.
Diego Biurrun [Mon, 2 Mar 2009 00:34:34 +0000 (00:34 +0000)]
Targa encoding is supported.

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

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

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

10 years agoSplit PGM and PPM in image formats section.
Daniel Verkamp [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

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

10 years agocosmetics: Break image format lines before comments.
Daniel Verkamp [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

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

10 years agoRA144: work around gcc bug/oddity on ARM
Måns Rullgård [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.

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

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

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

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

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

10 years agoconfigure: fix return value from check_header
Måns Rullgård [Sun, 1 Mar 2009 17:57:14 +0000 (17:57 +0000)]
configure: fix return value from check_header

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

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

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

10 years agoApply the same logic used for subtitle stream selection to audio and video
Stefano Sabatini [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".

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

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

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

10 years agoFix subtitle selection logic, make ffplay select the subtitle stream N
Stefano Sabatini [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.

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

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

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

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

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

10 years agofix last usage of old metadata API in ffmpeg.c (handling of AVStream language)
Aurelien Jacobs [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)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

10 years agoSVQ3: Fix decoding with A32_BITSTREAM_READER
Måns Rullgård [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.

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

10 years agoARM: fix missing MUL16() return type
Måns Rullgård [Sun, 1 Mar 2009 12:11:02 +0000 (12:11 +0000)]
ARM: fix missing MUL16() return type

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

10 years agoFix typo in comments.
Dominik Mierzejewski [Sun, 1 Mar 2009 11:43:56 +0000 (11:43 +0000)]
Fix typo in comments.

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

10 years agoAdd warnings to yuv2rgb_vis.c because alpha is set wrong (0 instead of 255).
Reimar Döffinger [Sun, 1 Mar 2009 11:38:46 +0000 (11:38 +0000)]
Add warnings to yuv2rgb_vis.c because alpha is set wrong (0 instead of 255).

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

10 years agoMake AltiVec code write alpha as 255 instead of 0 when converting to RGBA
Reimar Döffinger [Sun, 1 Mar 2009 11:35:00 +0000 (11:35 +0000)]
Make AltiVec code write alpha as 255 instead of 0 when converting to RGBA

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

10 years agoFix braindead and broken way to calculate abase, fixes regression tests on
Reimar Döffinger [Sun, 1 Mar 2009 11:33:10 +0000 (11:33 +0000)]
Fix braindead and broken way to calculate abase, fixes regression tests on
big-endian systems.

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

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

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

10 years agoDo not read uninitialized buffer, no matter if it will be multiplied by
Vitor Sessak [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.

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

10 years agoRemove unused variable in mpeg_mc_decode_init
Reimar Döffinger [Sun, 1 Mar 2009 09:14:20 +0000 (09:14 +0000)]
Remove unused variable in mpeg_mc_decode_init

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

10 years agoChange the timebase of the raw demuxer to one that can represent the ts of fields.
Michael Niedermayer [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.

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

10 years agoDisable MPEG-1/2 style timestamp calculation for H264. It still randomizes
Michael Niedermayer [Sun, 1 Mar 2009 03:17:24 +0000 (03:17 +0000)]
Disable MPEG-1/2 style timestamp calculation for H264. It still randomizes
the timestamps because delay is not known for the first few frames.

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

10 years agoDo not set low_delay if has_b_frames has been set before init()
Michael Niedermayer [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().

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

10 years agoAAC: Make the CPE function more consistent with the functions for other channel elements.
Alex Converse [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.

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

10 years agoAdd some basic metadata conversion tables for matroska and asf.
Aurelien Jacobs [Sun, 1 Mar 2009 00:12:08 +0000 (00:12 +0000)]
Add some basic metadata conversion tables for matroska and asf.
Add missing const qualifiers for metadata_conv in AV{In|Out}putFormat.

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

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

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

10 years agoAdjust time_base exactly when changing ticks_per_frame to 2 this is safer
Michael Niedermayer [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.

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

10 years agoconfigure: check_func_headers should mark headers as found
Måns Rullgård [Sat, 28 Feb 2009 19:56:21 +0000 (19:56 +0000)]
configure: check_func_headers should mark headers as found

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

10 years agoconfigure: {enable,disable}_safe functions that sanitise arguments
Måns Rullgård [Sat, 28 Feb 2009 19:56:19 +0000 (19:56 +0000)]
configure: {enable,disable}_safe functions that sanitise arguments

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

10 years agoDocument ff_rtp_codec_id()
Luca Abeni [Sat, 28 Feb 2009 19:34:50 +0000 (19:34 +0000)]
Document ff_rtp_codec_id()

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

10 years agoChange TS seeking so it returns position/timestamp of a key frame.
Ivan Schreter [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

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

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

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

10 years agoDocument ff_rtp_enc_name()
Luca Abeni [Sat, 28 Feb 2009 18:21:43 +0000 (18:21 +0000)]
Document ff_rtp_enc_name()

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

10 years agocosmetics: indentation
Justin Ruggles [Sat, 28 Feb 2009 17:31:25 +0000 (17:31 +0000)]
cosmetics: indentation

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

10 years agoDocument ff_rtp_get_codec_info()
Luca Abeni [Sat, 28 Feb 2009 17:24:56 +0000 (17:24 +0000)]
Document ff_rtp_get_codec_info()

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

10 years agoSeparate the raw FLAC demuxer from raw.c and put in a new file,
Justin Ruggles [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.

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

10 years agoRename movenc.c MOVContext to MOVMuxContext, since MOVContext is already used
Ronald S. Bultje [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.

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

10 years agoRevert "Improve frame rate guessing for streams with two fields per frame."
Måns Rullgård [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.

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

10 years agoARM: fix corner-case overflow in H.264 weighted prediction
Måns Rullgård [Sat, 28 Feb 2009 13:48:54 +0000 (13:48 +0000)]
ARM: fix corner-case overflow in H.264 weighted prediction

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

10 years agoImprove frame rate guessing for streams with two fields per frame.
Ivan Schreter [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

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

10 years agosub_mb_type[] needs to be 8-byte aligned because it is referenced
David S. Miller [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>

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

10 years agoWhen converting from a non alpha format to an alpha format, defaults
Cédric Schieli [Sat, 28 Feb 2009 08:01:52 +0000 (08:01 +0000)]
When converting from a non alpha format to an alpha format, defaults

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

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

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

10 years agouse new metadata API in nut muxer
Aurelien Jacobs [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.

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

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

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

10 years agoAdd an isALPHA macro to check if pixel format has alpha channel
Cédric Schieli [Fri, 27 Feb 2009 22:23:20 +0000 (22:23 +0000)]
Add an isALPHA macro to check if pixel format has alpha channel

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

10 years agoUse YUV420P code path for YUVA420P where appropriate
Cédric Schieli [Fri, 27 Feb 2009 22:13:55 +0000 (22:13 +0000)]
Use YUV420P code path for YUVA420P where appropriate

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

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

Patch by Ivan Schreter, schreter gmx net

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

10 years agoconfigure: remove redundant alsa/asoundlib.h check
Måns Rullgård [Fri, 27 Feb 2009 21:15:12 +0000 (21:15 +0000)]
configure: remove redundant alsa/asoundlib.h check

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

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

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

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

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

10 years agoRefactor code for upcoming alpha patches.
Cédric Schieli [Fri, 27 Feb 2009 20:44:59 +0000 (20:44 +0000)]
Refactor code for upcoming alpha patches.

Patch by Cédric Schieli, cschieli A gmail

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

10 years agoFix misdetection of #else in 'missing } prior to else'.
Michael Niedermayer [Fri, 27 Feb 2009 18:33:46 +0000 (18:33 +0000)]
Fix misdetection of #else in  'missing } prior to else'.

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

10 years agoMake ff_print_debug_info() a no-op when using HW acceleration.
Gwenole Beauchesne [Fri, 27 Feb 2009 15:51:15 +0000 (15:51 +0000)]
Make ff_print_debug_info() a no-op when using HW acceleration.
Patch by Gwenolé Beauchesne.

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

10 years agoUse ff_hwaccel_pixfmt_list_420[] in H.263 decoder.
Gwenole Beauchesne [Fri, 27 Feb 2009 15:49:32 +0000 (15:49 +0000)]
Use ff_hwaccel_pixfmt_list_420[] in H.263 decoder.
Patch by Gwenolé Beauchesne.

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

10 years agoAdd hardware acceleration hooks to H.264.
Gwenole Beauchesne [Fri, 27 Feb 2009 15:45:55 +0000 (15:45 +0000)]
Add hardware acceleration hooks to H.264.
Patch by Gwenolé Beauchesne.

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

10 years agoMake sure -vsync 2 does not produce timestamps equal to the previous,
Michael Niedermayer [Fri, 27 Feb 2009 14:53:29 +0000 (14:53 +0000)]
Make sure -vsync 2 does not produce timestamps equal to the previous,
rather drop a frame.
Fixes Issue872.

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

10 years agoUpdate commented fprintf().
Michael Niedermayer [Fri, 27 Feb 2009 14:44:58 +0000 (14:44 +0000)]
Update commented fprintf().

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

10 years agoDo not allow standard-frame-rate detection to increase the value of
Reimar Döffinger [Fri, 27 Feb 2009 14:13:15 +0000 (14:13 +0000)]
Do not allow standard-frame-rate detection to increase the value of
r_frame_rate by more than 1% over a previously set/detected value.

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

10 years agoFix SVQ3 regression since ticks_per_frame=2.
Michael Niedermayer [Fri, 27 Feb 2009 14:01:32 +0000 (14:01 +0000)]
Fix SVQ3 regression since ticks_per_frame=2.

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

10 years agoSimplify ipmovie.c pts calculation by using an appropriate time_base.
Reimar Döffinger [Fri, 27 Feb 2009 10:07:12 +0000 (10:07 +0000)]
Simplify ipmovie.c pts calculation by using an appropriate time_base.

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

10 years agoAdd a context to av_log() call.
Benoit Fouet [Fri, 27 Feb 2009 08:31:20 +0000 (08:31 +0000)]
Add a context to av_log() call.

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

10 years agoAdd HW acceleration hooks for MPEG-4 / H.263 decoding.
Gwenole Beauchesne [Fri, 27 Feb 2009 08:27:50 +0000 (08:27 +0000)]
Add HW acceleration hooks for MPEG-4 / H.263 decoding.
Patch by Gwenole Beauchesne.

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

10 years agoRemove superfluous call to mpeg_decode_slice() for hwaccel, this
Gwenole Beauchesne [Fri, 27 Feb 2009 08:20:45 +0000 (08:20 +0000)]
Remove superfluous call to mpeg_decode_slice() for hwaccel, this
function already contains the needed code.
Patch by Gwenole Beauchesne.

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

10 years agoReturn early if a HW accelerator is used.
Gwenole Beauchesne [Fri, 27 Feb 2009 08:16:22 +0000 (08:16 +0000)]
Return early if a HW accelerator is used.
Patch by Gwenole Beauchesne.

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

10 years agoAdd VA API pixel formats.
Gwenole Beauchesne [Fri, 27 Feb 2009 08:12:41 +0000 (08:12 +0000)]
Add VA API pixel formats.
Patch by Gwenole Beauchesne.

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

10 years agoAdd ff_hwaccel_pixfmt_list_420[] definition.
Gwenole Beauchesne [Fri, 27 Feb 2009 08:09:23 +0000 (08:09 +0000)]
Add ff_hwaccel_pixfmt_list_420[] definition.
Patch by Gwenole Beauchesne.

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

10 years agoHack: #undef printf so compilation works with DEBUG_IPMOVIE set to 1
Reimar Döffinger [Fri, 27 Feb 2009 08:02:34 +0000 (08:02 +0000)]
Hack: #undef printf so compilation works with DEBUG_IPMOVIE set to 1

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

10 years agoDetect the case when the time base is exact but far finer than necessary to
Reimar Döffinger [Fri, 27 Feb 2009 07:56:24 +0000 (07:56 +0000)]
Detect the case when the time base is exact but far finer than necessary to
represent the time stamps, as e.g. for ipmovie.c and set a better r_frame_rate.

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

10 years agoAdd ticks_per_frame, this should hopefully fix the regressions caused
Michael Niedermayer [Thu, 26 Feb 2009 23:47:32 +0000 (23:47 +0000)]
Add ticks_per_frame, this should hopefully fix the regressions caused
by the time_base change.

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

10 years agocosmetics: vertical alignment
Aurelien Jacobs [Thu, 26 Feb 2009 22:39:53 +0000 (22:39 +0000)]
cosmetics: vertical alignment

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

10 years agouse new metadata API in rpl demuxer
Aurelien Jacobs [Thu, 26 Feb 2009 22:38:46 +0000 (22:38 +0000)]
use new metadata API in rpl demuxer

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

10 years agouse new metadata API in wc3 demuxer
Aurelien Jacobs [Thu, 26 Feb 2009 22:35:26 +0000 (22:35 +0000)]
use new metadata API in wc3 demuxer

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

10 years agoMark as "internal but installed" the avio.h file.
Stefano Sabatini [Thu, 26 Feb 2009 22:34:18 +0000 (22:34 +0000)]
Mark as "internal but installed" the avio.h file.

This should prevent its direct inclusion in an external project, which
results broken if avformat.h is not included before.

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

10 years agoAdd a @file notice to avio.h.
Stefano Sabatini [Thu, 26 Feb 2009 22:28:42 +0000 (22:28 +0000)]
Add a @file notice to avio.h.

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

10 years agoRename avfilter_parse_graph() to avfilter_graph_parse(), for better
Stefano Sabatini [Thu, 26 Feb 2009 22:03:55 +0000 (22:03 +0000)]
Rename avfilter_parse_graph() to avfilter_graph_parse(), for better
consistency with the rest of the API.

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

10 years agoRename avfilter_destroy_graph() to avfilter_graph_destroy(), for better
Stefano Sabatini [Thu, 26 Feb 2009 22:02:09 +0000 (22:02 +0000)]
Rename avfilter_destroy_graph() to avfilter_graph_destroy(), for better
consistency with the rest of the API.

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

10 years agoHalf user provided time_base once during the first frame when there is no
Michael Niedermayer [Thu, 26 Feb 2009 21:09:24 +0000 (21:09 +0000)]
Half user provided time_base once during the first frame when there is no
timebase stored in the h264 stream.
This should fix fate. (ffmpeg.c used pict_repeat with its default 1/25 timebase)

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

10 years agoCosmetics: Fix indentation after last commit.
Carl Eugen Hoyos [Thu, 26 Feb 2009 20:36:47 +0000 (20:36 +0000)]
Cosmetics: Fix indentation after last commit.

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

10 years agoInitialize H264 parser context correctly if the optional SEI messages
Ivan Schreter [Thu, 26 Feb 2009 20:36:02 +0000 (20:36 +0000)]
Initialize H264 parser context correctly if the optional SEI messages
are not present.

Patch by Ivan Schreter, schreter gmx net

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