summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/img_format.c
Commit message (Collapse)AuthorAgeFilesLines
* VF: remove IMGFMT_MPEGPESwm42012-10-221-1/+0
| | | | | | | | | This wasn't used anymore. Remove the reference to IMGFMT_MJPEG in vf_dlopen as well. Thus format is used as FourCC in the TV code (i.e. it's on the demuxer level, just like raw formats), and never appears in the video filter chain. For starters, vd_ffmpeg can never produce this format.
* mp_image: add IMGFMT_BGR0/PIX_FMT_BGR0wm42012-10-211-0/+1
| | | | Needed by ffv1.
* options, codecs.conf, img_format: unify imgfmt name handlingwm42012-08-291-95/+23
| | | | | | | | | | | | | Remove the duplication of image format name lists from codec-cfg.c and img_format.c. Remove the list of "long" image format names from img_format.c. One user visible change is that now mplayer won't print "long" format names anymore: e.g. instead of "Planar 420P 10-bit little-endian", the name "420p10le" is used. This is consistent with the names used by the option parser, and also less noisy. Partially based on mplayer2 commit f98e47574de15, with some differences.
* cleanup: remove XvMC remains, reformat img_format.cUoti Urpala2012-08-281-29/+32
| | | | | Remove remaining references to XvMC. It was already not supported; remove references to the imgfmt too. Reformat img_format.c.
* img_format, m_option: make image format name list globally availablewm42012-08-231-0/+101
| | | | And add functions for converting them from/to the name string.
* libmpcodecs: add support for 422P9mplayer-svn2012-08-031-0/+2
| | | | | | | For some reason only 9-bit 422 wasn't added before. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@34524 b3059339-0415-0410-9bf9-f77b7e298cf2 Author: reimar
* Merge remote-tracking branch 'origin/master'wm42012-04-011-3/+0
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: bstr.c bstr.h etc/input.conf input/input.c input/input.h libao2/ao_pulse.c libmpcodecs/vf_ass.c libmpcodecs/vf_vo.c libvo/gl_common.c libvo/x11_common.c mixer.c mixer.h mplayer.c
| * cosmetics: misc minor cleanupsUoti Urpala2012-03-251-3/+0
| | | | | | | | | | The deleted ZRM* things were only relevant to vo_zr, which was deleted earlier.
* | libmpcodecs: rename IMGFMT_GBR24P to IMGFMT_GBRPwm42012-03-251-1/+1
| | | | | | | | This is more in line with the ffmpeg/libav names.
* | libmpcodecs: support planar GBR24 decodingcehoyos2012-03-251-0/+1
|/ | | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@34245 b3059339-0415-0410-9bf9-f77b7e298cf2 Note: ffmpeg first introduced PIX_FMT_GBR24P, which was used in this commit. Later, it was renamed to PIX_FMT_GBRP in ffmpeg and libav. This was updated in revision 34492 in mplayer, but the mplayer specific names (such as IMGFMT_GBR24) were left unchanged.
* vo_gl: don't accept 9/10-bit formats as inputreimar2011-06-291-39/+50
| | | | | | | | | Make mp_get_chroma_shift() simpler/more generic and add an argument to get the per-component bit depth. Use this to check more properly for supported formats in gl and gl2 vos (only 8 and 16 bit are supported, 9 and 10 are not). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33452 b3059339-0415-0410-9bf9-f77b7e298cf2
* video/colorspaces: add new 9/10-bit formats from libavcodecUoti Urpala2011-06-261-0/+20
| | | | | | | 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>.
* Merge svn changes up to r31145Uoti Urpala2010-05-301-1/+6
|\
| * Handle Y8/Y800 formats more similar to other YUV formats.reimar2010-05-091-1/+6
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31144 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r31141Uoti Urpala2010-05-071-0/+2
|\|
| * Add support for 12-bit color mode on framebuffer devices.cehoyos2010-05-061-0/+2
| | | | | | | | | | | | | | Patch Janusz Krzysztofik, jkrzyszt A tis icnet pl git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31139 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r30463Uoti Urpala2010-03-091-0/+18
|\| | | | | | | | | | | Note that r30455 is wrong, that commit does not in fact change the default behavior as claimed in the commit message. It only breaks "-af-adv force=0", which was already pretty much useless though.
| * Add missing license headers to all files in the libmpcodecs directory.diego2010-01-301-0/+18
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30463 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r30165Uoti Urpala2010-01-081-0/+64
|\|
| * Add support for YUV format with alpha and fix the codecs.conf entry for vp6areimar2009-12-311-0/+4
| | | | | | | | | | | | | | | | 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-1/+20
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30152 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Add support for 440p colorspace.reimar2009-12-301-0/+4
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30140 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Add a helper function to get the chroma scale shift and use to simplify mpi ↵reimar2009-12-301-0/+37
| | | | | | | | | | | | setup. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30138 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.
* Add IMGFMT_RGB48LE and IMGFMT_RGB48BE.cehoyos2009-08-111-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29486 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add support for image formats and codecs used by VDPAUreimar2009-02-141-0/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28551 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Remove pointless parentheses from return calls.diego2008-05-161-60/+60
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26786 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Fix unknow vs. unknowN typo.diego2008-05-111-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26733 b3059339-0415-0410-9bf9-f77b7e298cf2
* Print the number of the Unknow color format,iive2007-07-111-1/+4
| | | | | | | so verbose debug output could be a little more useful. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23770 b3059339-0415-0410-9bf9-f77b7e298cf2
* marks several read-only string parameters and function return-values which ↵reynaldo2006-07-161-1/+1
| | | | | | can only be used read-only as const. Patch by Stefan Huehner, stefan _AT huener-org git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19113 b3059339-0415-0410-9bf9-f77b7e298cf2
* include config.h as img_format.h needs endian definitions, noticed by Alan ↵iive2006-02-091-0/+1
| | | | | | Curry <pacman at theworld com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17566 b3059339-0415-0410-9bf9-f77b7e298cf2
* missing 32bit RGBA variants and some cleanupmichael2004-08-111-2/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12997 b3059339-0415-0410-9bf9-f77b7e298cf2
* addition of special image formats for Zoran MJPEG, and vd_zrmjpeg.crik2003-11-041-0/+3
| | | | | | | the zoran passthrough filter for the new vo_zr2. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11387 b3059339-0415-0410-9bf9-f77b7e298cf2
* basic nv12 and nv21 support by Angelo Cano <angelo_cano@fastmail.fm>alex2003-08-311-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10743 b3059339-0415-0410-9bf9-f77b7e298cf2
* basic xvmc image supportiive2003-06-211-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10317 b3059339-0415-0410-9bf9-f77b7e298cf2
* HM12 & NV12 "decoder" (specially interleaved YUV formats, used by ↵arpi2003-06-181-0/+1
| | | | | | | | | Hauppauge's PVR cards) based on patch by Alex <d18c7db@hotmail.com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10306 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixing rgb4 & bgr4 (2 pixels per byte)michael2003-01-301-0/+2
| | | | | | | adding bg4b & rg4b (1 pixel per byte) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9172 b3059339-0415-0410-9bf9-f77b7e298cf2
* planar yuv 444 422 411 supportmichael2002-08-011-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6864 b3059339-0415-0410-9bf9-f77b7e298cf2
* {RGB,BGR}{1,4}michael2002-06-271-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6577 b3059339-0415-0410-9bf9-f77b7e298cf2
* NV12 addedarpi2002-06-221-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6492 b3059339-0415-0410-9bf9-f77b7e298cf2
* img_format moved to libmpcodecsarpi2002-04-131-0/+48
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5609 b3059339-0415-0410-9bf9-f77b7e298cf2