Commit Graph

157 Commits

Author SHA1 Message Date
reimar 8afc25d710 Add support for YUV format with alpha and fix the codecs.conf entry for vp6a
to use it.
Fixes playback of samples in http://samples.mplayerhq.hu/FLV/flash_with_alpha/


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30157 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-31 23:45:07 +00:00
reimar a326622304 Add support for 16-bit per component YUV formats.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30152 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-31 22:53:25 +00:00
reimar cc46a64a26 Add support for 440p colorspace.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30140 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-30 12:03:17 +00:00
cehoyos 2b93a48ac8 Support VDPAU hardware accelerated decoding of MPEG-4 ASP on capable
hardware.

Original patch by NVIDIA corporation.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29885 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-10 19:11:13 +00:00
reimar b6c472202f make codec-cfg reuse the proper defined constants for all RGB/BGR formats
instead of re-constructing them itself.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29501 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-12 01:04:37 +00:00
reimar a3d39e2702 100l, fix compilation again and make codec-cfg.c use the predefined constants
instead of reimplementing the IMGFMT_RGB|bit_depth logic.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29500 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-12 01:03:21 +00:00
cehoyos e9db7e8b4f s/RG48xE/RGB48xE
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29496 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-11 18:57:22 +00:00
reimar 6960e4c1b1 Explain how formats must be ordered in fmt_list so the parser can handle
names where one matches the beginning of another.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29492 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-11 18:21:31 +00:00
reimar 8541fcf365 fmt_table should be const as well.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29491 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-11 18:15:21 +00:00
cehoyos a2dd68d6b4 Allow out-formats for IMGFMT_RGB48* in codecs.conf.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29488 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-11 17:54:11 +00:00
diego 6e9cbdc104 whitespace cosmetics: Remove all trailing whitespace.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-13 02:58:57 +00:00
diego e0b6d5d6c8 Change type of first argument of the print_int_array function from int to
unsigned int, fixes warnings of the type:
codec-cfg.c:1031: warning: pointer targets in passing argument 1 of 'print_int_array' differ in signedness


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29155 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-09 09:53:35 +00:00
diego abb8f13f7f Remove unnecessary linking hack, compilation works fine without.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28782 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-01 15:55:20 +00:00
reimar 8c1978cc26 Add support for image formats and codecs used by VDPAU
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28551 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-14 08:29:45 +00:00
diego 3b31fa5717 Rename two GUI-related preprocessor directives:
HAVE_NEW_GUI --> CONFIG_GUI, HAVE_GTK2_GUI --> CONFIG_GTK2


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27375 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-30 13:44:59 +00:00
diego 266f32ad0d Fix codec-cfg-test compilation.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26880 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-27 09:03:18 +00:00
diego 4bcb2a5baf Add missing #includes to pass 'make checkheaders' to codecs.conf.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26364 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-09 15:19:55 +00:00
reimar b780832765 100l, free strdup'd strings
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25691 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-12 14:48:12 +00:00
reimar 2f77f19cb8 Builtin codecs array can now be const
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25690 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-12 14:07:27 +00:00
reimar d63fb8ba99 Replace the persistent CODECS_FLAG_SELECTED by a local "stringset" with
an almost-trivial implementation.
This allows making the builtin codec structs const, and it also makes
clearer that this "selected" status is not used outside the init functions.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25689 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-12 14:05:46 +00:00
reimar f87c9296a7 Get rid of some useless extra ()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25275 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-02 22:32:44 +00:00
diego e98794e2ee Avoid short forms; has the added benefit of allowing compilation with gcc 2.95
which complains about 'unterminated string or character constant'.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24961 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-03 22:25:52 +00:00
diego 52fa7ffbfd Replace some Hungarian comments, thanks to Denes Balatoni for the translation.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24956 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-03 14:56:26 +00:00
reimar 701cf0fa79 C99 varargs in macros can not be empty, adjust definition so it compiles
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23930 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-30 13:06:26 +00:00
reimar e607c7289f Remove some more useless *alloc casts
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23826 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-19 13:52:39 +00:00
diego 01ac2eb9a9 Fix comment about test application compilation.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22519 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-12 08:52:45 +00:00
diego f89a7da604 Remove support for obsolete and non-free divx4/odivx libraries.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19087 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-14 17:14:16 +00:00
reynaldo 4728357b58 Marks several string parameters as const when they are not modified in the function, Patch by Stefan Huehner, stefan AT huehner-org
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18985 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-09 17:45:36 +00:00
rfelker d1f744937e reverse previous patch which caused sig11.
1000000000000000l: broken codecs.conf code modifies every page of a
huge object -> tons of page faults and cannot be const. this needs to
be fixed! do we have a volunteer to remove the whole codecs.conf shit?


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18035 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-03 07:11:29 +00:00
rfelker f571bed7c3 1000l: absolutely huge missing const
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18034 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-03 06:44:54 +00:00
reimar e8954b5bf9 remove mp_msg.c dependency when compiling codec-cfg binary.
Fixes MinGW compilation (caused by missing -liconv), this solution seems best
to me because of e.g. cross-compilation issues just adding -liconv might cause.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17842 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-12 23:06:09 +00:00
diego 74baa96939 Fix compilation command in comment.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17764 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-07 15:40:49 +00:00
diego 6650d595b0 Comment out debug output.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17763 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-07 15:39:01 +00:00
rathann e7db4ccf1a Patch by Stefan Huehner / stefan % huehner ! org \
patch replaces '()' for the correct '(void)' in function
declarations/prototypes which have no parameters. The '()' syntax tell
thats there is a variable list of arguments, so that the compiler cannot
check this. The extra CFLAG '-Wstrict-declarations' shows those cases.

Comments about a similar patch applied to ffmpeg:

That in C++ these mean the same, but in ANSI C the semantics are
different; function() is an (obsolete) K&R C style forward declaration,
it basically means that the function can have any number and any types
of parameters, effectively completely preventing the compiler from doing
any sort of type checking. -- Erik Slagter

Defining functions with unspecified arguments is allowed but bad.
With arguments unspecified the compiler can't report an error/warning
if the function is called with incorrect arguments. -- Måns Rullgård


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17567 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-09 14:08:03 +00:00
ods15 5cba0a4078 Some more cola for msglevel, codec-cfg can't even call mp_msg_init or it'll
print bogus stuff.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17121 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-07 05:12:07 +00:00
ods15 72e4d090f8 another 100l, codec-cfg relied on mp_msg printing nothing....
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17113 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-06 12:03:51 +00:00
ods15 a6f7543bfb 100l, codec-cfg needs fixing after -msgl patch
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17112 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-06 11:59:14 +00:00
reimar 0446e090b1 Allow forcing of demuxers and codecs by prepending '+'
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16322 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-30 23:56:24 +00:00
diego a30de31815 codecs-status.html should be written to an existing path.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15316 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-01 13:58:30 +00:00
diego d56fd3bc31 compilation fix for codecs2html
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15306 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-30 16:15:07 +00:00
diego 1242c666da 1l typo
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15305 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-30 16:11:45 +00:00
diego a668ab39c0 Fix wrong compilation instructions.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15304 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-30 16:09:44 +00:00
reimar 4bfc3589a4 Allow Y8 and Y800 as OUT format in codecs.conf
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14171 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-17 13:27:34 +00:00
diego 3ebf6f0135 Reduce excessive verbosity.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13947 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-11-15 09:09:29 +00:00
reimar e3efa72a67 fix crash when a "driver" line is missing in codecs.conf.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13937 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-11-14 11:39:23 +00:00
faust3 b4918b7bae Memory Free function Fix, based on patch by Wei Jiang <jiangw98@yahoo.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13808 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-30 10:09:52 +00:00
diego 1013ecd44b Translatable messages moved to help_mp-en.h.
patch by The Wanderer <inverseparadox at comcast dot net>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13620 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-12 11:29:21 +00:00
alex d8c3060141 removed loader/ dependancy, imported some files from g2, also used patches from Dominik Mierzejewski
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12342 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-28 10:18:33 +00:00
attila fab8cc090f add -codecs-file for selecting a specific codecs.conf on the comand line
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11760 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-01-08 18:02:31 +00:00
rik 96dfb6e860 updates for new image formats for zoran mjpeg passthrough
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11389 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-11-04 20:02:09 +00:00