Mercurial > mplayer.hg
comparison configure @ 23275:17fcd644f32e
new VIDIX driver for IVTV cards, original patch by Lutz Koschorreck
author | ben |
---|---|
date | Thu, 10 May 2007 18:47:27 +0000 |
parents | 4d544d4d2a88 |
children | 3bb9826c53c4 |
comparison
equal
deleted
inserted
replaced
23274:f3e72ce8a9fd | 23275:17fcd644f32e |
---|---|
332 | 332 |
333 Video output: | 333 Video output: |
334 --disable-vidix-internal disable internal VIDIX [for x86 *nix] | 334 --disable-vidix-internal disable internal VIDIX [for x86 *nix] |
335 --disable-vidix-external disable external VIDIX [for x86 *nix] | 335 --disable-vidix-external disable external VIDIX [for x86 *nix] |
336 --with-vidix-drivers[=*] list of VIDIX drivers to be compiled in | 336 --with-vidix-drivers[=*] list of VIDIX drivers to be compiled in |
337 Available: all,cyberblade,mach64,mga,mga_crtc2, | 337 Available: all,cyberblade,ivtv,mach64,mga,mga_crtc2, |
338 nvidia,pm2,pm3,radeon,rage128,savage,sis,unichrome | 338 nvidia,pm2,pm3,radeon,rage128,savage,sis,unichrome |
339 --enable-gl enable OpenGL video output [autodetect] | 339 --enable-gl enable OpenGL video output [autodetect] |
340 --enable-dga[=n] enable DGA [n in {1, 2} ] support [autodetect] | 340 --enable-dga[=n] enable DGA [n in {1, 2} ] support [autodetect] |
341 --enable-vesa enable VESA video output [autodetect] | 341 --enable-vesa enable VESA video output [autodetect] |
342 --enable-svga enable SVGAlib video output [autodetect] | 342 --enable-svga enable SVGAlib video output [autodetect] |
7237 _vidix_drv_cyberblade=yes | 7237 _vidix_drv_cyberblade=yes |
7238 else | 7238 else |
7239 _def_vidix_drv_cyberblade='#undef CONFIG_VIDIX_DRV_CYBERBLADE' | 7239 _def_vidix_drv_cyberblade='#undef CONFIG_VIDIX_DRV_CYBERBLADE' |
7240 _vidix_drv_cyberblade=no | 7240 _vidix_drv_cyberblade=no |
7241 fi | 7241 fi |
7242 if test "$_vidix_drivers" = all || test `echo "$_vidix_drivers" | grep -e ivtv`; then | |
7243 cat > $TMPC << EOF | |
7244 #include <linux/types.h> | |
7245 #include <linux/ivtv.h> | |
7246 int main(void) { return 0; } | |
7247 EOF | |
7248 _vidix_ivtv=no | |
7249 cc_check && _vidix_ivtv=yes | |
7250 | |
7251 if test "$_vidix_ivtv" = yes; then | |
7252 _def_vidix_drv_ivtv='#define CONFIG_VIDIX_DRV_IVTV 1' | |
7253 _vidix_drv_ivtv=yes | |
7254 else | |
7255 _def_vidix_drv_ivtv='#undef CONFIG_VIDIX_DRV_IVTV' | |
7256 _vidix_drv_ivtv=no | |
7257 fi | |
7258 else | |
7259 _def_vidix_drv_ivtv='#undef CONFIG_VIDIX_DRV_IVTV' | |
7260 _vidix_drv_ivtv=no | |
7261 fi | |
7242 if test "$_vidix_drivers" = all || test `echo "$_vidix_drivers" | grep -e mach64`; then | 7262 if test "$_vidix_drivers" = all || test `echo "$_vidix_drivers" | grep -e mach64`; then |
7243 _def_vidix_drv_mach64='#define CONFIG_VIDIX_DRV_MACH64 1' | 7263 _def_vidix_drv_mach64='#define CONFIG_VIDIX_DRV_MACH64 1' |
7244 _vidix_drv_mach64=yes | 7264 _vidix_drv_mach64=yes |
7245 else | 7265 else |
7246 _def_vidix_drv_mach64='#undef CONFIG_VIDIX_DRV_MACH64' | 7266 _def_vidix_drv_mach64='#undef CONFIG_VIDIX_DRV_MACH64' |
7691 CONFIG_ENCODERS=$_mencoder | 7711 CONFIG_ENCODERS=$_mencoder |
7692 CONFIG_MUXERS=$_mencoder | 7712 CONFIG_MUXERS=$_mencoder |
7693 RADIO=$_radio | 7713 RADIO=$_radio |
7694 RADIO_CAPTURE=$_radio_capture | 7714 RADIO_CAPTURE=$_radio_capture |
7695 VIDIX_CYBERBLADE=$_vidix_drv_cyberblade | 7715 VIDIX_CYBERBLADE=$_vidix_drv_cyberblade |
7716 VIDIX_IVTV=$_vidix_drv_ivtv | |
7696 VIDIX_MACH64=$_vidix_drv_mach64 | 7717 VIDIX_MACH64=$_vidix_drv_mach64 |
7697 VIDIX_MGA=$_vidix_drv_mga | 7718 VIDIX_MGA=$_vidix_drv_mga |
7698 VIDIX_MGA_CRTC2=$_vidix_drv_mga_crtc2 | 7719 VIDIX_MGA_CRTC2=$_vidix_drv_mga_crtc2 |
7699 VIDIX_NVIDIA=$_vidix_drv_nvidia | 7720 VIDIX_NVIDIA=$_vidix_drv_nvidia |
7700 VIDIX_PM2=$_vidix_drv_pm2 | 7721 VIDIX_PM2=$_vidix_drv_pm2 |
8379 $_def_cddb | 8400 $_def_cddb |
8380 | 8401 |
8381 /* enables / disables VIDIX usage */ | 8402 /* enables / disables VIDIX usage */ |
8382 $_def_vidix | 8403 $_def_vidix |
8383 $_def_vidix_drv_cyberblade | 8404 $_def_vidix_drv_cyberblade |
8405 $_def_vidix_drv_ivtv | |
8384 $_def_vidix_drv_mach64 | 8406 $_def_vidix_drv_mach64 |
8385 $_def_vidix_drv_mga | 8407 $_def_vidix_drv_mga |
8386 $_def_vidix_drv_mga_crtc2 | 8408 $_def_vidix_drv_mga_crtc2 |
8387 $_def_vidix_drv_nvidia | 8409 $_def_vidix_drv_nvidia |
8388 $_def_vidix_drv_pm3 | 8410 $_def_vidix_drv_pm3 |