mirror of
https://github.com/mpv-player/mpv
synced 2025-01-14 02:51:26 +00:00
KVA vo driver for OS/2, patch by KO Myung-Hun, komh chollian net
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28950 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
2adaae35cf
commit
366c3fa13d
@ -148,6 +148,7 @@ MPlayer (1.0)
|
||||
* removed unnecessary code from vo x11, xv, xvmc
|
||||
* add OS/2 DART audio driver (-ao dart)
|
||||
* add VDPAU video output
|
||||
* add OS/2 KVA video driver (-vo kva)
|
||||
|
||||
MEncoder:
|
||||
* check for system-wide configuration file in MEncoder
|
||||
|
@ -3596,6 +3596,23 @@ Try this option if you have display problems.
|
||||
.PD 1
|
||||
.
|
||||
.TP
|
||||
.B kva (OS/2 only)
|
||||
Video output driver that uses the libkva interface.
|
||||
.PD 0
|
||||
.RSs
|
||||
.IPs snap
|
||||
Force SNAP mode.
|
||||
.IPs wo
|
||||
Force WarpOverlay! mode.
|
||||
.IPs dive
|
||||
Force DIVE mode.
|
||||
.IPs (no)t23
|
||||
Enable/disable workaround for T23 laptop (default: \-not23).
|
||||
Try to enable this option if your video card supports upscaling only.
|
||||
.RE
|
||||
.PD 1
|
||||
.
|
||||
.TP
|
||||
.B quartz (Mac OS X only)
|
||||
Mac OS X Quartz video output driver.
|
||||
Under some circumstances, it might be more efficient to force a
|
||||
|
1
Makefile
1
Makefile
@ -596,6 +596,7 @@ SRCS_MPLAYER-$(IVTV) += libao2/ao_ivtv.c libvo/vo_ivtv.c
|
||||
SRCS_MPLAYER-$(JACK) += libao2/ao_jack.c
|
||||
SRCS_MPLAYER-$(JOYSTICK) += input/joystick.c
|
||||
SRCS_MPLAYER-$(JPEG) += libvo/vo_jpeg.c
|
||||
SRCS_MPLAYER-$(KVA) += libvo/vo_kva.c
|
||||
SRCS_MPLAYER-$(LIBMENU) += libmenu/menu.c \
|
||||
libmenu/menu_chapsel.c \
|
||||
libmenu/menu_cmdlist.c \
|
||||
|
29
configure
vendored
29
configure
vendored
@ -366,6 +366,7 @@ Video output:
|
||||
--enable-vesa enable VESA video output [autodetect]
|
||||
--enable-svga enable SVGAlib video output [autodetect]
|
||||
--enable-sdl enable SDL video output [autodetect]
|
||||
--enable-kva enable KVA video output [autodetect]
|
||||
--enable-aa enable AAlib video output [autodetect]
|
||||
--enable-caca enable CACA video output [autodetect]
|
||||
--enable-ggi enable GGI video output [autodetect]
|
||||
@ -556,6 +557,7 @@ _xv=auto
|
||||
_xvmc=no #auto when complete
|
||||
_vdpau=auto
|
||||
_sdl=auto
|
||||
_kva=auto
|
||||
_direct3d=auto
|
||||
_directx=auto
|
||||
_win32waveout=auto
|
||||
@ -888,6 +890,8 @@ for ac_option do
|
||||
--disable-vdpau) _vdpau=no ;;
|
||||
--enable-sdl) _sdl=yes ;;
|
||||
--disable-sdl) _sdl=no ;;
|
||||
--enable-kva) _kva=yes ;;
|
||||
--disable-kva) _kva=no ;;
|
||||
--enable-direct3d) _direct3d=yes ;;
|
||||
--disable-direct3d) _direct3d=no ;;
|
||||
--enable-directx) _directx=yes ;;
|
||||
@ -5097,6 +5101,29 @@ fi
|
||||
echores "$_sdl"
|
||||
|
||||
|
||||
if os2 ; then
|
||||
echocheck "KVA (SNAP/WarpOverlay!/DIVE)"
|
||||
if test "$_kva" = auto; then
|
||||
cat > $TMPC << EOF
|
||||
#include <os2.h>
|
||||
#include <kva.h>
|
||||
int main( void ) { return 0; }
|
||||
EOF
|
||||
_kva=no;
|
||||
cc_check -lkva && _kva=yes
|
||||
fi
|
||||
if test "$_kva" = yes ; then
|
||||
def_kva='#define CONFIG_KVA 1'
|
||||
_libs_mplayer="$_libs_mplayer -lkva"
|
||||
_vomodules="kva $_vomodules"
|
||||
else
|
||||
def_kva='#undef CONFIG_KVA'
|
||||
_novomodules="kva $_novomodules"
|
||||
fi
|
||||
echores "$_kva"
|
||||
fi #if os2
|
||||
|
||||
|
||||
if win32; then
|
||||
|
||||
echocheck "Windows waveout"
|
||||
@ -8145,6 +8172,7 @@ IVTV = $_ivtv
|
||||
JACK = $_jack
|
||||
JOYSTICK = $_joystick
|
||||
JPEG = $_jpeg
|
||||
KVA = $_kva
|
||||
LADSPA = $_ladspa
|
||||
LIBA52 = $_liba52
|
||||
LIBA52_INTERNAL = $_liba52_internal
|
||||
@ -8647,6 +8675,7 @@ $def_gl
|
||||
$def_gl_win32
|
||||
$def_ivtv
|
||||
$def_jpeg
|
||||
$def_kva
|
||||
$def_md5sum
|
||||
$def_mga
|
||||
$def_mng
|
||||
|
@ -112,6 +112,7 @@ extern vo_functions_t video_out_mpegpes;
|
||||
extern vo_functions_t video_out_yuv4mpeg;
|
||||
extern vo_functions_t video_out_direct3d;
|
||||
extern vo_functions_t video_out_directx;
|
||||
extern vo_functions_t video_out_kva;
|
||||
extern vo_functions_t video_out_dxr2;
|
||||
extern vo_functions_t video_out_dxr3;
|
||||
extern vo_functions_t video_out_ivtv;
|
||||
@ -146,6 +147,9 @@ const vo_functions_t* const video_out_drivers[] =
|
||||
#ifdef CONFIG_DIRECT3D
|
||||
&video_out_direct3d,
|
||||
#endif
|
||||
#ifdef CONFIG_KVA
|
||||
&video_out_kva,
|
||||
#endif
|
||||
#ifdef CONFIG_COREVIDEO
|
||||
&video_out_macosx,
|
||||
#endif
|
||||
|
1087
libvo/vo_kva.c
Normal file
1087
libvo/vo_kva.c
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user