📄 rm84cmn.h
字号:
eHdtvVSyncActive, // RMuint32 /** number of lines between VSync and visible*/ eHdtvPostVSync, // RMuint32 /** pixel frequency resulted from previous settings*/ eHdtvPixelFreq, // RMuint32 /** interlaced mode, resulted from VideoHeight and the HFreq/VFreq*/ eHdtvInterlaced, // RMuint32 /** not a property */ eHdtvRegMax}REGISTRY_HDTV_SET_ID;/** VGA specific settings (Digital Video Port) */typedef enum { /** @li CCIR_NON_INVERT_FIELD for top-bottom display @li CCIR_INVERT_FIELD for bottom-top display @remark The default value is 0. It depends on the VGA card. */ eInvertField = 0, // RMuint32 /** @li 0 for 8bits @li 1 for 16 bits @remark The default value is 0. */ eVmi_16bits, // RMuint32 /** @li one of CCIR_601 or CCIR_656 @remark The default value is CCIR_601 for analog overlay and CCIR_656 for digital overlay. */ eCcir_656, // RMuint32 /** @li VSyncDis_HSyncDis_VrdyDis @li VSyncEn_HSyncEn_VrdyEn @li VSyncEn_HSyncDis_VrdyisHSyncEn @remark The default value is VSyncEn_HSyncEn_VrdyEn for analog overlay boards and VSyncDis_HSyncDis_VrdyDis for digital overlay boards. */ eSyncEnable, // RMuint32 /** @li 1 enables VIP 2.0 @remark The default value is 0. */ eVip20, // RMuint32 eVgaVendorRegMax}REGISTRY_VGAVENDOR_SET_ID;/*****************************************************************************/// SCANCONVERTER_SET uses RMuint32 = unsigned long = DWORDtypedef enum { escAccessRegister = 0, // genericReg_type (ADDR_DATA) escResetDefault, // RMuint32 escBrightness, // escContrast, // escSaturation, // escSharpness, // escFlicker, // escChromaFilter, // escLumaFilter, // escNtscPedestal, // escMacrovision, // escMacrovision_type escTvStandard, // escOutputFormat, // escHwOutputHorzOffsShadow, // escHwOutputVertOffsShadow, // escTVPixels, // escTVLines, // escHorizontalPositionOffset, // escVerticalPositionOffset, // escHorizontalScaleStep, // escVerticalScaleStep, // escHorizontalPanPosition, // escVerticalPanPosition, // escZoom, // escScanConverterMax}SCANCONVERTER_SET_ID;// EEPROM_SETtypedef enum { eEepromAccess = 0, // genericReg_type (ADDR_DATA), set, get eEepromI2cInit, // I2cDeviceInit_type, set only eEepromMax}EEPROM_SET_ID;// BOARDINFO_SETtypedef enum { ebiDeviceId = 0, // RMuint32, get only (equivalent with MpegAttrGetSubID) ebiSubId, // RMuint32, get only (equivalent with MpegAttrGetSubID) ebiBoardVersion, // RMuint32, get only ebiAPMState, // ebiAPMState_type ebiPIOAccess, // genericReg_type (ADDR_DATA). get changes PIO in input, set changes PIO in output ebiHwLibVersion, // RMuint32, get only (equivalent with MpegAttrCodeVersion) ebiUcodeVersion, // RMuint32, get only ebiCommand, // ebiCommand_type, set only ebiUcode, // ebiUcode_type ebiAsynchCommand, // RMuint32, set only // - 1 for new behavior - functions can return Q_PENDING and CheckPendingCommand should be called to complete // - 0 for old behavior - no Q_PENDING return ebiBoardNameString, // get only, buffer of more than 128 TCHAR should be provided ebiLastErrorInfoString, // get only,, buffer of more than 256 TCHAR should be provided eBoardInfoMax}BOARDINFO_SET_ID;// VIDEO_SET uses u.ulData in DWORDtypedef enum { /** Scart Output ( TV output ) @li evScartOutput_COMPOSITE @li evScartOutput_RGB @li evScartOutput_DISABLE @remark The default value is evScartOutput_DISABLE */ evScartOutput = 0, // evScartOutput_type /** Output Device for video display @li evOutputDevice_VGA @li evOutputDevice_TV @li evOutputDevice_HDTV @li evOutputDevice_DigOvOnly @remark The default value is evOutputDevice_VGA for analog boards and evOutputDevice_VGATV for digital boards. */ evOutputDevice, // evOutputDevice_type (equivalent with MpegAttrVideoTv & VIDEOOUT_MASK) /** TV output format (TV output) @li evTvOutputFormat_COMPOSITE @li evTvOutputFormat_COMPONENT_YUV @li evTvOutputFormat_COMPONENT_RGB @li evTvOutputFormat_OUTPUT_OFF @li evTvOutputFormat_COMPONENT_RGB_SCART @remark The default value is evTvOutputFormat_COMPOSITE. */ evTvOutputFormat, // evTvOutputFormat_type (equivalent with MpegAttrVideoTv & COMPONENT_MASK) /** TV standard (TV output) @li evTvStandard_NTSC @li evTvStandard_PAL @li evTvStandard_PAL60 @li evTvStandard_PALM @remark The default value is evTvStandard_NTSC. */ evTvStandard, // evTvStandard_type (equivalent with MpegAttrVideoTv & STANDARDTV_MASK) evBrightness, // RMuint32: [0..1000], brightness (equivalent with MpegAttrVideoBrightness) evContrast, // RMuint32: [0..1000], contrast (equivalent with MpegAttrVideoContrast) evSaturation, // RMuint32: [0..1000], saturation (equivalent with MpegAttrVideoSaturation) /** Video input aspect ratio @li evInAspectRatio_4x3 @li evInAspectRatio_16x9 @remark The default value is evInAspectRatio_4x3. */ evInAspectRatio, // evInAspectRatio_type: (equivalent with MpegAttrVideoAspectRatio) /** Video input standard ( based on frame rate and vertical width ) @li evInStandard_NTSC @li evInStandard_PAL @remark The default value is evInStandard_NTSC. */ evInStandard, // evInStandard_type: (equivalent with MpegAttrVideoMode, MpegAttrVideoRate) /** Video output display option @li evOutDisplayOption_Normal @li evOutDisplayOption_16x9to4x3_PanScan @li evOutDisplayOption_16x9to4x3_LetterBox @li evOutDisplayOption_4x3to16x9_HorzCenter @li evOutDisplayOption_4x3to16x9_VertCenter @remark The default value is evOutDisplayOption_Normal. */ evOutDisplayOption, // evOutDisplayOption_type: (equivalent with MpegAttrVideoOutputMode) /** Source video window - {0,0, MpegWidth, MpegHeight} @remark Default Source window is 720x480 */ evSourceWindow, // Wnd_type, set/get /** Zoomed video window - it should be inside the SourceWindow @remark Default the Zoomed video window is equal with SourceWindow */ evZoomedWindow, // Wnd_type, set/get /** Maximum output display resolution @remark It depends on the evOutputDevice selected. */ evMaxDisplayWindow, // Wnd_type, get only /** evDestinationWindow @remark For full screen get evMaxDisplayWindow and set evDestinationWindow */ evDestinationWindow, // Wnd_type, set/get /** evValidWindow = Video valid window @remark The default is evMaxDisplayWindow */ evValidWindow, // Wnd_type, set/get evCustomHdtvParams, // CustomHdtvParams_type, set/get, (equivalent with MpegAttrHDTVMode) /** Video speed @remark The default value is 0 for normal speed playback */ evSpeed, // evSpeed_type (equivalent with MpegAttrVideoSpeed) /** evCaptureParams uses evCaptureParams_type to specify: wWidth = picture width in pixels wHeight = height of frame or field in lines wPictureType = 0 for frame, 1 for field dwBufferSize = size of the buffer to receive the YUV info corresponding to CaptureFormat already set */ evCaptureParams, // evCaptureParams_type, get only /** evCaptureFormat uses evCaptureFormat_type to specify: YUV_FRAME = 0, // frame, weaved for interlaced content YUV_TOP_FIELD, // top field for interlaced content. // odd lines for progressive content YUV_BOTTOM_FIELD, // bottom field for interlaced content. // even lines for progressive content BGR_24BITS_BMP, // frame, eventually weaved PALETTE_INDEX_BMP // frame, eventually weaved */ evCaptureFormat, // evCaptureFormat_type /** evCaptureFrame has to provide a buffer of dwBufferSize bytes; dwBufferSize should be get from evCaptureParams, after setting the evCaptureFormat */ evCaptureFrame, // variable buffer size = dwBufferSize get from evCaptureParams_type evUnsupported, // evFrameNumberInGOP unsupported starting with HwLib version 24 /** AnalogCable Presence @li evAnalogCable_NotConnected @li evAnalogCable_Connected @remark The default value is evAnalogCable_Connected */ evAnalogCable, // evAnalogCable_type, get only /** DigitalCable Presence @li evDigitalCable_NotConnected @li evDigitalCable_Connected @remark The default value is evDigitalCable_Connected */ evDigitalCable, // evDigitalCable_type, get only /** ScartAspectRatio ( TV output ) @li evScartAspectRatio_Auto @li evScartAspectRatio_4x3 @li evScartAspectRatio_16x9 @remark The default value is evScartAspectRatio_Auto */ evScartAspectRatio, // evScartAspectRatio_type, set and get /** Video frame counter gives the number of frames displayed since previous video stop. @remark The default value after stop is 0. */ evFrameCounter, // RMuint32, get only (similar with MpegAttrVideoFramePosition) evYUVWriteParams, // evYUVWriteParams_type evDisplayFilter, // evDisplayFilter_type evUnsupported1, // evDigOvOnlyConfig removed /* | (H/V) Total | |<--------------------------------->|<-------------------... | | |Pre|Active|Post| Width/Heigth |Pre|Active|Post| ->|<->|<---->|<-->|<----------------->|<->|<---->|<-->|<--- ~\ +--/~~~~~...~~~~~\--+ /~~~... ------+ +----| MAX. VIDEO VALID |---+ +----|----... ~/ | | +--\~~~~~~...~~~~/--+ | | \~~~... V______| V______| ~\ /~~~~~...~~~~\ /~... ------+ +-------| VIDEO DEST |-----+ +-----|--... ~/ | | \~~~~~...~~~~/ | | \~... V______| V______| HSyncTotal = PreHSync + HSyncActive + PostHSync + VideoWidth; VSyncTotal = PreVSync + VSyncActive + PostVSync + VideoHeight; HFreq = VFreq * VSyncTotal / (Interlaced ? 2:1); PixelFreq = HFreq * HSyncTotal * ((nbits==8) ? 2:1); HorizontalOffset= HSyncActive + PostHSync - ((BitsPerClock == 8)? 2:4); VerticalOffset = VSyncActive + PostVSync + (Interlaced?2:1); Sample: {" 720x480I_8_Ntsc--", { 15734,5994, 720,480, 858,20,100,18, 525,6,3,36, 27000000,1, 0,0, 8, evTvHdtvStandard_NTSC, CCIR_601, CCIR_NON_INVERT_FIELD, VSyncEn_HSyncEn_VrdyEn, 1, evSyncGen_em8xxx_Master} }, {" 720x576I_8_Pal--", { 15625,5000, 720,576, 864,6,100,38, 625,4,3,42, 27000000,1, 0,0, 8, evTvHdtvStandard_PAL, CCIR_601, CCIR_NON_INVERT_FIELD, VSyncEn_HSyncEn_VrdyEn, 1, evSyncGen_em8xxx_Master} }, {" 720x480P_8_59.94Hz--Dvi", { 31469,5994, 720,480, 858,16,62,60, 525,9,6,30, 54000804,0, 0,0, 8, evTvHdtvStandard_480P, CCIR_601, CCIR_NON_INVERT_FIELD, VSyncEn_HSyncEn_VrdyEn, 1, evSyncGen_em8xxx_Master} }, {"1280x720P_24_60Hz++Dvi", { 45000,6000, 1280,720, 1650,110,40,220, 750,5,5,20, 74250000,0, 1,1, 24, evTvHdtvStandard_720P, CCIR_601, CCIR_NON_INVERT_FIELD, VSyncEn_HSyncEn_VrdyEn, 1, evSyncGen_em8xxx_Master} }, {"1920x1080I_24_59.94Hz++Dvi", { 33716,5994, 1920,1080, 2199,87,44,148, 1125,5,10,30, 74141484,0, 1,1, 24, evTvHdtvStandard_1080I, CCIR_601, CCIR_NON_INVERT_FIELD, VSyncEn_HSyncEn_VrdyEn, 1, evSyncGen_em8xxx_Master} } */ evDigOvOnlyParams, // evDigOvOnlyParams_type, set/get evVOBUReverseParams, // evVOBUReverseParams_type
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -