![]() |
v_letterbox
Vitis Drivers API Documentation
|
Functions | |
| XV_letterbox_Config * | XV_letterbox_LookupConfig (u16 DeviceId) |
| XV_letterbox_LookupConfig - Looks up the configuration for a specific XV_letterbox device. More... | |
| int | XV_letterbox_Initialize (XV_letterbox *InstancePtr, u16 DeviceId) |
| XV_letterbox_Initialize - Initializes an XV_letterbox instance. More... | |
Variables | |
| XV_letterbox_Config | XV_letterbox_ConfigTable [] |
| XV_letterbox_ConfigTable - Configuration table for XV_letterbox driver instances. More... | |
| int XV_letterbox_Initialize | ( | XV_letterbox * | InstancePtr, |
| u16 | DeviceId | ||
| ) |
XV_letterbox_Initialize - Initializes an XV_letterbox instance.
This function initializes the specified XV_letterbox instance using the configuration data corresponding to the provided DeviceId. It first looks up the configuration for the given DeviceId. If the configuration is found, it initializes the instance with the configuration data and base address. If the configuration is not found, the function sets the instance's IsReady flag to 0 and returns XST_DEVICE_NOT_FOUND.
| InstancePtr | is a pointer to the XV_letterbox instance to be initialized. |
| DeviceId | is the unique identifier for the XV_letterbox device. |
References XV_letterbox_Config::BaseAddress, XV_letterbox::IsReady, XV_letterbox_CfgInitialize(), and XV_letterbox_LookupConfig().
Referenced by XV_LBoxInitialize().
| XV_letterbox_Config* XV_letterbox_LookupConfig | ( | u16 | DeviceId | ) |
XV_letterbox_LookupConfig - Looks up the configuration for a specific XV_letterbox device.
This function searches the configuration table for an entry that matches the provided DeviceId. If a matching configuration is found, a pointer to the configuration structure is returned. If no match is found, NULL is returned.
| DeviceId | is the unique identifier for the XV_letterbox device. |
Referenced by XV_letterbox_Initialize().
| XV_letterbox_Config XV_letterbox_ConfigTable[] |
XV_letterbox_ConfigTable - Configuration table for XV_letterbox driver instances.
This table contains configuration structures for each XV_letterbox hardware instance. Each entry specifies the hardware parameters for the instance.
Fields: DEVICE_ID - Unique device ID for the instance. BASEADDR - Base address of the hardware register. SAMPLES_PER_CLOCK - Number of samples processed per clock cycle. NUM_VIDEO_COMPONENTS - Number of video components supported. MAX_COLS - Maximum number of columns supported. MAX_ROWS - Maximum number of rows supported. MAX_DATA_WIDTH - Maximum data width supported.