Go to the source code of this file.
Function Documentation
The explain_buffer_v4l2_fmtdesc function may be used to print a representation of a v4l2_fmtdesc structure.
- Parameters:
-
sb | The string buffer to print into. |
data | The v4l2_fmtdesc structure to be printed. |
extra | whether or not to also print the returned value fields |
The explain_v4l2_fmtdesc_get_nformats function may be used to determine the number of vailable pixel format descriptions.
- Parameters:
-
fildes | The associated file descriptor |
type | The type of pixel format of interest |
- Returns:
- >0 the number of formats available, 0 there are no formats available, <0 unable to determine number of available formats