![]() |
v_vscaler
Vitis Drivers API Documentation
|
Functions | |
| XV_vscaler_Config * | XV_vscaler_LookupConfig (u16 DeviceId) |
| Looks up the configuration for a specific XV_vscaler device instance. More... | |
| int | XV_vscaler_Initialize (XV_vscaler *InstancePtr, u16 DeviceId) |
| Initializes a specific XV_vscaler device instance. More... | |
Variables | |
| XV_vscaler_Config | XV_vscaler_ConfigTable [] |
| XV_vscaler_ConfigTable contains the configuration information for each V_VSCALER device in the system. More... | |
| int XV_vscaler_Initialize | ( | XV_vscaler * | InstancePtr, |
| u16 | DeviceId | ||
| ) |
Initializes a specific XV_vscaler device instance.
This function initializes the XV_vscaler device pointed to by InstancePtr using the configuration data corresponding to the specified DeviceId. It first looks up the configuration for the given DeviceId. If the configuration is found, it calls XV_vscaler_CfgInitialize to initialize the device instance. If the configuration is not found, the function sets the IsReady flag of the instance to 0 and returns XST_DEVICE_NOT_FOUND.
| InstancePtr | Pointer to the XV_vscaler instance to be initialized. |
| DeviceId | Unique identifier for the XV_vscaler device instance. |
References XV_vscaler_Config::BaseAddress, XV_vscaler::IsReady, XV_vscaler_CfgInitialize(), and XV_vscaler_LookupConfig().
Referenced by XV_VScalerInitialize().
| XV_vscaler_Config* XV_vscaler_LookupConfig | ( | u16 | DeviceId | ) |
Looks up the configuration for a specific XV_vscaler device instance.
This function searches the XV_vscaler configuration table for an entry that matches the specified DeviceId. If a matching configuration is found, a pointer to the configuration structure is returned; otherwise, NULL is returned.
| DeviceId | The unique identifier of the XV_vscaler device instance to look up. |
Referenced by XV_vscaler_Initialize().
| XV_vscaler_Config XV_vscaler_ConfigTable[] |
XV_vscaler_ConfigTable contains the configuration information for each V_VSCALER device in the system.
This table is typically populated using values from xparameters.h generated by the hardware design tools.
Each entry corresponds to a hardware instance and includes parameters such as: