summaryrefslogtreecommitdiffstats
path: root/libvo
Commit message (Collapse)AuthorAgeFilesLines
* Make include paths consistent among files in libvo. Since -I.. is addeddiego2005-10-231-2/+2
| | | | | | | to the CFLAGS in the Makefile this should be safe. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16842 b3059339-0415-0410-9bf9-f77b7e298cf2
* make bottom alignment the default since it's the only sane mode when sub_pos ↵rfelker2005-10-231-1/+1
| | | | | | is near bottom (default) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16840 b3059339-0415-0410-9bf9-f77b7e298cf2
* reverse incorrect sub alignment change, ok'd by diegorfelker2005-10-231-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16839 b3059339-0415-0410-9bf9-f77b7e298cf2
* The conditions for bottom (2) and top (1) subtitle alignment are reversed.diego2005-10-231-1/+1
| | | | | | | patch by Paul TT < paultt == at -- hackerjournal == dot -- it > git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16835 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make a few more messages translatable by moving them into help_mp-en.h.diego2005-10-181-4/+2
| | | | | | | patch by Paul TT < paultt == at == hackerjournal == dot == it > git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16794 b3059339-0415-0410-9bf9-f77b7e298cf2
* Be less verbose.reimar2005-10-131-4/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16752 b3059339-0415-0410-9bf9-f77b7e298cf2
* use subopt parser for arguments.joey2005-10-101-55/+45
| | | | | | | | change all printf to mp_msg. update man page gif89a example. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16722 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make fragment program snprintf less confusing.reimar2005-10-031-14/+29
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16649 b3059339-0415-0410-9bf9-f77b7e298cf2
* documentation update.reimar2005-10-012-2/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16627 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support for ATI specific YUV->RGB conversion.reimar2005-10-012-17/+154
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16626 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing GL_REGISTER_COMBINERS_NV definereimar2005-09-271-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16609 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add -panscanrange optionreimar2005-09-271-0/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16608 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix/improve code doxumentation. Also group gl_common functions in severalreimar2005-09-253-7/+59
| | | | | | | doxygen modules git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16596 b3059339-0415-0410-9bf9-f77b7e298cf2
* debugging/testing helpers: allow forcing a certain width/height for texturesreimar2005-09-251-0/+13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16595 b3059339-0415-0410-9bf9-f77b7e298cf2
* Allow specifying a custom (ppm) texture for texture unit 3reimar2005-09-251-0/+30
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16594 b3059339-0415-0410-9bf9-f77b7e298cf2
* support loading a texture from a PPM filereimar2005-09-252-0/+62
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16593 b3059339-0415-0410-9bf9-f77b7e298cf2
* panscan supportreimar2005-09-251-0/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16591 b3059339-0415-0410-9bf9-f77b7e298cf2
* contrast 0 should lead to a grey, not a black imagereimar2005-09-251-0/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16590 b3059339-0415-0410-9bf9-f77b7e298cf2
* get rid of global getProcAddress variablereimar2005-09-251-7/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16589 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support rectangular texture in fragment programsreimar2005-09-254-19/+27
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16587 b3059339-0415-0410-9bf9-f77b7e298cf2
* Several bugfixes:reimar2005-09-251-3/+5
| | | | | | | | | black OSD border with scaled-osd draw only used parts of image (looks weird with equalizer controls otherwise) clear borders when switching to fullscreen when using -nodouble git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16585 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix crashes and green border when using YV12 input formatreimar2005-09-251-11/+13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16584 b3059339-0415-0410-9bf9-f77b7e298cf2
* texture units do not need to be explicitly enabled when using a fragmentreimar2005-09-251-14/+10
| | | | | | | program. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16583 b3059339-0415-0410-9bf9-f77b7e298cf2
* Missing break for WM_SYSCOMMAND handling.reimar2005-09-161-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16500 b3059339-0415-0410-9bf9-f77b7e298cf2
* hardware color-space conversion for vo_gl and vo_gl2reimar2005-09-144-7/+759
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16489 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix MMX accelerated RGB24 OSD, fixes "ugly OSD with -vo gl2".reimar2005-09-131-2/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16484 b3059339-0415-0410-9bf9-f77b7e298cf2
* Allow disabling the glFinish callreimar2005-09-131-5/+20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16476 b3059339-0415-0410-9bf9-f77b7e298cf2
* Improved glFindFormatreimar2005-09-132-5/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16475 b3059339-0415-0410-9bf9-f77b7e298cf2
* - improved performance on truecolor modesdiego2005-09-131-127/+134
| | | | | | | | - fixed all known bugs, i.e. palette mode works right again patch by Christoph Egger < Christoph_Egger -- at -- gmx -- dot -- de > git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16471 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use GL_CLAMP_TO_EDGE instead of GL_CLAMP to avoid border texels being sampled.reimar2005-09-121-2/+4
| | | | | | | | This avoids some ugly effects when vo_gl2 uses multiple textures. (Note to self: read the specs instead of just copying the old code!). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16462 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix border color (forgot to divide by 255.0).reimar2005-09-122-3/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16461 b3059339-0415-0410-9bf9-f77b7e298cf2
* Respect -nodouble even though it looks very bad.reimar2005-09-111-1/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16459 b3059339-0415-0410-9bf9-f77b7e298cf2
* Set texture border color to avoid weird border colors in some rare cases.reimar2005-09-091-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16438 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing doxygen comment for clearOSD()reimar2005-09-091-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16437 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix a typo in a commentreimar2005-09-091-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16436 b3059339-0415-0410-9bf9-f77b7e298cf2
* gl_buffer should be unsignedreimar2005-09-091-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16435 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add an uninit function.reimar2005-09-091-15/+29
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16434 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace remaining tabs by spaces.diego2005-09-081-14/+14
| | | | | | | patch by Christoph Egger <Christoph_Egger -- at -- gmx -- dot -- de> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16427 b3059339-0415-0410-9bf9-f77b7e298cf2
* Switch indentation over to K&R style, replace all tabs by spaces.diego2005-09-061-296/+275
| | | | | | | patch by Christoph Egger <Christoph_Egger -- at -- gmx -- dot -- de> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16410 b3059339-0415-0410-9bf9-f77b7e298cf2
* Properly initialize osdtexCntreimar2005-09-051-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16398 b3059339-0415-0410-9bf9-f77b7e298cf2
* OSD alpha conversion index out of rangereimar2005-09-051-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16397 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support equalizer.reimar2005-09-041-0/+18
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16389 b3059339-0415-0410-9bf9-f77b7e298cf2
* mplayer osx shared video buffernplourde2005-09-041-30/+88
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16386 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add -I../libavutil to the includes to fix building vo_zr[2].diego2005-09-011-0/+6
| | | | | | | patch by Corey Hickey <bugfood-ml - at - fatooh - dot - org> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16332 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix texture format variable types. Internal format is GLint, others are GLenumreimar2005-08-254-6/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16304 b3059339-0415-0410-9bf9-f77b7e298cf2
* Slightly reduce unnecessary verbosity.diego2005-08-242-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16302 b3059339-0415-0410-9bf9-f77b7e298cf2
* DestroyWindow must be used when -wid was not given, so for WinID < 0, not >=0reimar2005-08-221-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16289 b3059339-0415-0410-9bf9-f77b7e298cf2
* -wid support for windows. Not well tested, might still behave a bit weird.reimar2005-08-213-4/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16283 b3059339-0415-0410-9bf9-f77b7e298cf2
* remove extern for variables that are already in headers.reimar2005-08-2110-38/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16281 b3059339-0415-0410-9bf9-f77b7e298cf2
* less weird OSD alpha transformation.reimar2005-08-191-2/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16273 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not set SwapInterval for values < 0.reimar2005-08-191-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16272 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix crash in windowsreimar2005-08-192-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16271 b3059339-0415-0410-9bf9-f77b7e298cf2
* automatic vsync enabling for vo_gl.reimar2005-08-193-0/+22
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16269 b3059339-0415-0410-9bf9-f77b7e298cf2
* gtf.{c,h} is used by vesa onlyalex2005-08-182-2/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16265 b3059339-0415-0410-9bf9-f77b7e298cf2
* use libvbe from vesautilsalex2005-08-181-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16257 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get events from -wid window.reimar2005-08-162-0/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16240 b3059339-0415-0410-9bf9-f77b7e298cf2
* Our buffer usage actually fits better to GL_DYNAMIC_DRAW than GL_STREAM_DRAW.reimar2005-08-162-1/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16238 b3059339-0415-0410-9bf9-f77b7e298cf2
* OSD textures can be deleted with one function call...reimar2005-08-161-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16237 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make glFinish optionalreimar2005-08-161-0/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16236 b3059339-0415-0410-9bf9-f77b7e298cf2
* use GenBuffers to get a buffer number instead of hardcoding 1.reimar2005-08-163-3/+17
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16234 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l, initializers don't work without a declaration :-(reimar2005-08-141-2/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16227 b3059339-0415-0410-9bf9-f77b7e298cf2
* use glUploadTex helper functionreimar2005-08-141-12/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16225 b3059339-0415-0410-9bf9-f77b7e298cf2
* extra check for glUploadTex to avoid a possible hang.reimar2005-08-141-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16224 b3059339-0415-0410-9bf9-f77b7e298cf2
* textures smaller 64x64 might not be supportedreimar2005-08-141-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16223 b3059339-0415-0410-9bf9-f77b7e298cf2
* remove/move some unused headers/variables/codereimar2005-08-143-23/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16222 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l, texture_width/height initialization was removed, so usereimar2005-08-141-2/+2
| | | | | | | image_width/height here git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16221 b3059339-0415-0410-9bf9-f77b7e298cf2
* Helper function for drawing texture and general cleanup of vo_gl2.creimar2005-08-144-168/+66
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16215 b3059339-0415-0410-9bf9-f77b7e298cf2
* Cleanup, move declarations to beginning of block.reimar2005-08-141-7/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16214 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l, patch found in geexboxalex2005-08-111-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16197 b3059339-0415-0410-9bf9-f77b7e298cf2
* Forgot to actually enable vo_gl on Windows...reimar2005-08-061-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16182 b3059339-0415-0410-9bf9-f77b7e298cf2
* Missed one uint32_t declaration.ivo2005-08-051-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16173 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix the return types of all (six) libvo API functions. Used to be uint32_t, butivo2005-08-0546-261/+261
| | | | | | | | return values can be negative (VO_ERROR, VO_NOTAVAIL and VO_NOTIMPL), so it's changed to int now. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16172 b3059339-0415-0410-9bf9-f77b7e298cf2
* exit kiosk mode and show mouse cursor in uninitnplourde2005-07-281-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16146 b3059339-0415-0410-9bf9-f77b7e298cf2
* properly release windownplourde2005-07-281-2/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16145 b3059339-0415-0410-9bf9-f77b7e298cf2
* More helper functions/defines and bugfixesreimar2005-07-273-65/+153
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16118 b3059339-0415-0410-9bf9-f77b7e298cf2
* catch failed buffer allocationreimar2005-07-261-0/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16114 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use dlsym to get glXGetProcAddress, only way to (hopefully) make itreimar2005-07-261-6/+27
| | | | | | | compile everywhere since the gl/glx headers are such a mess... git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16112 b3059339-0415-0410-9bf9-f77b7e298cf2
* OpenGL fixes for windows and vo_gl.c ported to windows.reimar2005-07-265-4/+48
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16110 b3059339-0415-0410-9bf9-f77b7e298cf2
* support for rectangular and streaming textures.reimar2005-07-263-30/+213
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16100 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use DRAW_IMAGE instead of draw_framereimar2005-07-251-22/+28
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16093 b3059339-0415-0410-9bf9-f77b7e298cf2
* restore window shadow when quitting fullscreen modenplourde2005-07-241-1</