Software Drivers

scaler

This is the main header file of the Xilinx MVI Video Scaler device driver. The Scaler device converts a specified rectangular area of an input digital video image from one original sampling grid to a desired target sampling grid.

Video Scaler Device v3.00a features are as follows:

For a full description of Scaler features, please see the hardware spec.

An example is shipped with the driver to demonstrate how to use the APIs this driver provides to access and control the Video Scaler device.

Limitation

 MODIFICATION HISTORY:

 Ver   Who    Date     Changes
 ----- ------ -------- -------------------------------------------------------
 1.00a xd     05/14/09 First release
 2.00a xd     12/14/09 Updated Doxygen document tags
 3.00a xd     07/29/10 Added core version & sharable coefficient bank
                       support
 6.0   adk    12/19/13 Updated as per the New Tcl API's
 7.0   adk    08/22/14 Removed XSCL_HANDLER_ERROR and XSCL_HANDLER_EVENT macros.
                       Removed ErrorCallBack and its ref ErrorRef from XScaler
                       structure.
                       Modified EventCallBack as CallBack and
                       EventRef as CallBackRef.
                       Modified XSCL_STSDONE to XSCL_STATUS_OFFSET,
                       XSCL_STS to XSCL_STATUS_OFFSET, XSCL_STSERR to
                       XSCL_ERROR_OFFSET.
                       Removed the following functional macros
                       XScaler_IntrGetPending,
                       XScaler_IntrEnableGlobal and XScaler_IntrDisableGlobal.
                       uncommented interrupt related macros.
                       Modified prototypes of the following functions by removing IntrType
                       parameter as there was only one interrupt :XScaler_IntrEnable,
                       XScaler_IntrDisable and XScaler_IntrClear.

                       Modifications from xscalar_hw.h file are:
                       Appended register offset macros with _OFFSET and
                       Bit definition with _MASK.
                       Provided backward compatibility for changed macros.
                       Defined the following macros XSCL_CTL_MEMRD_EN_MASK.
                       Modified XSCL_CTL_ENABLE to XSCL_CTL_SW_EN_MASK,
                       XSCL_RESET_RESET_MASK to XSCL_CTL_RESET_MASK,
                       XSCL_CTL_REGUPDATE to XSCL_CTL_RUE_MASK,
                       XSCL_STSDONE_DONE and XSCL_STS_COEF_W_RDY_MASK to
                       XSCL_IXR_COEF_W_RDY_MASK.
                       Added XSCL_ERR_*_MASK s.
                       Removed XSCL_GIER_GIE_MASK.
                       Removed following macros as they were not defined in
                       latest product guide(v 8.1):
                       XSCL_STSERR_CODE*_MASK, XSCL_IXR_OUTPUT_FRAME_DONE_MASK,
                       XSCL_IXR_COEF_FIFO_READY_MASK, XSCL_IXR_INPUT_ERROR_MASK
                       XSCL_IXR_COEF_WR_ERROR_MASK,
                       XSCL_IXR_REG_UPDATE_DONE_MASK,
                       XSCL_IXR_OUTPUT_ERROR_MASK, XSCL_IXR_EVENT_MASK,
                       XSCL_IXR_ERROR_MASK, XSCL_IXR_ALLINTR_MASK,
                       XSCL_HSF_INT_MASK, XSCL_VSF_INT_MASK,
                       XSCL_COEFFVALUE_BASE_SHIFT and XSCL_COEFVALUE_BASE_MASK.
                       Modified bits of the following macros:
                       XSCL_HSF_FRAC_MASK and XSCL_VSF_FRAC_MASK.

                       Modifications from xscalar.c file are:
                       Modified prototype of XScaler_GetVersion API.
                       and functionality of StubCallBack. Modified assert
                       conditions in functions XScaler_CfgInitialize,
                       XScaler_SetPhaseNum, XScaler_LoadCoeffBank.
                       Removed error callback from XScaler_CfgInitialize
                       function.
                       Uncommented XScaler_Reset in XScaler_CfgInitialize
                       function.

                       Modifications from file xscalar_coefs.c file are
                       Removed typedef unsigned short s16 as it was already
                       defined in xil_types.h.
                       Modified coefs_struct to Coefs_Struct.
                       Updated doxygen document tags.
                       XScaler_coef_table is made as a global variable.
                       Memory allocated was freed after usage.

                       Modifications from xscalar_intr.c file are
                       XScaler_IntrHandler and XScaler_SetCallBack APIs were
                       modified

                       Added XScaler_LookupConfig in xscalar_sinit.c file and

 
Copyright @ 1995-2014 Xilinx, Inc. All rights reserved.