############################################################################################## # TvOut byte: # Bit7,Bit6 = YcYuvRgb - one of COMPOSITE, COMPONENT_YUV, COMPONENT_RGB # Bit4 = TvAsSource - one of SET_TV_AS_SOURCE, SET_TV_AS_USER # Bit2 = TvNoScaling - one of SET_ONETOONE, SET_SCALE # Bit3,Bit1 = Standard_TvOut - one of SET_NTSC, SET_PAL, SET_PAL60, SET_PALM # Bit5,Bit0 = TvOut - one of SET_VGA, SET_TV, SET_HDTV #define COMPONENT_MASK 0x00C0 #define COMPOSITE 0x0000 #define COMPONENT_YUV 0x0080 #define COMPONENT_RGB 0x00C0 #define VIDEOOUT_MASK 0x0021 #define SET_VGA 0x0000 #define SET_TV 0x0001 #define SET_HDTV 0x0020 #define STANDARDTV_MASK 0x000A #define SET_NTSC 0x0000 #define SET_PAL 0x0002 #define SET_PAL60 0x0008 #define SET_PALM 0x000A #define SET_ONETOONE 0x0000 #define SET_SCALE 0x0004 #define SET_TV_AS_SOURCE 0x0010 #define SET_TV_AS_USER 0x0000 # Example : # TvOut = 0 == SET_VGA | SET_NTSC | SET_ONETOONE | SET_TV_AS_USER will set: # -the analog overlay boards to play on Vga monitor # -the digital overlay boards to play in same time on vga and Tv , Ntsc # TvOut = 1 == SET_TV | SET_NTSC | SET_ONETOONE | SET_TV_AS_USER will set: # -the analog overlay boards to play on Tv Ntsc # -the digital overlay boards to play on 480P connector (only Ventura2k has this connector) # TvOut = 32 (0x20) == SET_HDTV | SET_NTSC | SET_ONETOONE | SET_TV_AS_USER will set: # -the analog overlay boards to play on Hdtv # -not used for the digital overlay boards # Default : TvOut = 0 ############################################################################################## # TvMR0 ; - 0x10 for AnalogDevice TvEncoders (extended NTSC filters) # Default : TvMR0 = 16 (0x10) ############################################################################################## # DoHwReset; - 0 IDecoderBoard_HwReset returns without resetting the hardware # - 1 IDecoderBoard_HwReset resets the hardware # Default : DoHwReset = 1 ############################################################################################## # DisableSpdifOutputInReset; - 0 IDecoderBoard_HwReset leaves the Spdif output enabled * - 1 IDecoderBoard_HwReset disables the Spdif output # Default : DisableSpdifOutputInReset = 1 ############################################################################################## # ActiveVideoWidthNtsc # Number of active video pixels for NTSC resolution # Default : ActiveVideoWidthNtsc = 720 ############################################################################################## # ActiveVideoWidthPal # Number of active video pixels for PAL resolution # Default : ActiveVideoWidthPal = 720 # The above two values are used when playing on TV to set the width of the active window. # They show the number of active pixels displayed on TV (any value between 0...720) for # Ntsc / Pal. They will not affect the destination window of the video or the scaling factors. ############################################################################################## #ForcedProgressiveSourceOff; # - 1 for FORCED_PROGRESSIVE_OFF - displays progressive or interlaced like in the video stream # - 0 for FORCED_PROGRESSIVE_ON - displays only progressive if the stream switches very # fast from interlaced to progressive # Default : ForcedProgressiveSourceOff = 1 (FORCED_PROGRESSIVE_OFF) ############################################################################################## #ForcedProgressiveAlways; # - 1 for PROGRESSIVE_ALWAYS - displays progressive for any video stream # - 0 for PROGRESSIVE_MOVIES - displays progressive only for movies # Default : ForcedProgressiveAlways = 0 (PROGRESSIVE_MOVIES) ############################################################################################## #NtscPalFrameDrop; # - 1 for FRAME_DROP - it drops frames when it converts Ntsc clip to PAL TV. # - 0 for FIELD_DROP - it drops fields when it converts Ntsc clip to PAL TV. # Default : NtscPalFrameDrop = 0 (FIELD_DROP) ############################################################################################## #VGAForcedInterlaced; # - 1 for VGA_INTERLACED - displays only BOB on VGA # - 0 VGA_PROGRESSIVE - displays BOB or WEAVE on VGA, depending on stream # Default : VGAForcedInterlaced = 0 (VGA_PROGRESSIVE) # ############################################################################################## #EnableSpdif; # - 0 for AUDIO_OUTPUT_STEREO # - 1 for AUDIO_OUTPUT_AC3DTS # Default : EnableSpdif = 0 (AUDIO_OUTPUT_STEREO) ############################################################################################## #VolumeRight; - audio volume right from 0 to 100 #The default value is 100. VolumeRight = 100 ############################################################################################## #VolumeLeft; - audio volume left from 0 to 100 #The default value is 100. VolumeLeft = 100 ############################################################################################## #DWORD DoAudioLater; #This dword can be used for testing audio / video synchronization. # DoAudioLater is the number of PTS units that will be added to the audio PTS # from file send to the hardware. The HwLib will typecast DoAudioLater # to LONG - this means that negative values can be programmed. # The PTS unit is 11.(1) microseconds ( 90 kHz ). #The default value is 0. DoAudioLater = 0 ############################################################################################## #DacType; # Used only for a specific hardware design (STPC - to select Pcm1716 or Pcm1720) #The default value is 1720. ############################################################################################## #AudioDacBitsPerSample; # - 0 the audio I2S 16 or 24 bit will be selected by HwLib # - 16 for audio I2S 16 bit # - 24 for audio I2S 24 bit #The default value is 0. AudioDacBitsPerSample = 0 ############################################################################################## #Brightness; - brightness from 0 to 1000, used when SET_VGA is selected # Default : Brightness = 500 ############################################################################################## #Contrast; - brightness from 0 to 1000, used when SET_VGA is selected # Default : Contrast = 500 ############################################################################################## #Saturation; - brightness from 0 to 1000, used when SET_VGA is selected # Default : Saturation = 500 ############################################################################################## #TvBrightness; - brightness from 0 to 1000, used when SET_TV is selected # Default : TvBrightness = 500 ############################################################################################## #TvContrast; - brightness from 0 to 1000, used when SET_TV is selected # Default : TvContrast = 500 ############################################################################################## #TvSaturation; - brightness from 0 to 1000, used when SET_VGA is selected # Default : TvSaturation = 500 ############################################################################################## #DecoderIsSlave; # - 0 for Ventura2000 when EM8400 is master - normal situation # - 1 for Ventura2000 when EM8400 is slave # Default : DecoderIsSlave = 0 ############################################################################################## #BitsPerPixel; #ScreenWidth; #ScreenHeight; # These values should be set according to VGA mode selected. #The default values are: BitsPerPixel = 8 ScreenWidth = 1024 ScreenHeight = 768 ############################################################################################## #HFreq; #Used for analog overlay to program the pixel clock frequency for Nova chip. #At IDecoderBoard_HwReset time the analog overlay chip will detect the horizontal #frequency of the VGA mode and will program its PLL trying to match the VGA pixel #frequency. Because of not enough accuracy the result can be slightly different from #one detection to another and this causes a one pixel change in position of the video. #In order to avoid this, the user should save the horizontal frequency got from HwLib #in the registry and when the new detection will happen the HwLib will use the registry #value if the value is in a +/-200Hz range. If the value is too different the #auto-detected frequency will be used - the VGA mode was probably changed. #If the user doesn't use the value should be 0. HFreq = 0 ############################################################################################## #TotalPixelsPerLine; #Used for analog overlay to program the pixel clock frequency for Nova chip. #At IDecoderBoard_HwReset time the analog overlay chip will program the PLL frequency #based on horizontal frequency and an estimation of the pixels per line number. #For a better accuracy this number can be programmed by user in registry. #If the user don't use the value should be 0. #The default value is 0. TotalPixelsPerLine = 0 ############################################################################################## #AcpiEnable; # - 0 will not power off/on the EM8400 (no ACPI ON/OFF) # - 1 IDecoder_Init will switch to ACPI_ON, IDecoder_Delete will switch to ACPI_OFF #The default value is 0. AcpiEnable = 0 ############################################################################################## #DecoderIsSlave; # Used for Ventura2k: # - 0 EM8400 is master - EM8400 generates the HSync and VSync # - 1 EM8400 is slave - EM8400 doesn't generate the HSync and VSync #The default value is 0. DecoderIsSlave = 0 ############################################################################################## #ZoomEnable; # - 0 no Zoom # - 1 enable AcqWnd window to be the zoomed video window # Default : ZoomEnable = 1 ############################################################################################## #WindowTvEnable; # - 0 fullscreen on TV # - 1 enable destination window on TV # Default : WindowTvEnable = 0 ############################################################################################## #WindowHdtvEnable; # - 0 fullscreen on HDTV # - 1 enable destination window on HDTV # Default : WindowHdtvEnable = 0 ############################################################################################## #OsdVideoIndependent; 1 to enable the zoom # - 0 OSD will be displayed relative to the video window # - 1 OSD will be displayed relative to the output device screen # Default : OsdVideoIndependent = 0 ############################################################################################## #MaximumDvclk; #Used to program the digital video pixel clock Dvclk for EM9010. # - 0 Dvclk will match the VGA pixel frequency # - 1 Dvclk will be set to maximum limit 80000kHz = 80MHz # - any required Dvclk in kHz, limited between hardware limits (30000 and 80000 for EM9010) #The default value is 0. MaximumDvclk = 0 [ VGA ] ############################################################################################## #InvertField; - 0 for top-bottom display, 1 for bottom-top display # Default : InvertField = 0 ############################################################################################## #Vmi_16bits; - 0 for 8bits, 1 for 16 bits # Default : Vmi_16bits = 0 ############################################################################################## #Ccir_656; - one of 0 (CCIR_601) or 1 (CCIR_656) # Default : Ccir_656 = 1 ############################################################################################## #SyncEnable; # - 2: VSync enabled, HSync disabled, VVLD/HS=HS enabled, # - 1: VSync enabled, HSync enabled, VVLD/HS=VVLD enabled, # - 0: VSync, HSync, VVLD/HS=VVLD disabled. # Default : SyncEnable = 0 (by default disable VS,HS, VVLD) ############################################################################################## #Vip20; # - enable (1) or disable (0) vip20 mode # Default : Vip20 = 0;