xine-lib: xine-lib-1.2.12/src/dxr3/em8300.h File Reference

xine-lib 1.2.12

Data Structures | Macros
em8300.h File Reference

Go to the source code of this file.

## Data Structures
struct | em8300_microcode_t
struct | em8300_register_t
struct | em8300_bcs_t
struct | em8300_overlay_calibrate_t
struct | em8300_overlay_window_t
struct | em8300_overlay_screen_t
struct | em8300_attribute_t
struct | em8300_button_t

## Macros
#define | MAX_UCODE_REGISTER 110
#define | EM8300_IOCTL_INIT _IOW('C',0,em8300_microcode_t)
#define | EM8300_IOCTL_READREG _IOWR('C',1,em8300_register_t)
#define | EM8300_IOCTL_WRITEREG _IOW('C',2,em8300_register_t)
#define | EM8300_IOCTL_GETSTATUS _IOR('C',3,char[1024])
#define | EM8300_IOCTL_SETBCS _IOW('C',4,em8300_bcs_t)
#define | EM8300_IOCTL_GETBCS _IOR('C',4,em8300_bcs_t)
#define | EM8300_IOCTL_SET_ASPECTRATIO _IOW('C',5,int)
#define | EM8300_IOCTL_GET_ASPECTRATIO _IOR('C',5,int)
#define | EM8300_IOCTL_SET_VIDEOMODE _IOW('C',6,int)
#define | EM8300_IOCTL_GET_VIDEOMODE _IOR('C',6,int)
#define | EM8300_IOCTL_SET_PLAYMODE _IOW('C',7,int)
#define | EM8300_IOCTL_GET_PLAYMODE _IOR('C',7,int)
#define | EM8300_IOCTL_SET_AUDIOMODE _IOW('C',8,int)
#define | EM8300_IOCTL_GET_AUDIOMODE _IOR('C',8,int)
#define | EM8300_IOCTL_SET_SPUMODE _IOW('C',9,int)
#define | EM8300_IOCTL_GET_SPUMODE _IOR('C',9,int)
#define | EM8300_IOCTL_OVERLAY_CALIBRATE _IOWR('C',10,em8300_overlay_calibrate_t)
#define | EM8300_IOCTL_OVERLAY_SETMODE _IOW('C',11,int)
#define | EM8300_IOCTL_OVERLAY_SETWINDOW _IOWR('C',12,em8300_overlay_window_t)
#define | EM8300_IOCTL_OVERLAY_SETSCREEN _IOWR('C',13,em8300_overlay_screen_t)
#define | EM8300_IOCTL_OVERLAY_GET_ATTRIBUTE _IOR('C',14,em8300_attribute_t)
#define | EM8300_IOCTL_OVERLAY_SET_ATTRIBUTE _IOW('C',14,em8300_attribute_t)
#define | EM8300_IOCTL_OVERLAY_SIGNALMODE _IOW('C',15,em8300_attribute_t)
#define | EM8300_IOCTL_SCR_GET _IOR('C',16,unsigned)
#define | EM8300_IOCTL_SCR_SET _IOW('C',16,unsigned)
#define | EM8300_IOCTL_SCR_GETSPEED _IOR('C',17,unsigned)
#define | EM8300_IOCTL_SCR_SETSPEED _IOW('C',17,unsigned)
#define | EM8300_IOCTL_FLUSH _IOW('C',18,int)
#define | EM8300_IOCTL_VBI _IOW('C',19,struct timeval)
#define | EM8300_OVERLAY_SIGNAL_ONLY 1
#define | EM8300_OVERLAY_SIGNAL_WITH_VGA 2
#define | EM8300_OVERLAY_VGA_ONLY 3
#define | EM8300_IOCTL_VIDEO_SETPTS _IOW('C',1,int)
#define | EM8300_IOCTL_VIDEO_GETSCR _IOR('C',2,unsigned)
#define | EM8300_IOCTL_VIDEO_SETSCR _IOW('C',2,unsigned)
#define | EM8300_IOCTL_SPU_SETPTS _IOW('C',1,int)
#define | EM8300_IOCTL_SPU_SETPALETTE _IOW('C',2,unsigned[16])
#define | EM8300_IOCTL_SPU_BUTTON _IOW('C',3,em8300_button_t)
#define | EM8300_ASPECTRATIO_4_3 0
#define | EM8300_ASPECTRATIO_16_9 1
#define | EM8300_ASPECTRATIO_LAST 1
#define | EM8300_VIDEOMODE_PAL 0
#define | EM8300_VIDEOMODE_PAL60 1
#define | EM8300_VIDEOMODE_NTSC 2
#define | EM8300_VIDEOMODE_LAST 2
#define | EM8300_VIDEOMODE_DEFAULT EM8300_VIDEOMODE_PAL
#define | EM8300_AUDIOMODE_ANALOG 0
#define | EM8300_AUDIOMODE_DIGITALPCM 1
#define | EM8300_AUDIOMODE_DIGITALAC3 2
#define | EM8300_AUDIOMODE_DEFAULT EM8300_AUDIOMODE_ANALOG
#define | EM8300_SPUMODE_OFF 0
#define | EM8300_SPUMODE_ON 1
#define | EM8300_PLAYMODE_STOPPED 0
#define | EM8300_PLAYMODE_PAUSED 1
#define | EM8300_PLAYMODE_SLOWFORWARDS 2
#define | EM8300_PLAYMODE_SLOWBACKWARDS 3
#define | EM8300_PLAYMODE_SINGLESTEP 4
#define | EM8300_PLAYMODE_PLAY 5
#define | EM8300_PLAYMODE_REVERSEPLAY 6
#define | EM8300_PLAYMODE_SCAN 7
#define | EM8300_PLAYMODE_FRAMEBUF 8
#define | EM8300_OVERLAY_MODE_OFF 0
#define | EM8300_OVERLAY_MODE_RECTANGLE 1
#define | EM8300_OVERLAY_MODE_OVERLAY 2
#define | EM8300_OVERLAY_CALMODE_XOFFSET 1
#define | EM8300_OVERLAY_CALMODE_YOFFSET 2
#define | EM8300_OVERLAY_CALMODE_XCORRECTION 3
#define | EM8300_OVERLAY_CALMODE_COLOR 4
#define | EM9010_ATTRIBUTE_XCORR 1
#define | EM9010_ATTRIBUTE_XOFFSET 2
#define | EM9010_ATTRIBUTE_YOFFSET 3
#define | EM9010_ATTRIBUTE_JITTER 4
#define | EM9010_ATTRIBUTE_STABILITY 5
#define | EM9010_ATTRIBUTE_KEYCOLOR_UPPER 6
#define | EM9010_ATTRIBUTE_KEYCOLOR_LOWER 7
#define | EM9010_ATTRIBUTE_MAX 7
#define | EM8300_SUBDEVICE_CONTROL 0
#define | EM8300_SUBDEVICE_VIDEO 1
#define | EM8300_SUBDEVICE_AUDIO 2
#define | EM8300_SUBDEVICE_SUBPICTURE 3
#define | PCI_VENDOR_ID_SIGMADESIGNS 0x1105
#define | PCI_DEVICE_ID_SIGMADESIGNS_EM8300 0x8300
#define | CLOCKGEN_SAMPFREQ_MASK 0xc0
#define | CLOCKGEN_SAMPFREQ_66 0xc0
#define | CLOCKGEN_SAMPFREQ_48 0x40
#define | CLOCKGEN_SAMPFREQ_44 0x80
#define | CLOCKGEN_SAMPFREQ_32 0x00
#define | CLOCKGEN_OUTMASK 0x30
#define | CLOCKGEN_DIGITALOUT 0x10
#define | CLOCKGEN_ANALOGOUT 0x20
#define | CLOCKGEN_MODEMASK 0x0f
#define | CLOCKGEN_OVERLAYMODE_1 0x07
#define | CLOCKGEN_TVMODE_1 0x0b
#define | CLOCKGEN_OVERLAYMODE_2 0x04
#define | CLOCKGEN_TVMODE_2 0x02
#define | MVCOMMAND_STOP 0x0
#define | MVCOMMAND_PAUSE 0x1
#define | MVCOMMAND_START 0x3
#define | MVCOMMAND_PLAYINTRA 0x4
#define | MVCOMMAND_SYNC 0x6
#define | MVCOMMAND_FLUSHBUF 0x10
#define | MVCOMMAND_DISPLAYBUFINFO 0x11
#define | MACOMMAND_STOP 0x0
#define | MACOMMAND_PAUSE 0x1
#define | MACOMMAND_PLAY 0x2
#define | IRQSTATUS_VIDEO_VBL 0x10
#define | IRQSTATUS_VIDEO_FIFO 0x2
#define | IRQSTATUS_AUDIO_FIFO 0x8
#define | ENCODER_UNKNOWN 0
#define | ENCODER_ADV7175 1
#define | ENCODER_ADV7170 2
#define | ENCODER_BT865 3

## Macro Definition Documentation

## ◆ CLOCKGEN_ANALOGOUT

#define CLOCKGEN_ANALOGOUT 0x20

## ◆ CLOCKGEN_DIGITALOUT

#define CLOCKGEN_DIGITALOUT 0x10

## ◆ CLOCKGEN_MODEMASK

#define CLOCKGEN_MODEMASK 0x0f

## ◆ CLOCKGEN_OUTMASK

#define CLOCKGEN_OUTMASK 0x30

## ◆ CLOCKGEN_OVERLAYMODE_1

#define CLOCKGEN_OVERLAYMODE_1 0x07

## ◆ CLOCKGEN_OVERLAYMODE_2

#define CLOCKGEN_OVERLAYMODE_2 0x04

## ◆ CLOCKGEN_SAMPFREQ_32

#define CLOCKGEN_SAMPFREQ_32 0x00

## ◆ CLOCKGEN_SAMPFREQ_44

#define CLOCKGEN_SAMPFREQ_44 0x80

## ◆ CLOCKGEN_SAMPFREQ_48

#define CLOCKGEN_SAMPFREQ_48 0x40

## ◆ CLOCKGEN_SAMPFREQ_66

#define CLOCKGEN_SAMPFREQ_66 0xc0

## ◆ CLOCKGEN_SAMPFREQ_MASK

#define CLOCKGEN_SAMPFREQ_MASK 0xc0

## ◆ CLOCKGEN_TVMODE_1

#define CLOCKGEN_TVMODE_1 0x0b

## ◆ CLOCKGEN_TVMODE_2

#define CLOCKGEN_TVMODE_2 0x02

## ◆ EM8300_ASPECTRATIO_16_9

#define EM8300_ASPECTRATIO_16_9 1

## ◆ EM8300_ASPECTRATIO_4_3

#define EM8300_ASPECTRATIO_4_3 0

## ◆ EM8300_ASPECTRATIO_LAST

#define EM8300_ASPECTRATIO_LAST 1

## ◆ EM8300_AUDIOMODE_ANALOG

#define EM8300_AUDIOMODE_ANALOG 0

## ◆ EM8300_AUDIOMODE_DEFAULT

#define EM8300_AUDIOMODE_DEFAULT EM8300_AUDIOMODE_ANALOG

## ◆ EM8300_AUDIOMODE_DIGITALAC3

#define EM8300_AUDIOMODE_DIGITALAC3 2

## ◆ EM8300_AUDIOMODE_DIGITALPCM

#define EM8300_AUDIOMODE_DIGITALPCM 1

## ◆ EM8300_IOCTL_FLUSH

#define EM8300_IOCTL_FLUSH _IOW('C',18,int)

## ◆ EM8300_IOCTL_GET_ASPECTRATIO

#define EM8300_IOCTL_GET_ASPECTRATIO _IOR('C',5,int)

## ◆ EM8300_IOCTL_GET_AUDIOMODE

#define EM8300_IOCTL_GET_AUDIOMODE _IOR('C',8,int)

## ◆ EM8300_IOCTL_GET_PLAYMODE

#define EM8300_IOCTL_GET_PLAYMODE _IOR('C',7,int)

## ◆ EM8300_IOCTL_GET_SPUMODE

#define EM8300_IOCTL_GET_SPUMODE _IOR('C',9,int)

## ◆ EM8300_IOCTL_GET_VIDEOMODE

#define EM8300_IOCTL_GET_VIDEOMODE _IOR('C',6,int)

## ◆ EM8300_IOCTL_GETBCS

#define EM8300_IOCTL_GETBCS _IOR('C',4,em8300_bcs_t)

## ◆ EM8300_IOCTL_GETSTATUS

#define EM8300_IOCTL_GETSTATUS _IOR('C',3,char[1024])

## ◆ EM8300_IOCTL_INIT

#define EM8300_IOCTL_INIT _IOW('C',0,em8300_microcode_t)

## ◆ EM8300_IOCTL_OVERLAY_CALIBRATE

#define EM8300_IOCTL_OVERLAY_CALIBRATE _IOWR('C',10,em8300_overlay_calibrate_t)

## ◆ EM8300_IOCTL_OVERLAY_GET_ATTRIBUTE

#define EM8300_IOCTL_OVERLAY_GET_ATTRIBUTE _IOR('C',14,em8300_attribute_t)

## ◆ EM8300_IOCTL_OVERLAY_SET_ATTRIBUTE

#define EM8300_IOCTL_OVERLAY_SET_ATTRIBUTE _IOW('C',14,em8300_attribute_t)

## ◆ EM8300_IOCTL_OVERLAY_SETMODE

#define EM8300_IOCTL_OVERLAY_SETMODE _IOW('C',11,int)

## ◆ EM8300_IOCTL_OVERLAY_SETSCREEN

#define EM8300_IOCTL_OVERLAY_SETSCREEN _IOWR('C',13,em8300_overlay_screen_t)

## ◆ EM8300_IOCTL_OVERLAY_SETWINDOW

#define EM8300_IOCTL_OVERLAY_SETWINDOW _IOWR('C',12,em8300_overlay_window_t)

## ◆ EM8300_IOCTL_OVERLAY_SIGNALMODE

#define EM8300_IOCTL_OVERLAY_SIGNALMODE _IOW('C',15,em8300_attribute_t)

## ◆ EM8300_IOCTL_READREG

#define EM8300_IOCTL_READREG _IOWR('C',1,em8300_register_t)

## ◆ EM8300_IOCTL_SCR_GET

#define EM8300_IOCTL_SCR_GET _IOR('C',16,unsigned)

## ◆ EM8300_IOCTL_SCR_GETSPEED

#define EM8300_IOCTL_SCR_GETSPEED _IOR('C',17,unsigned)

## ◆ EM8300_IOCTL_SCR_SET

#define EM8300_IOCTL_SCR_SET _IOW('C',16,unsigned)

## ◆ EM8300_IOCTL_SCR_SETSPEED

#define EM8300_IOCTL_SCR_SETSPEED _IOW('C',17,unsigned)

## ◆ EM8300_IOCTL_SET_ASPECTRATIO

#define EM8300_IOCTL_SET_ASPECTRATIO _IOW('C',5,int)

## ◆ EM8300_IOCTL_SET_AUDIOMODE

#define EM8300_IOCTL_SET_AUDIOMODE _IOW('C',8,int)

## ◆ EM8300_IOCTL_SET_PLAYMODE

#define EM8300_IOCTL_SET_PLAYMODE _IOW('C',7,int)

## ◆ EM8300_IOCTL_SET_SPUMODE

#define EM8300_IOCTL_SET_SPUMODE _IOW('C',9,int)

## ◆ EM8300_IOCTL_SET_VIDEOMODE

#define EM8300_IOCTL_SET_VIDEOMODE _IOW('C',6,int)

## ◆ EM8300_IOCTL_SETBCS

#define EM8300_IOCTL_SETBCS _IOW('C',4,em8300_bcs_t)

## ◆ EM8300_IOCTL_SPU_BUTTON

#define EM8300_IOCTL_SPU_BUTTON _IOW('C',3,em8300_button_t)

## ◆ EM8300_IOCTL_SPU_SETPALETTE

#define EM8300_IOCTL_SPU_SETPALETTE _IOW('C',2,unsigned[16])

## ◆ EM8300_IOCTL_SPU_SETPTS

#define EM8300_IOCTL_SPU_SETPTS _IOW('C',1,int)

## ◆ EM8300_IOCTL_VBI

#define EM8300_IOCTL_VBI _IOW('C',19,struct timeval)

## ◆ EM8300_IOCTL_VIDEO_GETSCR

#define EM8300_IOCTL_VIDEO_GETSCR _IOR('C',2,unsigned)

## ◆ EM8300_IOCTL_VIDEO_SETPTS

#define EM8300_IOCTL_VIDEO_SETPTS _IOW('C',1,int)

## ◆ EM8300_IOCTL_VIDEO_SETSCR

#define EM8300_IOCTL_VIDEO_SETSCR _IOW('C',2,unsigned)

## ◆ EM8300_IOCTL_WRITEREG

#define EM8300_IOCTL_WRITEREG _IOW('C',2,em8300_register_t)

## ◆ EM8300_OVERLAY_CALMODE_COLOR

#define EM8300_OVERLAY_CALMODE_COLOR 4

## ◆ EM8300_OVERLAY_CALMODE_XCORRECTION

#define EM8300_OVERLAY_CALMODE_XCORRECTION 3

## ◆ EM8300_OVERLAY_CALMODE_XOFFSET

#define EM8300_OVERLAY_CALMODE_XOFFSET 1

## ◆ EM8300_OVERLAY_CALMODE_YOFFSET

#define EM8300_OVERLAY_CALMODE_YOFFSET 2

## ◆ EM8300_OVERLAY_MODE_OFF

#define EM8300_OVERLAY_MODE_OFF 0

## ◆ EM8300_OVERLAY_MODE_OVERLAY

#define EM8300_OVERLAY_MODE_OVERLAY 2

## ◆ EM8300_OVERLAY_MODE_RECTANGLE

#define EM8300_OVERLAY_MODE_RECTANGLE 1

## ◆ EM8300_OVERLAY_SIGNAL_ONLY

#define EM8300_OVERLAY_SIGNAL_ONLY 1

## ◆ EM8300_OVERLAY_SIGNAL_WITH_VGA

#define EM8300_OVERLAY_SIGNAL_WITH_VGA 2

## ◆ EM8300_OVERLAY_VGA_ONLY

#define EM8300_OVERLAY_VGA_ONLY 3

## ◆ EM8300_PLAYMODE_FRAMEBUF

#define EM8300_PLAYMODE_FRAMEBUF 8

## ◆ EM8300_PLAYMODE_PAUSED

#define EM8300_PLAYMODE_PAUSED 1

## ◆ EM8300_PLAYMODE_PLAY

#define EM8300_PLAYMODE_PLAY 5

## ◆ EM8300_PLAYMODE_REVERSEPLAY

#define EM8300_PLAYMODE_REVERSEPLAY 6

## ◆ EM8300_PLAYMODE_SCAN

#define EM8300_PLAYMODE_SCAN 7

## ◆ EM8300_PLAYMODE_SINGLESTEP

#define EM8300_PLAYMODE_SINGLESTEP 4

## ◆ EM8300_PLAYMODE_SLOWBACKWARDS

#define EM8300_PLAYMODE_SLOWBACKWARDS 3

## ◆ EM8300_PLAYMODE_SLOWFORWARDS

#define EM8300_PLAYMODE_SLOWFORWARDS 2

## ◆ EM8300_PLAYMODE_STOPPED

#define EM8300_PLAYMODE_STOPPED 0

## ◆ EM8300_SPUMODE_OFF

#define EM8300_SPUMODE_OFF 0

## ◆ EM8300_SPUMODE_ON

#define EM8300_SPUMODE_ON 1

## ◆ EM8300_SUBDEVICE_AUDIO

#define EM8300_SUBDEVICE_AUDIO 2

## ◆ EM8300_SUBDEVICE_CONTROL

#define EM8300_SUBDEVICE_CONTROL 0

## ◆ EM8300_SUBDEVICE_SUBPICTURE

#define EM8300_SUBDEVICE_SUBPICTURE 3

## ◆ EM8300_SUBDEVICE_VIDEO

#define EM8300_SUBDEVICE_VIDEO 1

## ◆ EM8300_VIDEOMODE_DEFAULT

#define EM8300_VIDEOMODE_DEFAULT EM8300_VIDEOMODE_PAL

## ◆ EM8300_VIDEOMODE_LAST

#define EM8300_VIDEOMODE_LAST 2

## ◆ EM8300_VIDEOMODE_NTSC

#define EM8300_VIDEOMODE_NTSC 2

## ◆ EM8300_VIDEOMODE_PAL

#define EM8300_VIDEOMODE_PAL 0

## ◆ EM8300_VIDEOMODE_PAL60

#define EM8300_VIDEOMODE_PAL60 1

## ◆ EM9010_ATTRIBUTE_JITTER

#define EM9010_ATTRIBUTE_JITTER 4

## ◆ EM9010_ATTRIBUTE_KEYCOLOR_LOWER

#define EM9010_ATTRIBUTE_KEYCOLOR_LOWER 7

## ◆ EM9010_ATTRIBUTE_KEYCOLOR_UPPER

#define EM9010_ATTRIBUTE_KEYCOLOR_UPPER 6

## ◆ EM9010_ATTRIBUTE_MAX

#define EM9010_ATTRIBUTE_MAX 7

## ◆ EM9010_ATTRIBUTE_STABILITY

#define EM9010_ATTRIBUTE_STABILITY 5

## ◆ EM9010_ATTRIBUTE_XCORR

#define EM9010_ATTRIBUTE_XCORR 1

## ◆ EM9010_ATTRIBUTE_XOFFSET

#define EM9010_ATTRIBUTE_XOFFSET 2

## ◆ EM9010_ATTRIBUTE_YOFFSET

#define EM9010_ATTRIBUTE_YOFFSET 3

## ◆ ENCODER_ADV7170

#define ENCODER_ADV7170 2

## ◆ ENCODER_ADV7175

#define ENCODER_ADV7175 1

## ◆ ENCODER_BT865

#define ENCODER_BT865 3

## ◆ ENCODER_UNKNOWN

#define ENCODER_UNKNOWN 0

## ◆ IRQSTATUS_AUDIO_FIFO

#define IRQSTATUS_AUDIO_FIFO 0x8

## ◆ IRQSTATUS_VIDEO_FIFO

#define IRQSTATUS_VIDEO_FIFO 0x2

## ◆ IRQSTATUS_VIDEO_VBL

#define IRQSTATUS_VIDEO_VBL 0x10

## ◆ MACOMMAND_PAUSE

#define MACOMMAND_PAUSE 0x1

## ◆ MACOMMAND_PLAY

#define MACOMMAND_PLAY 0x2

## ◆ MACOMMAND_STOP

#define MACOMMAND_STOP 0x0

## ◆ MAX_UCODE_REGISTER

#define MAX_UCODE_REGISTER 110

## ◆ MVCOMMAND_DISPLAYBUFINFO

#define MVCOMMAND_DISPLAYBUFINFO 0x11

## ◆ MVCOMMAND_FLUSHBUF

#define MVCOMMAND_FLUSHBUF 0x10

## ◆ MVCOMMAND_PAUSE

#define MVCOMMAND_PAUSE 0x1

## ◆ MVCOMMAND_PLAYINTRA

#define MVCOMMAND_PLAYINTRA 0x4

## ◆ MVCOMMAND_START

#define MVCOMMAND_START 0x3

## ◆ MVCOMMAND_STOP

#define MVCOMMAND_STOP 0x0

## ◆ MVCOMMAND_SYNC

#define MVCOMMAND_SYNC 0x6

## ◆ PCI_DEVICE_ID_SIGMADESIGNS_EM8300

#define PCI_DEVICE_ID_SIGMADESIGNS_EM8300 0x8300

## ◆ PCI_VENDOR_ID_SIGMADESIGNS

#define PCI_VENDOR_ID_SIGMADESIGNS 0x1105