summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/vd.c
Commit message (Collapse)AuthorAgeFilesLines
* Make it possible for mpcodecs_get_image to return NULL as thereimar2009-02-171-1/+1
| | | | | | | documentation says it should instead of crashing. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28638 b3059339-0415-0410-9bf9-f77b7e298cf2
* Convert HAVE_MALLOC_H into a 0/1 definition, fixes the warning:diego2009-02-171-1/+1
| | | | | | | mem.c:32:5: warning: "HAVE_MALLOC_H" is not defined git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28629 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move SCREEN_SIZE_X/Y definition to libmpcodecs/vd.c where it is used.diego2008-10-161-0/+3
| | | | | | | config.h should only contain option definitions, no logic. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27785 b3059339-0415-0410-9bf9-f77b7e298cf2
* Rename preprocessor directives related to image libraries.diego2008-08-051-2/+2
| | | | | | | Change a HAVE_ prefix to a CONFIG_ prefix. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27417 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change a bunch of video/audio-output-specific preprocessor directives fromdiego2008-08-031-1/+1
| | | | | | | a HAVE_ prefix to a CONFIG_ prefix. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27402 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change a bunch of codec-specific preprocessor directives from a HAVE_diego2008-08-021-3/+3
| | | | | | | prefix to a CONFIG_ prefix. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27395 b3059339-0415-0410-9bf9-f77b7e298cf2
* Start unifying names of internal preprocessor directives.diego2008-07-301-6/+6
| | | | | | | | Replace all USE_ prefixes by CONFIG_ prefixes to indicate options which are configurable. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27373 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify preprocessor condition for QT codecs, configure already does thediego2008-03-151-1/+1
| | | | | | | necessary checks, no need to duplicate them. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26238 b3059339-0415-0410-9bf9-f77b7e298cf2
* typo fix: inited --> initializeddiego2008-02-141-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25994 b3059339-0415-0410-9bf9-f77b7e298cf2
* clarify comments/docs about lav* being the preferred place to implement newivo2008-01-281-2/+4
| | | | | | | | codecs and (de)muxers, except for wrappers around external libraries and codecs and (de)muxers requiring binary support. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25908 b3059339-0415-0410-9bf9-f77b7e298cf2
* copy note on new demuxers and codecs to the top of the array as well to beivo2008-01-281-0/+3
| | | | | | | extra clear git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25904 b3059339-0415-0410-9bf9-f77b7e298cf2
* note on new demuxers and codecs, add them to lav* instead of libmp*ivo2008-01-281-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25900 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused definition.diego2008-01-061-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25625 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove completely outdated commented-out codereimar2007-12-021-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25246 b3059339-0415-0410-9bf9-f77b7e298cf2
* added .stream_aspect to st_video_t: if non-zero and if not specified otherwisenicodvb2007-09-011-0/+1
| | | | | | | by the user the video pipeline will use it as current aspect ratio git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24319 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove redundant variable declaration.diego2007-08-251-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24166 b3059339-0415-0410-9bf9-f77b7e298cf2
* Gui --> guidiego2007-04-231-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23095 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add explicit location for headers from the libmpdemux/ directory.diego2007-03-151-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22619 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add explicit location for headers from the stream/ directory.diego2007-03-151-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22617 b3059339-0415-0410-9bf9-f77b7e298cf2
* MSGTR for libmpcodecs/vd.ckraymer2006-11-221-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21161 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove obsolete Xvid 3 support.diego2006-11-181-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21000 b3059339-0415-0410-9bf9-f77b7e298cf2
* Always respect w and h params to mpcodecs_config_vo overreimar2006-11-051-6/+2
| | | | | | | | | sh->disp_w and sh->disp_h, otherwise it will break when the resolution changes mid-stream, like in http://samples.mplayerhq.hu/MPEG2/res_change_ffmpeg_aspect.ts git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20687 b3059339-0415-0410-9bf9-f77b7e298cf2
* display corrected aspect ratio for mplayer -identifyivo2006-08-151-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19408 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove support for obsolete and non-free divx4/odivx libraries.diego2006-07-141-8/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19087 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove separation between Win32 DLL and DirectShow support in the build system.diego2006-06-211-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18768 b3059339-0415-0410-9bf9-f77b7e298cf2
* Convert all if(verbose>X) to mp_msg_test calls.diego2006-03-241-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17933 b3059339-0415-0410-9bf9-f77b7e298cf2
* replace VO and VF numeric flags with #defined identifiershenry2005-04-181-5/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15213 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixes for encoding of multiple fileshenry2005-03-011-4/+4
| | | | | | | | | | - do not uninitialize video encoder between files - checks for image size & format change moved from mencoder.c to vfilters by Oded Shimon <ods15@ods15.dyndns.org> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14879 b3059339-0415-0410-9bf9-f77b7e298cf2
* add the flip filter at the end of the filter chain.reimar2004-12-181-1/+2
| | | | | | | Fixes -vf pp -flip and the flip option in the Gui. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14184 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix image dimensions at filter config timehenry2004-12-011-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14074 b3059339-0415-0410-9bf9-f77b7e298cf2
* mpi->w and h are set by vf_get_image, do not overwrite them.reimar2004-10-011-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13522 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix ineffectual video equalizer command line options, patch by kiriuja ↵faust32004-09-151-0/+23
| | | | | | <mplayer-bugs at en-directo.net>, closes #37, some more variable docu by me git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13342 b3059339-0415-0410-9bf9-f77b7e298cf2
* Cinepak, CYUV and RoqA/V are now in ffmpegrtognimp2004-07-151-6/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12828 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove MSZH/ZLIB, FLI and QTRLE, they are now in ffmpegrtognimp2004-04-291-6/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12354 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove 8BPS, MsRLE, MsVideo1, RPZA, SMCrtognimp2003-12-231-10/+0
| | | | | | | These codecs are now in libavcodecs git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11675 b3059339-0415-0410-9bf9-f77b7e298cf2
* XviD Api4 supportiive2003-11-121-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11437 b3059339-0415-0410-9bf9-f77b7e298cf2
* addition of special image formats for Zoran MJPEG, and vd_zrmjpeg.crik2003-11-041-0/+4
| | | | | | | the zoran passthrough filter for the new vo_zr2. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11387 b3059339-0415-0410-9bf9-f77b7e298cf2
* -vop ---> -vfdiego2003-10-251-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11262 b3059339-0415-0410-9bf9-f77b7e298cf2
* Quicktime 8BPS decoderrtognimp2003-08-281-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10713 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed our native svq1 and huffyuv implementation as libavcodec's ↵alex2003-07-131-6/+0
| | | | | | implementations are much better git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10419 b3059339-0415-0410-9bf9-f77b7e298cf2
* HM12 & NV12 "decoder" (specially interleaved YUV formats, used by ↵arpi2003-06-181-0/+2
| | | | | | | | | 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
* Theora demuxer/codec support, patch by David Kuehling <dvdkhlng@gmx.de>arpi2003-05-111-0/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10096 b3059339-0415-0410-9bf9-f77b7e298cf2
* add support for sgi files to mencoder patch by (Todd Kirby <slapcat at ↵michael2003-03-051-0/+2
| | | | | | pacbell dot net>) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9535 b3059339-0415-0410-9bf9-f77b7e298cf2
* MACOSX support patch, based on Dan Christiansens workalex2003-02-251-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9503 b3059339-0415-0410-9bf9-f77b7e298cf2
* - append the 'palette' filter if the codec supports RGB8/BGR8 and no csparpi2003-02-041-3/+25
| | | | | | | | match even with the scale filter. - print the current filter chain, in verbose mode git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9276 b3059339-0415-0410-9bf9-f77b7e298cf2
* do not config video out system if input dimensions are invalid (triggered a ↵alex2002-12-271-3/+4
| | | | | | segfault in vop_expand due to missing dimension checks, which bug was reported by gabucino) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8580 b3059339-0415-0410-9bf9-f77b7e298cf2
* DMO supportarpi2002-11-261-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8296 b3059339-0415-0410-9bf9-f77b7e298cf2
* qt video dll codecs supportarpi2002-11-121-0/+4
| | | | | | | based on sample svq3 decoder code by Sascha Sommer git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8161 b3059339-0415-0410-9bf9-f77b7e298cf2
* usage of libmpeg2, liba52, mp3lib & svq1 can be disabledarpi2002-11-011-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8027 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10L ! Don't remove the scale filter if we don't added ourselfalbeu2002-10-301-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7979 b3059339-0415-0410-9bf9-f77b7e298cf2
* Auto insert vf_lavc for the MPEG vo'salbeu2002-10-291-0/+17
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7972 b3059339-0415-0410-9bf9-f77b7e298cf2
* debug izearpi2002-10-251-1/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7919 b3059339-0415-0410-9bf9-f77b7e298cf2
* support to use minilzo lib alternativelyalex2002-10-191-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7800 b3059339-0415-0410-9bf9-f77b7e298cf2
* liblzo realtime video codec support (decoding only)arpi2002-10-131-0/+4
| | | | | | | patch by Tilmann Bitterberg <transcode@tibit.org> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7730 b3059339-0415-0410-9bf9-f77b7e298cf2
* argh. gcc sux. someone please explain why float x=0; if(x>0) ... is true.arpi2002-10-071-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7662 b3059339-0415-0410-9bf9-f77b7e298cf2
* This patch allows you to use fractional values for specifying a zoom.arpi2002-09-201-1/+1
| | | | | | | (based on) patch by Panagiotis Issaris <takis@lumumba.luc.ac.be> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7453 b3059339-0415-0410-9bf9-f77b7e298cf2
* TGA images (-mf on:type=tga) supportarpi2002-09-101-0/+2
| | | | | | | patch by Tilman Sauerbeck <tsauerbeck@users.sourceforge.net> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7363 b3059339-0415-0410-9bf9-f77b7e298cf2
* pass outflags[] index via sh->outfmtidx to the vd->control() func (for VfW)arpi2002-09-031-0/+1
| | | | | | | small hack - but other possible solutions are even worse :) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7262 b3059339-0415-0410-9bf9-f77b7e298cf2
* added LCL decoder by Roberto Togni <r_togni@libero.it>, removed my old vd_zlibalex2002-09-011-5/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7223 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fixes by Dominik Mierzejewski <dominik@rangers.eu.org>arpi2002-09-011-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7221 b3059339-0415-0410-9bf9-f77b7e298cf2
* some messages added/changedarpi2002-08-311-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7212 b3059339-0415-0410-9bf9-f77b7e298cf2
* -afm/-vfm migration from ID (int) to NAME (string) - simplifies code and ↵arpi2002-08-301-2/+2
| | | | | | makes dlopen()'ing possible git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7181 b3059339-0415-0410-9bf9-f77b7e298cf2
* finally removed query_vaa, bes_da and vo_tune_info - the obsoleted libvo apialex2002-08-281-3/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7125 b3059339-0415-0410-9bf9-f77b7e298cf2
* messages moved from vf.c and vd.cjaf2002-08-131-8/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6994 b3059339-0415-0410-9bf9-f77b7e298cf2
* native DV audio/video decoders using libdvarpi2002-08-051-0/+4
| | | | | | | based on patch by Alexander Neundorf <neundorf@kde.org> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6928 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add draw slice for the codecsalbeu2002-07-111-0/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6710 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support for Xvid using their new api. If divx4 compatiblity is disabeledalbeu2002-07-101-0/+4
| | | | | | | in xvid it can be used along with divx4. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6702 b3059339-0415-0410-9bf9-f77b7e298cf2
* SVQ1 addedarpi2002-06-221-0/+2
| | | | 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/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6344 b3059339-0415-0410-9bf9-f77b7e298cf2
* setting mpi's w/h to disp_w/h. it fixes mpeg1 crash when height%16!=0arpi2002-05-301-1/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6235 b3059339-0415-0410-9bf9-f77b7e298cf2
* big cosmetics patch, cleanup of messages printed by mplayer and libs.arpi2002-05-201-19/+1
| | | | | | | | some printf->mp_msg conversion, and some debug messages moved from warn/info to v/dbg2 mplayer's output is now shorter, readable and consistent git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6139 b3059339-0415-0410-9bf9-f77b7e298cf2
* various openbsd and general warning fixes - patch by Björn Sandell ↵arpi2002-05-121-0/+1
| | | | | | <biorn@dce.chalmers.se> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6058 b3059339-0415-0410-9bf9-f77b7e298cf2
* setting vf_inited flag, some printf->mp_msg, some MSGL_FATAL->MSGL_WARNarpi2002-05-011-13/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5926 b3059339-0415-0410-9bf9-f77b7e298cf2
* apply aspect prescaling to -xyarpi2002-04-291-20/+23
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5904 b3059339-0415-0410-9bf9-f77b7e298cf2
* debug linearpi2002-04-191-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5711 b3059339-0415-0410-9bf9-f77b7e298cf2
* mp_image.h and img_format.h moved to libmpcodecsarpi2002-04-131-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5608 b3059339-0415-0410-9bf9-f77b7e298cf2
* capabilities support -> automatic insertion of scale, expand, pparpi2002-04-111-4/+23