![]() |
v_frmbuf_rd
Vitis Drivers API Documentation
|
Functions | |
| XV_frmbufrd_Config * | XV_frmbufrd_LookupConfig (u16 DeviceId) |
| Looks up the configuration for a frame buffer reader instance based on the given device ID. More... | |
| int | XV_frmbufrd_Initialize (XV_frmbufrd *InstancePtr, u16 DeviceId) |
| Initializes the frame buffer read core instance. More... | |
| int XV_frmbufrd_Initialize | ( | XV_frmbufrd * | InstancePtr, |
| u16 | DeviceId | ||
| ) |
Initializes the frame buffer read core instance.
| InstancePtr | Pointer to the XV_frmbufrd instance to be initialized. |
| DeviceId | Device ID of the frame buffer read core to look up configuration. |
This function looks up the configuration for the specified device ID and initializes the XV_frmbufrd instance with the configuration data. If the configuration is not found, the function marks the instance as not ready and returns an error code.
References XV_frmbufrd_Config::BaseAddress, XV_frmbufrd::IsReady, XV_frmbufrd_CfgInitialize(), and XV_frmbufrd_LookupConfig().
Referenced by XVFrmbufRd_Initialize().
| XV_frmbufrd_Config* XV_frmbufrd_LookupConfig | ( | u16 | DeviceId | ) |
Looks up the configuration for a frame buffer reader instance based on the given device ID.
This function searches the XV_frmbufrd_ConfigTable for an entry whose DeviceId matches the specified DeviceId. If a matching entry is found, a pointer to its configuration structure is returned. If no matching entry is found, NULL is returned.
| DeviceId | Device ID of the frame buffer reader core to look up. |
Referenced by XV_frmbufrd_Initialize().