XilinxProcessorIPLib/drivers/dp14txss/examples/src/pt_only/rx.c
void DpRxSs_AdaptiveVblankHandler(void *InstancePtr)
{
	u32 vblank;
	u32 delta;
	vblank = XDpRxSs_GetVblank(&DpRxSsInst,XDP_TX_STREAM_ID1);

	/* Calculate delta of Vtotal */
	if (vblank_captured) {
		delta = vblank - vblank_init;
		/* Update the Stretch value in VTC */
#if !ADAPTIVE_TYPE && ADAPTIVE
		XDpTxSs_VtcAdaptiveSyncSetup(DpTxSsInst.VtcPtr[0], ADAPTIVE_TYPE, delta);
		//xil_printf ("delta = %d\r\n",delta);
#endif
	}


}
/*****************************************************************************/
/**
*
* This function is the callback function for when the Adaptive Vblank interrupt
* occurs. Here the new value of Vblank is read. The difference in vblank is
* then programmed into VTC
*
* @param    InstancePtr is a pointer to the XDpRxSs instance.
*
* @return    None.
*
* @note        None.
*
******************************************************************************/
This function is the callback function for when the Adaptive Vblank interrupt
occurs. Here the new value of Vblank is read. The difference in vblank is
then programmed into VTC
This function is the callback function for when the Adaptive Vblank interrupt occurs . Here the new value of Vblank is read . The difference in vblank is then programmed into VTC
void DpRxSs_AdaptiveVblankHandler(void *InstancePtr)
{
	u32 vblank;
	u32 delta;
	vblank = XDpRxSs_GetVblank(&DpRxSsInst,XDP_TX_STREAM_ID1);
	if (vblank_captured) {
		delta = vblank - vblank_init;
#if !ADAPTIVE_TYPE && ADAPTIVE
		XDpTxSs_VtcAdaptiveSyncSetup(DpTxSsInst.VtcPtr[0], ADAPTIVE_TYPE, delta);
#endif
	}
}
void DpRxSs_AdaptiveVblankHandler ( void * InstancePtr ) { u32 vblank ; u32 delta ; vblank = XDpRxSs_GetVblank ( & DpRxSsInst , XDP_TX_STREAM_ID1 ) ; if ( vblank_captured ) { delta = vblank - vblank_init ; #if ! ADAPTIVE_TYPE && ADAPTIVE XDpTxSs_VtcAdaptiveSyncSetup ( DpTxSsInst . VtcPtr [ 0 ] , ADAPTIVE_TYPE , delta ) ; #endif } }
This function is the callback function for when the Adaptive Vblank interrupt
occurs.
This function is the callback function for when the Adaptive Vblank interrupt occurs .
/* Calculate delta of Vtotal */ /* Update the Stretch value in VTC */ //xil_printf ("delta = %d\r\n",delta);