summaryrefslogtreecommitdiffstats
path: root/libvo
Commit message (Collapse)AuthorAgeFilesLines
* Merge svn changes up to r30165Uoti Urpala2010-01-0814-206/+394
|\
| * 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
* | Merge svn changes up to r30136Uoti Urpala2009-12-303-34/+32
|\| | | | | | | Ignore another broken correct-pts change in 30134.
| * 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
* | Merge svn changes up to r30104Uoti Urpala2009-12-303-51/+66
|\| | | | | | | Ignore the broken correct-pts change in r30100.
| * 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
* | Merge svn changes up to r30065Uoti Urpala2009-12-294-26/+26
|\|
| * 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
* | Merge svn changes up to r30055Uoti Urpala2009-12-186-287/+539
|\|
| * 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
| | | | | | | | | | | | directory could be found. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30044 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Add support for -geometry to corevideo.adrian2009-12-151-8/+12
| | | | | | | | | | | | | | Based on a patch by Tim Wojtulewicz (timwoj at ieee dot org). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30043 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Add -xineramascreen support to corevideo vo. Still prefer corevideo's own ↵adrian2009-12-151-0/+3
| | | | | | | | | | | | device_id parameter if it's set. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30042 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Use a fallback to make sure the basic OpenGL functions are available instead ofreimar2009-12-091-45/+55
| | | | | | | | | | | | | | initializing them which does not work well with reinitializations. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29984 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Prefer GLAPIENTRY over APIENTRY, it is the better name and used more by ↵reimar2009-12-092-142/+142
| | | | | | | | | | | | OpenGL headers. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29983 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Pass all OpenGL functions through a function pointer indirection.reimar2009-12-083-124/+251
| | | | | | | | | | | | | | | | This still needs more work, but should allow supporting e.g. GLX-OpenGL and Win32-OpenGL with a single binary. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29981 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Very preliminary code to allow selecting the OpenGL backend at runtime.reimar2009-12-084-73/+153
| | | | | | | | | | | | | | | | | | Works in the currently supported cases for only Win32 and only X11, the mixed case is not working yet though. But applied anyway since the code is slightly less messy than the current one. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29980 b3059339-0415-0410-9bf9-f77b7e298cf2
* | vf_vo: Use vo_seek_reset() instead of vo_control()Uoti Urpala2009-12-021-2/+0
| | | | | | | | | | | | | | | | | | Change the vo_control(vo, VOCTRL_RESET, NULL) call done when the vf_vo filter is uninited to vo_seek_reset(vo). The latter also sets vo->frame_loaded to false. Remove the vo->config_ok check from vo_seek_reset(). The reset call should be doable even if config failed.
* | vo_gl: Remove incorrect glXSwapIntervalEXT useUoti Urpala2009-11-291-1/+1
| | | | | | | | | | | | | | | | | | The list of OpenGL extension function names to try for setting the swapinterval value contained "glXSwapIntervalEXT". Such a function exists in the extension GL_EXT_swap_control but takes different arguments than vo_gl expects, so trying to use it from the current code would lead to unpredictable behavior. Remove it from the list of functions to use.
* | vo_vdpau.c: Fix compilation with old libvdpau versionsUoti Urpala2009-11-291-2/+2
| | | | | | | | | | | | | | Misplaced #endif broke compilation with old libvdpau versions that lack VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L1 #define. Also add missing space to the text in related mp_msg() call.
* | Merge svn changes up to r29962Uoti Urpala2009-11-235-12/+60
|\|
| * 100l, forgot to apply vo_w32_get_dc/vo_w32_release_dc declarations in ↵reimar2009-11-221-0/+2
| | | | | | | | | | | | | | | | | | w32_common.h Should fix compilation on MinGW. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29960 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Print which visual glXChooseVisual chose when running in verbose mode.reimar2009-11-211-0/+1
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29948 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Move OpenGL-related messages that have large output from MSGL_V to MSGL_DGB2.reimar2009-11-211-3/+3
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29947 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Add support for Windows OpenGL rendering onto a device instead of into a window.reimar2009-11-213-8/+48
| | | | | | | | | | | | | | | | | | Has little use except for experimenting - on Windows 9x it could be used to render on monitors that were not managed by Windows, but that feature was removed in newer Windows versions. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29946 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Support RGB48NE format in OpenGL vos (only really useful once they are modifiedreimar2009-11-211-0/+4
| | | | | | | | | | | | | | to actually use GLX/WGL visuals with more than 8 bits per component if available). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29944 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Use calloc to allocate a rather large (currently 32k) array instead ofreimar2009-11-201-1/+2
| | | | | | | | | | | | | | putting it on the stack, performance should not matter much here. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29938 b3059339-0415-0410-9bf9-f77b7e298cf2
* | VO: Keep aspect by adding black bars in window mode too if necessaryUoti Urpala2009-11-201-1/+1
| | | | | | | | | | | | | | | | | | By default (without -nokeepaspect) MPlayer tries to maintain video aspect ratio by using window manager hints to keep output window aspect when resizing. Before this commit it would however scale the video to completely fill the window even if the window manager did not respect those hints. Change the behavior to add black bars like in fullscreen mode instead in this case.
* | vo_vdpau: Check return value when setting video mixer featuresUoti Urpala2009-11-171-3/+6
| |
* | cosmetics: remove some unused variablesUoti Urpala2009-11-173-6/+0
| |
* | vo_vdpau: Check return value when setting video attributesUoti Urpala2009-11-171-24/+24
| | | | | | | | | | | | | | Check the return value when setting any video mixer attribute and print an error message if the operation failed. Also simplify code by changing update_csc_matrix() to use the utility function added for this.
* | vo_xv: Support yuv colorspace changes on ATI cardsUoti Urpala2009-11-171-2/+4
| | | | | | | | | | Use the "XV_COLORSPACE" xv attribute if it exists, in addition to previously supported "XV_ITURBT_709" (which works on NVIDIA cards).
* | Merge svn changes up to r29912Uoti Urpala2009-11-166-24/+76
|\|
| * Added -name, -title and -use-filename-title options and implementation in ↵ptt2009-11-123-1/+12
| | | | | | | | | | | | X11 vos git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29904 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Do not dynamically load libvdpau.so.1, but link at compile time.cehoyos2009-11-111-20/+1
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29903 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Support VDPAU hardware accelerated decoding of MPEG-4 ASP on capablecehoyos2009-11-101-0/+4
| | | | | | | | | | | | | | | | | | hardware. Original patch by NVIDIA corporation. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29885 b3059339-0415-0410-9bf9-f77b7e298cf2
| * 100: Fix function parameters when calling create_vdp_decoder() from ↵cehoyos2009-11-101-1/+1
| | | | | | | | | | | | query_format(). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29872 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Cosmetics: Fix indentation after last commit.cehoyos2009-11-101-1/+1
| |