summaryrefslogtreecommitdiffstats
path: root/libvo/vo_vdpau.c
Commit message (Collapse)AuthorAgeFilesLines
* Documentation: Add linebreak and try to be less ambiguous.cehoyos2010-02-281-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30800 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
* Some ugly hacks to make compiling against a newer external version of libass ↵reimar2009-12-241-0/+1
| | | | | | 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-241-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30105 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
* 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
* 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
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29871 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fail in query_format() if a VDPAU decoder is not available.cehoyos2009-11-101-5/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29870 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add a default to switch(image_format), suppresses a warning after a future ↵cehoyos2009-11-101-0/+3
| | | | | | patch. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29869 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add new VDPAU feature high-quality-scaling (and require newer library).cehoyos2009-11-041-1/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29823 b3059339-0415-0410-9bf9-f77b7e298cf2
* Cosmetics: Reindent after last commit.cehoyos2009-10-271-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29799 b3059339-0415-0410-9bf9-f77b7e298cf2
* Allow image format BGRA when using vo vdpau.cehoyos2009-10-271-0/+38
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29798 b3059339-0415-0410-9bf9-f77b7e298cf2
* Implement VFCAP_FLIP for vo_vdpau.cehoyos2009-10-231-3/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29794 b3059339-0415-0410-9bf9-f77b7e298cf2
* Free memory allocated in ff_vdpau_add_data_chunk() on uninit.cehoyos2009-10-221-0/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29793 b3059339-0415-0410-9bf9-f77b7e298cf2
* Try to recover from VDPAU display pre-emptions.cehoyos2009-10-171-0/+76
| | | | | | | Original patch by Uoti. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29777 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support SMPTE-240M colourspace in vo_vdpau.cehoyos2009-10-121-3/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29771 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add colorspace option to vo_vdpau.cehoyos2009-10-101-12/+39
| | | | | | | | | Allows to use ITU-R BT.709 instead of the default ITU-R BT.601. Patch by Lauri Mylläri, lauri D myllari gmail git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29769 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Remove some pointless parentheses from return calls.diego2009-10-081-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29759 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Break two more lines.diego2009-10-081-2/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29758 b3059339-0415-0410-9bf9-f77b7e298cf2
* K&R coding style and whitespace cosmeticsdiego2009-10-061-162/+170
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29755 b3059339-0415-0410-9bf9-f77b7e298cf2
* whitespace cosmetics: Remove all trailing whitespace.diego2009-05-131-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
* 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
* 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
* 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
* 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
* 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
* Cosmetics: Fix indentation and line length.cehoyos2009-02-241-6/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28724 b3059339-0415-0410-9bf9-f77b7e298cf2
* Enable Bob de-interlacing for VDPAU.cehoyos2009-02-241-13/+26
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28719 b3059339-0415-0410-9bf9-f77b7e298cf2
* Only check for vdp_video_mixer_destroy failure when we actually executed ↵reimar2009-02-231-2/+3
| | | | | | that function. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28711 b3059339-0415-0410-9bf9-f77b7e298cf2
* EOSD/ASS support for vo_vdpau.creimar2009-02-231-1/+187
| | | | | | | Patch by Grigori G (greg <at> chown ath cx) with minor cosmetic changes by me. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28710 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add forgotten type to variable declaration.reimar2009-02-211-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28693 b3059339-0415-0410-9bf9-f77b7e298cf2
* Document that and why deinterlacing is not workingreimar2009-02-201-3/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28674 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add support for VDPAU deinterlacing, pullup, denoise and sharpening.reimar2009-02-201-5/+71
| | | | | | | | Deinterlacing can not yet be toggled at runtime, and actually it does not seem to work at all... git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28673 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add VOCAP_NOSLICES and use it to allow vo_vdpau to not support slices forreimar2009-02-181-1/+3
| | | | | | | |