summaryrefslogtreecommitdiffstats
path: root/codec-cfg.c
Commit message (Collapse)AuthorAgeFilesLines
* build: Revert "codec-cfg.c: avoid including aviheader.h"Uoti Urpala2011-07-071-3/+2
| | | | | | | | This reverts commit 1e544365bfd09e4649cb720716f86ec5b75d86ce. I was careless when cherry-picking the reverted commit - the only effect it had was add an unnecessary libavutil dependency to a HOST_CC compiled file.
* codec-cfg.c: avoid including aviheader.hreimar2011-07-061-2/+3
| | | | | | | | | | Avoid including aviheader.h only for mmioFOURCC, it has too many dependencies, including even subreader.h and via that fribidi. This causes issues both when cross-compiling and for CODEC2HTML compilation, so instead use avutil.h/MKTAG. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33649 b3059339-0415-0410-9bf9-f77b7e298cf2
* video/colorspaces: add new 9/10-bit formats from libavcodecUoti Urpala2011-06-261-0/+5
| | | | | | | Add new internal 9/10-bit IMGFMT values and mappings to the corresponding libav* PIX_FMT_* values. Partially based on a patch from Arne Bochem <arneb.mp@ccan.de>.
* cleanup: remove more warningsClément Bœsch2011-05-021-2/+4
|
* vo_zr2: drop Zoran supportUoti Urpala2011-01-311-71/+0
| | | | | | | There were multiple files specific to Zoran support, and they also depended on internal FFmpeg headers (so it would probably have been hard to get them to compile now even if you tried). It's obsolete now, so just drop the whole mess.
* cleanup: don't check for NULL before free()diego2010-11-081-12/+6
| | | | | | patch by Clément Bœsch, ubitux gmail com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32598 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove #warning preprocessor directivesdiego2010-11-021-3/+3
| | | | | | | | The #warning preprocessor directive is non-standard and not available with all compilers. Furthermore, the warnings it causes are noisy and have not led to getting any of the underlying issues fixed in the space of a decade. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32480 b3059339-0415-0410-9bf9-f77b7e298cf2
* codec-cfg.c: Remove unused parsehtml parameters.reimar2010-11-021-7/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31475 b3059339-0415-0410-9bf9-f77b7e298cf2
* codec-cfg.c: Add static to functions used only locally.reimar2010-11-021-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31474 b3059339-0415-0410-9bf9-f77b7e298cf2
* codec-cfg: set CODEC_CFG_MIN to the release value in codecs.confreimar2010-11-021-1/+8
| | | | | | | Auto-update CODEC_CFG_MIN value to release value in etc/codecs.conf. Allowing them to differ causes more issues than it is worth. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31472 b3059339-0415-0410-9bf9-f77b7e298cf2
* Merge svn change r31134Uoti Urpala2010-05-071-997/+992
|\ | | | | | | Fix some search/replace errors introduced in the svn commit.
| * the great MPlayer tab removal: part IIdiego2010-05-031-997/+993
| | | | | | | | | | | | | | some extra indentation fixes are put in as a bonus git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31134 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Delete things related to old translation systemUoti Urpala2010-03-101-1/+0
| | | | | | | | | | Remove the help/ subdirectory, configure code to create toplevel help_mp.h, and all the '#include "help_mp.h"' lines from .c files.
* | Merge svn changes up to r30475Uoti Urpala2010-03-091-2/+18
|\|
| * Add license header to all top-level files missing them.diego2010-01-301-2/+18
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30471 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r30165Uoti Urpala2010-01-081-0/+11
|\|
| * Add support for YUV format with alpha and fix the codecs.conf entry for vp6areimar2009-12-311-0/+1
| | | | | | | | | | | | | | | | 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
| * Add support for 16-bit per component YUV formats.reimar2009-12-311-0/+9
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30152 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Add support for 440p colorspace.reimar2009-12-301-0/+1
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30140 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Support VDPAU hardware accelerated decoding of MPEG-4 ASP on capablecehoyos2009-11-101-0/+1
| | | | | | | | | | | | | | | | | | hardware. Original patch by NVIDIA corporation. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29885 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Support VDPAU MPEG4 hardware decodingUoti Urpala2009-11-161-0/+1
| | | | | | | | Original patch by NVIDIA.
* | Merge svn changes up to r29532Uoti Urpala2009-08-181-15/+20
|\|
| * make codec-cfg reuse the proper defined constants for all RGB/BGR formatsreimar2009-08-121-14/+14
| | | | | | | | | | | | | | instead of re-constructing them itself. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29501 b3059339-0415-0410-9bf9-f77b7e298cf2
| * 100l, fix compilation again and make codec-cfg.c use the predefined constantsreimar2009-08-121-2/+2
| | | | | | | | | | | | | | instead of reimplementing the IMGFMT_RGB|bit_depth logic. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29500 b3059339-0415-0410-9bf9-f77b7e298cf2
| * s/RG48xE/RGB48xEcehoyos2009-08-111-2/+2
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29496 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Explain how formats must be ordered in fmt_list so the parser can handlereimar2009-08-111-0/+3
| | | | | | | | | | | | | | names where one matches the beginning of another. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29492 b3059339-0415-0410-9bf9-f77b7e298cf2
| * fmt_table should be const as well.reimar2009-08-111-1/+1
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29491 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Allow out-formats for IMGFMT_RGB48* in codecs.conf.cehoyos2009-08-111-0/+2
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29488 b3059339-0415-0410-9bf9-f77b7e298cf2
| * whitespace cosmetics: Remove all trailing whitespace.diego2009-05-131-28/+28
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Remove trailing whitespace from most filesUoti Urpala2009-07-071-28/+28
| |
* | Translation system changes part 2: replace macros by stringsAmar Takhar2009-07-071-29/+29
| | | | | | | | | | Replace all MSGTR_ macros in the source by the corresponding English string.
* | Translation system changes part 1: wrap translated stringsAmar Takhar2009-07-071-29/+29
| | | | | | | | | | Replace mp_msg() calls which have a translated string as the format argument with mp_tmsg and add _() around all other translated strings.
* | Add temporary no-op translation function stubsUoti Urpala2009-07-061-0/+1
| |
* | Merge svn changes up to r29277Uoti Urpala2009-05-081-1/+1
|\|
| * Change type of first argument of the print_int_array function from int todiego2009-04-091-1/+1
| | | | | | | | | | | | | | | | 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
* | codec-cfg.c: Remove bogus printf argumentUoti Urpala2009-03-071-2/+2
| | | | | | | | | | Two printf calls had a bogus argument that did not match the format string. Remove.
* | Merge svn changes up to r28862Uoti Urpala2009-03-071-8/+0
|\|
| * Remove unnecessary linking hack, compilation works fine without.diego2009-03-011-8/+0
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28782 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r28610Uoti Urpala2009-02-161-0/+6
|\|
| * Add support for image formats and codecs used by VDPAUreimar2009-02-141-0/+6
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28551 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Makefile, codec-cfg.c: Don't use EXTRA_INC flags for codec-cfg compileUoti Urpala2008-12-021-3/+5
|/ | | | | | | | codec-cfg runs on the host system but EXTRA_INC can have target system paths. The EXTRA_INC was added there for shared libavutil support. Copy the one #define codec-cfg.c needs from libmpdemux/aviheader.h (which in turn needed libavutil) instead of including the header, and drop the EXTRA_INC flags.
* Rename two GUI-related preprocessor directives:diego2008-07-301-1/+1
| | | | | | | 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
* Fix codec-cfg-test compilation.diego2008-05-271-2/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26880 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing #includes to pass 'make checkheaders' to codecs.conf.h.diego2008-04-091-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26364 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100l, free strdup'd stringsreimar2008-01-121-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25691 b3059339-0415-0410-9bf9-f77b7e298cf2
* Builtin codecs array can now be constreimar2008-01-121-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25690 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace the persistent CODECS_FLAG_SELECTED by a local "stringset" withreimar2008-01-121-28/+22
| | | | | | | | | 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
* Get rid of some useless extra ()reimar2007-12-021-11/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25275 b3059339-0415-0410-9bf9-f77b7e298cf2
* Avoid short forms; has the added benefit of allowing compilation with gcc 2.95diego2007-11-031-1/+1
| | | | | | | which complains about 'unterminated string or character constant'. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24961 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace some Hungarian comments, thanks to Denes Balatoni for the translation.diego2007-11-031-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24956 b3059339-0415-0410-9bf9-f77b7e298cf2
* C99 varargs in macros can not be empty, adjust definition so it compilesreimar2007-07-301-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23930 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove some more useless *alloc castsreimar2007-07-191-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23826 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix comment about test application compilation.diego2007-03-121-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22519 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove support for obsolete and non-free divx4/odivx libraries.diego2006-07-141-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19087 b3059339-0415-0410-9bf9-f77b7e298cf2
* Marks several string parameters as const when they are not modified in the ↵reynaldo2006-07-091-1/+1
| | | | | | function, Patch by Stefan Huehner, stefan AT huehner-org git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18985 b3059339-0415-0410-9bf9-f77b7e298cf2
* reverse previous patch which caused sig11.rfelker2006-04-031-1/+1
| | | | | | | | | 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
* 1000l: absolutely huge missing constrfelker2006-04-031-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18034 b3059339-0415-0410-9bf9-f77b7e298cf2
* remove mp_msg.c dependency when compiling codec-cfg binary.reimar2006-03-121-0/+7
| | | | | | | | 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
* Fix compilation command in comment.diego2006-03-071-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17764 b3059339-0415-0410-9bf9-f77b7e298cf2
* Comment out debug output.diego2006-03-071-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17763 b3059339-0415-0410-9bf9-f77b7e298cf2
* Patch by Stefan Huehner / stefan % huehner ! org \rathann2006-02-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | 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
* Some more cola for msglevel, codec-cfg can't even call mp_msg_init or it'llods152005-12-071-12/+0
| | | | | | | print bogus stuff. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17121 b3059339-0415-0410-9bf9-f77b7e298cf2
* another 100l, codec-cfg relied on mp_msg printing nothing....ods152005-12-061-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17113 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100l, codec-cfg needs fixing after -msgl patchods152005-12-061-0/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17112 b3059339-0415-0410-9bf9-f77b7e298cf2
* Allow forcing of demuxers and codecs by prepending '+'reimar2005-08-301-5/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16322 b3059339-0415-0410-9bf9-f77b7e298cf2
* codecs-status.html should be written to an existing path.diego2005-05-011-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15316 b3059339-0415-0410-9bf9-f77b7e298cf2
* compilation fix for codecs2htmldiego2005-04-301-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15306 b3059339-0415-0410-9bf9-f77b7e298cf2
* 1l typodiego2005-04-301-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15305 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix wrong compilation instructions.diego2005-04-301-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15304 b3059339-0415-0410-9bf9-f77b7e298cf2
* Allow Y8 and Y800 as OUT format in codecs.confreimar2004-12-171-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14171 b3059339-0415-0410-9bf9-f77b7e298cf2
* Reduce excessive verbosity.diego2004-11-151-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13947 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix crash when a "driver" line is missing in codecs.conf.