![]() |
v_hscaler
Vitis Drivers API Documentation
|
Functions | |
| XV_hscaler_Config * | XV_hscaler_LookupConfig (u16 DeviceId) |
| This function looks up the configuration for a device instance by its DeviceId. More... | |
| int | XV_hscaler_Initialize (XV_hscaler *InstancePtr, u16 DeviceId) |
| XV_hscaler_Initialize - Initializes an XV_hscaler instance. More... | |
Variables | |
| XV_hscaler_Config | XV_hscaler_ConfigTable [] |
| XV_hscaler_ConfigTable - Array of configuration structures for XV_hscaler instances. More... | |
| int XV_hscaler_Initialize | ( | XV_hscaler * | InstancePtr, |
| u16 | DeviceId | ||
| ) |
XV_hscaler_Initialize - Initializes an XV_hscaler instance.
This function looks up the hardware configuration for the device specified by DeviceId, and initializes the XV_hscaler instance pointed to by InstancePtr. If the configuration is not found, the function sets the instance's IsReady flag to 0 and returns XST_DEVICE_NOT_FOUND. Otherwise, it calls XV_hscaler_CfgInitialize to complete the initialization.
| InstancePtr | Pointer to the XV_hscaler instance to be initialized. |
| DeviceId | Unique device ID of the XV_hscaler core. |
References XV_hscaler_Config::BaseAddress, XV_hscaler::IsReady, XV_hscaler_CfgInitialize(), and XV_hscaler_LookupConfig().
Referenced by XV_HScalerInitialize().
| XV_hscaler_Config* XV_hscaler_LookupConfig | ( | u16 | DeviceId | ) |
This function looks up the configuration for a device instance by its DeviceId.
| DeviceId | is the unique device ID of the XV_hscaler instance. |
Referenced by XV_hscaler_Initialize().
| XV_hscaler_Config XV_hscaler_ConfigTable[] |
XV_hscaler_ConfigTable - Array of configuration structures for XV_hscaler instances.
This table contains the configuration parameters for each instance of the XV_hscaler hardware IP core present in the system. Each entry is initialized with values defined in the hardware platform configuration (xparameters.h), such as device ID, base address, supported video formats, and scaling capabilities.
Fields initialized per instance:
The table is typically auto-generated based on the hardware design and should not be modified manually.