summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Lock/unlock surface only once even when drawing many slices.reimar2008-11-231-7/+14
| | | | | | | Patch originally by Jim Hauxwell [james dattrax co.uk] git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28003 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move locked_rect from stack to priv struct in preparation for following patch.reimar2008-11-231-17/+13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28002 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move the StretchRect call from draw_slices to render_d3d_frame.reimar2008-11-231-28/+8
| | | | | | | | This avoids calling it (and BeginScene/EndScene) many times with slices and also avoids code duplication. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28001 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove pointless is_cfG_finished variable.reimar2008-11-231-17/+3
| | | | | | | Patch by Georgi Petrov [gogothebee gmail com] git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28000 b3059339-0415-0410-9bf9-f77b7e298cf2
* Handle fb_dev_name similar to vo_fbdev in vo_wii.diego2008-11-232-6/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27999 b3059339-0415-0410-9bf9-f77b7e298cf2
* Merge another if condition check to lessen differences to vo_fbdev.c.diego2008-11-231-4/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27998 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use static variable instead of #define to lessen differences to vo_fbdev.c.diego2008-11-231-6/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27997 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get rid of TTY_DEV_NAME #define to lessen differences to vo_fbdev.c.diego2008-11-231-6/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27996 b3059339-0415-0410-9bf9-f77b7e298cf2
* Merge another if condition check to lessen differences to vo_fbdev.c.diego2008-11-231-2/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27995 b3059339-0415-0410-9bf9-f77b7e298cf2
* Merge if condition check to lessen differences to vo_fbdev.c.diego2008-11-231-3/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27994 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove debug function.diego2008-11-231-70/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27993 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: one more round of whitespace changesdiego2008-11-231-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27992 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: further reformatting to lessen differences to vo_fbdev.cdiego2008-11-231-56/+53
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27991 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: complete reformatting, tabs to spaces, etc.diego2008-11-231-956/+952
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27990 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Lessen differences to vo_wii.c.diego2008-11-231-3/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27989 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: consistent formatting for if/else/casediego2008-11-231-36/+46
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27988 b3059339-0415-0410-9bf9-f77b7e298cf2
* Reimplement -endchapter support again for -dump*, it was broken in r25987.reimar2008-11-231-0/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27987 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify handling of VOFLAG_MODESWITCHNG, merge assignment and declarationreimar2008-11-232-10/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27986 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused flip_flag variablereimar2008-11-231-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27985 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Reformat some lines to lessen differences to vo_fbdev.c.diego2008-11-231-118/+62
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27984 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Move up uninit() to avoid a forward declaration.diego2008-11-231-10/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27983 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: consistent function declarations.diego2008-11-231-4/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27982 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Remove tabs and trailing whitespace.diego2008-11-231-69/+69
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27981 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused variables and the related warnings along with them.diego2008-11-231-3/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27980 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make description of the option more clear as suggested by bircoph2008-11-221-2/+3
| | | | | | | Reimar Döffinger. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27979 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove a aspect calculation line.reimar2008-11-212-2/+0
| | | | | | | | | | It is useless because with the new API enabled by VOCTRL_UPDATE_SCREENINFO it is not necessary because it is already done in video_out.c:config_video_out. Secondly, the removal of the aspect_save_prescale triggered a regression because of it, with -wid the window would not be filled completely initially. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27978 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify handling of "flags" parameterreimar2008-11-211-13/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27977 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add forgotten initialization if Flip_Flag to 0.reimar2008-11-211-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27976 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: typo fixesdiego2008-11-211-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27975 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Write revision number with leading 'r'.diego2008-11-211-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27974 b3059339-0415-0410-9bf9-f77b7e298cf2
* add direct3d docs, ok'd by Guillaumecompn2008-11-212-0/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27973 b3059339-0415-0410-9bf9-f77b7e298cf2
* Synced with r27967.bircoph2008-11-211-12/+11
| | | | | | | These changes are cosmetics only. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27972 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix and enable panscan handling for vo_direct3dreimar2008-11-211-77/+43
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27971 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Consistently place HEADERS before OBJS in all Makefiles.diego2008-11-201-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27970 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add all still missing lines, full sync against r27967reynaldo2008-11-201-1/+21
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27969 b3059339-0415-0410-9bf9-f77b7e298cf2
* Trivial, add some more lines that were missingreynaldo2008-11-201-4/+30
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27968 b3059339-0415-0410-9bf9-f77b7e298cf2
* Trivial, Cosmeticsreynaldo2008-11-202-2/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27967 b3059339-0415-0410-9bf9-f77b7e298cf2
* COSMETICS, More line shifting to match English masterreynaldo2008-11-201-45/+46
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27966 b3059339-0415-0410-9bf9-f77b7e298cf2
* TRIVIAL, add some more missing linesreynaldo2008-11-201-0/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27965 b3059339-0415-0410-9bf9-f77b7e298cf2
* COSMETICS, More line shifting to match English masterreynaldo2008-11-201-262/+252
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27964 b3059339-0415-0410-9bf9-f77b7e298cf2
* TRIVIAL, some missing lines and a grammar correctionreynaldo2008-11-201-1/+18
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27963 b3059339-0415-0410-9bf9-f77b7e298cf2
* Cosmetics: rename variables etc. in vo_direct3d.creimar2008-11-201-253/+225
| | | | | | | Patch by Georgi Petrov (gogothebee gmail com) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27962 b3059339-0415-0410-9bf9-f77b7e298cf2
* Factor common code like -wid handling, vo_gc creation etc. out intoreimar2008-11-199-191/+30
| | | | | | | x11_common.c git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27961 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add detection of x86 CPU features SSSE3 and SSE4a.gpoirier2008-11-192-0/+6
| | | | | | | | | | Patch by Zhou, Zongyi %zz65 A cornell P edu% Original thread: date: Wed, Nov 19, 2008 at 4:22 PM subject: Re: [MPlayer-dev-eng] [PATCH] yadif SSE2/SSSE3 optimization git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27960 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify conditions in direct3d vo: remove == 1, change == 0 to ! etc.reimar2008-11-191-12/+13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27959 b3059339-0415-0410-9bf9-f77b7e298cf2
* Cosmetics, mostly line shifting to match English masterreynaldo2008-11-182-509/+483
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27958 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing "static" qualifiers to vo_direct3dreimar2008-11-181-18/+18
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27957 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100l, the video_out_drivers list must be sorted by priority, notreimar2008-11-181-3/+3
| | | | | | | alphabetically. For now, vo_directx should be preferred over vo_direct3d. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27956 b3059339-0415-0410-9bf9-f77b7e298cf2
* Direct3D based video_out module.reimar2008-11-185-0/+785
| | | | | | | | Patch by Georgi Petrov (gogothebee gmail com) Panscan handling is still disabled and needs to be fixed for negative -panscan. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27955 b3059339-0415-0410-9bf9-f77b7e298cf2
* Doxygen documentation for w32_common.creimar2008-11-181-0/+98
| | | | | | Patch by Georgi Petrov (gogothebee gmail com) with several modifications by me. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27954 b3059339-0415-0410-9bf9-f77b7e298cf2
* On OpenBSD socklen_t is defined at sys/types.h, so latter is addedbircoph2008-11-181-1/+1
| | | | | | | to the header search path. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27953 b3059339-0415-0410-9bf9-f77b7e298cf2
* Trivial, Cosmeticsreynaldo2008-11-182-88/+83
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27952 b3059339-0415-0410-9bf9-f77b7e298cf2
* Trivial, Cosmeticsreynaldo2008-11-182-17/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27951 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add some more missing messagesreynaldo2008-11-181-0/+26
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27950 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100l, missing ' s' in sed command, probably caused all decoders to bereimar2008-11-171-1/+1
| | | | | | disabled when zlib is not available. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27949 b3059339-0415-0410-9bf9-f77b7e298cf2
* Only enable CONFIG_FFT_MMX if both yasm and MMX are enabled.diego2008-11-171-1/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27948 b3059339-0415-0410-9bf9-f77b7e298cf2
* Set _have_yasm to "no" if yasm detection failed.diego2008-11-171-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27947 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove a useless XGetGeometry call, the X11 event handling alreadyreimar2008-11-171-5/+0
| | | | | | | updates vo_dwidth/vo_dheight. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27946 b3059339-0415-0410-9bf9-f77b7e298cf2
* Put variable declaration inside an #ifdef to avoid an unused variable warning.diego2008-11-171-2/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27945 b3059339-0415-0410-9bf9-f77b7e298cf2
* Allow compilation with icc 10.1.cehoyos2008-11-171-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27944 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix build: Remove some references to sections that no longer exist.diego2008-11-162-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27943 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get rid of (besides useless assignments) unused XSizeHints variablereimar2008-11-161-7/+0
| | | | | | in vo_xvmc. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27942 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix missing -DARCH_X86_64 for yasm on x86_64.reimar2008-11-161-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27941 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add yasm support to the build system.bircoph2008-11-162-3/+58
| | | | | | | | This allows to use yasm assembler optimizations from FFmpeg code, in particular, from libavcodec/fft.c. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27940 b3059339-0415-0410-9bf9-f77b7e298cf2
* synced with r27938Gabrov2008-11-163-630/+44
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27939 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use 64 bit numbers for file positions in the seek function in audio demuxer.reimar2008-11-161-1/+1
| | | | | | | Hopefully fixes seeking in wav files in-between 2 and 4 GB. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27938 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove explicit setting of vo_ontop since that is already done by ↵reimar2008-11-158-22/+0
| | | | | | vo_x11_create_vo_window git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27937 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove a duplicated vo_x11_selectinput_witherrreimar2008-11-151-8/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27936 b3059339-0415-0410-9bf9-f77b7e298cf2
* respect -vf dsize etc. also for -rootwin, just like vo_xv does.reimar2008-11-151-10/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27935 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix phrase to maintain consistency.bircoph2008-11-151-5/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27934 b3059339-0415-0410-9bf9-f77b7e298cf2
* Sync with vo_x11: make sure we get expose events even when drawing to the ↵reimar2008-11-151-1/+2
| | | | | | root window. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27933 b3059339-0415-0410-9bf9-f77b7e298cf2
* Synced with r26763.bircoph2008-11-151-34/+117
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27932 b3059339-0415-0410-9bf9-f77b7e298cf2
* On Darwin, don't use hostinfo on _all_ x86 variants to detect the running CPU,gpoirier2008-11-151-1/+1
| | | | | | | | | use cpuinfo instead. This allows MPlayer to get one step closer to building in 64 bits mode on Darwin, if one passes --target=x86_64-darwin to configure. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27931 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100l, stream->cache_pid can not be used directly in pthread_create,reimar2008-11-151-1/+5
| | | | | | | it has the wrong type. Luckily we currently do not need the value anyway. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27930 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove a nonsensical "else" for the video mode switching case.reimar2008-11-151-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27929 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use pthreads for the cache on Cygwin, since _beginthread is not availablereimar2008-11-151-11/+27
| | | | | | | | and the previous CreateThread method would probably leak memory here, too. Also pthreads seems to be the official Cygwin threading API. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27928 b3059339-0415-0410-9bf9-f77b7e298cf2
* include limits.h for INT_MAX.reimar2008-11-151-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27927 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove now unused variables.reimar2008-11-153-12/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27926 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use vo_dwidth/vo_dheight for creating the windows instead of d_width/d_height.reimar2008-11-152-2/+2
| | | | | | | This fixes the -vm bug that the created window is too small. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27925 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify vo_vm_switch and vo_vm_close, everyone was using the (almost) samereimar2008-11-155-59/+26
| | | | | | | boiler-plate code with them, just with different bugs. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27924 b3059339-0415-0410-9bf9-f77b7e298cf2
*