![]() |
v_csc
Vitis Drivers API Documentation
|
Functions | |
| XV_csc_Config * | XV_csc_LookupConfig (u16 DeviceId) |
| XV_csc_LookupConfig - Looks up the configuration for a specific Color Space Converter (CSC) device. More... | |
| int | XV_csc_Initialize (XV_csc *InstancePtr, u16 DeviceId) |
| XV_csc_Initialize - Initialize the Color Space Converter (CSC) core. More... | |
Variables | |
| XV_csc_Config | XV_csc_ConfigTable [] |
| XV_csc_ConfigTable - Array of configuration structures for the Color Space Converter (CSC) driver. More... | |
| int XV_csc_Initialize | ( | XV_csc * | InstancePtr, |
| u16 | DeviceId | ||
| ) |
XV_csc_Initialize - Initialize the Color Space Converter (CSC) core.
This function initializes an instance of the XV_csc driver. It looks up the configuration for the specified device ID, and if found, initializes the hardware and driver instance with the configuration data.
| InstancePtr | Pointer to the XV_csc instance to be initialized. |
| DeviceId | Device ID of the CSC core to look up the configuration. |
References XV_csc_Config::BaseAddress, XV_csc::IsReady, XV_csc_CfgInitialize(), and XV_csc_LookupConfig().
Referenced by XV_CscInitialize().
| XV_csc_Config* XV_csc_LookupConfig | ( | u16 | DeviceId | ) |
XV_csc_LookupConfig - Looks up the configuration for a specific Color Space Converter (CSC) device.
| DeviceId,: | The unique identifier for the device instance to look up. |
This function searches the configuration table for an entry that matches the provided DeviceId. If a matching entry is found, a pointer to its configuration structure is returned. If no match is found, NULL is returned.
Referenced by XV_csc_Initialize().
| XV_csc_Config XV_csc_ConfigTable[] |
XV_csc_ConfigTable - Array of configuration structures for the Color Space Converter (CSC) driver.
This table contains the configuration parameters for each instance of the CSC hardware present in the system. Each entry is populated with values defined in the hardware platform configuration (xparameters.h), such as device ID, base address, supported data widths, and feature enable flags.
Fields:
Note: The table is conditionally compiled based on the number of CSC instances defined by XPAR_XV_CSC_NUM_INSTANCES.