summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/mp_image.h
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'osd_changes' into masterwm42012-11-011-2/+24
|\ | | | | | | | | Conflicts: DOCS/man/en/options.rst
| * screenshot: remove hack for passing anamorphic image sizewm42012-11-011-1/+2
| | | | | | | | | | | | | | | | | | | | With anamorphic video (display with non-1:1 PAR, e.g. DVD), the display size was passed using the mp_image fields w/h, which was blatantly incorrect. w/h are the normal image dimensions, while width/height are the "uncropped" storage size (used internally by vf.c). Add a display_w/h, and use that for the display size. Make all VOs that can do screenshots use it.
| * mp_image: add fields to pass colorspace down the filter chainwm42012-10-281-0/+10
| | | | | | | | | | | | Note that this also adds a RGB colorspace for general symmetry. The frontend (colormatrix property and options) and mp_get_yuv2rgb_coeffs() don't support this.
| * mp_image: use uint8_t instead of unsigned char for plane pointerswm42012-10-281-1/+2
| | | | | | | | Purely cosmetic.
| * mp_image: fix copy_mpi() with 16 bit formats, add helper macrosRudolf Polzer2012-10-241-0/+10
| | | | | | | | | | | | | | Merged by wm4. copy_mpi() assumed that planar YUV formats always used 1 byte per component, which is not true for 9/10/16 bit YUV formats.
* | mp_image: update description of MP_IMGFLAG_READABLEreimar2012-10-301-1/+8
|/ | | | | | Update description of MP_IMGFLAG_READABLE. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@35150 b3059339-0415-0410-9bf9-f77b7e298cf2
* mpcodecs: remove mp_image_t.x/ywm42012-02-241-1/+1
| | | | These were never used.
* Merge svn changes up to r31040Uoti Urpala2010-04-261-105/+3
|\
| * Move functions that really do not need to be inlined from the headerreimar2010-04-151-105/+3
| | | | | | | | | | | | | | to the .c file. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31038 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r30748Uoti Urpala2010-03-101-1/+1
|\|
| * Do not cast the results of malloc/calloc/realloc.diego2010-02-261-1/+1
| | | | | | | | | | | | | | | | These functions return void*, which is compatible with any pointer, so there is no need for casts. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30744 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-33/+15
|\|
| * Add support for YUV format with alpha and fix the codecs.conf entry for vp6areimar2009-12-311-0/+2
| | | | | | | | | | | | | | | | 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/+6
| | | | | | | | 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
| * Add a helper function to get the chroma scale shift and use to simplify mpi ↵reimar2009-12-301-33/+6
| | | | | | | | | | | | setup. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30138 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r30136Uoti Urpala2009-12-301-1/+3
|\| | | | | | | Ignore another broken correct-pts change in 30134.
| * Support mp_image with allocated palette.reimar2009-12-261-1/+3
| | | | | | | | | | | | | | | | Fixes playback and a memory leak for FFmpeg codecs which use reget_buffer with paletted data, e.g. cdgraphics. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30116 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r29117Uoti Urpala2009-04-011-2/+1
|\|
| * Allow to use vdpau temporal deinterlacers with hardware accelerated decoding.cehoyos2009-03-181-2/+1
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28991 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r28610Uoti Urpala2009-02-161-13/+12
|\|
| * Replace fprintf call by mp_msg, fixes the warning:diego2009-02-141-1/+2
| | | | | | | | | | | | | | | | | | In file included from libmpcodecs/vf_fspp.c:58: libmpcodecs/mp_image.h: In function 'mp_image_setfmt': libmpcodecs/mp_image.h:207: warning: implicit declaration of function 'please_use_av_log_instead_of_fprintf' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28553 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Cosmetics: handle all special/compressed formats in a single if in ↵reimar2009-02-141-15/+4
| | | | | | | | | | | | mp_image_setfmt git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28552 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Add support for image formats and codecs used by VDPAUreimar2009-02-141-0/+4
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28551 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Add MP_IMGTYPE_NUMBERED which gives access to the kind of mp_image_t thatreimar2009-02-141-1/+6
| | | | | | | | | | | | | | | | | | are numbered and have a "in use" flag which is necessary for proper buffer management as e.g. H.264 direct-rendering needs and is already used successfully for the -vo vdpau work-in-progress. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28550 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Remove _s/_st suffix from some struct namesUoti Urpala2008-04-251-1/+1
|/ | | | | Since the names are always used after the keyword "struct" having a suffix as in "struct demuxer_st" is almost completely pointless.
* Add necessary header #includes to fix 'make checkheaders'.diego2008-03-061-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26179 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
* Add explanatory comments to the #endif part of multiple inclusion guards.diego2007-12-311-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25563 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move alloc_mpi and copy_mpi from libmenu/vf_menu.c to libmpcodecs/mp_image.c.cehoyos2007-08-041-0/+3
| | | | | | | Patch by Attila Ötvös. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24014 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not use leading underscores in multiple inclusion guards, they are reserved.diego2007-07-021-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23709 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change some printf calls to fprintf.diego2006-03-271-1/+1
| | | | | | | based on a patch by Attila Ötvös, oattila,,@,,chello,,.,,hu git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17972 b3059339-0415-0410-9bf9-f77b7e298cf2
* stride must be signed! otherwise negative stride is broken on 64bit systemsrfelker2005-02-241-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14793 b3059339-0415-0410-9bf9-f77b7e298cf2
* set top_field first for lavc decoding and add MP_IMGFIELD_INTERLACEDmichael2003-12-221-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11670 b3059339-0415-0410-9bf9-f77b7e298cf2
* addition of special image formats for Zoran MJPEG, and vd_zrmjpeg.crik2003-11-041-0/+6
| | | | | | | 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/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10743 b3059339-0415-0410-9bf9-f77b7e298cf2
* clean up field flags:rfelker2003-08-181-3/+6
| | | | | | | | | | | 1) cosmetic change, no reason these need to be mpeg2-specific 2) add a flag to tell when fields are ordered, so we don't have to assume bff (which would usually be wrong) when field flags are not available. 3) add other flags for future use :) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10664 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add mpeg2_flags to mp_image_t, copy flags in vd_libmpeg2.c,ranma2003-08-031-0/+4
| | | | | | | and add vf_softpulldown.c. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10511 b3059339-0415-0410-9bf9-f77b7e298cf2
* basic xvmc image supportiive2003-06-211-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10317 b3059339-0415-0410-9bf9-f77b7e298cf2
* passing qscale_type around so the pp code can fix the mpeg2 <<1 thingmichael2003-04-181-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9926 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixing rgb4 & bgr4 (2 pixels per byte)michael2003-01-301-2/+2
| | | | | | | adding bg4b & rg4b (1 pixel per byte) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9172 b3059339-0415-0410-9bf9-f77b7e298cf2
* change qscale type to int8 and fix qscale orderingmichael2002-10-301-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7985 b3059339-0415-0410-9bf9-f77b7e298cf2
* passing picture_type (might be usefull for postprocessing)michael2002-10-291-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7958 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fixarpi2002-08-051-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6912 b3059339-0415-0410-9bf9-f77b7e298cf2
* - some reorder/cleanup of mp_image flagsarpi2002-08-021-13/+34
| | | | | | | - support for _ACCEPT_ALIGNED_STRIDE && _PREFER_ALIGNED_STRIDE git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6876 b3059339-0415-0410-9bf9-f77b7e298cf2
* planar yuv 444 422 411 supportmichael2002-08-011-0/+24
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6864 b3059339-0415-0410-9bf9-f77b7e298cf2
* added 'priv' field to mpi - requires for tracking frames with differentarpi2002-07-201-0/+2
| | | | | | | decoding-displaying order (IPB) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6760 b3059339-0415-0410-9bf9-f77b7e298cf2
* better support for rgb/bgr formatsalex2002-07-111-6/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6708 b3059339-0415-0410-9bf9-f77b7e298cf2
* {RGB,BGR}{1,4}michael2002-06-271-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6577 b3059339-0415-0410-9bf9-f77b7e298cf2
* better planar support, chroma subsampling support and Y8/Y800 supportalex2002-06-231-6/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6540 b3059339-0415-0410-9bf9-f77b7e298cf2
* better planar support, chroma subsampling support and Y8/Y800 supportalex2002-06-231-6/+35
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6539 b3059339-0415-0410-9bf9-f77b7e298cf2
* yvu9 and if09 supportalex2002-06-231-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6526 b3059339-0415-0410-9bf9-f77b7e298cf2
* added yvu9alex2002-06-211-0/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6479 b3059339-0415-0410-9bf9-f77b7e298cf2
* filters uninitarpi2002-04-201-0/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5738 b3059339-0415-0410-9bf9-f77b7e298cf2
* mp_image moved to libmpcodecsarpi2002-04-131-0/+100
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5610 b3059339-0415-0410-9bf9-f77b7e298cf2