summaryrefslogtreecommitdiffstats
path: root/libvo
Commit message (Collapse)AuthorAgeFilesLines
* Move struct typedef pixbuf into the only .c file where it is used.reimar2010-02-162-7/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30603 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove useless malloc casts.reimar2010-02-161-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30602 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused XPM-loading function pixbuf_load_xpm() from spuenc.c.reimar2010-02-162-48/+0
| | | | | | | Remove unused function pixbuf_delete() from spuenc.[ch]. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30601 b3059339-0415-0410-9bf9-f77b7e298cf2
* libvo: Mark functions not used outside of their files as static.diego2010-02-168-24/+43
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30598 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused variable.reimar2010-02-141-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30589 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use memset to initialize huge arrays.reimar2010-02-141-2/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30588 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove pointless explicit member initialization to 0 when the structreimar2010-02-141-17/+0
| | | | | | | is already zeroed. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30587 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use calloc instead of malloc+memsetreimar2010-02-141-2/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30586 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add xscreensaver_heartbeat() declaration to x11_common.h.diego2010-02-141-0/+1
| | | | | | | This avoids a forward declaration in mplayer.c. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30574 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix exit_player() usage throughout the codebase.diego2010-02-145-24/+22
| | | | | | | | | | exit_player() was declared with differing parameter types in mplayer.c and mplayer.h. Make the declaration in the .h file match the one in the .c file and adjust all usages of exit_player() throughout the codebase. Also move the exit_player() declaration into mp_core.h next to exit_player_with_rc(). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30558 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix hang with -fixed-vo due to VOFLAG_HIDDEN never being removed from ↵reimar2010-02-051-0/+1
| | | | | | window_state. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30514 b3059339-0415-0410-9bf9-f77b7e298cf2
* Print messages only after we are sure preinit will not fail anymore.reimar2010-02-051-5/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30510 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add support for VOFLAG_HIDDEN to the w32 backend.reimar2010-02-041-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30509 b3059339-0415-0410-9bf9-f77b7e298cf2
* Set the PixelFormat right after creating the window and set it only once.reimar2010-02-041-23/+23
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30508 b3059339-0415-0410-9bf9-f77b7e298cf2
* Create the OpenGL probe window as a hidden Window on X11.reimar2010-02-043-3/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30507 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100l: Fix compilation (broken by me).cehoyos2010-02-041-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30504 b3059339-0415-0410-9bf9-f77b7e298cf2
* Clarify -vo vdpau:pullupcehoyos2010-02-041-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30503 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use vo_x11_clearwindow instead of XClearWindow, both for consistency and alsoreimar2010-02-031-1/+1
| | | | | | | | because vo_x11_clearwindow works as intended also when the background is set to None. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30497 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove a duplicated vo_x11_sizehint, vo_x11_nofs_sizepos already calls thisreimar2010-02-021-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30493 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove pointless initializers and also set geometry_*_changed to 0 whenreimar2010-02-021-7/+5
| | | | | | | | -geometry did not adjust some values (instead of only ever setting them to 1 and never reset them). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30492 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add support for autodetection during preinit and use that to detect a defaultreimar2010-02-021-22/+42
| | | | | | | value for the yuv suboption. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30489 b3059339-0415-0410-9bf9-f77b7e298cf2
* Avoid using options before autodetectGlExtensions to allow it to change them ↵reimar2010-02-021-5/+3
| | | | | | properly. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30488 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove vo_config_count check from uninit, it should always be safe to run.reimar2010-02-021-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30487 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing #include, fixes the warning:diego2010-01-301-0/+1
| | | | | | | libvo/vo_png.c:147: warning: implicit declaration of function 'imgfmt2pixfmt' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30469 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing license header and multiple inclusion guards.diego2010-01-301-0/+23
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30456 b3059339-0415-0410-9bf9-f77b7e298cf2
* Try the more specific names first for the SwapInterval function to make it lessreimar2010-01-281-1/+1
| | | | | | | likely we get an incompatible one. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30451 b3059339-0415-0410-9bf9-f77b7e298cf2
* glXSwapIntervalEXT is defined to take different arguments from ↵reimar2010-01-281-1/+1
| | | | | | | | | | glXSwapIntervalSGI, so do not try to use it. Patch by Stephen Warren [swarren nvidia com] git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30450 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change GUID declarations in vo_directx to be static.reimar2010-01-171-2/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30343 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add support for adjustable TV <-> PC level conversion.reimar2010-01-164-4/+32
| | | | | | | | This could also be done by modifying contrast and brightness, but this seems a bit more flexible and easier to use. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30335 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove a check that simply can not have worked since it relied on a completelyreimar2010-01-121-2/+1
| | | | | | | uninitialized variable. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30292 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix fbdev2 to work with Intel framebuffer.reimar2010-01-091-2/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30249 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix vo_fbdev to also work with Intel framebuffer.reimar2010-01-091-4/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30248 b3059339-0415-0410-9bf9-f77b7e298cf2
* vo_png now depends on libavcodec, not libpng.diego2010-01-051-1/+1
| | | | | | | patch by Emanuele Giaquinta, emanuele.giaquinta gmail com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30225 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change license terms for matrixview to GPLv2 "or later", all knownreimar2010-01-051-2/+3
| | | | | | | | authors have agreed to it, and current upstream (matrixgl.sourceforge.net) was already relicensed as well. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30224 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing header #includes to fix 'make checkheaders'.diego2010-01-042-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30208 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused variable; fixes the warning:diego2010-01-041-1/+0
| | | | | | | libvo/csputils.c:67: warning: unused variable 'yuv_tv_level_adjust' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30206 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing license headers for vo_matrixview code.diego2010-01-042-0/+36
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30203 b3059339-0415-0410-9bf9-f77b7e298cf2
* Refer to MatrixView instead of MPlayer in code taken from MatrixView.diego2010-01-041-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30202 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove ARGB support from matrixview vo, it is quite pointless and causesreimar2010-01-041-1/+0
| | | | | | | compilation failure on big-endian. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30198 b3059339-0415-0410-9bf9-f77b7e298cf2
* prettyprinting cosmeticsdiego2010-01-043-66/+71
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30195 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make vo gl print the OpenGL vendor and version strings.reimar2010-01-031-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30193 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace deprecated sws_scale_ordered usages by sws_scale (which does the same).reimar2010-01-033-5/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30192 b3059339-0415-0410-9bf9-f77b7e298cf2
* Avoid memleaks when vo_direct3d initialization fails.reimar2010-01-031-8/+14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30191 b3059339-0415-0410-9bf9-f77b7e298cf2
* Modify -vo direct3d so we do not have to link against d3d9.dll, it mightreimar2010-01-031-2/+19
| | | | | | | | not be available on some rare systems. Based on patch used for builds by Gianluigi Tiesi [sherpya netfarm it] git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30190 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change vo_png to use FFmpeg's png encoder instead of libpng.reimar2010-01-031-113/+44
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30186 b3059339-0415-0410-9bf9-f77b7e298cf2
* Finally add matrixview vo.reimar2010-01-035-0/+1315
| | | | | | | | Heavily cleaned up/fixed etc. by me, improvements are still possible though. Patch originally by Pigeon <pigeon at pigeond.net> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30182 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add pointers to a few more standard OpenGL functions to ease future extensions.reimar2010-01-032-0/+33
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30179 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fixup SDL configure check:reimar2010-01-031-0/+4
| | | | | | | | | | - Make it work without sdl-config which adds at least useless or even hurtful cflags and also does not work for cross-compiling - If using sdl-config, make it use the CFLAGS we actually use for compiling instead of something else. Thus #undef main is needed in the test program. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30178 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not assume that "long" is the size of a register.reimar2010-01-032-8/+10
| | | | | | | Fixes aclib compilation on mingw64 (with --enable-runtime-cpudetection). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30177 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify range-checking functions for subopt parsing.reimar2010-01-012-6/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30165 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix function declarations to avoid casting function pointers.reimar2010-01-0110-24/+28
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30164 b3059339-0415-0410-9bf9-f77b7e298cf2
* Slightly generalize code to generate YUV->RGB conversion table and addreimar2010-01-013-21/+37
| | | | | | | XYZ->RGB conversion as an example for that. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30163 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make YUV->RGB conversion coefficients selectable for -vo gl.reimar2010-01-011-1/+16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30161 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add support for 16-bit per component YUV formats.reimar2009-12-313-5/+20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30152 b3059339-0415-0410-9bf9-f77b7e298cf2
* First steps to supporting different YUV->RGB conversion definitions.reimar2009-12-314-10/+50
| | | | | | | The numbers are possibly still wrong though. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30151 b3059339-0415-0410-9bf9-f77b7e298cf2
* Extract functions to generate yuv->rgb matrices and lookup tables into areimar2009-12-314-111/+168
| | | | | | | separate file. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30150 b3059339-0415-0410-9bf9-f77b7e298cf2
* Put the colourspace-related variables into a separate struct to easereimar2009-12-314-15/+20
| | | | | | | extracting the code and sharing with other vos. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30149 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support all planar YUV formats in OpenGL vos.reimar2009-12-304-58/+97
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30139 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move do_render_osd function to avoid a forward declaration.reimar2009-12-271-32/+30
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30126 b3059339-0415-0410-9bf9-f77b7e298cf2
* vo_x11_classhint name argument should be const, since we pass string ↵reimar2009-12-272-2/+2
| | | | | | constants there. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30125 b3059339-0415-0410-9bf9-f77b7e298cf2
* Some ugly hacks to make compiling against a newer external version of libass ↵reimar2009-12-243-0/+3
| | | | | | work. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30107 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove more direct includes of libass/ass.hreimar2009-12-242-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30105 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change %f to %e in generated fragment programs to avoid losing precision ↵reimar2009-12-201-26/+26
| | | | | | unnecessarily. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30078 b3059339-0415-0410-9bf9-f77b7e298cf2
* Slightly improve vo_gl suboption documentation.reimar2009-12-191-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30075 b3059339-0415-0410-9bf9-f77b7e298cf2
* Define GL_GENERATE_MIPMAP ourselves if necessary.reimar2009-12-191-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30074 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add support for auto-generating mipmaps in vo_gl, should easereimar2009-12-191-3/+15
| | | | | | | implementing anything that needs blur filters with large support. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30072 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make -vo gl:customprog also work with RGB input (obviously those need to bereimar2009-12-191-17/+15
| | | | | | | special RGB fragment programs). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30071 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix a broken indentation.reimar2009-12-191-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30070 b3059339-0415-0410-9bf9-f77b7e298cf2
* Enable running fragment programs with YUV_CONVERSION_NONEreimar2009-12-191-2/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30069 b3059339-0415-0410-9bf9-f77b7e298cf2
* Rename GL_* defines to CONFIG_GL_*reimar2009-12-194-27/+27
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30065 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make the check for X11 and WIN32 backends for OpenGL separate.reimar2009-12-194-11/+11
| | | | | | This fixes compilation on Windows with X11 but no GLX available. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30063 b3059339-0415-0410-9bf9-f77b7e298cf2
* Cosmetics: Reindent after r30050.cehoyos2009-12-171-5/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30051 b3059339-0415-0410-9bf9-f77b7e298cf2
* Slightly increase hardware decoding performance by always using morecehoyos2009-12-171-7/+0
| | | | | | | | | | video surfaces than absolutely necessary. I will revert if somebody reports real-world resource issues introduced by this commit. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30050 b3059339-0415-0410-9bf9-f77b7e298cf2
* Cosmetics: reindentadrian2009-12-171-22/+22
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30049 b3059339-0415-0410-9bf9-f77b7e298cf2
* Improve VDPAU render performance by increasing number of output surfaces.cehoyos2009-12-171-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30048 b3059339-0415-0410-9bf9-f77b7e298cf2
* The fontconfig check added in r30044 wasn't safe. This makes it more robust.adrian2009-12-161-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30046 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix a crash when fontconfig is unable to select a font. e.g. if no config ↵adrian2009-12-161-2/+7