devg_get_vcapfuncs
![]() |
![]() |
![]() |
![]() |
devg_get_vcapfuncs()
Get a table of your driver's video capture functions
Synopsis:
int devg_get_vcapfuncs (disp_adapter_t *ctx,
disp_vcapfuncs_t *funcs,
int tabsize);
Arguments:
- ctx
- A pointer to the disp_adapter_t structure that describes the graphics adapter.
- fns
- A pointer to a disp_vcapfuncs_t structure that your driver must fill with pointers to its video capture functions.
- tabsize
- The size of the table, in bytes.
Description:
A driver that contains a video capture module must provide an entry point called devg_get_vcapfuncs(). The graphics framework calls it to get a table of your driver's video capture functions.
Use the DISP_ADD_FUNC() macro to add function pointers to the table. It checks the tabsize argument and adds a function pointer only if there's space for it in the table.
Returns:
- 0
- Success.
- -1
- An error occurred.
Classification:
Photon
| Safety: | |
|---|---|
| Interrupt handler | Not applicable |
| Signal handler | Not applicable |
| Thread | Not applicable |
See also:
devg_get_contextfuncs(), devg_get_corefuncs(), devg_get_memfuncs(), devg_get_miscfuncs(), devg_get_modefuncs(), devg_get_vidfuncs(), disp_adapter_t, DISP_ADD_FUNC(), disp_vcapfuncs_t
![]() |
![]() |
![]() |
![]() |
![[Previous]](prev.gif)
![[Contents]](contents.gif)
![[Index]](keyword_index.gif)
![[Next]](next.gif)