📄 emhwlib_propertytypes.h
字号:
/** Select V2 pads as the input pins for the DispGraphicInput */ RMbool GraphicInputV2;};/** Several options for the digital input and output ports */struct DispDigitalOut_PadsControl_type { /** version of this struct. set to 1 */ RMuint32 APIVersion; /** Member default */ RMbool ModifyInvertClock; /** Member default */ RMbool InvertClock; /** Member default */ RMbool ModifyDDRdout; /** Member default */ RMbool DDRdout; /** Member default */ RMbool ModifyInvertCaptureClock; /** Member default */ RMbool InvertCaptureClock; /** Member default */ RMbool ModifyDelay; /** in pSec range 0 -> 6300 */ RMuint32 Delay; /** Member default */ RMbool ModifyVideoInputV2; /** Select V2 pads as the input pins for the DispVideoInput */ RMbool VideoInputV2; /** Member default */ RMbool ModifyGraphicInputV2; /** Select V2 pads as the input pins for the DispGraphicInput */ RMbool GraphicInputV2; /** Member default */ RMbool ModifySCARTControl; /** Member default range 0 -> 3 */ RMuint32 SCARTControl; /** Member default */ RMbool ModifyPadsLoop; /** Connects the digital output to the both inputs */ RMbool PadsLoop;};/** struct Default */struct DispDigitalOut_TimingResetMaster_type { /** Member default */ RMuint32 ResetSourceID; /** Member default */ RMuint32 DelayLines; /** Member default */ RMuint32 DelayPixels;};/** struct Default */struct DispDigitalOut_GPIOFieldID_type { /** number of the GPIO pin where to output the next field ID */ RMuint32 GPIONumber; /** delay after vsync start in 27 MHz clocks, set to 0 to disable */ RMuint32 Delay;};/** Retreive the xtal counter value at the time of each input and output vsync resp. frame start */struct DispDigitalOut_VSyncTimes_type { /** Member default */ RMVSyncXtal VSyncTime; /** Member default */ RMVSyncXtal FrameTime;};/** struct Default */struct DispMainAnalogOut_TimingResetMaster_type { /** Member default */ RMuint32 ResetSourceID; /** Member default */ RMuint32 DelayLines; /** Member default */ RMuint32 DelayPixels;};/** struct Default */struct DispComponentOut_TimingResetMaster_type { /** Member default */ RMuint32 ResetSourceID; /** Member default */ RMuint32 DelayLines; /** Member default */ RMuint32 DelayPixels;};/** struct Default */struct DemuxEngine_Microcode_type { /** Member default */ RMuint32 MicrocodeVersion; /** Member default */ RMuint32 Address;};/** struct Default */struct MpegEngine_Microcode_type { /** Member default */ RMuint32 MicrocodeVersion; /** Member default */ RMuint32 Address;};/** struct Default */struct MpegEngine_DecoderSharedMemory_type { /** DRAM shared by all decoders on the MpegEngine */ RMuint32 Address; /** Member default */ RMuint32 Size;};/** struct Default */struct MpegEngine_SchedulerSharedMemory_type { /** DRAM used for task table */ RMuint32 Address; /** Member default */ RMuint32 Size;};/** connect/disconnect video/spu tasks to mpeg engine. */struct MpegEngine_ConnectTask_type { /** Member default */ RMbool connect; /** */ RMuint32 task_index;};/** struct Default */struct VideoDecoder_Open_type { /** Member default */ enum MPEG_Profile MPEGProfile; /** Member default */ RMuint32 BitstreamFIFOSize; /** Member default */ RMuint32 XferFIFOCount; /** Member default */ RMuint32 CachedAddress; /** Member default */ RMuint32 CachedSize; /** Member default */ RMuint32 UncachedAddress; /** Member default */ RMuint32 UncachedSize; /** index of DemuxProgram */ RMuint32 DemuxProgramId; /** index of STC */ RMuint32 TimerId;};/** Selects the type of video codec. The value should be supported by MPEG_profile selected at Open.@note The maximum codec value (MPEG4_HD) corresponds to the maximum DRAM reqirement. @li The video codec can be selected in stop mode and it should be followed by Init command. */enum VideoDecoder_Codec_type { /** Selects video MPEG2_SD */ VideoDecoder_Codec_MPEG2_SD = Profile_MPEG2_SD, /** Selects video MPEG2_DVD */ VideoDecoder_Codec_MPEG2_DVD = Profile_MPEG2_DVD, /** Selects video MPEG2_HD */ VideoDecoder_Codec_MPEG2_HD = Profile_MPEG2_HD, /** Selects video MPEG4_SD */ VideoDecoder_Codec_MPEG4_SD = Profile_MPEG4_SD, /** Selects video MPEG4_SD_Padding */ VideoDecoder_Codec_MPEG4_SD_Padding = Profile_MPEG4_SD_Padding, /** Selects video MPEG4_HD */ VideoDecoder_Codec_MPEG4_HD = Profile_MPEG4_HD, /** Selects video MPEG4_HD_Padding */ VideoDecoder_Codec_MPEG4_HD_Padding = Profile_MPEG4_HD_Padding, /** Selects video MPEG2_SD */ VideoDecoder_Codec_MPEG2_SD_Packed = Profile_MPEG2_SD_Packed, /** Selects video MPEG2_DVD */ VideoDecoder_Codec_MPEG2_DVD_Packed = Profile_MPEG2_DVD_Packed, /** Selects video MPEG2_HD */ VideoDecoder_Codec_MPEG2_HD_Packed = Profile_MPEG2_HD_Packed, /** Selects video MPEG4_SD */ VideoDecoder_Codec_MPEG4_SD_Packed = Profile_MPEG4_SD_Packed, /** Selects video MPEG4_HD */ VideoDecoder_Codec_MPEG4_HD_Packed = Profile_MPEG4_HD_Packed, /** Selects video MPEG2_SD */ VideoDecoder_Codec_MPEG2_SD_DeInt = Profile_MPEG2_SD_DeInt, /** Selects video MPEG2_DVD */ VideoDecoder_Codec_MPEG2_DVD_DeInt = Profile_MPEG2_DVD_DeInt, /** Selects video MPEG2_HD */ VideoDecoder_Codec_MPEG2_HD_DeInt = Profile_MPEG2_HD_DeInt, /** Selects video MPEG4_SD */ VideoDecoder_Codec_MPEG4_SD_DeInt = Profile_MPEG4_SD_DeInt, /** Selects video MPEG4_SD_Padding */ VideoDecoder_Codec_MPEG4_SD_DeInt_Padding = Profile_MPEG4_SD_DeInt_Padding, /** Selects video MPEG4_HD */ VideoDecoder_Codec_MPEG4_HD_DeInt = Profile_MPEG4_HD_DeInt, /** Selects video MPEG4_HD_Padding */ VideoDecoder_Codec_MPEG4_HD_DeInt_Padding = Profile_MPEG4_HD_DeInt_Padding, /** Selects video MPEG2_SD */ VideoDecoder_Codec_MPEG2_SD_Packed_DeInt = Profile_MPEG2_SD_Packed_DeInt, /** Selects video MPEG2_DVD */ VideoDecoder_Codec_MPEG2_DVD_Packed_DeInt = Profile_MPEG2_DVD_Packed_DeInt, /** Selects video MPEG2_HD */ VideoDecoder_Codec_MPEG2_HD_Packed_DeInt = Profile_MPEG2_HD_Packed_DeInt, /** Selects video MPEG4_SD */ VideoDecoder_Codec_MPEG4_SD_Packed_DeInt = Profile_MPEG4_SD_Packed_DeInt, /** Selects video MPEG4_HD */ VideoDecoder_Codec_MPEG4_HD_Packed_DeInt = Profile_MPEG4_HD_Packed_DeInt, /** Selects video WMV_SD */ VideoDecoder_Codec_WMV_SD = Profile_WMV_SD, /** Selects video WMV_816P */ VideoDecoder_Codec_WMV_816P = Profile_WMV_816P, /** Selects video WMV_HD */ VideoDecoder_Codec_WMV_HD = Profile_WMV_HD, /** Selects video DIVX3_SD */ VideoDecoder_Codec_DIVX3_SD = Profile_DIVX3_SD, /** Selects video DIVX3_HD */ VideoDecoder_Codec_DIVX3_HD = Profile_DIVX3_HD, /** Selects video DIVX3_SD */ VideoDecoder_Codec_DIVX3_SD_Packed = Profile_DIVX3_SD_Packed, /** Selects video DIVX3_HD */ VideoDecoder_Codec_DIVX3_HD_Packed = Profile_DIVX3_HD_Packed, /** Selects video H264_SD */ VideoDecoder_Codec_H264_SD = Profile_H264_SD, /** Selects video H264_HD */ VideoDecoder_Codec_H264_HD = Profile_H264_HD, /** Selects video H264_SD */ VideoDecoder_Codec_H264_SD_DeInt = Profile_H264_SD_DeInt, /** Selects video H264_HD */ VideoDecoder_Codec_H264_HD_DeInt = Profile_H264_HD_DeInt, /** Selects video VC1_SD */ VideoDecoder_Codec_VC1_SD = Profile_VC1_SD, /** Selects video VC1_HD */ VideoDecoder_Codec_VC1_HD = Profile_VC1_HD,};/** enum Default */enum VideoDecoder_Command_type { /** In Enum default */ VideoDecoder_Command_Uninit, /** results in state 'InitPending' and then state 'Stop' */ VideoDecoder_Command_Init, /** In Enum default */ VideoDecoder_Command_Stop, /** In Enum default */ VideoDecoder_Command_PlayFwd, /** Play a GOP backward. Unsupported for now */ VideoDecoder_Command_PlayBwd, /** Decode only I Frames.@note Forward/Backward playback of I frames is handled in the display */ VideoDecoder_Command_PlayIFrame, /** In Enum default */ VideoDecoder_Command_DecodeFwdToEvent,};/** enum Default */enum VideoDecoder_State_type { /** In Enum default */ VideoDecoder_State_Uninit, /** In Enum default */ VideoDecoder_State_UninitPending, /** results in state 'Stop' */ VideoDecoder_State_InitPending, /** In Enum default */ VideoDecoder_State_Stop, /** In Enum default */ VideoDecoder_State_StopPending, /** In Enum default */ VideoDecoder_State_PlayFwd, /** In Enum default */ VideoDecoder_State_PlayFwdPending, /** In Enum default */ VideoDecoder_State_PlayBwd, /** In Enum default */ VideoDecoder_State_PlayBwdPending, /** In Enum default */ VideoDecoder_State_PlayIFrame, /** In Enum default */ VideoDecoder_State_PlayIFramePending, /** In Enum default */ VideoDecoder_State_DecodeFwdToEvent, /** In Enum default */ VideoDecoder_State_DecodeFwdToEventPending,};/** struct Default */struct VideoDecoder_VopInfo_type { /** Number of ticks per second, used only for mpeg4 video. The DSI packet has to parsed in order to obtain VopTimeIncrementResolution. */ RMuint32 VopTimeIncrementResolution; /** Used only for mpeg4 video. If TRUE video will play at fixed rate = VopTimeIncrementResolution/FixedVopTimeIncrement */ RMbool FixedVopRate; /** Used only for mpeg4 video. If TRUE video will play at fixed rate = VopTimeIncrementResolution/FixedVopTimeIncrement */ RMuint32 FixedVopTimeIncrement;};/** struct Default */struct VideoDecoder_VideoTimeScale_type { /** If TRUE, VideoTimeScale replaces the VopTimeIncrementResolution (from DSI or from user fixed rate). */ RMbool enable; /** Number of ticks per second, defining the time stamp unit. Used only for mpeg4 video. For EM8620L only values of 16 bit are supported. */ RMuint32 time_resolution;};/** struct Default */struct VideoDecoder_WMV9VSProp_type { /** Member default */ RMuint32 Sequence; /** Member default */ RMuint16 Image_Width; /** Member default */ RMuint16 Image_Height; /** Member default */ RMuint16 MB_Width; /** Member default */ RMuint16 MB_Height;};/** struct Default */struct VideoDecoder_DIVX3VSProp_type { /** Member default */ RMuint16 Image_Width; /** Member default */ RMuint16 Image_Height;};/** force the color space of the video source */struct VideoDecoder_ForceColorSpace_type { /** force or not the color space */ RMbool Enable; /** color space to force */ enum EMhwlibColorSpace ColorSpace;};/** struct Default */struct VideoDecoder_OpenX_type { /** */ RMuint32 ProtectedFlags; /** input video stream data fifo */ RMuint32 BitstreamFIFOSize; /** data fifo needed for decoder to dump the user data embedded in video stream */ RMuint32 UserDataSize; /** total data size needed for decoder for picture buffers and context */ RMuint32 DecoderDataSize; /** decoder context memory - to be calculated inside microcode and removed from interface */ RMuint32 DecoderContextSize; /** number of buffers needed for deinterlacing, gfx access. By default emhwlib reserves two extra buffers for display and vsync. In order to renounce to them negative numbers of -1, -2 are accepted. */ RMint32 ExtraPictureBufferCount; /** Member default */ RMuint32 XferFIFOCount; /** Member default */ RMuint32 PtsFIFOCount; /** Member default */ RMuint32 InbandFIFOCount; /** Member default */ RMuint32 XtaskInbandFIFOCount; /** index of STC */ RMuint32 STCId; /** index of Xtask module */ RMuint32 XtaskId; /** Member default */ RMuint32 PictureProtectedAddress; /** Member default */ RMuint32 PictureProtectedSize; /** Member default */ RMuint32 BitstreamProtectedAddress; /** Member default */ RMuint32 BitstreamProtectedSize; /** Member default */ RMuint32 UnprotectedAddress; /** Member default */ RMuint32 UnprotectedSize;};/** struct Default */struct VideoDecoder_AnchorErrPropagation_type { /** */ RMuint32 AnchorErrPropagationThreshold; /** */ RMuint32 AnchorErrPropagationLength;};/** Select and load the Audio DSP microcode. @note @li This property should be called only when the DSP is in stopped state.\n @li Use the ::RMAudioEnginePropertyID_MicrocodeDRAMSize property followed by a call to ::RUAMalloc to allocate the memory specified by the Address parameter */struct AudioEngine_Microcode_type { /** @li 1 == Audio microcode handling PCM, AC3, MPEG Layer 1, 2 and 3 (mp3) Audio codecs.@li 4 == XCRC 32 bit test microcode used to test DMA transfers, interrupt mechanisms... */ RMuint32 MicrocodeVersion; /** DRAM location where mirocrocode overlays and data will be stored */ RMuint32 Address;};/** Extended version of property SampleFrequency. @note SampleFrequency is the same as SampleFrequencyFromSource, with GeneratorNumber = 3, Source = 1 (XtalIn) at 27MHz and IntermediateFrequency = 148500000. */struct AudioEngine_SampleFrequencyFromSource_type { /** Number of the PLL */ RMuint32 GeneratorNumber; /** Sample frequency in Hz */ RMuint32 SampleFrequency; /** Intermediate PLL output frequency. Needs to be 148500000 for AC3 decoding, should be multiple of SampleFrequency for others. */ RMuint32 IntermediateFrequency; /** PLL clock source: 1=XtalIn, 2=VCXO0, 3=VCXO1, 4=RClkIn0, 5=RClkIn1, 6=Vi0In (GraphicInput), 7=Vi1In (VideoInput). */ RMuint32 Source; /** nominal Frequency of the source (e.g. 27000000 for XtalIn) */ RMuint32 SourceFrequency;};/** Set audio output channel FIFO volume.@li Increasing the audio volume above 0db may cause distortion (cropping) on the audio output depending on the audio source.@li This volume is the master output volume for the specified channel. Even though this volume will be applied to 2 audio decoders, there are currently no way to control the volume separately on these 2 decoders. */struct AudioEngine_Volume_type { /** Defines the targeted output channel from 0 to (N-1) channels. range 0 -> 11 */ RMuint32 Channel; /** Specifies the audio attenuation from +24db to -infinite. 0db is represented by Volume=0x10000000. Shifting this value by 1 bit on the left will increase the volume by 6db. Maximum gain is 0xFFFFFFFF ~=24db. Shifting the 0db value by 1 bit on the right will decrease the volume by 6db until the value reaches 0 (infinite, i.e. mute). @note @li Volume is a 4.28 fix point number. Volume = 0x10000000 * 2^(Gain/6), where Gain has unit dB. range 0 -> 0xFFFFFFFF */ RMuint32 Volume;};/** Set audio output channel FIFO volume.@li Increasing the audio volume above 0db may cause distortion (cropping) on the audio output depending on the audio source.@li This volume is the master output volume for the specified channel. Even though this volume will be applied to 2 audio decoders, there are currently no way to control the volume separately on these 2 decoders. */struct AudioEngine_Delay_type { /** Specifies the audio channel delay from 0 to 330 step=0.1 ms. range 0 -> 330 */ RMuint32 Delay_ch0; /** Specifies the audio channel delay from 0 to 330 step=0.1 ms. range 0 -> 330 */ RMuint32 Delay_ch1; /** Specifies the audio channel delay from 0 to 330 step=0.1 ms. range 0 -> 330 */ RMuint32 Delay_ch2; /** Specifies the audio channel delay from 0 to 330 step=0.1 ms. range 0 -> 330 */ RMuint32 Delay_ch3; /** Specifies the audio channel delay from 0 to 330 step=0.1 ms. range 0 -> 330 */ RMuint32 Delay_ch4; /** Specifies the audio channel delay from 0 to 330 step=0.1 ms. range 0 -> 330 */ RMuint32 Delay_ch5; /** Specifies the audio channel delay from 0 to 330 step=0.1 ms. range 0 -> 330 */ RMuint32 Delay_ch6; /** Specifies the audio channel delay from 0 to 330 step=0.1 ms. range 0 -> 330 */ RMuint32 Delay_ch7;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -