summaryrefslogtreecommitdiffstats
path: root/codec-cfg.h
Commit message (Collapse)AuthorAgeFilesLines
* Rename directories, move files (step 1 of 2) (does not compile)wm42012-11-121-93/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tis drops the silly lib prefixes, and attempts to organize the tree in a more logical way. Make the top-level directory less cluttered as well. Renames the following directories: libaf -> audio/filter libao2 -> audio/out libvo -> video/out libmpdemux -> demux Split libmpcodecs: vf* -> video/filter vd*, dec_video.* -> video/decode mp_image*, img_format*, ... -> video/ ad*, dec_audio.* -> audio/decode libaf/format.* is moved to audio/ - this is similar to how mp_image.* is located in video/. Move most top-level .c/.h files to core. (talloc.c/.h is left on top- level, because it's external.) Park some of the more annoying files in compat/. Some of these are relicts from the time mplayer used ffmpeg internals. sub/ is not split, because it's too much of a mess (subtitle code is mixed with OSD display and rendering). Maybe the organization of core is not ideal: it mixes playback core (like mplayer.c) and utility helpers (like bstr.c/h). Should the need arise, the playback core will be moved somewhere else, while core contains all helper and common code.
* video, audio: use lavc decoders without codecs.conf entriesUoti Urpala2012-07-241-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for using libavcodec decoders that do not have entries in codecs.conf. This is currently only used with demux_lavf, and the codec selection is based on codec_id returned by libavformat. Also modify codec-related terminal output somewhat to make it use information from libavcodec and avoid excessively long default output. The new any-lavc-codec support is implemented with codecs.conf entries that invoke vd_ffmpeg/ad_ffmpeg without directly specifying any libavcodec codec name. In this mode, the decoders now instead select the libavcodec codec based on codec_id previously set by demux_lavf (if any). These new "generic" codecs.conf entries specify "status buggy", so that they're tried after any specific entries with higher-priority status. Add new directive "anyinput" to codecs.conf syntax. This means the entry will always match regardless of fourcc. This is used for the above new codecs.conf entries (so the driver always gets to decide whether to accept the input, and will fail init() if it can't find a suitable codec in libavcodec). Remove parsing support for the obsolete codecs.conf directive "cpuflags". This directive has not had any effect and has not been used in default codecs.conf since many years ago. Shorten codec-related terminal output. When using libavcodec decoders, show the libavcodec long_name field rather than codecs.conf "info" field as the name of the codec. Stop showing the codecs.conf entry name and "vfm/afm" name by default, as these are rarely needed; they're now in verbose output only. Show "VIDEO:" line at VO initialization rather than at demuxer open. This didn't really belong in demuxer code; the new location may show more accurate values (known after decoder has been opened) and works right if video track is changed after initial demuxer open. The vd.c changes (primarily done for terminal output changes) remove round-to-even behavior from code setting dimensions based on aspect ratio. I hope nothing depended on this; at least the even values were not consistently guaranteed anyway, as the rounding code did not run if the video file did not specify a nonzero aspect value.
* codec-cfg: set CODEC_CFG_MIN to the release value in codecs.confreimar2010-11-021-2/+0
| | | | | | | 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
* the great MPlayer tab removal: part IIdiego2010-05-031-38/+38
| | | | | | | 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
* cosmetics: Rename "codecs_st" struct to just plain "codecs".diego2010-02-261-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30752 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add license header to all top-level files missing them.diego2010-01-301-0/+18
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30471 b3059339-0415-0410-9bf9-f77b7e298cf2
* change arbitrary CODECS_MAX_FOURCC limit to larger arbitrary limitcompn2008-07-301-1/+1
| | | | | | | | some camera generates different MPEG2 fourccs for each res and fps. http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2008-July/050348.html git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27366 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add MPLAYER_ prefix to multiple inclusion guards.diego2008-02-221-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26061 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace the persistent CODECS_FLAG_SELECTED by a local "stringset" withreimar2008-01-121-3/+6
| | | | | | | | | 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
* Names starting with underscores are reserved.diego2007-07-281-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23890 b3059339-0415-0410-9bf9-f77b7e298cf2
* qdrw changed output format in ffmpeg r8630, sync codecs.conf and require rtogni2007-04-071-1/+1
| | | | | | | newest codecs.conf version to avoid regression git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22933 b3059339-0415-0410-9bf9-f77b7e298cf2
* Require latest version of codecs.confrtogni2006-10-221-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20368 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
* Reject codecs.conf files older than 20060501rtogni2006-06-051-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18582 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
* Allow forcing of demuxers and codecs by prepending '+'reimar2005-08-301-3/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16322 b3059339-0415-0410-9bf9-f77b7e298cf2
* require some up to date codecs.confalex2005-07-281-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16133 b3059339-0415-0410-9bf9-f77b7e298cf2
* Memory Free function Fix, based on patch by Wei Jiang <jiangw98@yahoo.com>faust32004-10-301-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13808 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix compilation on mingwfaust32004-10-091-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13592 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make it compile on mingw again. Now it is finally possible to include ↵faust32004-04-301-1/+1
| | | | | | windows.h in mplayer.c git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12359 b3059339-0415-0410-9bf9-f77b7e298cf2
* bumped version numberalex2003-07-241-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10468 b3059339-0415-0410-9bf9-f77b7e298cf2
* time to ++versionarpi2003-01-191-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9035 b3059339-0415-0410-9bf9-f77b7e298cf2
* codecs.conf min. version bumpedarpi2002-10-171-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7773 b3059339-0415-0410-9bf9-f77b7e298cf2
* new func: select_codec() - disables codec by namearpi2002-09-261-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7506 b3059339-0415-0410-9bf9-f77b7e298cf2
* version number bumpedarpi2002-09-101-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7358 b3059339-0415-0410-9bf9-f77b7e298cf2
* -afm/-vfm migration from ID (int) to NAME (string) - simplifies code and ↵arpi2002-08-301-55/+2
| | | | | | makes dlopen()'ing possible git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7181 b3059339-0415-0410-9bf9-f77b7e298cf2
* codecs.conf min. version bumpedarpi2002-08-051-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6936 b3059339-0415-0410-9bf9-f77b7e298cf2
* native DV audio/video decoders using libdvarpi2002-08-051-0/+2
| | | | | | | based on patch by Alexander Neundorf <neundorf@kde.org> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6928 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support for Xvid using their new api. If divx4 compatiblity is disabeledalbeu2002-07-101-0/+1
| | | | | | | in xvid it can be used along with divx4. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6702 b3059339-0415-0410-9bf9-f77b7e298cf2
* new global codec flag: align16arpi2002-06-251-1/+2
| | | | | | | | it means that width/height should be round up to n*16 (some buggy codec needs it to avoid sig11 / image distortions) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6566 b3059339-0415-0410-9bf9-f77b7e298cf2
* time to ++ timestamparpi2002-06-251-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6562 b3059339-0415-0410-9bf9-f77b7e298cf2
* SVQ1 addedarpi2002-06-221-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6507 b3059339-0415-0410-9bf9-f77b7e298cf2
* realvideo support by Florian Schneider <flo-mplayer-dev@gmx.net>arpi2002-06-081-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6344 b3059339-0415-0410-9bf9-f77b7e298cf2
* codecs.conf versioning - patch by Joey Parrish <joey@yunamusic.com>arpi2002-05-261-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6201 b3059339-0415-0410-9bf9-f77b7e298cf2
* 'static' outfmt-flag addedarpi2002-05-161-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6104 b3059339-0415-0410-9bf9-f77b7e298cf2
* mpegpes added... thx Mw3arpi2002-04-031-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5479 b3059339-0415-0410-9bf9-f77b7e298cf2
* use codec selectionarpi2002-03-251-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5327 b3059339-0415-0410-9bf9-f77b7e298cf2
* tagging selected codec to avoid trying the same codec several timesarpi2002-03-251-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5326 b3059339-0415-0410-9bf9-f77b7e298cf2
* added zlib supportalex2002-03-221-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5264 b3059339-0415-0410-9bf9-f77b7e298cf2
* query flag addedarpi2002-03-211-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5250 b3059339-0415-0410-9bf9-f77b7e298cf2
* added HuffYUV support, courtesy of Roberto Togni <rtogni@bresciaonline.it>melanson2002-03-211-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5236 b3059339-0415-0410-9bf9-f77b7e298cf2
* MPlayer now has a Microsoft RLE decoder to call its own...only supportsmelanson2002-03-191-1/+1
| | | | | | | 8-bit right now, but 4-bit is forthcoming git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5194 b3059339-0415-0410-9bf9-f77b7e298cf2
* Beta AAC decoding support, seeking totally broken yet, add philipps mpeg4 ↵atmos42002-03-181-0/+1
| | | | | | video in qt to ffmpeg4 although it's still buggy in decoding git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5191 b3059339-0415-0410-9bf9-f77b7e298cf2
* status numbers changed to fit our detection orderarpi2002-03-181-4/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5178 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add IJPG decoder.pontscho2002-03-101-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5030 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixed, strengthened, rewrote, and renamed a variety of the ADPCM decodersmelanson2002-02-251-2/+2
| | | | | | | (including MS, DK4 and DK3 ADPCM) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4855 b3059339-0415-0410-9bf9-f77b7e298cf2
* added informat support (for encoding)alex2002-02-121-1/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4676 b3059339-0415-0410-9bf9-f77b7e298cf2
* add initial mPNG supportpontscho2002-02-111-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4657 b3059339-0415-0410-9bf9-f77b7e298cf2
* Added native codec support for QT RPZA data, courtesy of Roberto Tognimelanson2002-02-091-0/+1
| | | | | | | <rtogni@freemail.it> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4616 b3059339-0415-0410-9bf9-f77b7e298cf2
* added skeleton decoders for RoQ audio and video format decodersmelanson2002-02-011-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4451 b3059339-0415-0410-9bf9-f77b7e298cf2
* added skeleton for Duck Truemotion v1 decoder (doesn't do anything yet)melanson2002-01-221-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4302 b3059339-0415-0410-9bf9-f77b7e298cf2
* added skeleton for QT SMC decodermelanson2002-01-181-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4228 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix for Xwid (exceed 16 fourcc)nexus2002-01-171-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4217 b3059339-0415-0410-9bf9-f77b7e298cf2
* integrated Tim Ferguson's native CYUV decodermelanson2002-01-041-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3970 b3059339-0415-0410-9bf9-f77b7e298cf2
* added initial support for format 0x61 ADPCM (sounds good, but still pops)melanson2002-01-011-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3934 b3059339-0415-0410-9bf9-f77b7e298cf2
* added initial, not-yet-functional, support for fox62 audiomelanson2001-12-281-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3827 b3059339-0415-0410-9bf9-f77b7e298cf2
* NuppelVideo decoder added, based on Panagiotis Issaris' patchalex2001-12-271-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3805 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixed few segfaults, make parse_codec_cfg() return intiive2001-12-271-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3799 b3059339-0415-0410-9bf9-f77b7e298cf2
* implemented open source MS ADPCM decodermelanson2001-12-271-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3788 b3059339-0415-0410-9bf9-f77b7e298cf2
* Initial support for unified ADPCM decodermelanson2001-12-261-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3757 b3059339-0415-0410-9bf9-f77b7e298cf2
* This commit adds initial support for Quicktime Animation (RLE) video. Itmelanson2001-12-231-0/+1
| | | | | | | also fixes a FLI function name (FLI is not an AVI decoder). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3688 b3059339-0415-0410-9bf9-f77b7e298cf2
* add support for priotity <int> in codecs.conf, higher numbers are betteratmos42001-12-231-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3668 b3059339-0415-0410-9bf9-f77b7e298cf2
* native opensourec Cinepak (CVID) codec by im Ferguson ↵arpi2001-12-211-0/+1
| | | | | | <timf@mail.csse.monash.edu.au> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3644 b3059339-0415-0410-9bf9-f77b7e298cf2
* g72x and a52 addedarpi2001-12-091-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3401 b3059339-0415-0410-9bf9-f77b7e298cf2
* support for FLI image decodingmelanson2001-11-281-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3173 b3059339-0415-0410-9bf9-f77b7e298cf2
* ms video1 (cram) codecs by Mike Melanson <melanson@pcisys.net>arpi2001-11-111-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2828 b3059339-0415-0410-9bf9-f77b7e298cf2
* ima4 addedarpi2001-10-231-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2423 b3059339-0415-0410-9bf9-f77b7e298cf2
* libmad (ARM) patch by jeroen.dobbelaere@acunia.comarpi2001-10-231-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2416 b3059339-0415-0410-9bf9-f77b7e298cf2
* xanim addedarpi2001-10-221-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2380 b3059339-0415-0410-9bf9-f77b7e298cf2
* libdemuxer...arpi2001-10-201-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2311 b3059339-0415-0410-9bf9-f77b7e298cf2
* -ac help / -vc helparpi2001-09-271-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1984 b3059339-0415-0410-9bf9-f77b7e298cf2
* native codec 'rle' addedarpi2001-09-241-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1949 b3059339-0415-0410-9bf9-f77b7e298cf2
* added ffmpeg audio driverarpi2001-09-211-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1930 b3059339-0415-0410-9bf9-f77b7e298cf2