v_multi_scaler
Vitis Drivers API Documentation
|
Enumerations | |
enum | XV_MULTISCALER_TYPE |
This typedef eumerates the Scaler Type. More... | |
enum | XV_MULTISCALER_TAPS |
This typedef enumerates the supported taps. More... | |
Functions | |
void | XVMultiScaler_SetCallback (XV_multi_scaler *InstancePtr, void *CallbackFunc, void *CallbackRef) |
This function installs an asynchronous callback function: More... | |
void * | XV_MultiScalerIntrHandler (void *InstancePtr) |
This function is the interrupt handler for the MultiScaler core driver. More... | |
void | XV_MultiScalerStart (XV_multi_scaler *InstancePtr) |
This function starts the multi scaler core. More... | |
void | XV_MultiScalerStop (XV_multi_scaler *InstancePtr) |
This function stops the multi scaler core. More... | |
u32 | XV_MultiScalerGetNumOutputs (XV_multi_scaler *InstancePtr) |
This function returns the number of outputs. More... | |
void | XV_MultiScalerSetNumOutputs (XV_multi_scaler *InstancePtr, u32 NumOuts) |
This function sets the number of outputs. More... | |
void | XV_MultiScalerGetChannelConfig (XV_multi_scaler *InstancePtr, XV_multi_scaler_Video_Config *MS_cfg) |
This function reads the channel configuration. More... | |
void | XV_MultiScalerSetChannelConfig (XV_multi_scaler *InstancePtr, XV_multi_scaler_Video_Config *MS_cfg) |
This function configures the scaler core registers with the specified configuration parameters. More... | |
enum XV_MULTISCALER_TAPS |
This typedef enumerates the supported taps.
enum XV_MULTISCALER_TYPE |
This typedef eumerates the Scaler Type.
void XV_MultiScalerGetChannelConfig | ( | XV_multi_scaler * | InstancePtr, |
XV_multi_scaler_Video_Config * | MS_cfg | ||
) |
This function reads the channel configuration.
The ChannelId of the channel for which the configuration info is needed has to be filled by the application in the MS_cfg structure.
InstancePtr | is a pointer to the core instance to be worked on. |
MS_cfg | is a pointer to the multi scaler config structure. |
u32 XV_MultiScalerGetNumOutputs | ( | XV_multi_scaler * | InstancePtr | ) |
This function returns the number of outputs.
InstancePtr | is a pointer to the core instance to be worked on. |
void* XV_MultiScalerIntrHandler | ( | void * | InstancePtr | ) |
This function is the interrupt handler for the MultiScaler core driver.
This handler clears the pending interrupt and determines if the source is frame done signal. If yes, calls the registered callback function.
The application is responsible for connecting this function to the interrupt system.
InstancePtr | is a pointer to the core instance that just interrupted. |
void XV_MultiScalerSetChannelConfig | ( | XV_multi_scaler * | InstancePtr, |
XV_multi_scaler_Video_Config * | MS_cfg | ||
) |
This function configures the scaler core registers with the specified configuration parameters.
InstancePtr | is a pointer to the core instance to be worked on. |
MS_cfg | is a pointer to the multi scaler config structure. |
void XV_MultiScalerSetNumOutputs | ( | XV_multi_scaler * | InstancePtr, |
u32 | NumOuts | ||
) |
This function sets the number of outputs.
InstancePtr | is a pointer to the core instance to be worked on. |
NumOuts | is the number of output channels. |
void XV_MultiScalerStart | ( | XV_multi_scaler * | InstancePtr | ) |
This function starts the multi scaler core.
InstancePtr | is a pointer to the core instance to be worked on. |
void XV_MultiScalerStop | ( | XV_multi_scaler * | InstancePtr | ) |
This function stops the multi scaler core.
InstancePtr | is a pointer to the core instance to be worked on. |
void XVMultiScaler_SetCallback | ( | XV_multi_scaler * | InstancePtr, |
void * | CallbackFunc, | ||
void * | CallbackRef | ||
) |
This function installs an asynchronous callback function:
InstancePtr | is a pointer to the MultiScaler IP instance. |
CallbackFunc | is the address of the callback function. |
CallbackRef | is a user data item that will be passed to the callback function when it is invoked. |