![]() |
v_mix
Vitis Drivers API Documentation
|
Functions | |
| XV_mix_Config * | XV_mix_LookupConfig (u16 DeviceId) |
| Looks up the hardware configuration for a given device ID. More... | |
| int | XV_mix_Initialize (XV_mix *InstancePtr, u16 DeviceId) |
| Initializes the XV_mix instance. More... | |
| int XV_mix_Initialize | ( | XV_mix * | InstancePtr, |
| u16 | DeviceId | ||
| ) |
Initializes the XV_mix instance.
This function initializes a specific XV_mix device instance using the provided DeviceId. It looks up the device configuration, and if found, initializes the instance with the configuration data. If the configuration is not found, it sets the instance as not ready and returns an error code.
| InstancePtr | Pointer to the XV_mix instance to be initialized. |
| DeviceId | Unique identifier for the device to initialize. |
References XV_mix_Config::BaseAddress, XV_mix::IsReady, XV_mix_CfgInitialize(), and XV_mix_LookupConfig().
Referenced by XVMix_Initialize().
| XV_mix_Config* XV_mix_LookupConfig | ( | u16 | DeviceId | ) |
Looks up the hardware configuration for a given device ID.
This function searches the configuration table for an entry that matches the specified DeviceId. If a match is found, it returns a pointer to the corresponding XV_mix_Config structure. If no match is found, it returns NULL.
| DeviceId | The unique identifier for the device whose configuration is to be found. |
Referenced by XV_mix_Initialize().