platform/upstream/libav.git
14 years agoSimplify getSubSampleFactors(), make it use the values provided by
Stefano Sabatini [Sun, 3 Jan 2010 00:09:24 +0000 (00:09 +0000)]
Simplify getSubSampleFactors(), make it use the values provided by
av_pix_fmt_descriptors().

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

14 years agoReduce number of ASM constraints for ff_lpc_compute_autocorr_sse2 since it
Reimar Döffinger [Sat, 2 Jan 2010 17:48:08 +0000 (17:48 +0000)]
Reduce number of ASM constraints for ff_lpc_compute_autocorr_sse2 since it
causes no significant speed difference and can avoid compilation issues with
--enable-pic.

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

14 years ago10l, my last commit (r21001) broke regression tests.
Vitor Sessak [Sat, 2 Jan 2010 12:29:00 +0000 (12:29 +0000)]
10l, my last commit (r21001) broke regression tests.

FATE tests might need updating too.

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

14 years agoSmall ELBG optimization: use last pixel as a initial guess for the codebook
Vitor Sessak [Sat, 2 Jan 2010 12:15:09 +0000 (12:15 +0000)]
Small ELBG optimization: use last pixel as a initial guess for the codebook
entry.

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

14 years agoUse av_match_ext() in place of the deprecated match_ext() function.
Stefano Sabatini [Fri, 1 Jan 2010 23:56:09 +0000 (23:56 +0000)]
Use av_match_ext() in place of the deprecated match_ext() function.

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

14 years agoAdd an entry for the av_match_ext() addition.
Stefano Sabatini [Fri, 1 Jan 2010 23:53:02 +0000 (23:53 +0000)]
Add an entry for the av_match_ext() addition.

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

14 years agoDeprecate match_ext() in favor of av_match_ext(), and mark it for
Stefano Sabatini [Fri, 1 Jan 2010 23:50:10 +0000 (23:50 +0000)]
Deprecate match_ext() in favor of av_match_ext(), and mark it for
deletion at the next major bump.

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

14 years agoAdjust threshold for xvid packed b frame detection.
Michael Niedermayer [Fri, 1 Jan 2010 21:32:48 +0000 (21:32 +0000)]
Adjust threshold for xvid packed b frame detection.
Also add xvid_build check.
If you note any packed bitstream regression, check this commit first and report it.
Fixes issue1652

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

14 years agoIt appears s->bitstream_buffer_size has to be 0 at the end so rather use assert.
Michael Niedermayer [Fri, 1 Jan 2010 21:07:52 +0000 (21:07 +0000)]
It appears s->bitstream_buffer_size has to be 0 at the end so rather use assert.

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

14 years agoUpdate this_year value.
Stefano Sabatini [Fri, 1 Jan 2010 15:07:35 +0000 (15:07 +0000)]
Update this_year value.

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

14 years agoUse av_guess_format() in place of the deprecated guess_format().
Stefano Sabatini [Fri, 1 Jan 2010 12:58:03 +0000 (12:58 +0000)]
Use av_guess_format() in place of the deprecated guess_format().

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

14 years agoReindent.
Stefano Sabatini [Fri, 1 Jan 2010 12:52:20 +0000 (12:52 +0000)]
Reindent.

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

14 years agoAdd an entry for the av_guess_format() addition.
Stefano Sabatini [Fri, 1 Jan 2010 12:50:23 +0000 (12:50 +0000)]
Add an entry for the av_guess_format() addition.

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

14 years agoDeprecate guess_format() in favor of av_guess_format().
Stefano Sabatini [Fri, 1 Jan 2010 12:46:24 +0000 (12:46 +0000)]
Deprecate guess_format() in favor of av_guess_format().

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

14 years agoFix typo.
Stefano Sabatini [Fri, 1 Jan 2010 12:29:22 +0000 (12:29 +0000)]
Fix typo.

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

14 years agoRemove residual use of the doxygen markup which is deprecated,
Stefano Sabatini [Fri, 1 Jan 2010 12:28:18 +0000 (12:28 +0000)]
Remove residual use of the doxygen markup which is deprecated,
consistent with r19122.

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

14 years agoDo not needlessly use the BP register in x86_64-specific code, there are
Reimar Döffinger [Fri, 1 Jan 2010 09:46:24 +0000 (09:46 +0000)]
Do not needlessly use the BP register in x86_64-specific code, there are
enough other registers available that are less likely to cause issues.

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

14 years agoDocument guess_format().
Stefano Sabatini [Thu, 31 Dec 2009 16:38:21 +0000 (16:38 +0000)]
Document guess_format().

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

14 years agoDeprecate and mark for deletion the function guess_stream_format(),
Stefano Sabatini [Thu, 31 Dec 2009 14:12:58 +0000 (14:12 +0000)]
Deprecate and mark for deletion the function guess_stream_format(),
and clone its code to ffserver_guess_format() in ffserver.c.

guess_stream_format() is hackish since it relies on some undocumented
properties of the name of the muxers (wich is currently only relevant
for the ASF muxer), and has no use outside ffserver.c.

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

14 years agoRemove unused function msmpeg4_memsetw().
Diego Biurrun [Thu, 31 Dec 2009 01:27:47 +0000 (01:27 +0000)]
Remove unused function msmpeg4_memsetw().
It is an exact duplicate of memsetw() in h263.c.

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

14 years agoFix colourspace for 16 bit raw video in mov, fixes issue 1527 on big-endian.
Carl Eugen Hoyos [Thu, 31 Dec 2009 01:08:10 +0000 (01:08 +0000)]
Fix colourspace for 16 bit raw video in mov, fixes issue 1527 on big-endian.

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

14 years agoSupport raw black&white in mov, fixes issue 1654.
Carl Eugen Hoyos [Wed, 30 Dec 2009 22:58:49 +0000 (22:58 +0000)]
Support raw black&white in mov, fixes issue 1654.

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

14 years agoRemove outdated comments.
Luca Abeni [Wed, 30 Dec 2009 17:12:29 +0000 (17:12 +0000)]
Remove outdated comments.

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

14 years agoRename internal function
Luca Barbato [Wed, 30 Dec 2009 16:19:28 +0000 (16:19 +0000)]
Rename internal function
sdp_read_packet -> rtsp_fetch_packet

This way describes slightly better what it does.

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

14 years agocosmetics: Move MPEG-4 encoding functions around to avoid forward declarations.
Diego Biurrun [Wed, 30 Dec 2009 16:10:52 +0000 (16:10 +0000)]
cosmetics: Move MPEG-4 encoding functions around to avoid forward declarations.

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

14 years ago10l: Move ff_mpeg4_pred_dc() to an appropriate place.
Diego Biurrun [Wed, 30 Dec 2009 16:08:47 +0000 (16:08 +0000)]
10l: Move ff_mpeg4_pred_dc() to an appropriate place.
It is used by both encoders and decoders and should not be below
a CONFIG_ENCODERS preprocessor check.

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

14 years agocosmetics: Move MPEG-4 decoding functions around to avoid forward declarations.
Diego Biurrun [Wed, 30 Dec 2009 14:51:46 +0000 (14:51 +0000)]
cosmetics: Move MPEG-4 decoding functions around to avoid forward declarations.

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

14 years agocosmetics: Move H.263-related functions around to avoid forward declarations.
Diego Biurrun [Wed, 30 Dec 2009 14:34:14 +0000 (14:34 +0000)]
cosmetics: Move H.263-related functions around to avoid forward declarations.

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

14 years agocosmetics: Reorder functions to avoid forward declarations.
Diego Biurrun [Wed, 30 Dec 2009 14:15:12 +0000 (14:15 +0000)]
cosmetics: Reorder functions to avoid forward declarations.

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

14 years agoRemove unnecessary forward declaration for msmpeg4_memsetw().
Diego Biurrun [Wed, 30 Dec 2009 13:48:03 +0000 (13:48 +0000)]
Remove unnecessary forward declaration for msmpeg4_memsetw().

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

14 years agoGet rid of pointless CONFIG_ANY_H263 preprocessor definition.
Diego Biurrun [Wed, 30 Dec 2009 11:33:59 +0000 (11:33 +0000)]
Get rid of pointless CONFIG_ANY_H263 preprocessor definition.

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

14 years agoAdd required header #includes for mpegvideo.h and config.h.
Diego Biurrun [Wed, 30 Dec 2009 11:22:41 +0000 (11:22 +0000)]
Add required header #includes for mpegvideo.h and config.h.

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

14 years agoEliminate CONFIG_ANY_H263_DECODER preprocessor definition.
Diego Biurrun [Wed, 30 Dec 2009 11:07:04 +0000 (11:07 +0000)]
Eliminate CONFIG_ANY_H263_DECODER preprocessor definition.
It is just a logical OR of several decoder definitions, all of which depend on
CONFIG_H263_DECODER. So it can just be replaced by the latter.

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

14 years agoGet rid of pointless CONFIG_WMV_DECODER definition.
Diego Biurrun [Wed, 30 Dec 2009 02:09:51 +0000 (02:09 +0000)]
Get rid of pointless CONFIG_WMV_DECODER definition.

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

14 years agoGet rid of pointless CONFIG_WMV2 definition.
Diego Biurrun [Wed, 30 Dec 2009 02:08:25 +0000 (02:08 +0000)]
Get rid of pointless CONFIG_WMV2 definition.

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

14 years agoSimplify CONFIG_ANY_H263_DECODER preprocessor definition:
Diego Biurrun [Wed, 30 Dec 2009 02:01:19 +0000 (02:01 +0000)]
Simplify CONFIG_ANY_H263_DECODER preprocessor definition:
There is no need to list decoders that enable the H.263 decoder anyway.

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

14 years agoRemove unused definitions: CONFIG_MSMPEG4 and CONFIG_WMV_ENCODER.
Diego Biurrun [Tue, 29 Dec 2009 18:26:31 +0000 (18:26 +0000)]
Remove unused definitions: CONFIG_MSMPEG4 and CONFIG_WMV_ENCODER.

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

14 years agoRemove pointless CONFIG_MLP_DECODER preprocessor check.
Diego Biurrun [Tue, 29 Dec 2009 17:20:19 +0000 (17:20 +0000)]
Remove pointless CONFIG_MLP_DECODER preprocessor check.
The file is only ever compiled if the MLP decoder is enabled.

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

14 years agoNeither the H.264 nor the SVQ3 decoder depend on the H.264 parser.
Diego Biurrun [Tue, 29 Dec 2009 17:16:07 +0000 (17:16 +0000)]
Neither the H.264 nor the SVQ3 decoder depend on the H.264 parser.

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

14 years agoThe MLP decoder depends on the MLP parser.
Diego Biurrun [Tue, 29 Dec 2009 14:18:27 +0000 (14:18 +0000)]
The MLP decoder depends on the MLP parser.

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

14 years agoEnable the TrueHD decoder when the MLP decoder is enabled.
Diego Biurrun [Tue, 29 Dec 2009 13:48:48 +0000 (13:48 +0000)]
Enable the TrueHD decoder when the MLP decoder is enabled.
They share all code, there is no point in enabling one but not the other.

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

14 years agoDeclare AC-3 parser dependency of AC-3 decoder and EAC-3 demuxer in configure.
Diego Biurrun [Tue, 29 Dec 2009 13:14:41 +0000 (13:14 +0000)]
Declare AC-3 parser dependency of AC-3 decoder and EAC-3 demuxer in configure.

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

14 years agoFix colours for QT JPEG2000, fixes issue 1540.
Carl Eugen Hoyos [Tue, 29 Dec 2009 12:00:28 +0000 (12:00 +0000)]
Fix colours for QT JPEG2000, fixes issue 1540.

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

14 years agoUse correct pixfmt for 32 bit raw in mov also on big-endian, fixes issue 1630.
Carl Eugen Hoyos [Tue, 29 Dec 2009 11:53:51 +0000 (11:53 +0000)]
Use correct pixfmt for 32 bit raw in mov also on big-endian, fixes issue 1630.

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

14 years agoDeclare AAC parser dependencies in configure.
Diego Biurrun [Tue, 29 Dec 2009 11:42:16 +0000 (11:42 +0000)]
Declare AAC parser dependencies in configure.
This affects the AAC decoder, S/PDIF muxer and ADTS to ASC bitstream filter.

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

14 years agoThe S/P-DIF muxer depends on mpeg4audio.o.
Diego Biurrun [Tue, 29 Dec 2009 11:33:51 +0000 (11:33 +0000)]
The S/P-DIF muxer depends on mpeg4audio.o.

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

14 years agoDeclare WMV1/WMV2/VC-1 decoder dependency on the H.263 decoder in configure.
Diego Biurrun [Tue, 29 Dec 2009 11:11:07 +0000 (11:11 +0000)]
Declare WMV1/WMV2/VC-1 decoder dependency on the H.263 decoder in configure.

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

14 years agoAdd myself as VAAPI maintainer.
Gwenole Beauchesne [Tue, 29 Dec 2009 09:13:53 +0000 (09:13 +0000)]
Add myself as VAAPI maintainer.

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

14 years agoAdd H.264 bitstream decoding through VAAPI.
Gwenole Beauchesne [Tue, 29 Dec 2009 08:48:18 +0000 (08:48 +0000)]
Add H.264 bitstream decoding through VAAPI.

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

14 years agovc1_parser.o does not depend on h263dec.o and intrax8.o.
Diego Biurrun [Tue, 29 Dec 2009 02:51:38 +0000 (02:51 +0000)]
vc1_parser.o does not depend on h263dec.o and intrax8.o.

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

14 years agoDo not explicitely set thread_count in the codec context.
Michael Dorr [Mon, 28 Dec 2009 22:46:46 +0000 (22:46 +0000)]
Do not explicitely set thread_count in the codec context.
This is already done by avcodec_thread_init().

Patch by Michael Dorr <dorr <at> inb.uni-luebeck.de>.

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

14 years agoSet thread_count in the decoder before to open it.
Stefano Sabatini [Mon, 28 Dec 2009 21:49:56 +0000 (21:49 +0000)]
Set thread_count in the decoder before to open it.

This is safer since avcodec_open() may initialize some structure using
the thread_count default value which will be changed later, causing
potential security / stability issues.

Also do not explicitely set the thread_count value in the decoder,
since this is already done by avcodec_thread_init().

See the thread:
"[FFmpeg-devel] [PATCH] Make ffplay define in the encoder the number of threads *before* to open it",
started in date 2008-03-08.

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

14 years agoDeclare dependencies of RV10/RV20 decoders on the H.263 decoder in configure.
Diego Biurrun [Mon, 28 Dec 2009 18:05:34 +0000 (18:05 +0000)]
Declare dependencies of RV10/RV20 decoders on the H.263 decoder in configure.

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

14 years agoDeclare dependencies for H.263 family decoders in configure.
Diego Biurrun [Mon, 28 Dec 2009 18:00:07 +0000 (18:00 +0000)]
Declare dependencies for H.263 family decoders in configure.

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

14 years agoDeclare the dependency of the H.263 decoder on the H.263 parser in configure.
Diego Biurrun [Mon, 28 Dec 2009 17:45:31 +0000 (17:45 +0000)]
Declare the dependency of the H.263 decoder on the H.263 parser in configure.

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

14 years agoReplace CONFIG_ANY_H263_ENCODER definition by CONFIG_H263_ENCODER.
Diego Biurrun [Mon, 28 Dec 2009 17:36:03 +0000 (17:36 +0000)]
Replace CONFIG_ANY_H263_ENCODER definition by CONFIG_H263_ENCODER.
CONFIG_ANY_H263_ENCODER is just a logical OR of H.263 family definitions,
for which the build system enables CONFIG_H263_ENCODER anyway.

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

14 years agocosmetics: Remove pointless '#if 1' preprocessor directives.
Diego Biurrun [Mon, 28 Dec 2009 15:27:49 +0000 (15:27 +0000)]
cosmetics: Remove pointless '#if 1' preprocessor directives.

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

14 years agoUse VA_INVALID_ID instead of hard coded values.
Gwenole Beauchesne [Mon, 28 Dec 2009 15:19:36 +0000 (15:19 +0000)]
Use VA_INVALID_ID instead of hard coded values.

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

14 years agoAdd "Hardware acceleration" section to MAINTAINERS. Move vdpau* to there.
Gwenole Beauchesne [Mon, 28 Dec 2009 14:00:33 +0000 (14:00 +0000)]
Add "Hardware acceleration" section to MAINTAINERS. Move vdpau* to there.

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

14 years agoRemove a useless local variable.
Luca Abeni [Mon, 28 Dec 2009 13:41:09 +0000 (13:41 +0000)]
Remove a useless local variable.

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

14 years agoRemove outdated comment
Luca Abeni [Mon, 28 Dec 2009 13:38:21 +0000 (13:38 +0000)]
Remove outdated comment

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

14 years agoRemove an unneeded local variable.
Luca Abeni [Mon, 28 Dec 2009 13:19:54 +0000 (13:19 +0000)]
Remove an unneeded local variable.

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

14 years agoRemove unused variable, fixes the warning:
Diego Biurrun [Mon, 28 Dec 2009 12:05:20 +0000 (12:05 +0000)]
Remove unused variable, fixes the warning:
libswscale/swscale_template.c:2575: warning: unused variable ‘srcFormat’

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

14 years agoMark conditionally used variable as av_unused, fixes the warning:
Diego Biurrun [Mon, 28 Dec 2009 12:01:49 +0000 (12:01 +0000)]
Mark conditionally used variable as av_unused, fixes the warning:
cmdutils.c:576: warning: unused variable ‘filter’

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

14 years agoRename ff_vaapi_alloc_picture() to ff_vaapi_alloc_pic_param().
Gwenole Beauchesne [Mon, 28 Dec 2009 09:03:09 +0000 (09:03 +0000)]
Rename ff_vaapi_alloc_picture() to ff_vaapi_alloc_pic_param().

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

14 years agoRename ff_vaapi_get_surface() to ff_vaapi_get_surface_id().
Gwenole Beauchesne [Mon, 28 Dec 2009 09:02:16 +0000 (09:02 +0000)]
Rename ff_vaapi_get_surface() to ff_vaapi_get_surface_id().

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

14 years agoUse different dynamic payload types for audio and video.
Luca Abeni [Sun, 27 Dec 2009 21:31:10 +0000 (21:31 +0000)]
Use different dynamic payload types for audio and video.

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

14 years ago2nd try on documenting av_gcd().
Michael Niedermayer [Sun, 27 Dec 2009 14:40:49 +0000 (14:40 +0000)]
2nd try on documenting av_gcd().

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

14 years agoRemove commented-out debug console output.
Diego Biurrun [Sun, 27 Dec 2009 14:32:23 +0000 (14:32 +0000)]
Remove commented-out debug console output.

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

14 years agocosmetics: Move a bunch of forward declarations below a CONFIG_ENCODERS #ifdef.
Diego Biurrun [Sun, 27 Dec 2009 14:28:43 +0000 (14:28 +0000)]
cosmetics: Move a bunch of forward declarations below a CONFIG_ENCODERS #ifdef.
This avoids a bunch of "‘foo’ declared ‘static’ but never defined" warnings
when compiling with encoders disabled.

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

14 years ago16-bit Interplay video does not need palette control
Kostya Shishkov [Sun, 27 Dec 2009 14:07:21 +0000 (14:07 +0000)]
16-bit Interplay video does not need palette control

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

14 years agoDocument av_gcd().
Michael Niedermayer [Sun, 27 Dec 2009 12:20:06 +0000 (12:20 +0000)]
Document av_gcd().

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

14 years agoAdd missing opcodes for 16-bit Interplay Video decoding and finally enable it
Kostya Shishkov [Sun, 27 Dec 2009 09:12:50 +0000 (09:12 +0000)]
Add missing opcodes for 16-bit Interplay Video decoding and finally enable it

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

14 years ago16-bit Interplay Video stores motion vector data at the end of frame,
Kostya Shishkov [Sun, 27 Dec 2009 09:03:31 +0000 (09:03 +0000)]
16-bit Interplay Video stores motion vector data at the end of frame,
so initialize data pointers for 16-bit variant and read motion vectors
as supposed in corresponding opcodes.

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

14 years ago10l trocadero: forgot one case where picture linesize should be used
Kostya Shishkov [Sun, 27 Dec 2009 08:56:06 +0000 (08:56 +0000)]
10l trocadero: forgot one case where picture linesize should be used

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

14 years agocosmetics: reindent and break long lines after last commits
Kostya Shishkov [Sun, 27 Dec 2009 08:53:02 +0000 (08:53 +0000)]
cosmetics: reindent and break long lines after last commits

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

14 years agoAdd 16-bit image data handling (but not decoding yet) to Interplay Video
Kostya Shishkov [Sun, 27 Dec 2009 08:49:32 +0000 (08:49 +0000)]
Add 16-bit image data handling (but not decoding yet) to Interplay Video

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

14 years agoUse frame linesize in Interplay Video block copying function
Kostya Shishkov [Sun, 27 Dec 2009 08:38:07 +0000 (08:38 +0000)]
Use frame linesize in Interplay Video block copying function

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

14 years agoMake CHECK_STREAM_PTR macro in Interplay Video decoder usable with
Kostya Shishkov [Sun, 27 Dec 2009 08:31:39 +0000 (08:31 +0000)]
Make CHECK_STREAM_PTR macro in Interplay Video decoder usable with
non-default pointers, it will be useful for checking motion values
data in 16-bit variant of this codec.

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

14 years agoRecognize 16-bit Interplay Video variant
Kostya Shishkov [Sun, 27 Dec 2009 08:21:40 +0000 (08:21 +0000)]
Recognize 16-bit Interplay Video variant

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

14 years agoChange main loop in Interplay Video decoder, so variables x and y really mean
Kostya Shishkov [Sun, 27 Dec 2009 08:15:19 +0000 (08:15 +0000)]
Change main loop in Interplay Video decoder, so variables x and y really mean
coordinates, not offsets.

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

14 years agoUse common regression test functions in ffserver regression test script.
Diego Biurrun [Sat, 26 Dec 2009 11:33:23 +0000 (11:33 +0000)]
Use common regression test functions in ffserver regression test script.
This makes the ffserver regression test more portable.

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

14 years agoReplace ` ` syntax by $( ) in regression test shell scripts.
Diego Biurrun [Sat, 26 Dec 2009 11:24:04 +0000 (11:24 +0000)]
Replace ` ` syntax by $( ) in regression test shell scripts.
The latter syntax variant is more readable and easier to nest.

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

14 years agoFix cdg reference and buffer_hints value:
Reimar Döffinger [Sat, 26 Dec 2009 11:07:47 +0000 (11:07 +0000)]
Fix cdg reference and buffer_hints value:
reference must be 3 because both "fields" are used as reference,
and buffer_hints must include readable since we might memcpy from the old frame.

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

14 years agoUse RTP_PT_PRIVATE in sdp.c instead of hardcoding 96.
Luca Abeni [Sat, 26 Dec 2009 10:59:56 +0000 (10:59 +0000)]
Use RTP_PT_PRIVATE in sdp.c instead of hardcoding 96.

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

14 years agoDo not copy codec_tag in stream copy case if it is associated with a different codec_id
Michael Niedermayer [Fri, 25 Dec 2009 21:01:16 +0000 (21:01 +0000)]
Do not copy codec_tag in stream copy case if it is associated with a different codec_id
fixes issue1568

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

14 years agoUse positive logic, improve readability, consistent with r20877.
Stefano Sabatini [Fri, 25 Dec 2009 18:32:16 +0000 (18:32 +0000)]
Use positive logic, improve readability, consistent with r20877.

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

14 years agocosmetics: reindent
Kostya Shishkov [Fri, 25 Dec 2009 17:13:05 +0000 (17:13 +0000)]
cosmetics: reindent

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

14 years agocosmetics: Reformat some function declarations.
Diego Biurrun [Thu, 24 Dec 2009 12:13:03 +0000 (12:13 +0000)]
cosmetics: Reformat some function declarations.

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

14 years agoRemove some unused variables, fixes the warnings:
Diego Biurrun [Thu, 24 Dec 2009 12:11:55 +0000 (12:11 +0000)]
Remove some unused variables, fixes the warnings:
libavformat/rtmppkt.c:350: warning: unused variable ‘i’
libavformat/rtmppkt.c:349: warning: unused variable ‘base’

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

14 years agoAdd support for mp3 over RTP in rtpdec.c
Luca Abeni [Wed, 23 Dec 2009 21:23:26 +0000 (21:23 +0000)]
Add support for mp3 over RTP in rtpdec.c

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

14 years agoAuravision Aura 2 decoder
Kostya Shishkov [Wed, 23 Dec 2009 16:01:15 +0000 (16:01 +0000)]
Auravision Aura 2 decoder

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

14 years agoAdd Auravision Aura decoding support
Kostya Shishkov [Wed, 23 Dec 2009 13:04:57 +0000 (13:04 +0000)]
Add Auravision Aura decoding support

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

14 years agoThere is no need to print FFmpeg or codec name in error message
Kostya Shishkov [Wed, 23 Dec 2009 09:10:40 +0000 (09:10 +0000)]
There is no need to print FFmpeg or codec name in error message

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

14 years agocosmetics: correct formatting a bit
Kostya Shishkov [Wed, 23 Dec 2009 09:04:57 +0000 (09:04 +0000)]
cosmetics: correct formatting a bit

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

14 years agoARM: use ALT_BITSTREAM_READER on cores with fast unaligned access
Måns Rullgård [Tue, 22 Dec 2009 08:09:46 +0000 (08:09 +0000)]
ARM: use ALT_BITSTREAM_READER on cores with fast unaligned access

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

14 years agoSatisfy grammatical nits.
Stefano Sabatini [Mon, 21 Dec 2009 22:44:07 +0000 (22:44 +0000)]
Satisfy grammatical nits.

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

14 years agoImplement a -pix_fmts option for listing all the supported pixel
Stefano Sabatini [Mon, 21 Dec 2009 21:53:03 +0000 (21:53 +0000)]
Implement a -pix_fmts option for listing all the supported pixel
formats.

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

14 years agoRe-add missing "@end table" which was erroneously removed in the
Stefano Sabatini [Mon, 21 Dec 2009 21:50:23 +0000 (21:50 +0000)]
Re-add missing "@end table" which was erroneously removed in the
previous commit.

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

14 years agoFactorize common options documentation.
Stefano Sabatini [Mon, 21 Dec 2009 21:32:09 +0000 (21:32 +0000)]
Factorize common options documentation.

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