XilinxProcessorIPLib/drivers/v_hdmirxss/src/xv_hdmirxss.c
static void XV_HdmiRxSs_RetrieveVSInfoframe(XV_HdmiRxSs *HdmiRxSs)
{
  /** Vendor-Specific InfoFrame structure */
  XHdmiC_VSIF *VSIFPtr;
  VSIFPtr = XV_HdmiRxSs_GetVSIF(HdmiRxSs);

  if (HdmiRxSs->HdmiRxPtr->Aux.Header.Byte[0] == AUX_VSIF_TYPE) {
	  // Reset Vendor Specific InfoFrame
	  (void)memset((void *)VSIFPtr, 0, sizeof(XHdmiC_VSIF));

	  XV_HdmiC_VSIF_ParsePacket(&HdmiRxSs->HdmiRxPtr->Aux, VSIFPtr);

      // Defaults
      HdmiRxSs->HdmiRxPtr->Stream.Video.Is3D = FALSE;
      HdmiRxSs->HdmiRxPtr->Stream.Video.Info_3D.Format = XVIDC_3D_UNKNOWN;

      if (VSIFPtr->Format == XHDMIC_VSIF_VF_3D) {
          HdmiRxSs->HdmiRxPtr->Stream.Video.Is3D = TRUE;
          HdmiRxSs->HdmiRxPtr->Stream.Video.Info_3D = VSIFPtr->Info_3D.Stream;
      } else if (VSIFPtr->Format == XHDMIC_VSIF_VF_EXTRES) {
          switch(VSIFPtr->HDMI_VIC) {
              case 1 :
                  HdmiRxSs->HdmiRxPtr->Stream.Vic = 95;
                  break;

              case 2 :
                  HdmiRxSs->HdmiRxPtr->Stream.Vic = 94;
                  break;

              case 3 :
                  HdmiRxSs->HdmiRxPtr->Stream.Vic = 93;
                  break;

              case 4 :
                  HdmiRxSs->HdmiRxPtr->Stream.Vic = 98;
                  break;

              default :
                  break;
          }
      }
  }
}
/*****************************************************************************/
/**
*
* This function retrieves the Vendor Specific Info Frame.
*
* @param  None.
*
* @return None.
*
* @note   None.
*
******************************************************************************/
This function retrieves the Vendor Specific Info Frame.
This function retrieves the Vendor Specific Info Frame .
static void XV_HdmiRxSs_RetrieveVSInfoframe(XV_HdmiRxSs *HdmiRxSs)
{
  XHdmiC_VSIF *VSIFPtr;
  VSIFPtr = XV_HdmiRxSs_GetVSIF(HdmiRxSs);
  if (HdmiRxSs->HdmiRxPtr->Aux.Header.Byte[0] == AUX_VSIF_TYPE) {
	  (void)memset((void *)VSIFPtr, 0, sizeof(XHdmiC_VSIF));
	  XV_HdmiC_VSIF_ParsePacket(&HdmiRxSs->HdmiRxPtr->Aux, VSIFPtr);
      HdmiRxSs->HdmiRxPtr->Stream.Video.Is3D = FALSE;
      HdmiRxSs->HdmiRxPtr->Stream.Video.Info_3D.Format = XVIDC_3D_UNKNOWN;
      if (VSIFPtr->Format == XHDMIC_VSIF_VF_3D) {
          HdmiRxSs->HdmiRxPtr->Stream.Video.Is3D = TRUE;
          HdmiRxSs->HdmiRxPtr->Stream.Video.Info_3D = VSIFPtr->Info_3D.Stream;
      } else if (VSIFPtr->Format == XHDMIC_VSIF_VF_EXTRES) {
          switch(VSIFPtr->HDMI_VIC) {
              case 1 :
                  HdmiRxSs->HdmiRxPtr->Stream.Vic = 95;
                  break;
              case 2 :
                  HdmiRxSs->HdmiRxPtr->Stream.Vic = 94;
                  break;
              case 3 :
                  HdmiRxSs->HdmiRxPtr->Stream.Vic = 93;
                  break;
              case 4 :
                  HdmiRxSs->HdmiRxPtr->Stream.Vic = 98;
                  break;
              default :
                  break;
          }
      }
  }
}
static void XV_HdmiRxSs_RetrieveVSInfoframe ( XV_HdmiRxSs * HdmiRxSs ) { XHdmiC_VSIF * VSIFPtr ; VSIFPtr = XV_HdmiRxSs_GetVSIF ( HdmiRxSs ) ; if ( HdmiRxSs -> HdmiRxPtr -> Aux . Header . Byte [ 0 ] == AUX_VSIF_TYPE ) { ( void ) memset ( ( void * ) VSIFPtr , 0 , sizeof ( XHdmiC_VSIF ) ) ; XV_HdmiC_VSIF_ParsePacket ( & HdmiRxSs -> HdmiRxPtr -> Aux , VSIFPtr ) ; HdmiRxSs -> HdmiRxPtr -> Stream . Video . Is3D = FALSE ; HdmiRxSs -> HdmiRxPtr -> Stream . Video . Info_3D . Format = XVIDC_3D_UNKNOWN ; if ( VSIFPtr -> Format == XHDMIC_VSIF_VF_3D ) { HdmiRxSs -> HdmiRxPtr -> Stream . Video . Is3D = TRUE ; HdmiRxSs -> HdmiRxPtr -> Stream . Video . Info_3D = VSIFPtr -> Info_3D . Stream ; } else if ( VSIFPtr -> Format == XHDMIC_VSIF_VF_EXTRES ) { switch ( VSIFPtr -> HDMI_VIC ) { case 1 : HdmiRxSs -> HdmiRxPtr -> Stream . Vic = 95 ; break ; case 2 : HdmiRxSs -> HdmiRxPtr -> Stream . Vic = 94 ; break ; case 3 : HdmiRxSs -> HdmiRxPtr -> Stream . Vic = 93 ; break ; case 4 : HdmiRxSs -> HdmiRxPtr -> Stream . Vic = 98 ; break ; default : break ; } } } }
This function retrieves the Vendor Specific Info Frame.
This function retrieves the Vendor Specific Info Frame .
/** Vendor-Specific InfoFrame structure */ // Reset Vendor Specific InfoFrame // Defaults