Mercurial > mplayer.hg
view vidix/sysdep/pci_mach386.c @ 23968:a9c0184eedcb
r23687: Implemented tv://[<channel>][/<input_id>] url syntax
r23748: Leave out (no) prefix from option names for consistency.
r23852: af channels example for ffdca to ALSA reordering
r23856: small wording improvement
r23897: Experimental negative panscan values
r23898: Set -vo gl slice-height default to 0
r23917: Document -rawvideo format="format string"
r23920 + r23924: Teletext support
r23926: update man page with v4l2 a/v outputs
r23978: add possibly incorrect subfont entry
r23982: i_certify_that_my_video_stream_does_not_use_b_frames is gone.
r23984: Added FIXME skeletons for missing lavc options.
author | kraymer |
---|---|
date | Wed, 01 Aug 2007 09:55:57 +0000 |
parents | a9e111b88c4a |
children | 9c4ad35fabc5 |
line wrap: on
line source
/* This file is based on: $XFree86: xc/programs/Xserver/hw/xfree86/etc/scanpci.c,v 3.34.2.17 1998/11/10 11:55:40 dawes Exp $ Modified for readability by Nick Kurshev */ #include <errno.h> static int io_fd; static __inline__ int enable_os_io(void) { io_fd = -1 ; if ((io_fd = open("/dev/iopl", O_RDWR, 0)) < 0) { perror("/dev/iopl"); return(errno); } return(0); } static __inline__ int disable_os_io(void) { close(io_fd); return(0); }