![]() |
vprocss
Xilinx SDK Drivers API Documentation
|
Macros | |
#define | XVPROCSS_LOG_H |
< prevent circular inclusions by using protection macros More... | |
#define | XVPROCSS_EVT_BUFFSIZE 256 |
Data structure for the event logging mechanism for debug. More... | |
#define | XVPROCSS_EDAT_SUCCESS 0x00 |
Event Log status codes. More... | |
Functions | |
int | XVprocSs_SubcoreInitResetAxis (XVprocSs *XVprocSsPtr) |
This function initializes the included sub-core to it's static configuration. More... | |
int | XVprocSs_SubcoreInitResetAximm (XVprocSs *XVprocSsPtr) |
This function initializes the included sub-core to it's static configuration. More... | |
int | XVprocSs_SubcoreInitRouter (XVprocSs *XVprocSsPtr) |
This function initializes the included sub-core to it's static configuration. More... | |
int | XVprocSs_SubcoreInitCsc (XVprocSs *XVprocSsPtr) |
This function initializes the included sub-core to it's static configuration. More... | |
int | XVprocSs_SubcoreInitHScaler (XVprocSs *XVprocSsPtr) |
This function initializes the included sub-core to it's static configuration. More... | |
int | XVprocSs_SubcoreInitVScaler (XVprocSs *XVprocSsPtr) |
This function initializes the included sub-core to it's static configuration. More... | |
int | XVprocSs_SubcoreInitHCrsmplr (XVprocSs *XVprocSsPtr) |
This function initializes the included sub-core to it's static configuration. More... | |
int | XVprocSs_SubcoreInitVCrsmpleIn (XVprocSs *XVprocSsPtr) |
This function initializes the included sub-core to it's static configuration. More... | |
int | XVprocSs_SubcoreInitVCrsmpleOut (XVprocSs *XVprocSsPtr) |
This function initializes the included sub-core to it's static configuration. More... | |
int | XVprocSs_SubcoreInitLetterbox (XVprocSs *XVprocSsPtr) |
This function initializes the included sub-core to it's static configuration. More... | |
int | XVprocSs_SubcoreInitVdma (XVprocSs *XVprocSsPtr) |
This function initializes the included sub-core to it's static configuration. More... | |
int | XVprocSs_SubcoreInitDeinterlacer (XVprocSs *XVprocSsPtr) |
This function initializes the included sub-core to it's static configuration. More... | |
int | XVprocSs_BuildRoutingTable (XVprocSs *XVprocSsPtr) |
This function examines the subsystem Input/Output Stream configuration and builds a routing table for the supported use-case. More... | |
void | XVprocSs_ProgRouterMux (XVprocSs *XVprocSsPtr) |
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. More... | |
void | XVprocSs_SetupRouterDataFlow (XVprocSs *XVprocSsPtr) |
This function traverses the routing map built earlier and configures each sub-core in the processing path per its location in the chain. More... | |
XVprocSs_Config * | XVprocSs_LookupConfig (u32 DeviceId) |
This function looks for the device configuration based on the unique device ID. More... | |
Variables | |
u16 | XVprocSs_Log::DataBuffer [XVPROCSS_EVT_BUFFSIZE] |
Log buffer with event data. More... | |
u8 | XVprocSs_Log::HeadIndex |
Index of the head entry of the Event/DataBuffer. More... | |
u8 | XVprocSs_Log::TailIndex |
Index of the tail entry of the Event/DataBuffer. More... | |
#define XVPROCSS_EDAT_SUCCESS 0x00 |
#include <xvprocss_log.h>
Event Log status codes.
These are the event data values.
0x00 - 0x0F : Successful events - applicable to VPSS and subcores 0xF0 - 0xFF : Error events - applicable to VPSS and subcores
0x10 ... : Successful events - applicable to particular subcores ... 0xEF : Error events - applicable to particular subcores
Referenced by XVprocSs_Stop(), and XVprocSs_UpdateZoomPipWindow().
#define XVPROCSS_EVT_BUFFSIZE 256 |
#include <xvprocss_log.h>
Data structure for the event logging mechanism for debug.
Referenced by XVprocSs_LogRead(), and XVprocSs_LogWrite().
#define XVPROCSS_LOG_H |
#include <xvprocss_log.h>
< prevent circular inclusions by using protection macros
enum XVprocSs_LogEvent |
#include <xvprocss_log.h>
This typedef contains the Event Log identifiers.
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
XVprocSsPtr | is a pointer to the Subsystem instance to be worked on. |
References XVprocSs::CtxtData, XVprocSs_ContextData::RtngTable, 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.
DeviceId | is the unique device ID of the device being looked up |
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.
XVprocSsPtr | is a pointer to the Subsystem instance to be worked on. |
References XVprocSs::CtxtData, XVprocSs::RouterPtr, XVprocSs_ContextData::RtngTable, and XVprocSs_ContextData::RtrNumCores.
void XVprocSs_SetupRouterDataFlow | ( | XVprocSs * | XVprocSsPtr | ) |
#include <xvprocss_router.c>
This function traverses the routing map built earlier and configures each sub-core in the processing path per its location in the chain.
Each core in the processing path is marked and only marked cores are started All remaining cores stay disabled
XVprocSsPtr | is a pointer to the Subsystem instance to be worked on. |
References XVprocSs::CtxtData, XVprocSs_ContextData::RtngTable, XVprocSs_ContextData::ScaleMode, XVprocSs_ContextData::StartCore, XVprocSs::VdmaPtr, XVprocSs::VidIn, and XVprocSs_ContextData::VidInHeight.
int XVprocSs_SubcoreInitCsc | ( | XVprocSs * | XVprocSsPtr | ) |
#include <xvprocss_coreinit.c>
This function initializes the included sub-core to it's static configuration.
XVprocSsPtr | is a pointer to the Subsystem instance to be worked on. |
References XVprocSs::Config, XVprocSs_Config::Csc, XVprocSs::CscPtr, XSubCore::DeviceId, XVPROCSS_EVT_CFG_CSC, and XVprocSs_LogWrite().
int XVprocSs_SubcoreInitDeinterlacer | ( | XVprocSs * | XVprocSsPtr | ) |
#include <xvprocss_coreinit.c>
This function initializes the included sub-core to it's static configuration.
XVprocSsPtr | is a pointer to the Subsystem instance to be worked on. |
References XVprocSs::Config, XVprocSs_Config::Deint, XVprocSs::DeintPtr, XSubCore::DeviceId, XVPROCSS_EVT_CFG_DEINT, and XVprocSs_LogWrite().
int XVprocSs_SubcoreInitHCrsmplr | ( | XVprocSs * | XVprocSsPtr | ) |
#include <xvprocss_coreinit.c>
This function initializes the included sub-core to it's static configuration.
XVprocSsPtr | is a pointer to the Subsystem instance to be worked on. |
References XVprocSs::Config, XSubCore::DeviceId, XVprocSs_Config::HCrsmplr, XVprocSs::HcrsmplrPtr, XVPROCSS_EVT_CFG_HCR, and XVprocSs_LogWrite().
int XVprocSs_SubcoreInitHScaler | ( | XVprocSs * | XVprocSsPtr | ) |
#include <xvprocss_coreinit.c>
This function initializes the included sub-core to it's static configuration.
XVprocSsPtr | is a pointer to the Subsystem instance to be worked on. |
References XVprocSs::Config, XSubCore::DeviceId, XVprocSs_Config::Hscale, XVprocSs::HscalerPtr, XVPROCSS_EVT_CFG_HSCALER, and XVprocSs_LogWrite().
int XVprocSs_SubcoreInitLetterbox | ( | XVprocSs * | XVprocSsPtr | ) |
#include <xvprocss_coreinit.c>
This function initializes the included sub-core to it's static configuration.
XVprocSsPtr | is a pointer to the Subsystem instance to be worked on. |
References XVprocSs::Config, XSubCore::DeviceId, XVprocSs_Config::Lbox, XVprocSs::LboxPtr, XVPROCSS_EVT_INIT_LBOX, and XVprocSs_LogWrite().
int XVprocSs_SubcoreInitResetAximm | ( | XVprocSs * | XVprocSsPtr | ) |
#include <xvprocss_coreinit.c>
This function initializes the included sub-core to it's static configuration.
XVprocSsPtr | is a pointer to the Subsystem instance to be worked on. |
References XVprocSs::Config, XSubCore::DeviceId, XVprocSs_Config::RstAximm, XVprocSs::RstAximmPtr, XVPROCSS_EVT_INIT_RESAXIM, and XVprocSs_LogWrite().
int XVprocSs_SubcoreInitResetAxis | ( | XVprocSs * | XVprocSsPtr | ) |
#include <xvprocss_coreinit.c>
This function initializes the included sub-core to it's static configuration.
XVprocSsPtr | is a pointer to the Subsystem instance to be worked on. |
References XVprocSs::Config, XSubCore::DeviceId, XVprocSs_Config::RstAxis, XVprocSs::RstAxisPtr, XVPROCSS_EVT_INIT_RESAXIS, and XVprocSs_LogWrite().
int XVprocSs_SubcoreInitRouter | ( | XVprocSs * | XVprocSsPtr | ) |
#include <xvprocss_coreinit.c>
This function initializes the included sub-core to it's static configuration.
XVprocSsPtr | is a pointer to the Subsystem instance to be worked on. |
References XVprocSs::Config, XSubCore::DeviceId, XVprocSs_Config::Router, XVprocSs::RouterPtr, XVPROCSS_EVT_INIT_ROUTER, and XVprocSs_LogWrite().
int XVprocSs_SubcoreInitVCrsmpleIn | ( | XVprocSs * | XVprocSsPtr | ) |
#include <xvprocss_coreinit.c>
This function initializes the included sub-core to it's static configuration.
XVprocSsPtr | is a pointer to the Subsystem instance to be worked on. |
References XVprocSs::Config, XSubCore::DeviceId, XVprocSs_Config::VCrsmplrIn, XVprocSs::VcrsmplrInPtr, XVPROCSS_EVT_CFG_VCRI, and XVprocSs_LogWrite().
int XVprocSs_SubcoreInitVCrsmpleOut | ( | XVprocSs * | XVprocSsPtr | ) |
#include <xvprocss_coreinit.c>
This function initializes the included sub-core to it's static configuration.
XVprocSsPtr | is a pointer to the Subsystem instance to be worked on. |
References XVprocSs::Config, XSubCore::DeviceId, XVprocSs_Config::VCrsmplrOut, XVprocSs::VcrsmplrOutPtr, XVPROCSS_EVT_CFG_VCRO, and XVprocSs_LogWrite().
int XVprocSs_SubcoreInitVdma | ( | XVprocSs * | XVprocSsPtr | ) |
#include <xvprocss_coreinit.c>
This function initializes the included sub-core to it's static configuration.
XVprocSsPtr | is a pointer to the Subsystem instance to be worked on. |
References XVprocSs::Config, XSubCore::DeviceId, XVprocSs_Config::Vdma, XVprocSs::VdmaPtr, XVPROCSS_EVT_INIT_VDMA, and XVprocSs_LogWrite().
int XVprocSs_SubcoreInitVScaler | ( | XVprocSs * | XVprocSsPtr | ) |
#include <xvprocss_coreinit.c>
This function initializes the included sub-core to it's static configuration.
XVprocSsPtr | is a pointer to the Subsystem instance to be worked on. |
References XVprocSs::Config, XSubCore::DeviceId, XVprocSs_Config::Vscale, XVprocSs::VscalerPtr, XVPROCSS_EVT_CFG_VSCALER, and XVprocSs_LogWrite().
u16 XVprocSs_Log::DataBuffer[XVPROCSS_EVT_BUFFSIZE] |
Log buffer with event data.
u8 XVprocSs_Log::HeadIndex |
Index of the head entry of the Event/DataBuffer.
u8 XVprocSs_Log::TailIndex |
Index of the tail entry of the Event/DataBuffer.