Commit Graph

21858 Commits

Author SHA1 Message Date
Stefano Sabatini
f48b0fa29e Document guess_format().
Originally committed as revision 20988 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-31 16:38:21 +00:00
Stefano Sabatini
1642ee4337 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
2009-12-31 14:12:58 +00:00
Diego Biurrun
f9310cbb2f 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
2009-12-31 01:27:47 +00:00
Carl Eugen Hoyos
f27fd36231 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
2009-12-31 01:08:10 +00:00
Carl Eugen Hoyos
e1bd945b1d Support raw black&white in mov, fixes issue 1654.
Originally committed as revision 20984 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-30 22:58:49 +00:00
Luca Abeni
759dc2b6cc Remove outdated comments.
Originally committed as revision 20983 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-30 17:12:29 +00:00
Luca Barbato
d7250724ef 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
2009-12-30 16:19:28 +00:00
Diego Biurrun
20390e3170 cosmetics: Move MPEG-4 encoding functions around to avoid forward declarations.
Originally committed as revision 20981 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-30 16:10:52 +00:00
Diego Biurrun
df8d98c4dd 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
2009-12-30 16:08:47 +00:00
Diego Biurrun
2a992f467a cosmetics: Move MPEG-4 decoding functions around to avoid forward declarations.
Originally committed as revision 20979 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-30 14:51:46 +00:00
Diego Biurrun
1436f31709 cosmetics: Move H.263-related functions around to avoid forward declarations.
Originally committed as revision 20978 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-30 14:34:14 +00:00
Diego Biurrun
8380edd947 cosmetics: Reorder functions to avoid forward declarations.
Originally committed as revision 20977 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-30 14:15:12 +00:00
Diego Biurrun
941870cd35 Remove unnecessary forward declaration for msmpeg4_memsetw().
Originally committed as revision 20976 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-30 13:48:03 +00:00
Diego Biurrun
4052cbf161 Get rid of pointless CONFIG_ANY_H263 preprocessor definition.
Originally committed as revision 20975 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-30 11:33:59 +00:00
Diego Biurrun
af818f7a66 Add required header #includes for mpegvideo.h and config.h.
Originally committed as revision 20974 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-30 11:22:41 +00:00
Diego Biurrun
716d1c2a31 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
2009-12-30 11:07:04 +00:00
Diego Biurrun
af8a008a68 Get rid of pointless CONFIG_WMV_DECODER definition.
Originally committed as revision 20972 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-30 02:09:51 +00:00
Diego Biurrun
d702a2e6c6 Get rid of pointless CONFIG_WMV2 definition.
Originally committed as revision 20971 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-30 02:08:25 +00:00
Diego Biurrun
b928b1bb01 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
2009-12-30 02:01:19 +00:00
Diego Biurrun
7c5417ef36 Remove unused definitions: CONFIG_MSMPEG4 and CONFIG_WMV_ENCODER.
Originally committed as revision 20969 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-29 18:26:31 +00:00
Diego Biurrun
547fc46ca7 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
2009-12-29 17:20:19 +00:00
Diego Biurrun
c46b024ed3 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
2009-12-29 17:16:07 +00:00
Diego Biurrun
2cca233bc9 The MLP decoder depends on the MLP parser.
Originally committed as revision 20966 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-29 14:18:27 +00:00
Diego Biurrun
aec09a004c 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
2009-12-29 13:48:48 +00:00
Diego Biurrun
5b423887f4 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
2009-12-29 13:14:41 +00:00
Carl Eugen Hoyos
a80459fdf3 Fix colours for QT JPEG2000, fixes issue 1540.
Originally committed as revision 20963 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-29 12:00:28 +00:00
Carl Eugen Hoyos
484d146416 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
2009-12-29 11:53:51 +00:00
Diego Biurrun
f1e946943a 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
2009-12-29 11:42:16 +00:00
Diego Biurrun
0788ac67e0 The S/P-DIF muxer depends on mpeg4audio.o.
Originally committed as revision 20960 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-29 11:33:51 +00:00
Diego Biurrun
f95bfab05c 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
2009-12-29 11:11:07 +00:00
Gwenole Beauchesne
9caa7ba48d Add myself as VAAPI maintainer.
Originally committed as revision 20958 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-29 09:13:53 +00:00
Gwenole Beauchesne
07c9f6f673 Add H.264 bitstream decoding through VAAPI.
Originally committed as revision 20957 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-29 08:48:18 +00:00
Diego Biurrun
5f000d5f38 vc1_parser.o does not depend on h263dec.o and intrax8.o.
Originally committed as revision 20956 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-29 02:51:38 +00:00
Michael Dorr
322aa1e2d8 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
2009-12-28 22:46:46 +00:00
Stefano Sabatini
de4898a229 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
2009-12-28 21:49:56 +00:00
Diego Biurrun
a8beb22f4d 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
2009-12-28 18:05:34 +00:00
Diego Biurrun
4414137eba Declare dependencies for H.263 family decoders in configure.
Originally committed as revision 20952 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-28 18:00:07 +00:00
Diego Biurrun
7f647ae0b1 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
2009-12-28 17:45:31 +00:00
Diego Biurrun
f34121f351 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
2009-12-28 17:36:03 +00:00
Diego Biurrun
3f35415df7 cosmetics: Remove pointless '#if 1' preprocessor directives.
Originally committed as revision 20949 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-28 15:27:49 +00:00
Gwenole Beauchesne
e6d3534f9c Use VA_INVALID_ID instead of hard coded values.
Originally committed as revision 20948 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-28 15:19:36 +00:00
Gwenole Beauchesne
c373f61ddb Add "Hardware acceleration" section to MAINTAINERS. Move vdpau* to there.
Originally committed as revision 20947 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-28 14:00:33 +00:00
Luca Abeni
d3d1eae659 Remove a useless local variable.
Originally committed as revision 20946 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-28 13:41:09 +00:00
Luca Abeni
cd7bfe4079 Remove outdated comment
Originally committed as revision 20945 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-28 13:38:21 +00:00
Luca Abeni
b3fbe02c86 Remove an unneeded local variable.
Originally committed as revision 20944 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-28 13:19:54 +00:00
Diego Biurrun
c887b30d79 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
2009-12-28 12:05:20 +00:00
Diego Biurrun
786386280e 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
2009-12-28 12:01:49 +00:00
Gwenole Beauchesne
8b0867121e Rename ff_vaapi_alloc_picture() to ff_vaapi_alloc_pic_param().
Originally committed as revision 20942 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-28 09:03:09 +00:00
Gwenole Beauchesne
36ad2b3ee0 Rename ff_vaapi_get_surface() to ff_vaapi_get_surface_id().
Originally committed as revision 20941 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-28 09:02:16 +00:00
Luca Abeni
6399c17d54 Use different dynamic payload types for audio and video.
Originally committed as revision 20940 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-27 21:31:10 +00:00