![]() |
v_scenechange
Vitis Drivers API Documentation
|
Functions | |
void | XV_scenechange_SetCallback (XV_scenechange *InstancePtr, void *CallbackFunc, void *CallbackRef) |
This function installs an asynchronous callback function: More... | |
void | XV_scenechange_InterruptHandler (void *InstancePtr) |
This function is the interrupt handler for the Scenechange core driver. More... | |
u32 | XV_scenechange_Stop (XV_scenechange *InstancePtr) |
This function stops the core instance. More... | |
u32 | XV_scenechange_WaitForIdle (XV_scenechange *InstancePtr) |
This function Waits for the core to reach idle state. More... | |
void XV_scenechange_InterruptHandler | ( | void * | InstancePtr | ) |
This function is the interrupt handler for the Scenechange core driver.
This handler clears the pending interrupt and determined if the source is frame done signal. If yes, starts the next scenechange processing and calls the registered callback function
The application is responsible for connecting this function to the interrupt system. Application beyond this driver is also responsible for providing callbacks to handle interrupts during initialization phase.
InstancePtr | is a pointer to the core instance that just interrupted. |
void XV_scenechange_SetCallback | ( | XV_scenechange * | InstancePtr, |
void * | CallbackFunc, | ||
void * | CallbackRef | ||
) |
This function installs an asynchronous callback function:
InstancePtr | is a pointer to the SceneChange 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. |
u32 XV_scenechange_Stop | ( | XV_scenechange * | InstancePtr | ) |
This function stops the core instance.
InstancePtr | is a pointer to core instance to be worked upon |
u32 XV_scenechange_WaitForIdle | ( | XV_scenechange * | InstancePtr | ) |
This function Waits for the core to reach idle state.
InstancePtr | is a pointer to core instance to be worked upon |