vprocss
Vitis Drivers API Documentation
xvprocss_log.c File Reference

Overview

Contains Event Logging routines for xvprocss.

Note
None.
MODIFICATION HISTORY:
Ver   Who  Date     Changes


2.00 dmc 01/11/16 Initial release. dmc 03/03/16 Add events for VDMA configuration and operational errors 2.20 rco 11/01/16 Change setup ignore messages (for csc, hscaler, vscaler etc.) severity from Info to Error 2.30 rco 11/15/16 Make debug log optional (can be disabled via makefile)* 2.40 vyc 10/04/17 Add 420 support in CSC-only topology

Functions

void XVprocSs_LogReset (XVprocSs *InstancePtr)
 This function will reset the driver's logging mechanism. More...
 
void XVprocSs_LogWrite (XVprocSs *InstancePtr, XVprocSs_LogEvent Evt, u8 Data)
 This function will insert an event in the driver's logging mechanism. More...
 
u16 XVprocSs_LogRead (XVprocSs *InstancePtr)
 This function will read the last event from the log. More...
 
void XVprocSs_LogDisplay (XVprocSs *InstancePtr)
 This function will read and print the entire event log. More...
 

Function Documentation

u16 XVprocSs_LogRead ( XVprocSs InstancePtr)

This function will read the last event from the log.

Parameters
InstancePtris a pointer to the XVprocSs core instance.
Returns
The log data.
Note
The read is "destructive" in the sense an event may only be read once, the read pointer then advancing to the next entry. After reading all the events (see routine XVprocSs_LogDisplay), the log will be empty.

References XVprocSs::Log, XVPROCSS_EVT_BUFFSIZE, and XVPROCSS_EVT_NONE.

Referenced by XVprocSs_LogDisplay().

void XVprocSs_LogReset ( XVprocSs InstancePtr)

This function will reset the driver's logging mechanism.

Parameters
InstancePtris a pointer to the XVprocSs core instance.
Returns
None.
Note
HeadIndex == TailIndex means that the log is empty.

References XVprocSs::Log.

Referenced by XSys_Init().