ffmpeg.git
10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 years agoAdd -?, -help, and --help as alternative options to get help.
Ramiro Polla [Mon, 21 Dec 2009 02:20:13 +0000 (02:20 +0000)]
Add -?, -help, and --help as alternative options to get help.

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

10 years agoPrint usage instead of help when no files are specified.
Ramiro Polla [Mon, 21 Dec 2009 02:15:46 +0000 (02:15 +0000)]
Print usage instead of help when no files are specified.

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

10 years agoSplit show_usage() out of show_help().
Ramiro Polla [Mon, 21 Dec 2009 02:12:34 +0000 (02:12 +0000)]
Split show_usage() out of show_help().

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

10 years agoAdd a general [options] to the basic usage string.
Ramiro Polla [Mon, 21 Dec 2009 02:10:14 +0000 (02:10 +0000)]
Add a general [options] to the basic usage string.

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

10 years agoFirst print the program description and then the basic usage line.
Ramiro Polla [Mon, 21 Dec 2009 02:09:17 +0000 (02:09 +0000)]
First print the program description and then the basic usage line.

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

10 years agoRemove parameters no longer used in h[yc]scale().
Ramiro Polla [Mon, 21 Dec 2009 01:59:34 +0000 (01:59 +0000)]
Remove parameters no longer used in h[yc]scale().

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

10 years agoMove fast bilinear scaler code to the existing h[yc]scale_fast() functions.
Ramiro Polla [Mon, 21 Dec 2009 01:54:59 +0000 (01:54 +0000)]
Move fast bilinear scaler code to the existing h[yc]scale_fast() functions.

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

10 years agoRename function pointers used to convert from the input pixel format to the
Ramiro Polla [Mon, 21 Dec 2009 01:41:29 +0000 (01:41 +0000)]
Rename function pointers used to convert from the input pixel format to the
intermediate YV12 to a more descriptive name.

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

10 years agoCheck if chroma horizontal scaler is needed in sws_init_swScale().
Ramiro Polla [Mon, 21 Dec 2009 01:34:45 +0000 (01:34 +0000)]
Check if chroma horizontal scaler is needed in sws_init_swScale().

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

10 years agoRemove unused fields from SwsContext.
Ramiro Polla [Mon, 21 Dec 2009 01:30:55 +0000 (01:30 +0000)]
Remove unused fields from SwsContext.

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

10 years agoIndentation.
Ramiro Polla [Sun, 20 Dec 2009 17:42:35 +0000 (17:42 +0000)]
Indentation.

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

10 years agoIndent.
Ramiro Polla [Sun, 20 Dec 2009 17:15:01 +0000 (17:15 +0000)]
Indent.

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

10 years agoSet fast_bilinear functions in sws_init_swScale().
Ramiro Polla [Sun, 20 Dec 2009 17:09:46 +0000 (17:09 +0000)]
Set fast_bilinear functions in sws_init_swScale().

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

10 years agoSet horizontal scaler's range conversion in context in sws_init_swScale().
Ramiro Polla [Sun, 20 Dec 2009 16:32:58 +0000 (16:32 +0000)]
Set horizontal scaler's range conversion in context in sws_init_swScale().

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

10 years agoAdd new fields for the VDPAU/MPEG-4 back-end.
Gwenole Beauchesne [Sun, 20 Dec 2009 16:31:21 +0000 (16:31 +0000)]
Add new fields for the VDPAU/MPEG-4 back-end.

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

10 years agoSet horizontal scaler's src offsets in context in sws_init_swScale().
Ramiro Polla [Sun, 20 Dec 2009 16:21:25 +0000 (16:21 +0000)]
Set horizontal scaler's src offsets in context in sws_init_swScale().

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

10 years agoAdd long_name for Xxan codec.
Diego Biurrun [Sat, 19 Dec 2009 18:41:03 +0000 (18:41 +0000)]
Add long_name for Xxan codec.

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

10 years agoImprove handling allocated buffers in Xan decoder
Kostya Shishkov [Sat, 19 Dec 2009 17:04:30 +0000 (17:04 +0000)]
Improve handling allocated buffers in Xan decoder

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

10 years agocosmetics: reindent a bit
Kostya Shishkov [Sat, 19 Dec 2009 16:39:21 +0000 (16:39 +0000)]
cosmetics: reindent a bit

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

10 years agoAdd tables used by both AMR-NB and SIPR
Vitor Sessak [Sat, 19 Dec 2009 14:05:31 +0000 (14:05 +0000)]
Add tables used by both AMR-NB and SIPR

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

10 years agoCosmetic: indent after last change.
Mike Melanson [Sat, 19 Dec 2009 07:34:11 +0000 (07:34 +0000)]
Cosmetic: indent after last change.

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

10 years agoOptimize unpack_vectors() by not shuffling around redundant vectors.
Mike Melanson [Sat, 19 Dec 2009 07:33:10 +0000 (07:33 +0000)]
Optimize unpack_vectors() by not shuffling around redundant vectors.
Inspired by guidance from Dark Shikari. On a Core 2 Duo 2.0 GHz, this
change decodes the 10-minute Big Buck Bunny 1080p short about 2 seconds
faster.

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

10 years agoMore sane error message when extradata has not been set.
Michael Niedermayer [Fri, 18 Dec 2009 15:50:39 +0000 (15:50 +0000)]
More sane error message when extradata has not been set.

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

10 years agoSwap red and blue when decoding r210.
Carl Eugen Hoyos [Fri, 18 Dec 2009 10:42:26 +0000 (10:42 +0000)]
Swap red and blue when decoding r210.

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

10 years agoIt appears that waveformatextensible is mandatory for more cases than
Michael Niedermayer [Fri, 18 Dec 2009 06:03:12 +0000 (06:03 +0000)]
It appears that waveformatextensible is mandatory for more cases than
just channels>2. The 16bit case is from MSDN, the 48khz is from less a reliable
www page (sorry i cant find the URL anymore).

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

10 years agoAdd decoder for R210 (uncompressed 10-bit RGB) codec.
Reimar Döffinger [Thu, 17 Dec 2009 18:56:56 +0000 (18:56 +0000)]
Add decoder for R210 (uncompressed 10-bit RGB) codec.

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

10 years agoCD+G demuxer and decoder
Michael Tison [Thu, 17 Dec 2009 17:25:31 +0000 (17:25 +0000)]
CD+G demuxer and decoder

Patch by Michael Tison (gmail address: blackspike@....)

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

10 years ago10l : make sure probe buffer is large enough.
Jai Menon [Thu, 17 Dec 2009 13:05:37 +0000 (13:05 +0000)]
10l : make sure probe buffer is large enough.

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

10 years agoOnly add 1 index entry per keyframe.
Michael Niedermayer [Wed, 16 Dec 2009 21:24:04 +0000 (21:24 +0000)]
Only add 1 index entry per keyframe.
Idea from a patch by samsung.

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

10 years agoSet bits_per_raw_sample appropriately in dpx decoder.
Reimar Döffinger [Wed, 16 Dec 2009 20:46:48 +0000 (20:46 +0000)]
Set bits_per_raw_sample appropriately in dpx decoder.

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