v_demosaic
Vitis Drivers API Documentation
|
Functions | |
void | XVDemosaic_SetCallback (XV_demosaic *InstancePtr, u32 HandlerType, void *CallbackFunc, void *CallbackRef) |
This function installs an asynchronous callback function for the given HandlerType: More... | |
void | XVDemosaic_InterruptHandler (XV_demosaic *InstancePtr) |
This function is the interrupt handler for the Sensor Demosaic core driver. More... | |
void XVDemosaic_InterruptHandler | ( | XV_demosaic * | InstancePtr | ) |
This function is the interrupt handler for the Sensor Demosaic core driver.
This handler clears the pending interrupt and determined if the source is frame done signal. If yes, starts the next frame 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 and installing the callbacks using XVDemosaic_SetCallback() during initialization phase.
InstancePtr | is a pointer to the core instance that just interrupted. |
References XV_demosaic::CallbackDoneRef, XV_demosaic::CallbackReadyRef, and XV_demosaic::IsReady.
void XVDemosaic_SetCallback | ( | XV_demosaic * | InstancePtr, |
u32 | HandlerType, | ||
void * | CallbackFunc, | ||
void * | CallbackRef | ||
) |
This function installs an asynchronous callback function for the given HandlerType:
HandlerType Callback Function Type
(XVDEMOSAIC_HANDLER_DONE) DoneCallback (XVDEMOSAIC_HANDLER_READY) ReadyCallback
InstancePtr | is a pointer to the Demosaic 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. |
References XV_demosaic::CallbackDoneRef, and XV_demosaic::CallbackReadyRef.