vprocss
Xilinx SDK Drivers API Documentation
Functions
Vprocss

Functions

int XVprocSs_SubcoreInitResetAxis (XVprocSs *XVprocSsPtr)
 
int XVprocSs_SubcoreInitResetAximm (XVprocSs *XVprocSsPtr)
 
int XVprocSs_SubcoreInitRouter (XVprocSs *XVprocSsPtr)
 
int XVprocSs_SubcoreInitCsc (XVprocSs *XVprocSsPtr)
 
int XVprocSs_SubcoreInitHScaler (XVprocSs *XVprocSsPtr)
 
int XVprocSs_SubcoreInitVScaler (XVprocSs *XVprocSsPtr)
 
int XVprocSs_SubcoreInitHCrsmplr (XVprocSs *XVprocSsPtr)
 
int XVprocSs_SubcoreInitVCrsmpleIn (XVprocSs *XVprocSsPtr)
 
int XVprocSs_SubcoreInitVCrsmpleOut (XVprocSs *XVprocSsPtr)
 
int XVprocSs_SubcoreInitLetterbox (XVprocSs *XVprocSsPtr)
 
int XVprocSs_SubcoreInitVdma (XVprocSs *XVprocSsPtr)
 
int XVprocSs_SubcoreInitDeinterlacer (XVprocSs *XVprocSsPtr)
 
int XVprocSs_BuildRoutingTable (XVprocSs *XVprocSsPtr)
 
void XVprocSs_ProgRouterMux (XVprocSs *XVprocSsPtr)
 
void XVprocSs_SetupRouterDataFlow (XVprocSs *XVprocSsPtr)
 
XVprocSs_ConfigXVprocSs_LookupConfig (u32 DeviceId)
 

Function Documentation

int XVprocSs_BuildRoutingTable ( XVprocSs XVprocSsPtr)

#include <xvprocss_router.c>

This function examines the subsystem Input/Output Stream configuration and builds a routing table for the supported use-case.

The computed routing table is stored in the scratch pad memory

Parameters
XVprocSsPtris a pointer to the Subsystem instance to be worked on.
Returns
XST_SUCCESS if routing table can be created else XST_FAILURE

References XVprocSs_ContextData::CscIn, XVprocSs_ContextData::CscOut, XVprocSs::CtxtData, XVprocSs_ContextData::HcrIn, XVprocSs_ContextData::HcrOut, XVprocSs_ContextData::MemEn, XVprocSs_ContextData::RtngTable, XVprocSs_ContextData::RtrNumCores, XVprocSs_ContextData::ScaleMode, XVprocSs_ContextData::StrmCformat, XVprocSs::VidIn, XVprocSs_ContextData::VidInHeight, XVprocSs_ContextData::VidInWidth, and XVprocSs::VidOut.

XVprocSs_Config* XVprocSs_LookupConfig ( u32  DeviceId)

#include <xvprocss_sinit.c>

This function looks for the device configuration based on the unique device ID.

The table XVprocSs_ConfigTable[] contains the configuration information for each instance of the device in the system.

Parameters
DeviceIdis the unique device ID of the device being looked up
Returns
A pointer to the configuration table entry corresponding to the given device ID, or NULL if no match is found
void XVprocSs_ProgRouterMux ( XVprocSs XVprocSsPtr)

#include <xvprocss_router.c>

This function traverses the computed routing table and sets up the AXIS switch registers, to route the stream through processing cores, in the order defined in the routing map.

Parameters
XVprocSsPtris a pointer to the Subsystem instance to be worked on.
Returns
None

References XVprocSs::CtxtData, XVprocSs::RouterPtr, XVprocSs_ContextData::RtngTable, and XVprocSs_ContextData::RtrNumCores.

void XVprocSs_SetupRouterDataFlow ( XVprocSs XVprocSsPtr)
int XVprocSs_SubcoreInitCsc ( XVprocSs XVprocSsPtr)

#include <xvprocss_coreinit.c>

This function initializes the included sub-core to it's static configuration.

Parameters
XVprocSsPtris a pointer to the Subsystem instance to be worked on.
Returns
XST_SUCCESS/XST_FAILURE

References XSubCore::AddrOffset, XVprocSs_Config::BaseAddress, XVprocSs::Config, XVprocSs_Config::Csc, XVprocSs::CscPtr, XSubCore::DeviceId, and XVprocSs_Config::HighAddress.

Referenced by XVprocSs_CfgInitialize().

int XVprocSs_SubcoreInitDeinterlacer ( XVprocSs XVprocSsPtr)

#include <xvprocss_coreinit.c>

This function initializes the included sub-core to it's static configuration.

Parameters
XVprocSsPtris a pointer to the Subsystem instance to be worked on.
Returns
XST_SUCCESS/XST_FAILURE

References XSubCore::AddrOffset, XVprocSs_Config::BaseAddress, XVprocSs::Config, XVprocSs_Config::Deint, XVprocSs::DeintPtr, XSubCore::DeviceId, and XVprocSs_Config::HighAddress.

Referenced by XVprocSs_CfgInitialize().

int XVprocSs_SubcoreInitHCrsmplr ( XVprocSs XVprocSsPtr)

#include <xvprocss_coreinit.c>

This function initializes the included sub-core to it's static configuration.

Parameters
XVprocSsPtris a pointer to the Subsystem instance to be worked on.
Returns
XST_SUCCESS/XST_FAILURE

References XSubCore::AddrOffset, XVprocSs_Config::BaseAddress, XVprocSs::Config, XSubCore::DeviceId, XVprocSs::HcrL2Reg, XVprocSs_Config::HCrsmplr, XVprocSs::HcrsmplrPtr, and XVprocSs_Config::HighAddress.

Referenced by XVprocSs_CfgInitialize().

int XVprocSs_SubcoreInitHScaler ( XVprocSs XVprocSsPtr)

#include <xvprocss_coreinit.c>

This function initializes the included sub-core to it's static configuration.

Parameters
XVprocSsPtris a pointer to the Subsystem instance to be worked on.
Returns
XST_SUCCESS/XST_FAILURE

References XSubCore::AddrOffset, XVprocSs_Config::BaseAddress, XVprocSs::Config, XSubCore::DeviceId, XVprocSs_Config::HighAddress, XVprocSs_Config::Hscale, and XVprocSs::HscalerPtr.

Referenced by XVprocSs_CfgInitialize().

int XVprocSs_SubcoreInitLetterbox ( XVprocSs XVprocSsPtr)

#include <xvprocss_coreinit.c>

This function initializes the included sub-core to it's static configuration.

Parameters
XVprocSsPtris a pointer to the Subsystem instance to be worked on.
Returns
XST_SUCCESS/XST_FAILURE

References XSubCore::AddrOffset, XVprocSs_Config::BaseAddress, XVprocSs::Config, XSubCore::DeviceId, XVprocSs_Config::HighAddress, XVprocSs_Config::Lbox, and XVprocSs::LboxPtr.

Referenced by XVprocSs_CfgInitialize().

int XVprocSs_SubcoreInitResetAximm ( XVprocSs XVprocSsPtr)

#include <xvprocss_coreinit.c>

This function initializes the included sub-core to it's static configuration.

Parameters
XVprocSsPtris a pointer to the Subsystem instance to be worked on.
Returns
XST_SUCCESS/XST_FAILURE

References XSubCore::AddrOffset, XVprocSs_Config::BaseAddress, XVprocSs::Config, XSubCore::DeviceId, XVprocSs_Config::HighAddress, XVprocSs_Config::RstAximm, and XVprocSs::RstAximmPtr.

Referenced by XVprocSs_CfgInitialize().

int XVprocSs_SubcoreInitResetAxis ( XVprocSs XVprocSsPtr)

#include <xvprocss_coreinit.c>

This function initializes the included sub-core to it's static configuration.

Parameters
XVprocSsPtris a pointer to the Subsystem instance to be worked on.
Returns
XST_SUCCESS/XST_FAILURE

References XSubCore::AddrOffset, XVprocSs_Config::BaseAddress, XVprocSs::Config, XSubCore::DeviceId, XVprocSs_Config::HighAddress, XVprocSs_Config::RstAxis, and XVprocSs::RstAxisPtr.

Referenced by XVprocSs_CfgInitialize().

int XVprocSs_SubcoreInitRouter ( XVprocSs XVprocSsPtr)

#include <xvprocss_coreinit.c>

This function initializes the included sub-core to it's static configuration.

Parameters
XVprocSsPtris a pointer to the Subsystem instance to be worked on.
Returns
XST_SUCCESS/XST_FAILURE

References XSubCore::AddrOffset, XVprocSs_Config::BaseAddress, XVprocSs::Config, XSubCore::DeviceId, XVprocSs_Config::HighAddress, XVprocSs_Config::Router, and XVprocSs::RouterPtr.

Referenced by XVprocSs_CfgInitialize().

int XVprocSs_SubcoreInitVCrsmpleIn ( XVprocSs XVprocSsPtr)

#include <xvprocss_coreinit.c>

This function initializes the included sub-core to it's static configuration.

Parameters
XVprocSsPtris a pointer to the Subsystem instance to be worked on.
Returns
XST_SUCCESS/XST_FAILURE

References XSubCore::AddrOffset, XVprocSs_Config::BaseAddress, XVprocSs::Config, XSubCore::DeviceId, XVprocSs_Config::HighAddress, XVprocSs::VcrInL2Reg, XVprocSs_Config::VCrsmplrIn, and XVprocSs::VcrsmplrInPtr.

Referenced by XVprocSs_CfgInitialize().

int XVprocSs_SubcoreInitVCrsmpleOut ( XVprocSs XVprocSsPtr)

#include <xvprocss_coreinit.c>

This function initializes the included sub-core to it's static configuration.

Parameters
XVprocSsPtris a pointer to the Subsystem instance to be worked on.
Returns
XST_SUCCESS/XST_FAILURE

References XSubCore::AddrOffset, XVprocSs_Config::BaseAddress, XVprocSs::Config, XSubCore::DeviceId, XVprocSs_Config::HighAddress, XVprocSs::VcrOutL2Reg, XVprocSs_Config::VCrsmplrOut, and XVprocSs::VcrsmplrOutPtr.

Referenced by XVprocSs_CfgInitialize().

int XVprocSs_SubcoreInitVdma ( XVprocSs XVprocSsPtr)

#include <xvprocss_coreinit.c>

This function initializes the included sub-core to it's static configuration.

Parameters
XVprocSsPtris a pointer to the Subsystem instance to be worked on.
Returns
XST_SUCCESS/XST_FAILURE

References XSubCore::AddrOffset, XVprocSs_Config::BaseAddress, XVprocSs::Config, XSubCore::DeviceId, XVprocSs_Config::HighAddress, XVprocSs_Config::Vdma, and XVprocSs::VdmaPtr.

Referenced by XVprocSs_CfgInitialize().

int XVprocSs_SubcoreInitVScaler ( XVprocSs XVprocSsPtr)

#include <xvprocss_coreinit.c>

This function initializes the included sub-core to it's static configuration.

Parameters
XVprocSsPtris a pointer to the Subsystem instance to be worked on.
Returns
XST_SUCCESS/XST_FAILURE

References XSubCore::AddrOffset, XVprocSs_Config::BaseAddress, XVprocSs::Config, XSubCore::DeviceId, XVprocSs_Config::HighAddress, XVprocSs_Config::Vscale, and XVprocSs::VscalerPtr.

Referenced by XVprocSs_CfgInitialize().