/* This function gets the video timing structure settings currently used by generator in the VTC core. */
void XVtc_GetGeneratorTiming(XVtc *InstancePtr, XVtc_Timing *TimingPtr)
/* This function gets the video timing structure settings currently used by generator in the VTC core. */
void XVtc_GetGeneratorTiming(XVtc *InstancePtr, XVtc_Timing *TimingPtr)
{
	XVtc_Polarity Polarity;
	XVtc_Signal Signal;
	XVtc_HoriOffsets Hoff;
	Xil_AssertVoid(InstancePtr != NULL);
	Xil_AssertVoid(InstancePtr->IsReady == XIL_COMPONENT_IS_READY);
	Xil_AssertVoid(TimingPtr != NULL);
	Signal.OriginMode = 1;
	XVtc_GetPolarity(InstancePtr, &Polarity);
	XVtc_GetGeneratorHoriOffset(InstancePtr, &Hoff);
	XVtc_GetGenerator(InstancePtr, &Signal);
	XVtc_ConvSignal2Timing(InstancePtr, &Signal, &Hoff, &Polarity,
					TimingPtr);
}