summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/vd_vfw.c
Commit message (Collapse)AuthorAgeFilesLines
* cleanup: Silence compilation warnings on MinGW-w64wm42012-03-011-2/+2
| | | | | | | | | | | | | | | | | | | Some of the code, especially the dshow and windows codec loader parts, are extremely hacky and likely full of bugs. The goal is merely getting rid of warnings that could obscure more important warnings and actual bugs, instead of fixing actual problems. This reduces the number of warnings from over 500 to almost the same as when compiling on Linux. Note that many problems stem from using the ancient wine-derived windows headers. There are some differences to the "proper" windows header. Changing the code to compile with the proper headers would be too much trouble, and it still has to work on Unix. Some of the changes might actually break compilation on legacy MinGW, but we don't support that anymore. Always use MinGW-w64, even when compiling to 32 bit. Fixes some warnings in the win32 loader code on Linux too.
* Delete things related to old translation systemUoti Urpala2010-03-101-1/+0
| | | | | Remove the help/ subdirectory, configure code to create toplevel help_mp.h, and all the '#include "help_mp.h"' lines from .c files.
* Merge svn changes up to r30643Uoti Urpala2010-03-101-7/+1
|\
| * Add header for AVI print functions; avoids many forward declarations.diego2010-02-181-3/+1
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30631 b3059339-0415-0410-9bf9-f77b7e298cf2
| * libmpcodecs: Remove pointless leftover '#if 1' preprocessor instructions.diego2010-02-171-4/+0
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30608 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Mark all ad_info_t/vd_info_t structure declarations as const.diego2010-02-121-1/+1
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30546 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 r30136Uoti Urpala2009-12-301-1/+0
|\| | | | | | | Ignore another broken correct-pts change in 30134.
| * Remove only use if MP_IMGFLAG_RGB_PALETTE to allow giving the flag a slightlyreimar2009-12-261-1/+0
| | | | | | | | | | | | | | different meaning. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30115 b3059339-0415-0410-9bf9-f77b7e298cf2
| * whitespace cosmetics: Remove all trailing whitespace.diego2009-05-131-10/+10
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Remove trailing whitespace from most filesUoti Urpala2009-07-071-10/+10
| |
* | Translation system changes part 2: replace macros by stringsAmar Takhar2009-07-071-1/+1
| | | | | | | | | | Replace all MSGTR_ macros in the source by the corresponding English string.
* | Translation system changes part 1: wrap translated stringsAmar Takhar2009-07-071-1/+1
| | | | | | | | | | Replace mp_msg() calls which have a translated string as the format argument with mp_tmsg and add _() around all other translated strings.
* | Merge svn changes up to r28087Uoti Urpala2008-12-041-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: command.c libao2/ao_ivtv.c libao2/ao_v4l2.c libmpcodecs/dec_video.h libvo/aspect.h libvo/sub.c libvo/sub.h libvo/vo_directx.c libvo/vo_macosx.m libvo/vo_quartz.c mp_core.h mplayer.c mplayer.h osdep/getch2.h osdep/timer.h
| * Get rid of pointless 'extern' keywords.diego2008-12-031-1/+1
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28085 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Make video decoder description structs constUoti Urpala2008-04-251-1/+1
|/ | | | | | This makes the per-decoder struct vd_functions and its ->info struct constants. Same for the mpcodecs_vd_drivers[] table of pointers to those structs.
* Check ICDecompressGetFormatSize to avoid crashes.reimar2007-10-211-0/+5
| | | | | | | Based on patch by Gianluigi Tiesi (mplayer netfarm it). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24829 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove redundant variable declaration.diego2007-08-251-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24166 b3059339-0415-0410-9bf9-f77b7e298cf2
* Include loader/ prefix in #include path everywhere.diego2007-03-151-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22595 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move #ifdefs around complete files into the build system.diego2006-06-211-3/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18774 b3059339-0415-0410-9bf9-f77b7e298cf2
* Part2 of several printf2mp_msg changes in patch from Otvos Attila oattila AT ↵reynaldo2006-03-311-1/+1
| | | | | | chello DOT hu with LOTS of modifications by me git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18005 b3059339-0415-0410-9bf9-f77b7e298cf2
* Convert printfs in aviprint.c to mp_msg and give the information printingdiego2006-03-271-3/+3
| | | | | | | functions in this file a verbosity_level parameter. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17978 b3059339-0415-0410-9bf9-f77b7e298cf2
* Convert all if(verbose>X) to mp_msg_test calls.diego2006-03-241-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17933 b3059339-0415-0410-9bf9-f77b7e298cf2
* massive attack: mp_msg printf format fixesrathann2006-01-121-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17367 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support for new vssh dll, patch by adlandrtognimp2005-05-041-0/+7
| | | | | | | Use new dll only for new files, it can't decode old files (patch by me) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15345 b3059339-0415-0410-9bf9-f77b7e298cf2
* *HUGE* set of compiler warning fixes, unused variables removalarpi2002-11-061-0/+2
| | | | | | | based on patch by Dominik Mierzejewski <dominik@rangers.eu.org> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8124 b3059339-0415-0410-9bf9-f77b7e298cf2
* verbose can be negativearpi2002-11-011-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8028 b3059339-0415-0410-9bf9-f77b7e298cf2
* bypass palette from bih, when codec cannot give it in o_biharpi2002-10-191-5/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7790 b3059339-0415-0410-9bf9-f77b7e298cf2
* wine headers cleanuparpi2002-09-221-7/+4
| | | | | | | | | - WAVEFORMATEX & BITMAPINFOHEADER decl moved to stheader.h - lots of useless include wine/* removed from mplayer code - fixed few warnings git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7472 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixed to comply with new loaderalex2002-09-131-3/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7391 b3059339-0415-0410-9bf9-f77b7e298cf2
* 1000l - planar YUV support fixed (indeo 3,4,5, i263 etc)arpi2002-09-041-1/+3
| | | | | | | we shouldn't do planes[1]==NULL for formats like planar yuv git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7276 b3059339-0415-0410-9bf9-f77b7e298cf2
* NULL->0 (warning fix)arpi2002-09-041-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7274 b3059339-0415-0410-9bf9-f77b7e298cf2
* enabled csp-query support, but only for formats with 'query' flag setarpi2002-09-031-1/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7263 b3059339-0415-0410-9bf9-f77b7e298cf2
* - vfwex redundancy removedarpi2002-09-031-4/+31
| | | | | | | - fixed 10l bug in GetPalette (outflags vs. outfmt) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7261 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixed some problems with colorspace/init order, some cleanuparpi2002-09-031-116/+62
| | | | | | | csp query disabled, has to be fixed in vd core first and make it optional git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7250 b3059339-0415-0410-9bf9-f77b7e298cf2
* correct palette handling and query_format support (now huffyuv, cram and ↵alex2002-09-021-45/+114
| | | | | | mwv1 is working nice) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7244 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10lalex2002-09-011-3/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7231 b3059339-0415-0410-9bf9-f77b7e298cf2
* merged with dll_initalex2002-09-011-15/+217
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7230 b3059339-0415-0410-9bf9-f77b7e298cf2
* -afm/-vfm migration from ID (int) to NAME (string) - simplifies code and ↵arpi2002-08-301-1/+0
| | | | | | makes dlopen()'ing possible git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7181 b3059339-0415-0410-9bf9-f77b7e298cf2
* 2*10l to mearpi2002-08-301-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7177 b3059339-0415-0410-9bf9-f77b7e298cf2
* vfwex separated from vfw, to work with new vfm system and dlopenarpi2002-08-301-20/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7176 b3059339-0415-0410-9bf9-f77b7e298cf2
* vd_vfw.carpi2002-07-301-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6845 b3059339-0415-0410-9bf9-f77b7e298cf2
* grayscaled palette supportarpi2002-05-301-1/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6233 b3059339-0415-0410-9bf9-f77b7e298cf2
* iive is right - we shouldn't use IP buffering for vfw. it was changedarpi2002-05-161-1/+3
| | | | | | | to test DR support but i forgot to remove that later :( 10l is mine... git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6106 b3059339-0415-0410-9bf9-f77b7e298cf2
* export palette for rgb8/bgr8arpi2002-04-211-0/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5770 b3059339-0415-0410-9bf9-f77b7e298cf2
* added vfw uninitalex2002-04-011-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5452 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixed colorspace detectionarpi2002-03-171-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5154 b3059339-0415-0410-9bf9-f77b7e298cf2
* handle error from mpcodecs_config_vo()arpi2002-03-161-3/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5125 b3059339-0415-0410-9bf9-f77b7e298cf2
* common includes moved to private vd_internal.harpi2002-03-071-8/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4987 b3059339-0415-0410-9bf9-f77b7e298cf2
* vfw, vfwex, odivx, divx4 addedarpi2002-03-071-0/+105
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4969 b3059339-0415-0410-9bf9-f77b7e298cf2