![]() |
v_vcresampler
Vitis Drivers API Documentation
|
Functions | |
| XV_vcresampler_Config * | XV_vcresampler_LookupConfig (u16 DeviceId) |
| Looks up the configuration for a specific XV_vcresampler device instance. More... | |
| int | XV_vcresampler_Initialize (XV_vcresampler *InstancePtr, u16 DeviceId) |
| Initializes the XV_vcresampler instance. More... | |
Variables | |
| XV_vcresampler_Config | XV_vcresampler_ConfigTable [] |
| XV_vcresampler_ConfigTable. More... | |
| int XV_vcresampler_Initialize | ( | XV_vcresampler * | InstancePtr, |
| u16 | DeviceId | ||
| ) |
Initializes the XV_vcresampler instance.
This function looks up the configuration for the given DeviceId, and initializes the XV_vcresampler instance with the configuration. If the configuration is not found, the function sets the instance as not ready and returns an error code.
| InstancePtr | Pointer to the XV_vcresampler instance to be initialized. |
| DeviceId | Device ID of the hardware instance to initialize. |
References XV_vcresampler_Config::BaseAddress, XV_vcresampler::IsReady, XV_vcresampler_CfgInitialize(), and XV_vcresampler_LookupConfig().
Referenced by XV_VcrsmplInitialize().
| XV_vcresampler_Config* XV_vcresampler_LookupConfig | ( | u16 | DeviceId | ) |
Looks up the configuration for a specific XV_vcresampler device instance.
This function searches the XV_vcresampler_ConfigTable for a configuration structure that matches the provided DeviceId. If a match is found, a pointer to the configuration structure is returned; otherwise, NULL is returned.
| DeviceId | The unique identifier for the XV_vcresampler device instance. |
Referenced by XV_vcresampler_Initialize().
| XV_vcresampler_Config XV_vcresampler_ConfigTable[] |
XV_vcresampler_ConfigTable.
This table contains the configuration parameters for each XV_vcresampler hardware instance defined in xparameters.h. Each entry is populated with macros generated by the hardware design tools, describing the instance's device ID, base address, and capabilities.
Fields: