summaryrefslogtreecommitdiffstats
path: root/libvo/vo_vdpau.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'vdpau_old' into vdpauUoti Urpala2009-08-311-684/+757
|\
| * vo_vdpau.c: cosmeticsUoti Urpala2009-08-291-198/+258
| |
| * vo_vdpau: reindent after GUI code removalUoti Urpala2009-08-291-30/+28
| |
| * vo_vpdau: Clean up uninit logicUoti Urpala2009-08-291-52/+54
| |
| * vo_vdpau: Make CHECK_ST macro saferUoti Urpala2009-08-291-41/+51
| | | | | | | | Also contains a couple of changes in destroy_vdpau_objects.
| * vo_vdpau: Move all remaining static/global variables to contextUoti Urpala2009-08-291-103/+103
| |
| * vo_vdpau: Move things to context structUoti Urpala2009-08-291-254/+257
| |
| * vo_vdpau: Make info struct constUoti Urpala2009-08-291-1/+1
| |
| * vo_vdpau: Replace global function table with context variableUoti Urpala2009-08-291-91/+148
| |
| * vo_vdpau: Move VDPAU interface pointers into one structUoti Urpala2009-08-291-53/+55
| | | | | | | | | | | | Replace a bunch of vdp_* function pointer variables with one struct. A variable that was before named "vdp_xyz" is now the struct field "vdp.xyz".
| * vo_vdpau: Add template file for VDPAU functionsUoti Urpala2009-08-291-86/+7
| | | | | | | | | | | | | | | | Add a template file that contains a single listing of various information needed about the VDPAU interface functions, and is then included multiple times to create required declarations and tables. Previously some of the information needed to be duplicated for each of those uses.
| * vo_vdpau: Make compile as new-style VOUoti Urpala2009-08-291-78/+97
| |
| * vo_vdpau: Delete GUI stuff, include font_load.h for force_load_fontUoti Urpala2009-08-291-8/+1
| | | | | | | | font_load.h was previously included through gui/interface.h
* | Change type names to match upstream libassGrigori Goronzy2009-08-071-2/+2
| |
* | Remove internal libass treeUoti Urpala2009-07-261-2/+1
| | | | | | | | | | Remove the libass/ directory and use the newest standalone version of the library instead.
* | Remove the internal GUIAnton Khirnov2009-07-071-9/+1
| | | | | | | | | | | | | | | | | | The GUI is badly designed and too closely coupled to the internal details of other code. The GUI code is in bad shape and unmaintained for years. There is no indication that anyone would maintain it in the future either. Even if someone did volunteer to implement a better integrated GUI having the current code in the tree probably wouldn't help much. So get rid of it.
* | Remove trailing whitespace from most filesUoti Urpala2009-07-071-1/+1
|/
* Merge svn changes up to r29277Uoti Urpala2009-05-081-1/+3
|\
| * Do not use flag CWBackPixel when calling vo_x11_create_vo_window():cehoyos2009-05-081-1/+3
| | | | | | | | | | | | | | | | | | It leads to VDPAU errors after video aspect ratio changes. Patch by Stephen Warren. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29276 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge branch 'ordered_chapters'Uoti Urpala2009-04-081-1/+0
|\ \
| * | VO: Don't reset pause status in VO config() functionsUoti Urpala2009-04-021-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | Many VOs kept track of pause status, but reset the value when their config() function was called. However it can be called while playback stays in pause mode. Modify the VOs to not change anything in config(). Also send the VO either VOCTRL_PAUSE or VOCTRL_RESUME when the playback of a new file is starting to make sure they have the right status.
* | | Merge svn changes up to r29117Uoti Urpala2009-04-011-55/+152
|\ \ \ | |/ / |/| / | |/
| * Support IMGFMT_NV12 for vo vdpau.cehoyos2009-03-301-0/+6
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29109 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Make sure we do not accidentally use the vdp_get_error_string from thereimar2009-03-301-0/+1
| | | | | | | | | | | | | | previous initialization. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29106 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Add support for IMGFMT_YUY2 and IMGFMT_UYVY to vo vdpau.cehoyos2009-03-291-2/+20
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29105 b3059339-0415-0410-9bf9-f77b7e298cf2
| * VDPAU supports IMGFMT_I420 and IMGFMT_IYUV.cehoyos2009-03-291-0/+2
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29104 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Cosmetics: Reindent after last commit.cehoyos2009-03-291-1/+1
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29094 b3059339-0415-0410-9bf9-f77b7e298cf2
| * 10l: Don't use MP_IMGFIELD_TOP_FIRST if MP_IMGFIELD_ORDERED is not set.cehoyos2009-03-291-0/+3
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29093 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Simplify vdpau deinterlacing code and fix timing for deint=2.cehoyos2009-03-251-7/+7
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29061 b3059339-0415-0410-9bf9-f77b7e298cf2
| * New VDPAU deinterlacing code needs one reference surface less for software ↵cehoyos2009-03-241-1/+1
| | | | | | | | | | | | decoding. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29053 b3059339-0415-0410-9bf9-f77b7e298cf2
| * New vdpau deinterlacing code needs one reference surface less.cehoyos2009-03-241-6/+5
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29052 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Stephen Warren reported that VDPAU deinterlacing did not work correctly.cehoyos2009-03-241-4/+10
| | | | | | | | | | | | | | New static function push_deint_surface() by Reimar. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29051 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Change function call order in config().cehoyos2009-03-221-10/+5
| | | | | | | | | | | | | | | | This stops creating a window even if hardware decoding is certainly going to fail. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29040 b3059339-0415-0410-9bf9-f77b7e298cf2
| * 10l: Only try to create vdpau decoder if hardware decoding is intended.cehoyos2009-03-211-1/+1
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29028 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Test if create_vdp_decoder() might succeed by calling it from config()cehoyos2009-03-211-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | with a small value for max_reference_frames. This does not make automatic recovery by using software decoder possible, but lets MPlayer fail more graciously on - actually existing - buggy hardware that does not support certain H264 widths when using hardware accelerated decoding (784, 864, 944, 1024, 1808, 1888 pixels on NVIDIA G98) and if the user tries to hardware-decode more samples at the same time than supported. Might break playback of H264 Intra-Only samples on hardware with very little video memory. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29027 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Change return value for create_vdp_decoder().cehoyos2009-03-211-3/+3
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29026 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Factorize create_vdp_decoder().cehoyos2009-03-211-32/+40
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29024 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Allow to use vdpau temporal deinterlacers with hardware accelerated decoding.cehoyos2009-03-181-4/+24
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28991 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Add chroma-deint option to vo vdpau (nochroma-deint speeds up deinterlacing).cehoyos2009-03-161-0/+11
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28979 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Move initialisation of deint_surfaces[] to free_video_specific().cehoyos2009-03-151-4/+4
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28971 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Update -vo vdpau command line help.cehoyos2009-03-151-4/+4
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28970 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Cosmetics: Fix whitespace.cehoyos2009-03-151-1/+1
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28969 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Initial support for advanced VDPAU deinterlacers (software-decoded videocehoyos2009-03-151-9/+34
| | | | | | | | | | | | | | | | | | only). With a lot of help from Reimar git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28968 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r28951Uoti Urpala2009-03-141-1/+2
|\|
| * Output number of reference frames before creating H264 vdpau decoder.cehoyos2009-03-091-0/+1
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28927 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Make data related to suboption parsing const in libvoreimar2009-03-071-1/+1
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28863 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r28862Uoti Urpala2009-03-071-5/+68
|\|
| * Remove duplicate OSD drawing introduced due to a conflict between r28840 and ↵reimar2009-03-061-3/+1
| | | | | | | | | | | | r28839. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28842 b3059339-0415-0410-9bf9-f77b7e298cf2
| * As for vo_gl, do not rely on draw_osd to render EOSD.reimar2009-03-061-1/+6
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28840 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Draw EOSD with VOCTRL_DRAW_EOSD instead of along with OSD.greg2009-03-061-1/+1
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28839 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Make sure all output_surfaces are initialized in preinit.reimar2009-03-041-1/+1
| | | | | | | | | | | | | | Patch by Dan Oscarsson [Dan Oscarsson (at) tietoenator com] git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28809 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Use M_PI for pi.cehoyos2009-02-281-2/+3
| | | | | | | | | | | | | | Suggested by Reimar. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28764 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Make VdpVideoMixerAttribute attributes[] static const.cehoyos2009-02-281-1/+1
| | | | | | | | | | | | | | Suggested by Reimar. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28763 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Support brightness, contrast, hue and saturation adjustments viacehoyos2009-02-281-2/+54
| | | | | | | | | | | | | | | | | | custom color space conversion matrices in VDPAU. Patch by Grigori Goronzy, greg A chown D ath D cx git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28760 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Fix OSD for vo vdpau:deint>1.cehoyos2009-02-281-1/+3
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28759 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Handle vdp_decoder_create failures better, in particular avoid unrelatedreimar2009-02-281-0/+5
| | | | | | | | | | | | | | error messages and retry creating a decoder. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28758 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r28755Uoti Urpala2009-02-281-18/+34
|\|
| * Do not forget the chosen deinterlacer for -vo vdpau.cehoyos2009-02-271-0/+6
| | | | | | | | | | | | | | | | Make temporal deinterlacing standard when pressing "D" to activate deinterlacer. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28744 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Add one-field-only output for -vo vdpau.cehoyos2009-02-271-6/+7
| | | | | | | | | | | | | | Change syntax of -vo vdpau:deint for the last time. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28743 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Document that all vdpau deinterlacers respect -field-dominance.cehoyos2009-02-271-1/+1
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28742 b3059339-0415-0410-9bf9-f77b7e298cf2
| * 10l: Remove debug printf() from last commit.cehoyos2009-02-261-1/+0
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28737 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Support "D" to (de-)activate deinterlacing when using vo vdpau.cehoyos2009-02-261-0/+7
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28736 b3059339-0415-0410-9bf9-f77b7e298cf2
| * 10l: Add missing braces for VOCTRL_GET_EOSD_RES.cehoyos2009-02-251-2/+4
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28734 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Change code to actually work when NUM_OUTPUT_SURFACES is changed.reimar2009-02-251-9/+10
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28731 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r28728Uoti Urpala2009-02-251-19/+33
|\|
| *