tpg
Vitis Drivers API Documentation
|
Functions | |
int | XTpg_CfgInitialize (XTpg *InstancePtr, XTpg_Config *CfgPtr, u32 EffectiveAddr) |
This function initializes the TPG core. More... | |
void | XTpg_Setup (XTpg *InstancePtr) |
This function sets the input/output frame size in Active Size register and enables the register update. More... | |
u32 | XTpg_GetVersion (XTpg *InstancePtr) |
This function returns the contents of the Version register of the TPG core. More... | |
void | XTpg_SetActiveSize (XTpg *InstancePtr, u16 HSize, u16 VSize) |
This function sets the active H/V sizes in the Active Size register. More... | |
void | XTpg_GetActiveSize (XTpg *InstancePtr, u16 *HSize, u16 *VSize) |
This function gets the number of Active Pixel per Scan line and number of Active Lines per Frame from the Active Size register. More... | |
void | XTpg_SetBackground (XTpg *InstancePtr, enum XTpg_BackgroundPattern Pattern) |
This function sets the background pattern in the Pattern Control Register. More... | |
u32 | XTpg_GetBackground (XTpg *InstancePtr) |
This function gets the background pattern for TPG core. More... | |
void | XTpg_EnableCrossHair (XTpg *InstancePtr) |
This function enables the drawing of Cross Hairs feature in the Pattern Control Register of the TPG core. More... | |
void | XTpg_DisableCrossHair (XTpg *InstancePtr) |
This function disables the drawing of Cross Hairs feature in the Pattern Control Register of the TPG core. More... | |
void | XTpg_EnableBox (XTpg *InstancePtr) |
This function enables the Moving Box feature in the Pattern Control Register of the TPG core. More... | |
void | XTpg_DisableBox (XTpg *InstancePtr) |
This function disables the Moving Box feature in the Pattern Control Register of the TPG core. More... | |
void | XTpg_SetComponentMask (XTpg *InstancePtr, enum XTpg_ComponentMask Mask) |
This function masks out the specified color component by setting the Pattern Control Register of the TPG core. More... | |
u32 | XTpg_GetComponentMask (XTpg *InstancePtr) |
This function returns the color component mask status in the Pattern Control Register. More... | |
void | XTpg_EnableStuckPixel (XTpg *InstancePtr) |
This function enables the Stuck Pixel Feature in the Pattern Control Register of the TPG core. More... | |
void | XTpg_DisableStuckPixel (XTpg *InstancePtr) |
This function disables the Stuck Pixel feature in the Pattern Control register of the TPG core. More... | |
void | XTPg_EnableNoise (XTpg *InstancePtr) |
This function enables the Noise on the output by setting value in Pattern Control register of the TPG core. More... | |
void | XTPg_DisableNoise (XTpg *InstancePtr) |
This function disables the Noise on the output by disabling this feature in Pattern Control register of the TPG core. More... | |
void | XTpg_EnableMotion (XTpg *InstancePtr) |
This function enables the Motion Feature in the Pattern Control register of the TPG core. More... | |
void | XTpg_DisableMotion (XTpg *InstancePtr) |
This function disables the Motion feature in the Pattern Control register of the TPG core. More... | |
void | XTpg_SetMotionSpeed (XTpg *InstancePtr, u32 MotionSpeed) |
This function sets the Motion Speed. More... | |
u32 | XTpg_GetMotionSpeed (XTpg *InstancePtr) |
This function gets the Motion Speed. More... | |
void | XTpg_SetCrosshairPosition (XTpg *InstancePtr, u16 HPos, u16 VPos) |
This function sets the Cross Hairs Positions. More... | |
void | XTpg_GetCrosshairPosition (XTpg *InstancePtr, u16 *HPos, u16 *VPos) |
This function gets the cross hair positions. More... | |
void | XTpg_SetZPlateHStart (XTpg *InstancePtr, u16 ZPlateHStart) |
This function sets a starting point in the ROM based sinusoidal values for the horizontal component. More... | |
u16 | XTpg_GetZPlateHStart (XTpg *InstancePtr) |
This function gets a starting point in the ROM based sinusoidal values for the horizontal component. More... | |
void | XTpg_SetZPlateHSpeed (XTpg *InstancePtr, u16 ZPlateHSpeed) |
This function sets how fast (the speed of) the horizontal component changes. More... | |
u16 | XTpg_GetZPlateHSpeed (XTpg *InstancePtr) |
This function gets how fast (the speed of) horizontal component changes. More... | |
void | XTpg_SetZPlateVStart (XTpg *InstancePtr, u16 ZPlateVStart) |
This function sets a starting point in the ROM based sinusoidal values for the vertical component. More... | |
u16 | XTpg_GetZPlateVStart (XTpg *InstancePtr) |
This function gets a starting point in the ROM based sinusoidal values for the vertical component. More... | |
void | XTpg_SetZPlateVSpeed (XTpg *InstancePtr, u16 ZPlateVSpeed) |
This function sets how fast (the speed of) the vertical component changes. More... | |
u16 | XTpg_GetZPlateVSpeed (XTpg *InstancePtr) |
This function gets how fast (the speed of) the vertical component changes. More... | |
int | XTpg_SetBoxSize (XTpg *InstancePtr, u32 BoxSize) |
This function sets the Box Size. More... | |
u32 | XTpg_GetBoxSize (XTpg *InstancePtr) |
This function gets the Box Size in pixel. More... | |
void | XTpg_SetBoxColor (XTpg *InstancePtr, u16 Blue, u16 Green, u16 Red) |
This function sets the color components of the box in the Box Color register of the TPG core. More... | |
void | XTpg_GetBoxColor (XTpg *InstancePtr, u16 *Blue, u16 *Green, u16 *Red) |
This function gets the color components of the box in the Box Color register of the TPG core. More... | |
void | XTpg_SetStuckPixelThreshold (XTpg *InstancePtr, u32 PixelThreshold) |
This function sets the stuck pixel threshold in STUCK_PIXEL_THRESH register of the TPG core. More... | |
u32 | XTpg_GetStuckPixelThreshold (XTpg *InstancePtr) |
This function gets the stuck pixel threshold in the STUCK_PIXEL_THRESH register of the TPG core. More... | |
void | XTpg_SetNoiseGain (XTpg *InstancePtr, u32 NoiseGain) |
This function sets the noise gain in Noise Gain register of the TPG core. More... | |
u32 | XTpg_GetNoiseGain (XTpg *InstancePtr) |
This function gets the noise gain of each component of TPG core. More... | |
void | XTpg_SetBayerPhase (XTpg *InstancePtr, enum XTpg_BayerPhaseCombination BayerPhaseComb) |
This function specifies or sets whether the starting position pixel(0,0) of the Bayer sampling grid is on a red-green or blue-green line and whether the first pixel is green or not. More... | |
u32 | XTpg_GetBayerPhase (XTpg *InstancePtr) |
This function returns the Bayer phase value which indicates starting pixel position. More... | |
void | XTpg_SetPattern (XTpg *InstancePtr, u32 Pattern) |
This function sets the Pattern Control Register of TPG core. More... | |
u32 | XTpg_GetPattern (XTpg *InstancePtr) |
This function returns the contents of the Pattern Control Register. More... | |