Mercurial > mplayer.hg
comparison configure @ 28582:4d64f83e2fac
Add support for VDPAU video out, including hardware decoding.
author | reimar |
---|---|
date | Mon, 16 Feb 2009 20:58:13 +0000 |
parents | 4f37b9cb7343 |
children | 7d42a45c225d |
comparison
equal
deleted
inserted
replaced
28581:0403c0f4c7e1 | 28582:4d64f83e2fac |
---|---|
380 --enable-dvbhead enable DVB video output (HEAD version) [autodetect] | 380 --enable-dvbhead enable DVB video output (HEAD version) [autodetect] |
381 --enable-mga enable mga_vid video output [autodetect] | 381 --enable-mga enable mga_vid video output [autodetect] |
382 --enable-xmga enable mga_vid X11 video output [autodetect] | 382 --enable-xmga enable mga_vid X11 video output [autodetect] |
383 --enable-xv enable Xv video output [autodetect] | 383 --enable-xv enable Xv video output [autodetect] |
384 --enable-xvmc enable XvMC acceleration [disable] | 384 --enable-xvmc enable XvMC acceleration [disable] |
385 --enable-vdpau enable VDPAU acceleration [autodetect] | |
385 --enable-vm enable XF86VidMode support [autodetect] | 386 --enable-vm enable XF86VidMode support [autodetect] |
386 --enable-xinerama enable Xinerama support [autodetect] | 387 --enable-xinerama enable Xinerama support [autodetect] |
387 --enable-x11 enable X11 video output [autodetect] | 388 --enable-x11 enable X11 video output [autodetect] |
388 --enable-xshape enable XShape support [autodetect] | 389 --enable-xshape enable XShape support [autodetect] |
389 --disable-xss disable screensaver support via xss [autodetect] | 390 --disable-xss disable screensaver support via xss [autodetect] |
521 _libavutil_so=auto | 522 _libavutil_so=auto |
522 _libavcodec_a=auto | 523 _libavcodec_a=auto |
523 _libamr_nb=auto | 524 _libamr_nb=auto |
524 _libamr_wb=auto | 525 _libamr_wb=auto |
525 _libavdecoders_all=`sed -n 's/^[^#]*DEC.*(.*, *\(.*\)).*/\1_decoder/p' libavcodec/allcodecs.c | tr '[a-z]' '[A-Z]'` | 526 _libavdecoders_all=`sed -n 's/^[^#]*DEC.*(.*, *\(.*\)).*/\1_decoder/p' libavcodec/allcodecs.c | tr '[a-z]' '[A-Z]'` |
526 _libavdecoders=` echo $_libavdecoders_all | sed -e 's/ LIB[A-Z0-9_]*_DECODER//g' -e s/MPEG4AAC_DECODER// -e s/H264_VDPAU_DECODER// -e s/MPEG_VDPAU_DECODER// -e s/MPEG1_VDPAU_DECODER// -e s/VC1_VDPAU_DECODER// -e s/WMV3_VDPAU_DECODER// ` | 527 _libavdecoders=` echo $_libavdecoders_all | sed -e 's/ LIB[A-Z0-9_]*_DECODER//g' -e s/MPEG4AAC_DECODER//` |
527 _libavencoders_all=`sed -n 's/^[^#]*ENC.*(.*, *\(.*\)).*/\1_encoder/p' libavcodec/allcodecs.c | tr '[a-z]' '[A-Z]'` | 528 _libavencoders_all=`sed -n 's/^[^#]*ENC.*(.*, *\(.*\)).*/\1_encoder/p' libavcodec/allcodecs.c | tr '[a-z]' '[A-Z]'` |
528 _libavencoders=` echo $_libavencoders_all | sed 's/ LIB[A-Z0-9_]*_ENCODER//g'` | 529 _libavencoders=` echo $_libavencoders_all | sed 's/ LIB[A-Z0-9_]*_ENCODER//g'` |
529 _libavparsers_all=`sed -n 's/^[^#]*PARSER.*(.*, *\(.*\)).*/\1_parser/p' libavcodec/allcodecs.c | tr '[a-z]' '[A-Z]'` | 530 _libavparsers_all=`sed -n 's/^[^#]*PARSER.*(.*, *\(.*\)).*/\1_parser/p' libavcodec/allcodecs.c | tr '[a-z]' '[A-Z]'` |
530 _libavparsers=$_libavparsers_all | 531 _libavparsers=$_libavparsers_all |
531 _libavbsfs_all=`sed -n 's/^[^#]*BSF.*(.*, *\(.*\)).*/\1_bsf/p' libavcodec/allcodecs.c | tr '[a-z]' '[A-Z]'` | 532 _libavbsfs_all=`sed -n 's/^[^#]*BSF.*(.*, *\(.*\)).*/\1_bsf/p' libavcodec/allcodecs.c | tr '[a-z]' '[A-Z]'` |
550 _xss=auto | 551 _xss=auto |
551 _dga1=auto | 552 _dga1=auto |
552 _dga2=auto | 553 _dga2=auto |
553 _xv=auto | 554 _xv=auto |
554 _xvmc=no #auto when complete | 555 _xvmc=no #auto when complete |
556 _vdpau=auto | |
555 _sdl=auto | 557 _sdl=auto |
556 _direct3d=auto | 558 _direct3d=auto |
557 _directx=auto | 559 _directx=auto |
558 _win32waveout=auto | 560 _win32waveout=auto |
559 _nas=auto | 561 _nas=auto |
878 --disable-xss) _xss=no ;; | 880 --disable-xss) _xss=no ;; |
879 --enable-xv) _xv=yes ;; | 881 --enable-xv) _xv=yes ;; |
880 --disable-xv) _xv=no ;; | 882 --disable-xv) _xv=no ;; |
881 --enable-xvmc) _xvmc=yes ;; | 883 --enable-xvmc) _xvmc=yes ;; |
882 --disable-xvmc) _xvmc=no ;; | 884 --disable-xvmc) _xvmc=no ;; |
885 --enable-vdpau) _vdpau=yes ;; | |
886 --disable-vdpau) _vdpau=no ;; | |
883 --enable-sdl) _sdl=yes ;; | 887 --enable-sdl) _sdl=yes ;; |
884 --disable-sdl) _sdl=no ;; | 888 --disable-sdl) _sdl=no ;; |
885 --enable-direct3d) _direct3d=yes ;; | 889 --enable-direct3d) _direct3d=yes ;; |
886 --disable-direct3d) _direct3d=no ;; | 890 --disable-direct3d) _direct3d=no ;; |
887 --enable-directx) _directx=yes ;; | 891 --enable-directx) _directx=yes ;; |
4177 _x11=no | 4181 _x11=no |
4178 def_x11='#undef CONFIG_X11' | 4182 def_x11='#undef CONFIG_X11' |
4179 _novomodules="x11 $_novomodules" | 4183 _novomodules="x11 $_novomodules" |
4180 _res_comment="check if the dev(el) packages are installed" | 4184 _res_comment="check if the dev(el) packages are installed" |
4181 # disable stuff that depends on X | 4185 # disable stuff that depends on X |
4182 _xv=no ; _xvmc=no ; _xinerama=no ; _vm=no ; _xf86keysym=no | 4186 _xv=no ; _xvmc=no ; _xinerama=no ; _vm=no ; _xf86keysym=no ; _vdpau=no |
4183 fi | 4187 fi |
4184 echores "$_x11" | 4188 echores "$_x11" |
4185 | 4189 |
4186 echocheck "Xss screensaver extensions" | 4190 echocheck "Xss screensaver extensions" |
4187 if test "$_xss" = auto ; then | 4191 if test "$_xss" = auto ; then |
4286 def_xvmc='#define CONFIG_XVMC 0' | 4290 def_xvmc='#define CONFIG_XVMC 0' |
4287 _novomodules="xvmc $_novomodules" | 4291 _novomodules="xvmc $_novomodules" |
4288 _libavdecoders=`echo $_libavdecoders | sed -e s/MPEG_XVMC_DECODER// ` | 4292 _libavdecoders=`echo $_libavdecoders | sed -e s/MPEG_XVMC_DECODER// ` |
4289 fi | 4293 fi |
4290 echores "$_xvmc" | 4294 echores "$_xvmc" |
4295 | |
4296 | |
4297 echocheck "VDPAU" | |
4298 if test "$_vdpau" = auto ; then | |
4299 _vdpau=no | |
4300 if test "$_dl" = yes ; then | |
4301 cat > $TMPC <<EOF | |
4302 #include <vdpau/vdpau_x11.h> | |
4303 int main(void) {return 0;} | |
4304 EOF | |
4305 cc_check && _vdpau=yes | |
4306 fi | |
4307 fi | |
4308 if test "$_vdpau" = yes ; then | |
4309 def_vdpau='#define CONFIG_VDPAU 1' | |
4310 _vomodules="vdpau $_vomodules" | |
4311 else | |
4312 def_vdpau='#define CONFIG_VDPAU 0' | |
4313 _novomodules="vdpau $_novomodules" | |
4314 _libavdecoders=`echo $_libavdecoders | sed -e s/MPEG_VDPAU_DECODER// -e s/H264_VDPAU_DECODER// -e s/WMV3_VDPAU_DECODER// -e s/VC1_VDPAU_DECODER//` | |
4315 fi | |
4316 echores "$_vdpau" | |
4291 | 4317 |
4292 | 4318 |
4293 echocheck "Xinerama" | 4319 echocheck "Xinerama" |
4294 if test "$_xinerama" = auto ; then | 4320 if test "$_xinerama" = auto ; then |
4295 cat > $TMPC <<EOF | 4321 cat > $TMPC <<EOF |
8150 TV_V4L2 = $_tv_v4l2 | 8176 TV_V4L2 = $_tv_v4l2 |
8151 TWOLAME=$_twolame | 8177 TWOLAME=$_twolame |
8152 UNRAR_EXEC = $_unrar_exec | 8178 UNRAR_EXEC = $_unrar_exec |
8153 V4L2 = $_v4l2 | 8179 V4L2 = $_v4l2 |
8154 VCD = $_vcd | 8180 VCD = $_vcd |
8181 VDPAU = $_vdpau | |
8155 VESA = $_vesa | 8182 VESA = $_vesa |
8156 VIDIX = $_vidix | 8183 VIDIX = $_vidix |
8157 VIDIX_PCIDB = $_vidix_pcidb_val | 8184 VIDIX_PCIDB = $_vidix_pcidb_val |
8158 VIDIX_CYBERBLADE=$_vidix_drv_cyberblade | 8185 VIDIX_CYBERBLADE=$_vidix_drv_cyberblade |
8159 VIDIX_IVTV=$_vidix_drv_ivtv | 8186 VIDIX_IVTV=$_vidix_drv_ivtv |
8235 CONFIG_MLIB = $_mlib | 8262 CONFIG_MLIB = $_mlib |
8236 CONFIG_MUXERS=$_mencoder | 8263 CONFIG_MUXERS=$_mencoder |
8237 CONFIG_POSTPROC = yes | 8264 CONFIG_POSTPROC = yes |
8238 # Prevent building libavcodec/imgresample.c with conflicting symbols | 8265 # Prevent building libavcodec/imgresample.c with conflicting symbols |
8239 CONFIG_SWSCALE=yes | 8266 CONFIG_SWSCALE=yes |
8267 CONFIG_VDPAU=$_vdpau | |
8240 CONFIG_XVMC=$_xvmc | 8268 CONFIG_XVMC=$_xvmc |
8241 CONFIG_ZLIB=$_zlib | 8269 CONFIG_ZLIB=$_zlib |
8242 | 8270 |
8243 HAVE_PTHREADS = $_pthreads | 8271 HAVE_PTHREADS = $_pthreads |
8244 HAVE_W32THREADS = $_w32threads | 8272 HAVE_W32THREADS = $_w32threads |
8595 $def_svga | 8623 $def_svga |
8596 $def_tdfxfb | 8624 $def_tdfxfb |
8597 $def_tdfxvid | 8625 $def_tdfxvid |
8598 $def_tga | 8626 $def_tga |
8599 $def_v4l2 | 8627 $def_v4l2 |
8628 $def_vdpau | |
8600 $def_vesa | 8629 $def_vesa |
8601 $def_vidix | 8630 $def_vidix |
8602 $def_vidix_drv_cyberblade | 8631 $def_vidix_drv_cyberblade |
8603 $def_vidix_drv_ivtv | 8632 $def_vidix_drv_ivtv |
8604 $def_vidix_drv_mach64 | 8633 $def_vidix_drv_mach64 |