summaryrefslogtreecommitdiffstats
path: root/fmt-conversion.h
Commit message (Collapse)AuthorAgeFilesLines
* Rename directories, move files (step 1 of 2) (does not compile)wm42012-11-121-27/+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.
* fmt-conversion.h: fix pixfmt.h #include; fixes latest LibavUoti Urpala2012-10-141-2/+1
| | | | | | | | | | | | | | | | | | | Change fmt-conversion.h to include <libavutil/pixfmt.h> instead of <libavutil/avutil.h> which no longer indirectly includes the former. This fixes compilation with latest Libav. Also remove superfluous config.h #include. The pixfmt.h #include is needed for 'enum PixelFormat'. avutil.h already stopped including pixfmt.h more than a year ago, but that did not cause visible breakage at the time. AFAIK the C standard does not allow incomplete enum types, but it seems that GCC and other relevant compilers accept function declarations using not-yet-defined enum types without warnings. However, Libav now renamed 'enum PixelFormat' to 'enum AVPixelFormat', adding a '#define PixelFormat AVPixelFormat' for backwards compatibility. We need this compatibility define because we're still using the PixelFormat name, but it of course does not work if pixfmt.h is not included; thus the missing include now caused a compilation failure.
* 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
* Add missing header #includes to fix 'make checkheaders'.diego2010-01-041-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30208 b3059339-0415-0410-9bf9-f77b7e298cf2
* Create a fmt-conversion.c file so fmt-conversion.h can be included by ↵reimar2009-02-141-66/+2
| | | | | | | | | multiple files. Also restructure the code so it provides a pixfmt2imgfmt function, too. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28561 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix mapping between MPlayer and FFmpeg colorspaces after libswscale changes.diego2008-09-171-10/+10
| | | | | | | patch by Reimar git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27633 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add necessary #includes to pass 'make checkheaders'.diego2008-03-041-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26163 b3059339-0415-0410-9bf9-f77b7e298cf2
* FFmpeg now uses different (unified) #include paths.diego2008-02-251-5/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26101 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
* DOCS/tech/colorspaces.txt says I420 and IYUV are the same, so add IYUV at thereimar2007-09-121-0/+1
| | | | | | | | same place. It can't break anything worse than it is now (i.e. not working/supported at all) and hopefully triggers a bug report so it gets fixed if it's wrong ;-) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24436 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add multiple inclusion guards.diego2007-08-251-0/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24176 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix build with shared libavutil. Approved by Diego.rathann2006-12-311-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21794 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing conversion from IMGFMT_I420 to PIX_FMT_YUV420P.corey2006-09-221-0/+1
| | | | | | | | This fixes recent bug with x264 and '-vf scale'. Patch by Luca Abeni (lucabe72 at email dot it); applied at his request. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19936 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add conversion from IMGFMT_Y8 to PIX_FMT_GRAY8lucabe2006-09-211-0/+1
| | | | | | | Patch by Gianluigi Tiesi (sherpya AT netfarm DOT it> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19922 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove the dependency of libswscale on img_format.hlucabe2006-09-171-0/+64
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19878 b3059339-0415-0410-9bf9-f77b7e298cf2